Skip to content

Commit bd6d82e

Browse files
committed
Set required ruby version to 2.2.2
1 parent 187f2b5 commit bd6d82e

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
sudo: false
22
language: ruby
33
rvm:
4-
- 2.3.1
4+
- 2.2.2
55
before_install: gem install bundler -v 1.12.5

detectify.gemspec

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,20 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
44
require 'detectify/version'
55

66
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']
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'

0 commit comments

Comments
 (0)