react_on_rails 11.0.9 → 11.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +1 -1
  3. data/CHANGELOG.md +8 -2
  4. data/{docs/LICENSE.md → LICENSE.md} +1 -1
  5. data/README.md +177 -693
  6. data/SUMMARY.md +39 -26
  7. data/docs/additional-reading/convert-rails-5-api-only-app.md +19 -0
  8. data/docs/additional-reading/credits.md +10 -0
  9. data/docs/additional-reading/rails-assets-relative-paths.md +2 -2
  10. data/docs/additional-reading/server-rendering-tips.md +2 -4
  11. data/docs/additional-reading/webpack.md +2 -2
  12. data/docs/api/javascript-api.md +21 -1
  13. data/docs/api/redux-store-api.md +100 -0
  14. data/docs/api/view-helpers-api.md +115 -0
  15. data/docs/articles.md +20 -0
  16. data/docs/basics/client-vs-server-rendering.md +17 -0
  17. data/docs/basics/deployment.md +6 -0
  18. data/docs/basics/{generator.md → generator-details.md} +4 -7
  19. data/docs/basics/generator-functions-and-railscontext.md +157 -0
  20. data/docs/basics/how-react-on-rails-works.md +40 -0
  21. data/docs/basics/installation-into-an-existing-rails-app.md +64 -0
  22. data/docs/basics/react-server-rendering.md +27 -0
  23. data/docs/{additional-reading → basics}/recommended-project-structure.md +26 -4
  24. data/docs/{additional-reading → basics}/rspec-configuration.md +0 -0
  25. data/docs/basics/webpack-configuration.md +29 -0
  26. data/docs/misc/doctrine.md +1 -1
  27. data/docs/{additional-reading → misc-pending}/code-splitting.md +8 -2
  28. data/docs/{basics/installation-overview.md → misc-pending/manual-installation-overview.md} +3 -8
  29. data/docs/{additional-reading → misc-pending}/rails-assets.md +3 -1
  30. data/docs/testimonials.md +11 -0
  31. data/docs/tutorial.md +4 -4
  32. data/lib/generators/USAGE +1 -1
  33. data/lib/react_on_rails/{react_on_rails_helper.rb → helper.rb} +4 -4
  34. data/lib/react_on_rails/prerender_error.rb +7 -3
  35. data/lib/react_on_rails/server_rendering_pool.rb +0 -1
  36. data/lib/react_on_rails/utils.rb +17 -0
  37. data/lib/react_on_rails/version.rb +1 -1
  38. data/lib/react_on_rails.rb +1 -1
  39. data/package.json +1 -1
  40. data/react_on_rails.gemspec +1 -1
  41. metadata +27 -17
  42. data/docs/additional-reading/caching-and-performance.md +0 -4
  43. data/docs/additional-reading/node-server-rendering.md +0 -5
  44. data/docs/api/ruby-api.md +0 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d4c8e8a304c80572a9df447d0d1cd3bffe2e12eb2c6080658d2dd16ae326c321
4
- data.tar.gz: '009ce332e8c55c225a3359662b543219dcb245d43fcf68072f4e7563ad1f3c99'
3
+ metadata.gz: c451d146d7a22f7a7ef543534018d2b8f02b6c9f1a9544e32a4be1bc5adefa09
4
+ data.tar.gz: d4348d9c3c67e9a508bc9a53bab51a83077beb609c6b34a524519d788cfd5202
5
5
  SHA512:
6
- metadata.gz: f53c929fa58e78fcf6c3182c287e24526ff748b97e7659386aace7eb6bcbdc17dc8f068a6e2fc84f47a868505360593ec9af8d2568c204c451519851da697253
7
- data.tar.gz: 0db66e49e9a9b1d9bd44f71c10b52ad4f7468de64478e4113f863f20477445d3e559c4bc6e4c1aa405c447530579cd964d6b959f9f031dbf282fee7065d05553
6
+ metadata.gz: 555fcb6cec66efa9f6d2ecaa834097f4706a20622abf3152d9261e027b5b07c46c511448ef2382b122471a30fce39b828f3d3e9b1e18607b096dcec59385107f
7
+ data.tar.gz: 3ecaf4ab4726e7e77781a735c35163a1bcb230f6d3700a105f490fa6d45217641d5f3b2124f1109610a3b63920f3d2fc96b243322f549cab61f0d5dd796880fa
data/.rubocop.yml CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  AllCops:
5
5
  DisplayCopNames: true
6
- TargetRubyVersion: 2.1
6
+ TargetRubyVersion: 2.2
7
7
 
8
8
  Include:
9
9
  - '**/Rakefile'
data/CHANGELOG.md CHANGED
@@ -10,8 +10,13 @@ Changes since last non-beta release.
10
10
 
11
11
  *Please add entries here for your pull requests that are not yet released.*
12
12
 
13
+ ### [11.0.10] - 2018-07-22
14
+ #### Fixed
15
+ - Much better logging of rendering errors when there are lots of props. Only the a 1,000 chars are logged, and the center is indicated to be truncated. [PR 1117](https://github.com/shakacode/react_on_rails/pull/1117) and [PR 1118](https://github.com/shakacode/react_on_rails/pull/1117) by [justin808](https://github.com/justin808).
16
+ - Properly clearing hydrated stores when server rendering. [PR 1120](https://github.com/shakacode/react_on_rails/pull/1120) by [squadette](https://github.com/squadette).
17
+
13
18
  ### [11.0.9] - 2018-06-24
14
- - Handle <script async> for Webpack bundle transparently. Closes [issue #290](https://github.com/shakacode/react_on_rails/issues/290) [PR 1099](https://github.com/shakacode/react_on_rails/pull/1099) by [squadette](https://github.com/squadette).
19
+ - Handle <script async> for Webpack bundle transparently. Closes [issue #290](https://github.com/shakacode/react_on_rails/issues/290) [PR 1099](https://github.com/shakacode/react_on_rails/pull/1099) by [squadette](https://github.com/squadette). Merged in [PR 1107]( https://github.com/shakacode/react_on_rails/pull/1107).
15
20
 
16
21
  ### [11.0.8] - 2018-06-15
17
22
  #### Fixed
@@ -777,7 +782,8 @@ Best done with Object destructing:
777
782
  ##### Fixed
778
783
  - Fix several generator related issues.
779
784
 
780
- [Unreleased]: https://github.com/shakacode/react_on_rails/compare/11.0.9...master
785
+ [Unreleased]: https://github.com/shakacode/react_on_rails/compare/11.0.10...master
786
+ [11.0.10]: https://github.com/shakacode/react_on_rails/compare/11.0.9...11.0.10
781
787
  [11.0.9]: https://github.com/shakacode/react_on_rails/compare/11.0.8...11.0.9
782
788
  [11.0.8]: https://github.com/shakacode/react_on_rails/compare/11.0.7...11.0.8
783
789
  [11.0.7]: https://github.com/shakacode/react_on_rails/compare/11.0.6...11.0.7
@@ -1,6 +1,6 @@
1
1
  # The MIT License (MIT)
2
2
 
3
- Copyright (c) 2017 Justin Gordon and ShakaCode, http://www.shakacode.com
3
+ Copyright (c) 2017, 2018 Justin Gordon and ShakaCode, http://www.shakacode.com
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal