react_on_rails 12.1.0 → 12.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +12 -10
  3. data/.rubocop.yml +2 -1
  4. data/CHANGELOG.md +39 -17
  5. data/Gemfile.development_dependencies +1 -1
  6. data/NEWS.md +9 -4
  7. data/README.md +18 -316
  8. data/Rakefile +1 -1
  9. data/SUMMARY.md +12 -12
  10. data/docs/additional-details/generator-details.md +1 -1
  11. data/docs/additional-details/manual-installation-overview.md +2 -2
  12. data/docs/api/view-helpers-api.md +4 -4
  13. data/docs/contributor-info/linters.md +1 -1
  14. data/docs/contributor-info/pull-requests.md +1 -1
  15. data/docs/{basics → guides}/client-vs-server-rendering.md +1 -1
  16. data/docs/{basics → guides}/configuration.md +5 -2
  17. data/docs/{basics → guides}/deployment.md +1 -1
  18. data/docs/guides/getting-started.md +183 -0
  19. data/docs/{basics → guides}/hmr-and-hot-reloading-with-the-webpack-dev-server.md +0 -0
  20. data/docs/{basics → guides}/how-react-on-rails-works.md +3 -1
  21. data/docs/guides/how-to-conditionally-server-render-based-on-device-type.md +39 -0
  22. data/docs/guides/how-to-use-different-files-for-client-and-server-rendering.md +98 -0
  23. data/docs/{basics → guides}/i18n.md +0 -0
  24. data/docs/{basics → guides}/installation-into-an-existing-rails-app.md +3 -3
  25. data/docs/{basics → guides}/minitest-configuration.md +0 -0
  26. data/docs/{rails-webpacker-react-integration-options.md → guides/rails-webpacker-react-integration-options.md} +1 -1
  27. data/docs/guides/react-on-rails-overview.md +30 -0
  28. data/docs/{basics → guides}/react-server-rendering.md +2 -2
  29. data/docs/{basics → guides}/render-functions-and-railscontext.md +0 -0
  30. data/docs/{basics → guides}/rspec-configuration.md +2 -2
  31. data/docs/{basics → guides}/tutorial.md +2 -4
  32. data/docs/{basics → guides}/upgrading-react-on-rails.md +1 -1
  33. data/docs/{basics → guides}/webpack-configuration.md +1 -1
  34. data/docs/home.md +19 -378
  35. data/docs/javascript/code-splitting.md +2 -2
  36. data/docs/misc/articles.md +1 -1
  37. data/docs/misc/doctrine.md +3 -3
  38. data/docs/outdated/rails-assets-relative-paths.md +2 -2
  39. data/docs/outdated/rails-assets.md +1 -1
  40. data/docs/rails/convert-rails-5-api-only-app.md +1 -1
  41. data/docs/rails/rails-engine-integration.md +3 -12
  42. data/docs/rails/turbolinks.md +13 -1
  43. data/docs/react-on-rails-pro/react-on-rails-pro.md +43 -0
  44. data/docs/testimonials/testimonials.md +4 -4
  45. data/lib/generators/react_on_rails/base_generator.rb +1 -1
  46. data/lib/react_on_rails/helper.rb +21 -2
  47. data/lib/react_on_rails/locales/base.rb +7 -9
  48. data/lib/react_on_rails/react_component/render_options.rb +16 -7
  49. data/lib/react_on_rails/server_rendering_pool/ruby_embedded_java_script.rb +11 -0
  50. data/lib/react_on_rails/version.rb +1 -1
  51. data/lib/tasks/assets.rake +3 -1
  52. data/package.json +1 -1
  53. data/rakelib/release.rake +3 -3
  54. data/yarn.lock +469 -401
  55. metadata +22 -18
  56. data/.release-it.json +0 -3
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: 12.1.0
4
+ version: 12.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Gordon
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-03-24 00:00:00.000000000 Z
11
+ date: 2021-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -144,7 +144,6 @@ files:
144
144
  - ".npmignore"
145
145
  - ".prettierignore"
146
146
  - ".prettierrc"
147
- - ".release-it.json"
148
147
  - ".rspec"
149
148
  - ".rubocop.yml"
150
149
  - ".scss-lint.yml"
@@ -174,20 +173,6 @@ files:
174
173
  - docs/api/javascript-api.md
175
174
  - docs/api/redux-store-api.md
176
175
  - docs/api/view-helpers-api.md
177
- - docs/basics/client-vs-server-rendering.md
178
- - docs/basics/configuration.md
179
- - docs/basics/deployment.md
180
- - docs/basics/hmr-and-hot-reloading-with-the-webpack-dev-server.md
181
- - docs/basics/how-react-on-rails-works.md
182
- - docs/basics/i18n.md
183
- - docs/basics/installation-into-an-existing-rails-app.md
184
- - docs/basics/minitest-configuration.md
185
- - docs/basics/react-server-rendering.md
186
- - docs/basics/render-functions-and-railscontext.md
187
- - docs/basics/rspec-configuration.md
188
- - docs/basics/tutorial.md
189
- - docs/basics/upgrading-react-on-rails.md
190
- - docs/basics/webpack-configuration.md
191
176
  - docs/contributor-info/errors-with-hooks.md
192
177
  - docs/contributor-info/generator-testing.md
193
178
  - docs/contributor-info/linters.md
@@ -195,6 +180,25 @@ files:
195
180
  - docs/contributor-info/releasing.md
196
181
  - docs/deployment/elastic-beanstalk.md
197
182
  - docs/deployment/heroku-deployment.md
183
+ - docs/guides/client-vs-server-rendering.md
184
+ - docs/guides/configuration.md
185
+ - docs/guides/deployment.md
186
+ - docs/guides/getting-started.md
187
+ - docs/guides/hmr-and-hot-reloading-with-the-webpack-dev-server.md
188
+ - docs/guides/how-react-on-rails-works.md
189
+ - docs/guides/how-to-conditionally-server-render-based-on-device-type.md
190
+ - docs/guides/how-to-use-different-files-for-client-and-server-rendering.md
191
+ - docs/guides/i18n.md
192
+ - docs/guides/installation-into-an-existing-rails-app.md
193
+ - docs/guides/minitest-configuration.md
194
+ - docs/guides/rails-webpacker-react-integration-options.md
195
+ - docs/guides/react-on-rails-overview.md
196
+ - docs/guides/react-server-rendering.md
197
+ - docs/guides/render-functions-and-railscontext.md
198
+ - docs/guides/rspec-configuration.md
199
+ - docs/guides/tutorial.md
200
+ - docs/guides/upgrading-react-on-rails.md
201
+ - docs/guides/webpack-configuration.md
198
202
  - docs/home.md
199
203
  - docs/javascript/angular-js-integration-migration.md
200
204
  - docs/javascript/asset-pipeline.md
@@ -221,11 +225,11 @@ files:
221
225
  - docs/outdated/rails-assets-relative-paths.md
222
226
  - docs/outdated/rails-assets.md
223
227
  - docs/outdated/rails3.md
224
- - docs/rails-webpacker-react-integration-options.md
225
228
  - docs/rails/convert-rails-5-api-only-app.md
226
229
  - docs/rails/rails-engine-integration.md
227
230
  - docs/rails/rails_view_rendering_from_inline_javascript.md
228
231
  - docs/rails/turbolinks.md
232
+ - docs/react-on-rails-pro/react-on-rails-pro.md
229
233
  - docs/testimonials/hvmn.md
230
234
  - docs/testimonials/resortpass.md
231
235
  - docs/testimonials/testimonials.md
data/.release-it.json DELETED
@@ -1,3 +0,0 @@
1
- {
2
- "requireCleanWorkingDir": false
3
- }