react_on_rails 10.1.0 → 10.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +7 -2
- data/lib/react_on_rails/server_rendering_pool/exec.rb +2 -2
- data/lib/react_on_rails/version.rb +1 -1
- data/package.json +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 26a6c00d39c2031d2cda11b61ebc2b562644240e
|
4
|
+
data.tar.gz: e27c0790085a9e8fa2dd16c6ec07a959b9148a86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3fcbad942b432195f3f4cb6695b7be976389d39709dc887060ae20597623944ecc535b97fa94e42cdb024ab38d6a39a4f127daa06f9d78fe7ae4eda2493aed0
|
7
|
+
data.tar.gz: 490fd7b4b5ae8333a834bf43887c94b7883dd5d96b02057f04073e51e6476070dff26d2354655e96c02be9b0f9ccc762762f9c0e4cd6a656f9847dfe5197cd61
|
data/CHANGELOG.md
CHANGED
@@ -8,10 +8,14 @@ Changes since last non-beta release.
|
|
8
8
|
|
9
9
|
*Please add entries here for your pull requests that are not yet released.*
|
10
10
|
|
11
|
+
### [10.1.1] - 2018-01-26
|
12
|
+
#### Fixed
|
13
|
+
- Fixed issue with server-rendering error handler: [PR 1020](https://github.com/shakacode/react_on_rails/pull/1020) by [jblasco3](https://github.com/jblasco3).
|
14
|
+
|
11
15
|
### [10.1.0] - 2018-01-23
|
12
16
|
#### Added
|
13
17
|
- Added 2 cache helpers: ReactOnRails::Utils.bundle_file_name(bundle_name) and ReactOnRails::Utils.server_bundle_file_name
|
14
|
-
for easy access to the hashed filenames for use in cache keys by [justin808](https://github.com/justin808).
|
18
|
+
for easy access to the hashed filenames for use in cache keys. [PR 1018](https://github.com/shakacode/react_on_rails/pull/1018) by [justin808](https://github.com/justin808).
|
15
19
|
|
16
20
|
#### Fixed
|
17
21
|
- Use redux component in generated redux Hello World example: [PR 1006](https://github.com/shakacode/react_on_rails/pull/1006) by [lewaabahmad](https://github.com/lewaabahmad).
|
@@ -679,7 +683,8 @@ Best done with Object destructing:
|
|
679
683
|
##### Fixed
|
680
684
|
- Fix several generator related issues.
|
681
685
|
|
682
|
-
[Unreleased]: https://github.com/shakacode/react_on_rails/compare/10.1.
|
686
|
+
[Unreleased]: https://github.com/shakacode/react_on_rails/compare/10.1.1...master
|
687
|
+
[10.1.1]: https://github.com/shakacode/react_on_rails/compare/10.1.0...10.1.1
|
683
688
|
[10.1.0]: https://github.com/shakacode/react_on_rails/compare/10.0.2...10.1.0
|
684
689
|
[10.0.2]: https://github.com/shakacode/react_on_rails/compare/10.0.1...10.0.2
|
685
690
|
[10.0.1]: https://github.com/shakacode/react_on_rails/compare/10.0.0...10.0.1
|
@@ -98,7 +98,7 @@ module ReactOnRails
|
|
98
98
|
# bundle_js_code = File.read(server_js_file)
|
99
99
|
begin
|
100
100
|
bundle_js_code = open(server_js_file, &:read)
|
101
|
-
rescue StandardError
|
101
|
+
rescue StandardError => e
|
102
102
|
msg = "You specified server rendering JS file: #{server_js_file}, but it cannot be "\
|
103
103
|
"read. You may set the server_bundle_js_file in your configuration to be \"\" to "\
|
104
104
|
"avoid this warning.\nError is: #{e}"
|
@@ -115,7 +115,7 @@ module ReactOnRails
|
|
115
115
|
begin
|
116
116
|
trace_messsage(base_js_code, file_name)
|
117
117
|
ExecJS.compile(base_js_code)
|
118
|
-
rescue StandardError
|
118
|
+
rescue StandardError => e
|
119
119
|
msg = "ERROR when compiling base_js_code! "\
|
120
120
|
"See file #{file_name} to "\
|
121
121
|
"correlate line numbers of error. Error is\n\n#{e.message}"\
|
data/package.json
CHANGED
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: 10.1.
|
4
|
+
version: 10.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Gordon
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -475,7 +475,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
475
475
|
version: '0'
|
476
476
|
requirements: []
|
477
477
|
rubyforge_project:
|
478
|
-
rubygems_version: 2.
|
478
|
+
rubygems_version: 2.6.14
|
479
479
|
signing_key:
|
480
480
|
specification_version: 4
|
481
481
|
summary: Rails with react server rendering with webpack.
|