@@ -4,19 +4,20 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
44require 'detectify/version'
55
66Gem ::Specification . new do |spec |
7- spec . name = 'detectify'
8- spec . version = Detectify ::VERSION
9- spec . authors = [ 'Lukyanov Fedor' ]
10- spec . email = [ 'fedor@rubygarage.org' ]
7+ spec . name = 'detectify'
8+ spec . version = Detectify ::VERSION
9+ spec . authors = [ 'Lukyanov Fedor' ]
10+ spec . email = [ 'fedor@rubygarage.org' ]
1111
12- spec . summary = 'Detect ActiveRecord entity via domain or subdomain '
13- spec . description = 'Detectify provides a simple way to retrieve an ActiveRecord entity' \
14- 'based on the domain/subdomain request information. '
15- spec . homepage = 'https://github.com/rubygarage/detectify'
16- spec . license = 'MIT '
12+ spec . license = 'MIT '
13+ spec . homepage = 'https://github.com/rubygarage/detectify'
14+ spec . summary = 'Detect ActiveRecord entity via domain or subdomain '
15+ spec . description = 'Detectify provides a simple way to retrieve an ActiveRecord entity' \
16+ 'based on the domain/subdomain request information. '
1717
18- spec . files = `git ls-files -z` . split ( "\x0 " ) . reject { |f | f . match ( %r{^(test|spec|features)/} ) }
19- spec . require_paths = [ 'lib' ]
18+ spec . files = `git ls-files -z` . split ( "\x0 " ) . reject { |f | f . match ( %r{^(test|spec|features)/} ) }
19+ spec . require_paths = [ 'lib' ]
20+ spec . required_ruby_version = '>= 2.2.2'
2021
2122 spec . add_dependency 'rack' , '>= 1.6'
2223 spec . add_dependency 'activerecord' , '>= 4.2'
@@ -26,4 +27,5 @@ Gem::Specification.new do |spec|
2627 spec . add_development_dependency 'rake' , '~> 10.0'
2728 spec . add_development_dependency 'rspec' , '~> 3.0'
2829 spec . add_development_dependency 'fuubar' , '~> 2.0'
30+ spec . add_development_dependency 'coveralls' , '~> 0.8'
2931end
0 commit comments