isomorfeus-react 16.11.3 → 16.11.4
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/lib/isomorfeus/react_view_helper.rb +6 -2
- data/lib/react/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6a78c8d9211bde01b7c66f0b94a4d9a9e90d63301dcbd29352ba8b74936bd9d7
|
|
4
|
+
data.tar.gz: 64b6b53a0e62071309732ad1b6d84451000ce172bc76685cf11f5b2edba3ff62
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ac38844e21385aa42c564373295d717fcba282a92ff82662740c294e5b9f45aecc69da75640d0c6bde20ebb652a4e9540eea47f47767c70974aec1a78b6044ba
|
|
7
|
+
data.tar.gz: b724fe03121af4afd650be9fdde9e1140c89490c9beb451d2ac6ef0b76249c59220801b85f98ee054b46386fad478ac6bdd3db9e9fb752b31e7e2904bc1889ac
|
|
@@ -18,9 +18,13 @@ module Isomorfeus
|
|
|
18
18
|
asset_path = "#{Isomorfeus.ssr_hot_asset_url}#{asset}"
|
|
19
19
|
begin
|
|
20
20
|
asset = Net::HTTP.get(URI(asset_path))
|
|
21
|
+
rescue Exception => e
|
|
22
|
+
raise "SSR: Failed loading asset #{asset_path} from webpack dev server. Error: #{e.message}"
|
|
23
|
+
end
|
|
24
|
+
begin
|
|
21
25
|
Isomorfeus.ssr_contexts[thread_id_asset] = ExecJS.permissive_compile(asset)
|
|
22
|
-
rescue
|
|
23
|
-
|
|
26
|
+
rescue Exception => e
|
|
27
|
+
raise "SSR: Failed creating context for #{asset_path}. Error: #{e.message}"
|
|
24
28
|
end
|
|
25
29
|
else
|
|
26
30
|
# initialize speednode context
|
data/lib/react/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: isomorfeus-react
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 16.11.
|
|
4
|
+
version: 16.11.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jan Biedermann
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-11-
|
|
11
|
+
date: 2019-11-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: concurrent-ruby
|
|
@@ -142,14 +142,14 @@ dependencies:
|
|
|
142
142
|
requirements:
|
|
143
143
|
- - "~>"
|
|
144
144
|
- !ruby/object:Gem::Version
|
|
145
|
-
version: 0.
|
|
145
|
+
version: 0.3.0
|
|
146
146
|
type: :development
|
|
147
147
|
prerelease: false
|
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
|
149
149
|
requirements:
|
|
150
150
|
- - "~>"
|
|
151
151
|
- !ruby/object:Gem::Version
|
|
152
|
-
version: 0.
|
|
152
|
+
version: 0.3.0
|
|
153
153
|
- !ruby/object:Gem::Dependency
|
|
154
154
|
name: rake
|
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -282,7 +282,7 @@ licenses:
|
|
|
282
282
|
metadata: {}
|
|
283
283
|
post_install_message: |2+
|
|
284
284
|
|
|
285
|
-
isomorfeus-react 16.11.
|
|
285
|
+
isomorfeus-react 16.11.4:
|
|
286
286
|
Major improvement:
|
|
287
287
|
Using Zeitwerk and Opal-Zeitwerk for autoloading, may break existing installations which use opal-autoloader.
|
|
288
288
|
- existing installations may lock isomorfeus-react to 16.11.1 or upgrade to isomorfeus 1.0.0.zeta6
|