react_on_rails 11.1.8 → 11.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.eslintrc +8 -2
- data/.prettierignore +1 -0
- data/.prettierrc +20 -0
- data/.release-it.json +3 -0
- data/CHANGELOG.md +19 -3
- data/CONTRIBUTING.md +1 -9
- data/Gemfile +0 -1
- data/Gemfile.rails32 +0 -1
- data/README.md +1 -1
- data/SUMMARY.md +1 -0
- data/docs/additional-reading/images.md +1 -1
- data/docs/additional-reading/rails_view_rendering_from_inline_javascript.md +2 -1
- data/docs/additional-reading/upgrade-webpacker-v3-to-v4.md +10 -0
- data/docs/api/view-helpers-api.md +10 -6
- data/docs/basics/configuration.md +4 -4
- data/docs/basics/recommended-project-structure.md +1 -1
- data/docs/misc-pending/code-splitting.md +2 -2
- data/docs/testimonials/hvmn.md +3 -3
- data/docs/tutorial.md +26 -1
- data/lib/generators/react_on_rails/dev_tests_generator.rb +1 -0
- data/lib/generators/react_on_rails/install_generator.rb +2 -0
- data/lib/react_on_rails.rb +1 -0
- data/lib/react_on_rails/assets_precompile.rb +3 -0
- data/lib/react_on_rails/configuration.rb +2 -1
- data/lib/react_on_rails/git_utils.rb +2 -0
- data/lib/react_on_rails/helper.rb +12 -20
- data/lib/react_on_rails/json_output.rb +1 -1
- data/lib/react_on_rails/locales_to_js.rb +2 -0
- data/lib/react_on_rails/server_rendering_js_code.rb +42 -0
- data/lib/react_on_rails/server_rendering_pool/ruby_embedded_java_script.rb +30 -5
- data/lib/react_on_rails/utils.rb +1 -1
- data/lib/react_on_rails/version.rb +1 -1
- data/lib/react_on_rails/version_checker.rb +4 -1
- data/lib/react_on_rails/webpacker_utils.rb +4 -1
- data/package-scripts.yml +46 -0
- data/package.json +24 -15
- data/rakelib/release.rake +3 -2
- data/react_on_rails.gemspec +1 -1
- data/webpackConfigLoader.js +2 -2
- data/yarn.lock +4431 -1689
- metadata +11 -5
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: react_on_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 11.1
|
4
|
+
version: 11.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Gordon
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -310,14 +310,14 @@ dependencies:
|
|
310
310
|
requirements:
|
311
311
|
- - "~>"
|
312
312
|
- !ruby/object:Gem::Version
|
313
|
-
version: 0.
|
313
|
+
version: 0.61.1
|
314
314
|
type: :development
|
315
315
|
prerelease: false
|
316
316
|
version_requirements: !ruby/object:Gem::Requirement
|
317
317
|
requirements:
|
318
318
|
- - "~>"
|
319
319
|
- !ruby/object:Gem::Version
|
320
|
-
version: 0.
|
320
|
+
version: 0.61.1
|
321
321
|
description: See README.md
|
322
322
|
email:
|
323
323
|
- justin@shakacode.com
|
@@ -332,6 +332,9 @@ files:
|
|
332
332
|
- ".eslintrc"
|
333
333
|
- ".gitignore"
|
334
334
|
- ".npmignore"
|
335
|
+
- ".prettierignore"
|
336
|
+
- ".prettierrc"
|
337
|
+
- ".release-it.json"
|
335
338
|
- ".rspec"
|
336
339
|
- ".rubocop.yml"
|
337
340
|
- ".scss-lint.yml"
|
@@ -375,6 +378,7 @@ files:
|
|
375
378
|
- docs/additional-reading/troubleshooting-when-using-webpacker.md
|
376
379
|
- docs/additional-reading/turbolinks.md
|
377
380
|
- docs/additional-reading/updating-dependencies.md
|
381
|
+
- docs/additional-reading/upgrade-webpacker-v3-to-v4.md
|
378
382
|
- docs/additional-reading/webpack-dev-server.md
|
379
383
|
- docs/additional-reading/webpack-v1-notes.md
|
380
384
|
- docs/additional-reading/webpack.md
|
@@ -453,6 +457,7 @@ files:
|
|
453
457
|
- lib/react_on_rails/locales_to_js.rb
|
454
458
|
- lib/react_on_rails/prerender_error.rb
|
455
459
|
- lib/react_on_rails/react_component/render_options.rb
|
460
|
+
- lib/react_on_rails/server_rendering_js_code.rb
|
456
461
|
- lib/react_on_rails/server_rendering_pool.rb
|
457
462
|
- lib/react_on_rails/server_rendering_pool/ruby_embedded_java_script.rb
|
458
463
|
- lib/react_on_rails/test_helper.rb
|
@@ -466,6 +471,7 @@ files:
|
|
466
471
|
- lib/react_on_rails/webpacker_utils.rb
|
467
472
|
- lib/tasks/assets.rake
|
468
473
|
- lib/tasks/locale.rake
|
474
|
+
- package-scripts.yml
|
469
475
|
- package.json
|
470
476
|
- rakelib/docker.rake
|
471
477
|
- rakelib/dummy_apps.rake
|
@@ -510,7 +516,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
510
516
|
version: '0'
|
511
517
|
requirements: []
|
512
518
|
rubyforge_project:
|
513
|
-
rubygems_version: 2.7.
|
519
|
+
rubygems_version: 2.7.6
|
514
520
|
signing_key:
|
515
521
|
specification_version: 4
|
516
522
|
summary: Rails with react server rendering with webpack.
|