Skip to content

Commit 923c0dc

Browse files
author
Daniel Magliola
authored
Merge pull request #158 from prometheus/sinjo-remove-old-version-pins
Remove dependency pins for unsupported Ruby versions
2 parents b3bbe23 + 0e6c4a3 commit 923c0dc

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

Gemfile

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,13 @@ source 'https://rubygems.org'
22

33
gemspec
44

5-
def ruby_version?(constraint)
6-
Gem::Dependency.new('', constraint).match?('', RUBY_VERSION)
7-
end
8-
95
group :test do
106
gem 'coveralls'
11-
gem 'json', '< 2.0' if ruby_version?('< 2.0')
12-
gem 'rack', '< 2.0' if ruby_version?('< 2.2.2')
7+
gem 'json'
8+
gem 'rack'
139
gem 'rack-test'
1410
gem 'rake'
1511
gem 'rspec'
16-
gem 'term-ansicolor', '< 1.4' if ruby_version?('< 2.0')
17-
gem 'tins', '< 1.7' if ruby_version?('< 2.0')
12+
gem 'term-ansicolor'
13+
gem 'tins'
1814
end

0 commit comments

Comments
 (0)