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,8 @@ 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
+ gem 'therubyrhino' , :platforms => :jruby
49
50
end
50
51
51
52
# no_sprockets is a magical name from sprockets_helper.rb in test to
@@ -55,31 +56,35 @@ appraise 'rails-5_no_sprockets_webpacker_1_1' do
55
56
gem 'webpacker' , '~> 1.1.0'
56
57
# This ExecJS backend provides stateful context
57
58
# which the default nodejs backend does not
58
- gem 'therubyracer'
59
+ gem 'therubyracer' , :platforms => :mri
60
+ gem 'therubyrhino' , :platforms => :jruby
59
61
end
60
62
61
63
appraise 'rails-5_no_sprockets_webpacker_1_x' do
62
64
gem 'rails' , '~> 5.0.0'
63
65
gem 'webpacker' , '~> 1.2'
64
66
# This ExecJS backend provides stateful context
65
67
# which the default nodejs backend does not
66
- gem 'therubyracer'
68
+ gem 'therubyracer' , :platforms => :mri
69
+ gem 'therubyrhino' , :platforms => :jruby
67
70
end
68
71
69
72
appraise 'rails-5_no_sprockets_webpacker_2' do
70
73
gem 'rails' , '~> 5.0.0'
71
74
gem 'webpacker' , '~> 2.0'
72
75
# This ExecJS backend provides stateful context
73
76
# which the default nodejs backend does not
74
- gem 'therubyracer'
77
+ gem 'therubyracer' , :platforms => :mri
78
+ gem 'therubyrhino' , :platforms => :jruby
75
79
end
76
80
77
81
appraise 'rails-5_no_sprockets_webpacker_3' do
78
82
gem 'rails' , '~> 5.0.0'
79
83
gem 'webpacker' , '>= 3.0'
80
84
# This ExecJS backend provides stateful context
81
85
# which the default nodejs backend does not
82
- gem 'therubyracer'
86
+ gem 'therubyracer' , :platforms => :mri
87
+ gem 'therubyrhino' , :platforms => :jruby
83
88
end
84
89
85
90
appraise 'rails-5-no_sprockets' do
0 commit comments