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.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/.eslintrc +8 -2
  3. data/.prettierignore +1 -0
  4. data/.prettierrc +20 -0
  5. data/.release-it.json +3 -0
  6. data/CHANGELOG.md +19 -3
  7. data/CONTRIBUTING.md +1 -9
  8. data/Gemfile +0 -1
  9. data/Gemfile.rails32 +0 -1
  10. data/README.md +1 -1
  11. data/SUMMARY.md +1 -0
  12. data/docs/additional-reading/images.md +1 -1
  13. data/docs/additional-reading/rails_view_rendering_from_inline_javascript.md +2 -1
  14. data/docs/additional-reading/upgrade-webpacker-v3-to-v4.md +10 -0
  15. data/docs/api/view-helpers-api.md +10 -6
  16. data/docs/basics/configuration.md +4 -4
  17. data/docs/basics/recommended-project-structure.md +1 -1
  18. data/docs/misc-pending/code-splitting.md +2 -2
  19. data/docs/testimonials/hvmn.md +3 -3
  20. data/docs/tutorial.md +26 -1
  21. data/lib/generators/react_on_rails/dev_tests_generator.rb +1 -0
  22. data/lib/generators/react_on_rails/install_generator.rb +2 -0
  23. data/lib/react_on_rails.rb +1 -0
  24. data/lib/react_on_rails/assets_precompile.rb +3 -0
  25. data/lib/react_on_rails/configuration.rb +2 -1
  26. data/lib/react_on_rails/git_utils.rb +2 -0
  27. data/lib/react_on_rails/helper.rb +12 -20
  28. data/lib/react_on_rails/json_output.rb +1 -1
  29. data/lib/react_on_rails/locales_to_js.rb +2 -0
  30. data/lib/react_on_rails/server_rendering_js_code.rb +42 -0
  31. data/lib/react_on_rails/server_rendering_pool/ruby_embedded_java_script.rb +30 -5
  32. data/lib/react_on_rails/utils.rb +1 -1
  33. data/lib/react_on_rails/version.rb +1 -1
  34. data/lib/react_on_rails/version_checker.rb +4 -1
  35. data/lib/react_on_rails/webpacker_utils.rb +4 -1
  36. data/package-scripts.yml +46 -0
  37. data/package.json +24 -15
  38. data/rakelib/release.rake +3 -2
  39. data/react_on_rails.gemspec +1 -1
  40. data/webpackConfigLoader.js +2 -2
  41. data/yarn.lock +4431 -1689
  42. 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.8
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-10-14 00:00:00.000000000 Z
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.58.1
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.58.1
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.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.