react_on_rails 12.0.2 → 12.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +12 -2
  3. data/.eslintrc +2 -1
  4. data/.github/workflows/lint-js-and-ruby.yml +53 -0
  5. data/.github/workflows/main.yml +178 -0
  6. data/.github/workflows/package-js-tests.yml +35 -0
  7. data/.github/workflows/rspec-package-specs.yml +45 -0
  8. data/.prettierrc +0 -3
  9. data/.rubocop.yml +46 -38
  10. data/CHANGELOG.md +35 -12
  11. data/CONTRIBUTING.md +4 -3
  12. data/Gemfile +1 -33
  13. data/Gemfile.development_dependencies +51 -0
  14. data/README.md +63 -55
  15. data/docs/{basics → additional-details}/generator-details.md +1 -6
  16. data/docs/{outdated → additional-details}/manual-installation-overview.md +6 -6
  17. data/docs/{basics → additional-details}/migrating-from-react-rails.md +0 -0
  18. data/docs/{additional-reading → additional-details}/recommended-project-structure.md +0 -0
  19. data/docs/{additional-reading → additional-details}/updating-dependencies.md +0 -0
  20. data/docs/additional-details/upgrade-webpacker-v3-to-v4.md +10 -0
  21. data/docs/api/javascript-api.md +2 -2
  22. data/docs/api/redux-store-api.md +3 -3
  23. data/docs/api/view-helpers-api.md +7 -8
  24. data/docs/basics/client-vs-server-rendering.md +3 -3
  25. data/docs/basics/configuration.md +42 -25
  26. data/docs/basics/deployment.md +2 -2
  27. data/docs/basics/hmr-and-hot-reloading-with-the-webpack-dev-server.md +16 -14
  28. data/docs/{outdated → basics}/how-react-on-rails-works.md +8 -9
  29. data/docs/basics/installation-into-an-existing-rails-app.md +13 -6
  30. data/docs/basics/react-server-rendering.md +3 -3
  31. data/docs/basics/rspec-configuration.md +10 -10
  32. data/docs/{tutorial.md → basics/tutorial.md} +23 -31
  33. data/docs/basics/upgrading-react-on-rails.md +32 -12
  34. data/docs/basics/webpack-configuration.md +4 -6
  35. data/docs/contributor-info/linters.md +5 -6
  36. data/docs/contributor-info/pull-requests.md +2 -4
  37. data/docs/contributor-info/releasing.md +1 -1
  38. data/docs/{additional-reading → deployment}/elastic-beanstalk.md +0 -0
  39. data/docs/{basics → deployment}/heroku-deployment.md +0 -0
  40. data/docs/home.md +382 -0
  41. data/docs/{additional-reading → javascript}/angular-js-integration-migration.md +0 -0
  42. data/docs/{additional-reading → javascript}/asset-pipeline.md +0 -0
  43. data/docs/{additional-reading → javascript}/capistrano-deployment.md +0 -0
  44. data/docs/{outdated → javascript}/code-splitting.md +5 -5
  45. data/docs/{additional-reading → javascript}/converting-from-custom-webpack-config-to-rails-webpacker-config.md +3 -3
  46. data/docs/{additional-reading → javascript}/credits.md +0 -0
  47. data/docs/{additional-reading → javascript}/foreman-issues.md +0 -0
  48. data/docs/{additional-reading → javascript}/images.md +5 -6
  49. data/docs/{additional-reading → javascript}/node-dependencies-and-npm.md +0 -0
  50. data/docs/{additional-reading → javascript}/react-and-redux.md +0 -0
  51. data/docs/{additional-reading → javascript}/react-helmet.md +0 -0
  52. data/docs/{additional-reading → javascript}/react-router.md +0 -0
  53. data/docs/{additional-reading → javascript}/server-rendering-tips.md +0 -0
  54. data/docs/{additional-reading → javascript}/troubleshooting-when-using-webpacker.md +0 -0
  55. data/docs/{additional-reading → javascript}/webpack-v1-notes.md +0 -0
  56. data/docs/{additional-reading → javascript}/webpack.md +0 -0
  57. data/docs/{articles.md → misc/articles.md} +1 -1
  58. data/docs/misc/doctrine.md +5 -5
  59. data/docs/{coding-style → misc}/style.md +0 -0
  60. data/docs/{additional-reading → misc}/tips.md +0 -0
  61. data/docs/outdated/deferred-rendering.md +39 -0
  62. data/docs/outdated/rails-assets-relative-paths.md +3 -3
  63. data/docs/outdated/rails-assets.md +8 -8
  64. data/docs/outdated/rails3.md +2 -2
  65. data/docs/rails-webpacker-react-integration-options.md +182 -0
  66. data/docs/{additional-reading → rails}/convert-rails-5-api-only-app.md +1 -1
  67. data/docs/{additional-reading → rails}/rails-engine-integration.md +0 -0
  68. data/docs/{additional-reading → rails}/rails_view_rendering_from_inline_javascript.md +0 -0
  69. data/docs/{additional-reading → rails}/turbolinks.md +0 -0
  70. data/docs/testimonials/testimonials.md +6 -6
  71. data/lib/generators/react_on_rails/base_generator.rb +8 -1
  72. data/lib/generators/react_on_rails/dev_tests_generator.rb +1 -1
  73. data/lib/generators/react_on_rails/templates/dev_tests/spec/rails_helper.rb +8 -2
  74. data/lib/generators/react_on_rails/templates/dev_tests/spec/simplecov_helper.rb +1 -1
  75. data/lib/generators/react_on_rails/templates/dev_tests/spec/{features → system}/hello_world_spec.rb +2 -2
  76. data/lib/react_on_rails/configuration.rb +2 -0
  77. data/lib/react_on_rails/git_utils.rb +3 -3
  78. data/lib/react_on_rails/helper.rb +15 -9
  79. data/lib/react_on_rails/locales/base.rb +3 -3
  80. data/lib/react_on_rails/locales/to_js.rb +0 -4
  81. data/lib/react_on_rails/locales/to_json.rb +0 -4
  82. data/lib/react_on_rails/prerender_error.rb +1 -1
  83. data/lib/react_on_rails/server_rendering_pool/ruby_embedded_java_script.rb +6 -6
  84. data/lib/react_on_rails/test_helper.rb +2 -0
  85. data/lib/react_on_rails/test_helper/webpack_assets_compiler.rb +1 -1
  86. data/lib/react_on_rails/utils.rb +19 -3
  87. data/lib/react_on_rails/version.rb +1 -1
  88. data/lib/react_on_rails/webpacker_utils.rb +5 -1
  89. data/lib/tasks/assets.rake +20 -11
  90. data/package.json +24 -29
  91. data/rakelib/docker.rake +0 -5
  92. data/rakelib/lint.rake +3 -9
  93. data/rakelib/release.rake +27 -13
  94. data/rakelib/run_rspec.rake +10 -11
  95. data/rakelib/task_helpers.rb +16 -4
  96. data/react_on_rails.gemspec +3 -17
  97. data/yarn.lock +2272 -4960
  98. metadata +50 -225
  99. data/docs/additional-reading/upgrade-webpacker-v3-to-v4.md +0 -10
  100. data/docs/additional-reading/webpack-dev-server.md +0 -15
  101. data/ruby-lint.yml +0 -25

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.