File tree 6 files changed +69
-9
lines changed
6 files changed +69
-9
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ ruby "3.1.2"
7
7
8
8
gem "cpl" , "~> 0.3.3"
9
9
gem "react_on_rails" , "13.2.0"
10
- gem "shakapacker" , "7.0.2 "
10
+ gem "shakapacker" , "7.0.3 "
11
11
12
12
# Bundle edge Rails instead: gem "rails", github: "rails/rails"
13
13
gem "listen"
Original file line number Diff line number Diff line change 212
212
nio4r (~> 2.0 )
213
213
racc (1.7.1 )
214
214
rack (2.2.8 )
215
- rack-proxy (0.7.6 )
215
+ rack-proxy (0.7.7 )
216
216
rack
217
217
rack-test (2.1.0 )
218
218
rack (>= 1.3 )
336
336
websocket (~> 1.0 )
337
337
semantic_range (3.0.0 )
338
338
sexp_processor (4.17.0 )
339
- shakapacker (7.0.2 )
339
+ shakapacker (7.0.3 )
340
340
activesupport (>= 5.2 )
341
341
rack-proxy (>= 0.6.1 )
342
342
railties (>= 5.2 )
@@ -438,7 +438,7 @@ DEPENDENCIES
438
438
scss_lint
439
439
sdoc
440
440
selenium-webdriver (~> 4 )
441
- shakapacker (= 7.0.2 )
441
+ shakapacker (= 7.0.3 )
442
442
spring
443
443
spring-commands-rspec
444
444
stimulus-rails (~> 1.2 )
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ def installed? ( process )
5
+ IO . popen "#{ process } -v"
6
+ rescue Errno ::ENOENT
7
+ false
8
+ end
9
+
10
+ def run ( process )
11
+ system "#{ process } start -f Procfile.dev"
12
+ rescue Errno ::ENOENT
13
+ warn <<~MSG
14
+ ERROR:
15
+ Please ensure `Procfile.dev` exists in your project!
16
+ MSG
17
+ exit!
18
+ end
19
+
20
+ if installed? "overmind"
21
+ run "overmind"
22
+ elsif installed? "foreman"
23
+ run "foreman"
24
+ else
25
+ warn <<~MSG
26
+ NOTICE:
27
+ For this script to run, you need either 'overmind' or 'foreman' installed on your machine. Please try this script after installing one of them.
28
+ MSG
29
+ exit!
30
+ end
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ def installed? ( process )
5
+ IO . popen "#{ process } -v"
6
+ rescue Errno ::ENOENT
7
+ false
8
+ end
9
+
10
+ def run ( process )
11
+ system "#{ process } start -f Procfile.dev-static"
12
+ rescue Errno ::ENOENT
13
+ warn <<~MSG
14
+ ERROR:
15
+ Please ensure `Procfile.dev-static` exists in your project!
16
+ MSG
17
+ exit!
18
+ end
19
+
20
+ if installed? "overmind"
21
+ run "overmind"
22
+ elsif installed? "foreman"
23
+ run "foreman"
24
+ else
25
+ warn <<~MSG
26
+ NOTICE:
27
+ For this script to run, you need either 'overmind' or 'foreman' installed on your machine. Please try this script after installing one of them.
28
+ MSG
29
+ exit!
30
+ end
Original file line number Diff line number Diff line change 88
88
"sass-loader" : " ^13.3.2" ,
89
89
"sass-resources-loader" : " ^2.2.5" ,
90
90
"stimulus" : " ^3.0.1" ,
91
- "shakapacker" : " 7.0.2 " ,
91
+ "shakapacker" : " 7.0.3 " ,
92
92
"style-loader" : " ^3.3.1" ,
93
93
"terser-webpack-plugin" : " 5" ,
94
94
"turbolinks" : " ^5.2.0" ,
Original file line number Diff line number Diff line change 8541
8541
resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424"
8542
8542
integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==
8543
8543
8544
-
8545
- version "7.0.2 "
8546
- resolved "https://registry.yarnpkg.com/shakapacker/-/shakapacker-7.0.2 .tgz#cd7cb5075fdbf4d06e60d894f9076c8e56643a98 "
8547
- integrity sha512-TF2GFb0E28fvQpn2L6RdvAHJRZmFMTvpJg93102tCbFywHq3tmTqwD/ijvlD+eMuZ8d1i3AMTnhO+45ayN3dYg ==
8544
+
8545
+ version "7.0.3 "
8546
+ resolved "https://registry.yarnpkg.com/shakapacker/-/shakapacker-7.0.3 .tgz#e67fca4e74c3ef380e1acf53a1d51ab4784ca01c "
8547
+ integrity sha512-2kwNP8kadkmGOqb7Bp/iNzF3bV31zni8b35Uzst2DZHjnFcnDbW96MERXHc7lS3p3AmKJVbUBmHAFCPsLT9tcw ==
8548
8548
dependencies :
8549
8549
glob "^7.2.0"
8550
8550
js-yaml "^4.1.0"
You can’t perform that action at this time.
0 commit comments