Skip to content

Commit 66cd513

Browse files
author
Sam Phippen
committed
cleanup gemfile
1 parent 8aae5dd commit 66cd513

File tree

1 file changed

+6
-47
lines changed

1 file changed

+6
-47
lines changed

Gemfile

Lines changed: 6 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ gem 'yard', '~> 0.8.7', :require => false
1313
group :documentation do
1414
gem 'redcarpet', '2.3.0'
1515
gem 'github-markup', '1.0.0'
16-
if RUBY_VERSION > '2.0.0'
17-
gem 'relish'
18-
end
1916
end
2017

2118
platforms :jruby do
@@ -28,55 +25,17 @@ if RUBY_VERSION >= '2.4.0'
2825
gem 'json', '>= 2.0.2'
2926
end
3027

31-
if RUBY_VERSION < '1.9'
32-
gem 'ffi', '< 1.9.19' # ffi dropped Ruby 1.8 support in 1.9.19
33-
else
34-
gem 'ffi', '~> 1.9.25'
35-
end
28+
gem 'ffi', '~> 1.9.25'
3629

37-
if RUBY_VERSION >= '2.0.0'
38-
gem 'rake', '>= 10.0.0'
39-
elsif RUBY_VERSION >= '1.9.3'
40-
gem 'rake', '< 12.0.0' # rake 12 requires Ruby 2.0.0 or later
41-
else
42-
gem 'rake', '< 11.0.0' # rake 11 requires Ruby 1.9.3 or later
43-
end
30+
gem 'rake', '>= 10.0.0'
4431

45-
# Version 3 of mime-types 3 requires Ruby 2.0
46-
if RUBY_VERSION < '2.0.0'
47-
gem 'mime-types', '< 3'
48-
end
32+
gem 'mime-types', '< 3'
4933

34+
gem 'capybara', '~> 2.13', :require => false
5035

51-
# Capybara versions that support RSpec 3 only support RUBY_VERSION >= 1.9.3
52-
if RUBY_VERSION >= '1.9.3'
53-
if /5(\.|-)[1-9]\d*/ === RAILS_VERSION || "master" == RAILS_VERSION
54-
gem 'capybara', '~> 2.13', :require => false
55-
else
56-
gem 'capybara', '~> 2.2.0', :require => false
57-
end
58-
end
36+
gem 'nokogiri', '1.8.5'
5937

60-
# Rack::Cache 1.3.0 requires Ruby >= 2.0.0
61-
gem 'rack-cache', '< 1.3.0' if RUBY_VERSION < '2.0.0'
62-
63-
if RUBY_VERSION < '1.9.2'
64-
gem 'nokogiri', '~> 1.5.0'
65-
elsif RUBY_VERSION < '1.9.3'
66-
gem 'nokogiri', '1.5.2'
67-
elsif RUBY_VERSION < '2.1.0'
68-
gem 'nokogiri', '1.6.8.1'
69-
else
70-
gem 'nokogiri', '1.8.5'
71-
end
72-
73-
if RUBY_VERSION <= '1.8.7'
74-
# cucumber and gherkin require rubyzip as a runtime dependency on 1.8.7
75-
# Only < 1.0 supports 1.8.7
76-
gem 'rubyzip', '< 1.0'
77-
else
78-
gem "rubyzip", '>= 1.2.2'
79-
end
38+
gem "rubyzip", '>= 1.2.2'
8039

8140
gem 'rubocop'
8241

0 commit comments

Comments
 (0)