1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
$:.unshift File.expand_path('../lib', __FILE__)
require 'devise_two_factor/version'
Gem::Specification.new do |s|
s.name = 'devise-two-factor'
s.version = DeviseTwoFactor::VERSION.dup
s.platform = Gem::Platform::RUBY
s.licenses = ['MIT']
s.summary = 'Barebones two-factor authentication with Devise'
s.email = 'engineers@tinfoilsecurity.com'
s.homepage = 'https://github.com/tinfoil/devise-two-factor'
s.description = 'Barebones two-factor authentication with Devise'
s.authors = ['Shane Wilton']
s.cert_chain = [
'certs/tinfoil-cacert.pem',
'certs/tinfoilsecurity-gems-cert.pem'
]
s.signing_key = File.expand_path("~/.ssh/tinfoilsecurity-gems-key.pem") if $0 =~ /gem\z/
s.files = `git ls-files`.split("\n").delete_if { |x| x.match('demo/*') }
s.test_files = `git ls-files -- spec/*`.split("\n")
s.require_paths = ['lib']
s.add_runtime_dependency 'railties', '< 7.1'
s.add_runtime_dependency 'activesupport', '< 7.1'
s.add_runtime_dependency 'attr_encrypted', '>= 1.3', '< 4', '!= 2'
s.add_runtime_dependency 'devise', '~> 4.0'
s.add_runtime_dependency 'rotp', '~> 6.0'
s.add_development_dependency 'activemodel'
s.add_development_dependency 'appraisal'
s.add_development_dependency 'bundler', '> 1.0'
s.add_development_dependency 'rspec', '> 3'
s.add_development_dependency 'simplecov'
s.add_development_dependency 'faker'
end
|