File tree 17 files changed +411
-359
lines changed
17 files changed +411
-359
lines changed Original file line number Diff line number Diff line change 6
6
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
7
8
8
name : Ruby
9
- on : [push, pull_request]
9
+
10
+ on : [push]
10
11
jobs :
12
+ check_react_and_ujs :
13
+ strategy :
14
+ fail-fast : true
15
+ matrix :
16
+ ruby : [2.7]
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - uses : actions/checkout@v3
20
+ - uses : ruby/setup-ruby@v1
21
+ with :
22
+ bundler : 2.4.9
23
+ ruby-version : ${{ matrix.ruby }}
24
+ - uses : actions/setup-node@v3
25
+ - run : bundle install
26
+ - run : yarn
27
+ - run : bundle exec rake react:update
28
+ - run : bundle exec rake ujs:update
29
+ - run : ./check_for_uncommitted_files.sh
30
+
11
31
test :
32
+ needs : check_react_and_ujs
12
33
strategy :
13
34
fail-fast : false
14
35
matrix :
15
- ruby :
16
- - 2.7.0
17
- - 2.6.5
18
- # TODO restore testing against JRuby w/ therubyrhino
19
- # - jruby-9.3.7.0
36
+ ruby : [2.7]
20
37
gemfile :
21
38
# These have webpacker:
22
39
- rails_5.2_no_sprockets
37
54
- uses : actions/setup-node@v3
38
55
- uses : ruby/setup-ruby@v1
39
56
with :
57
+ bundler : 2.4.9
40
58
ruby-version : ${{ matrix.ruby }}
41
59
# TODO: Impalement caching
42
60
# bundler-cache: true
Original file line number Diff line number Diff line change @@ -9,6 +9,11 @@ Changes since last non-beta release.
9
9
10
10
_ Please add entries here for your pull requests that are not yet released._
11
11
12
+ ## [ 2.7.1] - 2023-05-19
13
+
14
+ #### Bug Fixes
15
+ - Fix ReactDomClient initialization error during SSR. #1278
16
+
12
17
## [ 2.7.0] - 2023-05-06
13
18
14
19
#### New Features
@@ -541,5 +546,6 @@ _Please add entries here for your pull requests that are not yet released._
541
546
- Server rendering with ` prerender: true `
542
547
- Transform ` .jsx ` in the asset pipeline
543
548
544
- [ Unreleased ] : https://github.com/reactjs/react-rails/compare/v2.7.0...master
549
+ [ Unreleased ] : https://github.com/reactjs/react-rails/compare/v2.7.1...master
550
+ [ 2.7.1 ] : https://github.com/shakacode/shakapacker/compare/v2.7.0...v2.7.1
545
551
[ 2.7.0 ] : https://github.com/shakacode/shakapacker/compare/v2.6.2...v2.7.0
Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ PLATFORMS
244
244
245
245
DEPENDENCIES
246
246
appraisal
247
- bundler (~> 2.0 )
247
+ bundler (= 2.4.9 )
248
248
capybara
249
249
codeclimate-test-reporter
250
250
coffee-rails
@@ -263,4 +263,4 @@ DEPENDENCIES
263
263
webdrivers
264
264
265
265
BUNDLED WITH
266
- 2.4.10
266
+ 2.4.9
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ namespace :react do
25
25
26
26
desc 'Install the JavaScript dependencies'
27
27
task :install do
28
- yarn_run_in ( 'react-builds' , 'upgrade ' )
28
+ yarn_run_in ( 'react-builds' , 'install ' )
29
29
end
30
30
31
31
desc 'Build the JS bundles with Webpack'
@@ -49,7 +49,7 @@ namespace :ujs do
49
49
50
50
desc 'Install the JavaScript dependencies'
51
51
task :install do
52
- `yarn upgrade `
52
+ `yarn install `
53
53
end
54
54
55
55
desc 'Build the JS bundles with Webpack'
@@ -71,12 +71,12 @@ namespace :ujs do
71
71
end
72
72
73
73
require 'appraisal'
74
- require 'rake/testtask '
74
+ require 'minitest/test_task '
75
75
76
- Rake ::TestTask . new ( :test ) do |t |
76
+ Minitest ::TestTask . create ( :test ) do |t |
77
77
t . libs << 'lib'
78
78
t . libs << 'test'
79
- t . pattern = ENV [ 'TEST_PATTERN' ] || 'test/**/*_test.rb'
79
+ t . test_globs = ENV [ 'TEST_PATTERN' ] || 'test/**/*_test.rb'
80
80
t . verbose = ENV [ 'TEST_VERBOSE' ] == '1'
81
81
t . warning = false
82
82
end
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -e
3
+
4
+ status=$( git status --porcelain)
5
+ if [ -n " $status " ]; then
6
+ status=" ${status// ' %' / ' %25' } "
7
+ status=" ${status// $' \n ' / ' %0A' } "
8
+ status=" ${status// $' \r ' / ' %0D' } "
9
+ echo " $status "
10
+ exit 1
11
+ else
12
+ echo " The repository is clean"
13
+ exit 0
14
+ fi
Original file line number Diff line number Diff line change 1
1
PATH
2
2
remote: ..
3
3
specs:
4
- react-rails (2.6.2 )
4
+ react-rails (2.7.0 )
5
5
babel-transpiler (>= 0.7.0)
6
6
connection_pool
7
7
execjs
95
95
execjs (2.7.0)
96
96
ffi (1.11.3)
97
97
formatador (0.2.5)
98
+ gem-release (2.2.2)
98
99
globalid (0.6.0)
99
100
activesupport (>= 5.0)
100
101
guard (2.16.1)
@@ -127,12 +128,10 @@ GEM
127
128
marcel (1.0.2)
128
129
method_source (0.9.2)
129
130
mini_mime (1.1.2)
130
- mini_portile2 (2.8.0)
131
131
minitest (5.16.3)
132
132
nenv (0.3.0)
133
133
nio4r (2.5.8)
134
- nokogiri (1.13.8)
135
- mini_portile2 (~> 2.8.0)
134
+ nokogiri (1.13.8-x86_64-darwin)
136
135
racc (~> 1.4)
137
136
notiffany (0.1.3)
138
137
nenv (~> 0.1)
@@ -214,15 +213,16 @@ GEM
214
213
nokogiri (~> 1.8)
215
214
216
215
PLATFORMS
217
- ruby
216
+ x86_64-darwin-20
218
217
219
218
DEPENDENCIES
220
219
appraisal
221
- bundler (~> 2.0 )
220
+ bundler (= 2.4.9 )
222
221
capybara
223
222
codeclimate-test-reporter
224
223
coffee-rails
225
224
es5-shim-rails (>= 2.0.5)
225
+ gem-release
226
226
guard
227
227
guard-minitest
228
228
jbuilder
@@ -236,4 +236,4 @@ DEPENDENCIES
236
236
webdrivers
237
237
238
238
BUNDLED WITH
239
- 2.1.4
239
+ 2.4.9
Original file line number Diff line number Diff line change 1
1
PATH
2
2
remote: ..
3
3
specs:
4
- react-rails (2.6.2 )
4
+ react-rails (2.7.0 )
5
5
babel-transpiler (>= 0.7.0)
6
6
connection_pool
7
7
execjs
95
95
execjs (2.7.0)
96
96
ffi (1.11.3)
97
97
formatador (0.2.5)
98
+ gem-release (2.2.2)
98
99
globalid (0.6.0)
99
100
activesupport (>= 5.0)
100
101
guard (2.16.1)
115
116
jbuilder (2.9.1)
116
117
activesupport (>= 4.2.0)
117
118
json (2.3.0)
118
- libv8 (7.3.492.27.1)
119
+ libv8 (7.3.492.27.1-x86_64-darwin-20 )
119
120
listen (3.0.8)
120
121
rb-fsevent (~> 0.9, >= 0.9.4)
121
122
rb-inotify (~> 0.9, >= 0.9.7)
@@ -128,14 +129,12 @@ GEM
128
129
marcel (1.0.2)
129
130
method_source (0.9.2)
130
131
mini_mime (1.1.2)
131
- mini_portile2 (2.8.0)
132
132
mini_racer (0.2.8)
133
133
libv8 (>= 6.9.411)
134
134
minitest (5.16.3)
135
135
nenv (0.3.0)
136
136
nio4r (2.5.8)
137
- nokogiri (1.13.8)
138
- mini_portile2 (~> 2.8.0)
137
+ nokogiri (1.13.8-x86_64-darwin)
139
138
racc (~> 1.4)
140
139
notiffany (0.1.3)
141
140
nenv (~> 0.1)
@@ -223,15 +222,16 @@ GEM
223
222
nokogiri (~> 1.8)
224
223
225
224
PLATFORMS
226
- ruby
225
+ x86_64-darwin-20
227
226
228
227
DEPENDENCIES
229
228
appraisal
230
- bundler (~> 2.0 )
229
+ bundler (= 2.4.9 )
231
230
capybara
232
231
codeclimate-test-reporter
233
232
coffee-rails
234
233
es5-shim-rails (>= 2.0.5)
234
+ gem-release
235
235
guard
236
236
guard-minitest
237
237
jbuilder
@@ -248,4 +248,4 @@ DEPENDENCIES
248
248
webpacker (~> 3.0)
249
249
250
250
BUNDLED WITH
251
- 2.1.4
251
+ 2.4.9
Original file line number Diff line number Diff line change 1
1
PATH
2
2
remote: ..
3
3
specs:
4
- react-rails (2.6.2 )
4
+ react-rails (2.7.0 )
5
5
babel-transpiler (>= 0.7.0)
6
6
connection_pool
7
7
execjs
95
95
execjs (2.7.0)
96
96
ffi (1.11.3)
97
97
formatador (0.2.5)
98
+ gem-release (2.2.2)
98
99
globalid (0.6.0)
99
100
activesupport (>= 5.0)
100
101
guard (2.16.1)
115
116
jbuilder (2.9.1)
116
117
activesupport (>= 4.2.0)
117
118
json (2.3.0)
118
- libv8 (7.3.492.27.1)
119
+ libv8 (7.3.492.27.1-x86_64-darwin-20 )
119
120
listen (3.0.8)
120
121
rb-fsevent (~> 0.9, >= 0.9.4)
121
122
rb-inotify (~> 0.9, >= 0.9.7)
@@ -128,14 +129,12 @@ GEM
128
129
marcel (1.0.2)
129
130
method_source (0.9.2)
130
131
mini_mime (1.1.2)
131
- mini_portile2 (2.8.0)
132
132
mini_racer (0.2.8)
133
133
libv8 (>= 6.9.411)
134
134
minitest (5.16.3)
135
135
nenv (0.3.0)
136
136
nio4r (2.5.8)
137
- nokogiri (1.13.8)
138
- mini_portile2 (~> 2.8.0)
137
+ nokogiri (1.13.8-x86_64-darwin)
139
138
racc (~> 1.4)
140
139
notiffany (0.1.3)
141
140
nenv (~> 0.1)
@@ -223,15 +222,16 @@ GEM
223
222
nokogiri (~> 1.8)
224
223
225
224
PLATFORMS
226
- ruby
225
+ x86_64-darwin-20
227
226
228
227
DEPENDENCIES
229
228
appraisal
230
- bundler (~> 2.0 )
229
+ bundler (= 2.4.9 )
231
230
capybara
232
231
codeclimate-test-reporter
233
232
coffee-rails
234
233
es5-shim-rails (>= 2.0.5)
234
+ gem-release
235
235
guard
236
236
guard-minitest
237
237
jbuilder
@@ -248,4 +248,4 @@ DEPENDENCIES
248
248
webpacker (~> 4.0)
249
249
250
250
BUNDLED WITH
251
- 2.1.4
251
+ 2.4.9
Original file line number Diff line number Diff line change 1
1
PATH
2
2
remote: ..
3
3
specs:
4
- react-rails (2.6.2 )
4
+ react-rails (2.7.0 )
5
5
babel-transpiler (>= 0.7.0)
6
6
connection_pool
7
7
execjs
95
95
execjs (2.7.0)
96
96
ffi (1.11.3)
97
97
formatador (0.2.5)
98
+ gem-release (2.2.2)
98
99
globalid (0.6.0)
99
100
activesupport (>= 5.0)
100
101
guard (2.16.1)
115
116
jbuilder (2.9.1)
116
117
activesupport (>= 4.2.0)
117
118
json (2.3.0)
118
- libv8 (7.3.492.27.1)
119
+ libv8 (7.3.492.27.1-x86_64-darwin-20 )
119
120
listen (3.0.8)
120
121
rb-fsevent (~> 0.9, >= 0.9.4)
121
122
rb-inotify (~> 0.9, >= 0.9.7)
@@ -128,14 +129,12 @@ GEM
128
129
marcel (1.0.2)
129
130
method_source (0.9.2)
130
131
mini_mime (1.1.2)
131
- mini_portile2 (2.8.0)
132
132
mini_racer (0.2.8)
133
133
libv8 (>= 6.9.411)
134
134
minitest (5.16.3)
135
135
nenv (0.3.0)
136
136
nio4r (2.5.8)
137
- nokogiri (1.13.8)
138
- mini_portile2 (~> 2.8.0)
137
+ nokogiri (1.13.8-x86_64-darwin)
139
138
racc (~> 1.4)
140
139
notiffany (0.1.3)
141
140
nenv (~> 0.1)
@@ -217,15 +216,16 @@ GEM
217
216
nokogiri (~> 1.8)
218
217
219
218
PLATFORMS
220
- ruby
219
+ x86_64-darwin-20
221
220
222
221
DEPENDENCIES
223
222
appraisal
224
- bundler (~> 2.0 )
223
+ bundler (= 2.4.9 )
225
224
capybara
226
225
codeclimate-test-reporter
227
226
coffee-rails
228
227
es5-shim-rails (>= 2.0.5)
228
+ gem-release
229
229
guard
230
230
guard-minitest
231
231
jbuilder
@@ -242,4 +242,4 @@ DEPENDENCIES
242
242
webdrivers
243
243
244
244
BUNDLED WITH
245
- 2.1.4
245
+ 2.4.9
You can’t perform that action at this time.
0 commit comments