react_on_rails 11.1.8 → 11.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) 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/.travis.yml +10 -9
  7. data/CHANGELOG.md +55 -3
  8. data/CONTRIBUTING.md +2 -10
  9. data/Gemfile +1 -2
  10. data/Gemfile.rails32 +0 -1
  11. data/README.md +20 -11
  12. data/SUMMARY.md +3 -1
  13. data/docs/additional-reading/images.md +1 -1
  14. data/docs/additional-reading/rails_view_rendering_from_inline_javascript.md +2 -1
  15. data/docs/additional-reading/upgrade-webpacker-v3-to-v4.md +10 -0
  16. data/docs/api/view-helpers-api.md +12 -8
  17. data/docs/basics/configuration.md +4 -4
  18. data/docs/basics/minitest-configuration.md +31 -0
  19. data/docs/basics/recommended-project-structure.md +1 -1
  20. data/docs/basics/rspec-configuration.md +2 -2
  21. data/docs/basics/upgrading-react-on-rails.md +11 -1
  22. data/docs/misc-pending/code-splitting.md +2 -2
  23. data/docs/testimonials/hvmn.md +3 -3
  24. data/docs/testimonials/resortpass.md +13 -0
  25. data/docs/testimonials/testimonials.md +11 -1
  26. data/docs/tutorial.md +31 -6
  27. data/lib/generators/react_on_rails/dev_tests_generator.rb +1 -0
  28. data/lib/generators/react_on_rails/install_generator.rb +2 -0
  29. data/lib/generators/react_on_rails/templates/dev_tests/spec/rails_helper.rb +8 -1
  30. data/lib/react_on_rails.rb +1 -0
  31. data/lib/react_on_rails/assets_precompile.rb +3 -0
  32. data/lib/react_on_rails/configuration.rb +2 -1
  33. data/lib/react_on_rails/git_utils.rb +2 -0
  34. data/lib/react_on_rails/helper.rb +72 -73
  35. data/lib/react_on_rails/json_output.rb +1 -1
  36. data/lib/react_on_rails/locales_to_js.rb +2 -0
  37. data/lib/react_on_rails/react_component/render_options.rb +4 -0
  38. data/lib/react_on_rails/server_rendering_js_code.rb +42 -0
  39. data/lib/react_on_rails/server_rendering_pool/ruby_embedded_java_script.rb +30 -5
  40. data/lib/react_on_rails/utils.rb +1 -1
  41. data/lib/react_on_rails/version.rb +1 -1
  42. data/lib/react_on_rails/version_checker.rb +4 -1
  43. data/lib/react_on_rails/webpacker_utils.rb +4 -1
  44. data/package-scripts.yml +46 -0
  45. data/package.json +24 -15
  46. data/rakelib/release.rake +3 -2
  47. data/react_on_rails.gemspec +1 -1
  48. data/webpackConfigLoader.js +2 -2
  49. data/yarn.lock +4431 -1689
  50. metadata +13 -6
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.3.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: 2020-10-02 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
@@ -392,6 +396,7 @@ files:
392
396
  - docs/basics/i18n.md
393
397
  - docs/basics/installation-into-an-existing-rails-app.md
394
398
  - docs/basics/migrating-from-react-rails.md
399
+ - docs/basics/minitest-configuration.md
395
400
  - docs/basics/react-server-rendering.md
396
401
  - docs/basics/recommended-project-structure.md
397
402
  - docs/basics/rspec-configuration.md
@@ -408,6 +413,7 @@ files:
408
413
  - docs/misc/doctrine.md
409
414
  - docs/misc/rails3.md
410
415
  - docs/testimonials/hvmn.md
416
+ - docs/testimonials/resortpass.md
411
417
  - docs/testimonials/testimonials.md
412
418
  - docs/tutorial.md
413
419
  - lib/generators/USAGE
@@ -453,6 +459,7 @@ files:
453
459
  - lib/react_on_rails/locales_to_js.rb
454
460
  - lib/react_on_rails/prerender_error.rb
455
461
  - lib/react_on_rails/react_component/render_options.rb
462
+ - lib/react_on_rails/server_rendering_js_code.rb
456
463
  - lib/react_on_rails/server_rendering_pool.rb
457
464
  - lib/react_on_rails/server_rendering_pool/ruby_embedded_java_script.rb
458
465
  - lib/react_on_rails/test_helper.rb
@@ -466,6 +473,7 @@ files:
466
473
  - lib/react_on_rails/webpacker_utils.rb
467
474
  - lib/tasks/assets.rake
468
475
  - lib/tasks/locale.rake
476
+ - package-scripts.yml
469
477
  - package.json
470
478
  - rakelib/docker.rake
471
479
  - rakelib/dummy_apps.rake
@@ -509,8 +517,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
509
517
  - !ruby/object:Gem::Version
510
518
  version: '0'
511
519
  requirements: []
512
- rubyforge_project:
513
- rubygems_version: 2.7.7
520
+ rubygems_version: 3.1.4
514
521
  signing_key:
515
522
  specification_version: 4
516
523
  summary: Rails with react server rendering with webpack.