@@ -14,9 +14,7 @@ when /master/
14
14
gem 'i18n', :git => 'https://github.com/svenfuchs/i18n.git', :branch => 'master'
15
15
gem 'sprockets', :git => 'https://github.com/rails/sprockets.git', :branch => 'master'
16
16
gem 'sprockets-rails', :git => 'https://github.com/rails/sprockets-rails.git', :branch => 'master'
17
- if RUBY_VERSION >= "2.2"
18
- gem 'puma', :git => 'https://github.com/puma/puma', :branch => 'master'
19
- end
17
+ gem 'puma', :git => 'https://github.com/puma/puma', :branch => 'master'
20
18
when /stable$/
21
19
gem_list = %w[rails railties actionmailer actionpack activerecord activesupport]
22
20
gem_list << 'activejob' if version > '4-1-stable'
@@ -30,15 +28,7 @@ when /stable$/
30
28
31
29
gem "sprockets", '~> 3.0' if RUBY_VERSION < '2.5' && version >= '4-0-stable'
32
30
when nil, false, ""
33
- if RUBY_VERSION < '1.9.3'
34
- # Rails 4+ requires 1.9.3+, so on earlier versions default to the last 3.x release.
35
- gem "rails", "~> 3.2.17"
36
- elsif RUBY_VERSION < '2.2.0'
37
- # Rails 5+ requires 2.2+, so on earlier versions default to the last 4.x release.
38
- gem "rails", "~> 4.2.0"
39
- else
40
- gem "rails", "~> 5.0.0"
41
- end
31
+ gem "rails"
42
32
else
43
33
gem "rails", version
44
34
48
38
gem "puma"
49
39
end
50
40
51
- gem "sprockets", '~> 3.0' if RUBY_VERSION < '2.5' && major_minor_version >= 4.0
41
+ gem "sprockets"
52
42
53
- if major_minor_version >= 6.0
54
- gem "activerecord-jdbcsqlite3-adapter", "~> 60.0.rc1", :platforms => [:jruby]
55
- else
56
- gem 'activerecord-jdbcsqlite3-adapter', :platforms => [:jruby]
57
- end
43
+ gem 'activerecord-jdbcsqlite3-adapter', :platforms => [:jruby]
58
44
end
59
-
60
- gem "childprocess", '< 2.0.0' if RUBY_VERSION < '2.3'
61
-
62
- if RUBY_VERSION < '1.9.3'
63
- gem "i18n", '< 0.7.0'
64
- elsif RUBY_VERSION < '2.3.0'
65
- gem "i18n", '< 1.5.2'
66
- end
67
-
68
- gem "nio4r", '< 2.4.0' if RUBY_VERSION < '2.3'
69
-
70
- if RUBY_VERSION < '1.9.3'
71
- gem "public_suffix", '< 1.4.0'
72
- elsif RUBY_VERSION < '2.0'
73
- gem "public_suffix", '< 2.0.0'
74
- elsif RUBY_VERSION < '2.1'
75
- gem "public_suffix", '< 3.0.0'
76
- elsif RUBY_VERSION < '2.3'
77
- gem "public_suffix", '< 4.0.0'
78
- end
79
-
80
- # rack 2.1.0 introduces a deprecation warning that rails is triggering,
81
- # but in later versions this warning is removed.
82
- if RUBY_VERSION < '2.2'
83
- gem "rack", '< 2.0.0', '!= 2.1.0'
84
- elsif RUBY_VERSION < '2.3'
85
- gem "rack", '< 2.2.0', '!= 2.1.0'
86
- end
87
-
88
- gem "test-unit" if RUBY_VERSION >= '2.2.0' && version =~ /3[.-]2[.-]/
89
-
90
- gem "xpath", '< 3.2.0' if RUBY_VERSION < '2.3'
0 commit comments