react_on_rails 9.0.0.beta.7 → 9.0.0.beta.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 55bfe083238d38b5106cdc776bf9f96ec6a93b5c
4
- data.tar.gz: '03907dec757d9ac37df327e9f002d56a3f529fe2'
3
+ metadata.gz: 3b37e03f8046df8e87fb888e436fbdf3dc2886f9
4
+ data.tar.gz: 4c50d0400481d3814ba89d270ae0e81ab7ed1230
5
5
  SHA512:
6
- metadata.gz: e1d670a7c73bc79180efbfef68012e0e5119b29d0e2cdf53a6ce0e3101299b0d2b471d997e85b1b3b826069105bd5ac8a0574732d3c808ef52f2a7620a02a973
7
- data.tar.gz: 2b75e5a43ca5b0294751f43c087429fb49bf69c8d76b55c7c8b2ee8108f99d4b6139e0212919a696b630bb070ba9676d403a544db9147f4254ac9d4deb724797
6
+ metadata.gz: cf5b00d1eb32e6d1ef0499a2b3c5cf066ef40d8b7acfb87189ff01183dddc3fd77c5522366fdc290a2dd78ec385b0d35e261d080a5200002329586f3455eb427
7
+ data.tar.gz: 43febb1ff94bcc47fb725965141f528c0f8492cb1b8df87832d45b673703489a3a3cfdf10931dfdb1ec3ee6c053bfe1ae798fbf3a79e357f456f8b359f77ae7d
data/CHANGELOG.md CHANGED
@@ -85,6 +85,9 @@ deploying assets using the webpack-dev-server.
85
85
  ### [9.0.0]
86
86
  *Diffs for the beta to master*
87
87
 
88
+ ### [9.0.0-beta.8]
89
+ - bugfix for server rendering
90
+
88
91
  ### [9.0.0-beta.7]
89
92
  - Depend on updated rails/webpacker in branch
90
93
 
@@ -725,8 +728,9 @@ Best done with Object destructing:
725
728
  ##### Fixed
726
729
  - Fix several generator related issues.
727
730
 
728
- [Unreleased]: https://github.com/shakacode/react_on_rails/compare/rails-webpacker...9.0.0-beta.7
729
- [9.0.0]: https://github.com/shakacode/react_on_rails/compare/9.0.0-beta.7...master
731
+ [Unreleased]: https://github.com/shakacode/react_on_rails/compare/rails-webpacker...9.0.0-beta.8
732
+ [9.0.0]: https://github.com/shakacode/react_on_rails/compare/9.0.0-beta.8...master
733
+ [9.0.0-beta.8]: https://github.com/shakacode/react_on_rails/compare/9.0.0-beta.8...9.0.0-beta.7
730
734
  [9.0.0-beta.7]: https://github.com/shakacode/react_on_rails/compare/9.0.0-beta.7...9.0.0-beta.6
731
735
  [9.0.0-beta.6]: https://github.com/shakacode/react_on_rails/compare/9.0.0-beta.6...9.0.0-beta.5
732
736
  [9.0.0-beta.5]: https://github.com/shakacode/react_on_rails/compare/9.0.0-beta.5...9.0.0-beta.4
data/README.md CHANGED
@@ -238,7 +238,7 @@ That will install the latest version and update your package.json.
238
238
 
239
239
  ## Webpacker Configuration
240
240
 
241
- React on Rails users should set configuration value `compile` to false, as React on Railsh andles compilation for test and production environments.
241
+ React on Rails users should set configuration value `compile` to false, as React on Rails handles compilation for test and production environments.
242
242
 
243
243
 
244
244
  ## How it Works
@@ -83,7 +83,7 @@ exitstatus: #{status.exitstatus}#{stdout_msg}#{stderr_msg}
83
83
  def self.bundle_js_file_path(bundle_name)
84
84
  if using_webpacker?
85
85
  # Next line will throw if the file or manifest does not exist
86
- Webpacker.manifest.lookup(bundle_name)
86
+ Rails.root.join(File.join("public", Webpacker.manifest.lookup(bundle_name))).to_s
87
87
  else
88
88
  # Default to the non-hashed name in the specified output directory, which, for legacy
89
89
  # React on Rails, this is the output directory picked up by the asset pipeline.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ReactOnRails
4
- VERSION = "9.0.0.beta.7"
4
+ VERSION = "9.0.0.beta.8"
5
5
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-on-rails",
3
- "version": "9.0.0-beta.7",
3
+ "version": "9.0.0-beta.8",
4
4
  "description": "react-on-rails JavaScript for react_on_rails Ruby gem",
5
5
  "main": "node_package/lib/ReactOnRails.js",
6
6
  "directories": {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: react_on_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.0.0.beta.7
4
+ version: 9.0.0.beta.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Gordon