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 +4 -4
- data/CHANGELOG.md +6 -2
- data/README.md +1 -1
- data/lib/react_on_rails/utils.rb +1 -1
- data/lib/react_on_rails/version.rb +1 -1
- data/package.json +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b37e03f8046df8e87fb888e436fbdf3dc2886f9
|
4
|
+
data.tar.gz: 4c50d0400481d3814ba89d270ae0e81ab7ed1230
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
729
|
-
[9.0.0]: https://github.com/shakacode/react_on_rails/compare/9.0.0-beta.
|
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
|
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
|
data/lib/react_on_rails/utils.rb
CHANGED
@@ -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.
|
data/package.json
CHANGED