Skip to content

Commit d901a2a

Browse files
committed
support and test against Sprockets 4
1 parent 390fe15 commit d901a2a

11 files changed

+69
-7
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ jobs:
1010
strategy:
1111
matrix:
1212
ruby_version: [2.4.6, 2.5.5, 2.6.3]
13-
gemfile: [rails_5_0_sprockets_rails_2, rails_5_0, rails_5_1_sprockets_rails_2, rails_5_1, rails_5_2_sprockets_rails_2, rails_5_2, rails_6_0_sprockets_rails_2, rails_6_0]
13+
gemfile: [rails_5_0_sprockets_rails_2, rails_5_0_sprockets_3, rails_5_0_sprockets_4, rails_5_1_sprockets_rails_2, rails_5_1_sprockets_3, rails_5_1_sprockets_4, rails_5_2_sprockets_rails_2, rails_5_2_sprockets_3, rails_5_2_sprockets_4, rails_6_0_sprockets_rails_2, rails_6_0_sprockets_3, rails_6_0_sprockets_4]
1414
exclude:
1515
- ruby_version: 2.4.6
1616
gemfile: rails_6_0_sprockets_rails_2
1717
- ruby_version: 2.4.6
18-
gemfile: rails_6_0
18+
gemfile: rails_6_0_sprockets_3
19+
- ruby_version: 2.4.6
20+
gemfile: rails_6_0_sprockets_4
1921
fail-fast: false
2022

2123
steps:

Appraisals

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,57 @@ appraise "rails-5-0-sprockets-rails-2" do
33
gem "sprockets-rails", "~> 2.0"
44
end
55

6-
appraise "rails-5-0" do
6+
appraise "rails-5-0-sprockets-3" do
77
gem "rails", "~> 5.0.0"
8+
gem "sprockets", "~> 3.0"
9+
end
10+
11+
appraise "rails-5-0-sprockets-4" do
12+
gem "rails", "~> 5.0.0"
13+
gem "sprockets", "~> 4.0.0.beta1"
814
end
915

1016
appraise "rails-5-1-sprockets-rails-2" do
1117
gem "rails", "~> 5.1.0"
1218
gem "sprockets-rails", "~> 2.0"
1319
end
1420

15-
appraise "rails-5-1" do
21+
appraise "rails-5-1-sprockets-3" do
22+
gem "rails", "~> 5.1.0"
23+
gem "sprockets", "~> 3.0"
24+
end
25+
26+
appraise "rails-5-1-sprockets-4" do
1627
gem "rails", "~> 5.1.0"
28+
gem "sprockets", "~> 4.0.0.beta1"
1729
end
1830

1931
appraise "rails-5-2-sprockets-rails-2" do
2032
gem "rails", "~> 5.2.0"
2133
gem "sprockets-rails", "~> 2.0"
2234
end
2335

24-
appraise "rails-5-2" do
36+
appraise "rails-5-2-sprockets-3" do
2537
gem "rails", "~> 5.2.0"
38+
gem "sprockets", "~> 3.0"
39+
end
40+
41+
appraise "rails-5-2-sprockets-4" do
42+
gem "rails", "~> 5.2.0"
43+
gem "sprockets", "~> 4.0.0.beta1"
2644
end
2745

2846
appraise "rails-6-0-sprockets-rails-2" do
2947
gem "rails", "~> 6.0.0"
3048
gem "sprockets-rails", "~> 2.0"
3149
end
3250

33-
appraise "rails-6-0" do
51+
appraise "rails-6-0-sprockets-3" do
52+
gem "rails", "~> 6.0.0"
53+
gem "sprockets", "~> 3.0"
54+
end
55+
56+
appraise "rails-6-0-sprockets-4" do
3457
gem "rails", "~> 6.0.0"
58+
gem "sprockets", "~> 4.0.0.beta1"
3559
end

gemfiles/rails_5_0.gemfile renamed to gemfiles/rails_5_0_sprockets_3.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", "~> 5.0.0"
6+
gem "sprockets", "~> 3.0"
67

78
gemspec path: "../"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "rails", "~> 5.0.0"
6+
gem "sprockets", "~> 4.0.0.beta1"
7+
8+
gemspec path: "../"

gemfiles/rails_5_1.gemfile renamed to gemfiles/rails_5_1_sprockets_3.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", "~> 5.1.0"
6+
gem "sprockets", "~> 3.0"
67

78
gemspec path: "../"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "rails", "~> 5.1.0"
6+
gem "sprockets", "~> 4.0.0.beta1"
7+
8+
gemspec path: "../"

gemfiles/rails_5_2.gemfile renamed to gemfiles/rails_5_2_sprockets_3.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", "~> 5.2.0"
6+
gem "sprockets", "~> 3.0"
67

78
gemspec path: "../"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "rails", "~> 5.2.0"
6+
gem "sprockets", "~> 4.0.0.beta1"
7+
8+
gemspec path: "../"

gemfiles/rails_6_0.gemfile renamed to gemfiles/rails_6_0_sprockets_3.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", "~> 6.0.0"
6+
gem "sprockets", "~> 3.0"
67

78
gemspec path: "../"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "rails", "~> 6.0.0"
6+
gem "sprockets", "~> 4.0.0.beta1"
7+
8+
gemspec path: "../"

0 commit comments

Comments
 (0)