Skip to content

Commit 56fc27b

Browse files
committed
Make rails 3.2 and 4.0 specs run on ruby 2.2
Rails 3.2 is not supported anymore[1]. Was accepted a PR to make Rails 3.2 works with Ruby 2.2[2]. if there are other yet-to-be-found incompatibilities on Rails 3.2, the Rails team won't be making a release to address them. [1]: rails/rails#18201 [2]: rails/rails#18160
1 parent b0bf5db commit 56fc27b

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

.travis.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,3 @@ gemfile:
1515
- gemfiles/4.0.gemfile
1616
- gemfiles/4.1.gemfile
1717
- gemfiles/4.2.gemfile
18-
19-
matrix:
20-
exclude:
21-
- rvm: 2.2
22-
gemfile: gemfiles/3.2.gemfile
23-
- rvm: 2.2
24-
gemfile: gemfiles/4.0.gemfile

Appraisals

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
appraise '3.2' do
2-
gem 'rails', '~> 3.2.15'
2+
gem 'rails', '~> 3.2.0'
3+
gem 'test-unit', '~> 3.0'
34
end
45

56
appraise '4.0' do
67
gem 'rails', '~> 4.0.0'
8+
gem 'test-unit', '~> 3.0'
79
end
810

911
appraise '4.1' do

gemfiles/3.2.gemfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
source "https://rubygems.org"
44

5-
gem "rails", "~> 3.2.15"
5+
gem "rails", "~> 3.2.0"
6+
gem "test-unit", "~> 3.0"
67

78
gemspec :path => "../"

gemfiles/4.0.gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
source "https://rubygems.org"
44

55
gem "rails", "~> 4.0.0"
6+
gem "test-unit", "~> 3.0"
67

78
gemspec :path => "../"

0 commit comments

Comments
 (0)