17
17
18
18
appraise 'rails-4.0-with-therubyracer' do
19
19
gem 'rails' , '~> 4.0.13'
20
- gem 'therubyracer' , '0.12.0' , :platform => :mri
20
+ gem 'therubyracer' , '0.12.0' , :platforms => :mri
21
21
gem 'turbolinks'
22
22
end
23
23
@@ -45,7 +45,7 @@ appraise 'rails-4.2-sprockets_4' do
45
45
gem 'turbolinks' , '~> 2.5.0'
46
46
# This ExecJS backend provides stateful context
47
47
# which the default nodejs backend does not
48
- gem 'mini_racer'
48
+ gem 'mini_racer' , :platforms => :mri
49
49
end
50
50
51
51
# no_sprockets is a magical name from sprockets_helper.rb in test to
@@ -55,31 +55,35 @@ appraise 'rails-5_no_sprockets_webpacker_1_1' do
55
55
gem 'webpacker' , '~> 1.1.0'
56
56
# This ExecJS backend provides stateful context
57
57
# which the default nodejs backend does not
58
- gem 'therubyracer'
58
+ gem 'therubyracer' , :platforms => :mri
59
+ gem 'therubyrhino' , :platforms => :jruby
59
60
end
60
61
61
62
appraise 'rails-5_no_sprockets_webpacker_1_x' do
62
63
gem 'rails' , '~> 5.0.0'
63
64
gem 'webpacker' , '~> 1.2'
64
65
# This ExecJS backend provides stateful context
65
66
# which the default nodejs backend does not
66
- gem 'therubyracer'
67
+ gem 'therubyracer' , :platforms => :mri
68
+ gem 'therubyrhino' , :platforms => :jruby
67
69
end
68
70
69
71
appraise 'rails-5_no_sprockets_webpacker_2' do
70
72
gem 'rails' , '~> 5.0.0'
71
73
gem 'webpacker' , '~> 2.0'
72
74
# This ExecJS backend provides stateful context
73
75
# which the default nodejs backend does not
74
- gem 'therubyracer'
76
+ gem 'therubyracer' , :platforms => :mri
77
+ gem 'therubyrhino' , :platforms => :jruby
75
78
end
76
79
77
80
appraise 'rails-5_no_sprockets_webpacker_3' do
78
81
gem 'rails' , '~> 5.0.0'
79
82
gem 'webpacker' , '>= 3.0'
80
83
# This ExecJS backend provides stateful context
81
84
# which the default nodejs backend does not
82
- gem 'therubyracer'
85
+ gem 'therubyracer' , :platforms => :mri
86
+ gem 'therubyrhino' , :platforms => :jruby
83
87
end
84
88
85
89
appraise 'rails-5-no_sprockets' do
0 commit comments