@@ -4,19 +4,20 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
require 'detectify/version'
5
5
6
6
Gem ::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' ]
11
11
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. '
17
17
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'
20
21
21
22
spec . add_dependency 'rack' , '>= 1.6'
22
23
spec . add_dependency 'activerecord' , '>= 4.2'
0 commit comments