Skip to content

Commit a964857

Browse files
committed
Updated to 16.1.1
1 parent adb172a commit a964857

File tree

7 files changed

+83
-74
lines changed

7 files changed

+83
-74
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ group :test do
5656
gem "selenium-webdriver"
5757
end
5858
gem "shakapacker", "~> 8.3"
59-
gem "react_on_rails", "~> 16.0"
59+
gem "react_on_rails", "~> 16.1.1"

Gemfile.lock

Lines changed: 59 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,65 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
actioncable (8.0.2.1)
5-
actionpack (= 8.0.2.1)
6-
activesupport (= 8.0.2.1)
4+
actioncable (8.0.3)
5+
actionpack (= 8.0.3)
6+
activesupport (= 8.0.3)
77
nio4r (~> 2.0)
88
websocket-driver (>= 0.6.1)
99
zeitwerk (~> 2.6)
10-
actionmailbox (8.0.2.1)
11-
actionpack (= 8.0.2.1)
12-
activejob (= 8.0.2.1)
13-
activerecord (= 8.0.2.1)
14-
activestorage (= 8.0.2.1)
15-
activesupport (= 8.0.2.1)
10+
actionmailbox (8.0.3)
11+
actionpack (= 8.0.3)
12+
activejob (= 8.0.3)
13+
activerecord (= 8.0.3)
14+
activestorage (= 8.0.3)
15+
activesupport (= 8.0.3)
1616
mail (>= 2.8.0)
17-
actionmailer (8.0.2.1)
18-
actionpack (= 8.0.2.1)
19-
actionview (= 8.0.2.1)
20-
activejob (= 8.0.2.1)
21-
activesupport (= 8.0.2.1)
17+
actionmailer (8.0.3)
18+
actionpack (= 8.0.3)
19+
actionview (= 8.0.3)
20+
activejob (= 8.0.3)
21+
activesupport (= 8.0.3)
2222
mail (>= 2.8.0)
2323
rails-dom-testing (~> 2.2)
24-
actionpack (8.0.2.1)
25-
actionview (= 8.0.2.1)
26-
activesupport (= 8.0.2.1)
24+
actionpack (8.0.3)
25+
actionview (= 8.0.3)
26+
activesupport (= 8.0.3)
2727
nokogiri (>= 1.8.5)
2828
rack (>= 2.2.4)
2929
rack-session (>= 1.0.1)
3030
rack-test (>= 0.6.3)
3131
rails-dom-testing (~> 2.2)
3232
rails-html-sanitizer (~> 1.6)
3333
useragent (~> 0.16)
34-
actiontext (8.0.2.1)
35-
actionpack (= 8.0.2.1)
36-
activerecord (= 8.0.2.1)
37-
activestorage (= 8.0.2.1)
38-
activesupport (= 8.0.2.1)
34+
actiontext (8.0.3)
35+
actionpack (= 8.0.3)
36+
activerecord (= 8.0.3)
37+
activestorage (= 8.0.3)
38+
activesupport (= 8.0.3)
3939
globalid (>= 0.6.0)
4040
nokogiri (>= 1.8.5)
41-
actionview (8.0.2.1)
42-
activesupport (= 8.0.2.1)
41+
actionview (8.0.3)
42+
activesupport (= 8.0.3)
4343
builder (~> 3.1)
4444
erubi (~> 1.11)
4545
rails-dom-testing (~> 2.2)
4646
rails-html-sanitizer (~> 1.6)
47-
activejob (8.0.2.1)
48-
activesupport (= 8.0.2.1)
47+
activejob (8.0.3)
48+
activesupport (= 8.0.3)
4949
globalid (>= 0.3.6)
50-
activemodel (8.0.2.1)
51-
activesupport (= 8.0.2.1)
52-
activerecord (8.0.2.1)
53-
activemodel (= 8.0.2.1)
54-
activesupport (= 8.0.2.1)
50+
activemodel (8.0.3)
51+
activesupport (= 8.0.3)
52+
activerecord (8.0.3)
53+
activemodel (= 8.0.3)
54+
activesupport (= 8.0.3)
5555
timeout (>= 0.4.0)
56-
activestorage (8.0.2.1)
57-
actionpack (= 8.0.2.1)
58-
activejob (= 8.0.2.1)
59-
activerecord (= 8.0.2.1)
60-
activesupport (= 8.0.2.1)
56+
activestorage (8.0.3)
57+
actionpack (= 8.0.3)
58+
activejob (= 8.0.3)
59+
activerecord (= 8.0.3)
60+
activesupport (= 8.0.3)
6161
marcel (~> 1.0)
62-
activesupport (8.0.2.1)
62+
activesupport (8.0.3)
6363
base64
6464
benchmark (>= 0.3)
6565
bigdecimal
@@ -114,7 +114,7 @@ GEM
114114
fugit (1.11.2)
115115
et-orbi (~> 1, >= 1.2.11)
116116
raabro (~> 1.4)
117-
globalid (1.2.1)
117+
globalid (1.3.0)
118118
activesupport (>= 6.1)
119119
i18n (1.14.7)
120120
concurrent-ruby (~> 1.0)
@@ -217,41 +217,42 @@ GEM
217217
rack (>= 1.3)
218218
rackup (2.2.1)
219219
rack (>= 3)
220-
rails (8.0.2.1)
221-
actioncable (= 8.0.2.1)
222-
actionmailbox (= 8.0.2.1)
223-
actionmailer (= 8.0.2.1)
224-
actionpack (= 8.0.2.1)
225-
actiontext (= 8.0.2.1)
226-
actionview (= 8.0.2.1)
227-
activejob (= 8.0.2.1)
228-
activemodel (= 8.0.2.1)
229-
activerecord (= 8.0.2.1)
230-
activestorage (= 8.0.2.1)
231-
activesupport (= 8.0.2.1)
220+
rails (8.0.3)
221+
actioncable (= 8.0.3)
222+
actionmailbox (= 8.0.3)
223+
actionmailer (= 8.0.3)
224+
actionpack (= 8.0.3)
225+
actiontext (= 8.0.3)
226+
actionview (= 8.0.3)
227+
activejob (= 8.0.3)
228+
activemodel (= 8.0.3)
229+
activerecord (= 8.0.3)
230+
activestorage (= 8.0.3)
231+
activesupport (= 8.0.3)
232232
bundler (>= 1.15.0)
233-
railties (= 8.0.2.1)
233+
railties (= 8.0.3)
234234
rails-dom-testing (2.3.0)
235235
activesupport (>= 5.0.0)
236236
minitest
237237
nokogiri (>= 1.6)
238238
rails-html-sanitizer (1.6.2)
239239
loofah (~> 2.21)
240240
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
241-
railties (8.0.2.1)
242-
actionpack (= 8.0.2.1)
243-
activesupport (= 8.0.2.1)
241+
railties (8.0.3)
242+
actionpack (= 8.0.3)
243+
activesupport (= 8.0.3)
244244
irb (~> 1.13)
245245
rackup (>= 1.0.0)
246246
rake (>= 12.2)
247247
thor (~> 1.0, >= 1.2.2)
248+
tsort (>= 0.2)
248249
zeitwerk (~> 2.6)
249250
rainbow (3.1.1)
250251
rake (13.3.0)
251252
rdoc (6.14.2)
252253
erb
253254
psych (>= 4.0.0)
254-
react_on_rails (16.0.0)
255+
react_on_rails (16.1.1)
255256
addressable
256257
connection_pool
257258
execjs (~> 2.5)
@@ -300,7 +301,7 @@ GEM
300301
rubyzip (>= 1.2.2, < 4.0)
301302
websocket (~> 1.0)
302303
semantic_range (3.1.0)
303-
shakapacker (8.3.0)
304+
shakapacker (8.4.0)
304305
activesupport (>= 5.2)
305306
package_json
306307
rack-proxy (>= 0.6.1)
@@ -345,6 +346,7 @@ GEM
345346
thruster (0.1.15-x86_64-darwin)
346347
thruster (0.1.15-x86_64-linux)
347348
timeout (0.4.3)
349+
tsort (0.2.0)
348350
tzinfo (2.0.6)
349351
concurrent-ruby (~> 1.0)
350352
unicode-display_width (3.1.5)
@@ -388,7 +390,7 @@ DEPENDENCIES
388390
propshaft
389391
puma (>= 5.0)
390392
rails (~> 8.0.2, >= 8.0.2.1)
391-
react_on_rails (~> 16.0)
393+
react_on_rails (~> 16.1.1)
392394
rubocop-rails-omakase
393395
selenium-webdriver
394396
shakapacker (~> 8.3)

app/controllers/heavy_markdown_editor_controller.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ def index
88
# author: @article.author.name,
99
# lastModified: @article.updated_at
1010
# }
11-
11+
1212
@heavy_markdown_editor_props = {
1313
initialText: load_demo_content,
1414
title: "React on Rails Demo Article",
15-
author: "Demo System",
15+
author: "Demo System",
1616
lastModified: Time.current
1717
}
1818
end
@@ -22,7 +22,7 @@ def index
2222
def load_demo_content
2323
# Simulate loading from database by reading from file
2424
# In production, this would be: Article.find(id).content
25-
content_file = File.join(__dir__, 'heavy_markdown_editor_content.md')
25+
content_file = File.join(__dir__, "heavy_markdown_editor_content.md")
2626
File.read(content_file)
2727
rescue Errno::ENOENT => e
2828
Rails.logger.warn "Demo content file not found: #{e.message}"

config/routes.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111

1212
# React on Rails demo routes
1313
root "hello_world#index"
14-
get 'hello_world', to: 'hello_world#index'
15-
get 'heavy_markdown_editor', to: 'heavy_markdown_editor#index'
14+
get "hello_world", to: "hello_world#index"
15+
get "heavy_markdown_editor", to: "heavy_markdown_editor#index"
1616
end

package-lock.json

Lines changed: 15 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
"react": "^19.1.1",
3131
"react-dom": "^19.1.1",
3232
"react-markdown": "^10.1.0",
33-
"react-on-rails": "^16.0.0",
33+
"react-on-rails": "^16.1.1",
3434
"remark-gfm": "^4.0.1",
35-
"shakapacker": "8.3.0",
35+
"shakapacker": "8.4.0",
3636
"style-loader": "^4.0.0",
3737
"terser-webpack-plugin": "^5.3.14",
3838
"webpack": "^5.101.3",

test/controllers/heavy_markdown_editor_controller_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
class HeavyMarkdownEditorControllerTest < ActionDispatch::IntegrationTest
44
test "should get index" do
5-
get heavy_markdown_editor_index_url
5+
get heavy_markdown_editor_url
66
assert_response :success
77
end
88
end

0 commit comments

Comments
 (0)