Skip to content

Commit b55d2ce

Browse files
committed
Drop rails version 4.2, 5.0 and 5.1
According to Rails Guide, it seems that v4.2 and 5.0 and 5.1 have also already been unsupported versions. So I'm going to drop them in CI config. See at: https://guides.rubyonrails.org/maintenance_policy.html#security-issues
1 parent 3d64d51 commit b55d2ce

File tree

7 files changed

+1
-88
lines changed

7 files changed

+1
-88
lines changed

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ rvm:
88
- ruby-head
99
- jruby-head
1010
gemfile:
11-
- gemfiles/rails42.gemfile
12-
- gemfiles/rails50.gemfile
13-
- gemfiles/rails51.gemfile
1411
- gemfiles/rails52.gemfile
1512
- gemfiles/rails60.gemfile
1613
- gemfiles/rails_edge.gemfile

Appraisals

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,3 @@
1-
appraise "rails42" do
2-
gem "rails", "~> 4.2.0"
3-
gem "sprockets", "< 4.0"
4-
gem "sass-rails", "~> 5.0"
5-
end
6-
7-
appraise "rails50" do
8-
gem "rails", "~> 5.0.0"
9-
gem "sprockets", "< 4.0"
10-
gem "sass-rails", "~> 5.0"
11-
end
12-
13-
appraise "rails51" do
14-
gem "rails", "~> 5.1.0"
15-
gem "sprockets", "< 4.0"
16-
gem "sass-rails", "~> 5.0"
17-
end
18-
191
appraise "rails52" do
202
gem "rails", "~> 5.2.0"
213
gem "sprockets", "< 4.0"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Framework](http://compass-style.org) for [Ruby on Rails](http://rubyonrails.org/
1414

1515
Since Compass v0.12.0, this is the only way to use compass with your rails application.
1616

17-
Supports Rails 4.2, 5.x and 6.x releases.
17+
Supports Rails 5.2 and 6.x releases.
1818

1919
## Installation
2020

gemfiles/rails42.gemfile

Lines changed: 0 additions & 19 deletions
This file was deleted.

gemfiles/rails50.gemfile

Lines changed: 0 additions & 19 deletions
This file was deleted.

gemfiles/rails51.gemfile

Lines changed: 0 additions & 19 deletions
This file was deleted.

test/helpers/rails_helper.rb

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,19 @@ module RailsHelpers
77
RAILS_6_1 = "6.1"
88
RAILS_6_0 = "6.0"
99
RAILS_5_2 = "5.2"
10-
RAILS_5_1 = "5.1"
11-
RAILS_5_0 = "5.0"
12-
RAILS_4_2 = "4.2"
1310

1411
WORKING_DIR = File.join(ROOT_PATH, 'rails-temp')
1512

1613
VERSION_LOOKUP = {
1714
RAILS_6_1 => %r{^6\.1\.},
1815
RAILS_6_0 => %r{^6\.0\.},
1916
RAILS_5_2 => %r{^5\.2\.},
20-
RAILS_5_1 => %r{^5\.1\.},
21-
RAILS_5_0 => %r{^5\.0\.},
22-
RAILS_4_2 => %r{^4\.2\.},
2317
}
2418

2519
GEMFILES = {
2620
RAILS_6_1 => GEMFILES_DIR.join("rails_edge.gemfile").to_s,
2721
RAILS_6_0 => GEMFILES_DIR.join("rails60.gemfile").to_s,
2822
RAILS_5_2 => GEMFILES_DIR.join("rails52.gemfile").to_s,
29-
RAILS_5_1 => GEMFILES_DIR.join("rails51.gemfile").to_s,
30-
RAILS_5_0 => GEMFILES_DIR.join("rails50.gemfile").to_s,
31-
RAILS_4_2 => GEMFILES_DIR.join("rails42.gemfile").to_s,
3223
}
3324

3425
GENERATOR_OPTIONS = ['-q', '-G', '-O', '--skip-bundle']

0 commit comments

Comments
 (0)