isomorfeus-preact 10.6.38 → 10.6.42
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isomorfeus/preact_view_helper.rb +3 -3
- data/lib/isomorfeus/ssr.rb +2 -2
- data/lib/preact/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71f0e2e4c50dfd7a41114cd679fcef0288f3003b774e0cf78c73f99f130a5960
|
4
|
+
data.tar.gz: 31c4fed1aaa9bc3d239ca97fe78b8d6355220c1213bf9c9e9aa0442075b2e5f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ad75f6d1bcee7758a87bfa9a5e8ea27ee87d1fbd7848b1c2d70365445ec05b27ece212da80019b3d493ebd2f2c474bed51c91fb20e4bdf26cfd32c2e21fb2af
|
7
|
+
data.tar.gz: e001b19a26bf518fd86562ad5542a472ac382b6d9779817564e87e256a7e7a19ac657c2947d9603b06ccf97f85d21bd31e61c3cade9dd05109dc5f6bc21112c5
|
@@ -92,7 +92,7 @@ module Isomorfeus
|
|
92
92
|
else
|
93
93
|
start_time = Time.now
|
94
94
|
script_key = if has_transport && has_store
|
95
|
-
:
|
95
|
+
:still_busy
|
96
96
|
elsif has_transport
|
97
97
|
:transport_busy
|
98
98
|
elsif has_store
|
@@ -179,8 +179,8 @@ module Isomorfeus
|
|
179
179
|
ctx.exec(ssr_mod)
|
180
180
|
ctx.add_script(key: :first_pass_check, source: '[global.FirstPassFinished, global.NeedFurtherPass, global.Exception ? { message: global.Exception.message, stack: global.Exception.stack } : false ]')
|
181
181
|
ctx.add_script(key: :first_pass_result, source: 'Opal.Isomorfeus.SSR.first_pass_result()')
|
182
|
-
ctx.add_script(key: :still_busy, source: 'let nfp = global.Opal.Isomorfeus.Transport["$busy?"]() || global.Opal.Isomorfeus.store["$recently_dispatched?"](); (nfp == nil) ? false : nfp;')
|
183
|
-
ctx.add_script(key: :store_busy, source: 'let nfp = global.Opal.Isomorfeus.store["$recently_dispatched?"](); (nfp == nil) ? false : nfp;')
|
182
|
+
ctx.add_script(key: :still_busy, source: 'let nfp = global.Opal.Isomorfeus.Transport["$busy?"]() || global.Opal.Isomorfeus.store["$recently_dispatched?"](); (nfp == global.Opal.nil) ? false : nfp;')
|
183
|
+
ctx.add_script(key: :store_busy, source: 'let nfp = global.Opal.Isomorfeus.store["$recently_dispatched?"](); (nfp == global.Opal.nil) ? false : nfp;')
|
184
184
|
ctx.add_script(key: :transport_busy, source: 'global.Opal.Isomorfeus.Transport["$busy?"]()')
|
185
185
|
ctx.add_script(key: :transport_disconnect, source: 'global.Opal.Isomorfeus.Transport.$disconnect()')
|
186
186
|
end
|
data/lib/isomorfeus/ssr.rb
CHANGED
@@ -13,7 +13,7 @@ module Isomorfeus
|
|
13
13
|
global.HasTransport = (typeof global.Opal.Isomorfeus.Transport !== 'undefined') && (api_ws_path !== '');
|
14
14
|
global.HasStore = typeof global.Opal.Isomorfeus.store !== 'undefined';
|
15
15
|
global.Opal.Isomorfeus['$env='](env);
|
16
|
-
if (typeof global.Opal.Isomorfeus["$current_locale="] === 'function') { global.Opal.Isomorfeus["$current_locale="](
|
16
|
+
if (typeof global.Opal.Isomorfeus["$current_locale="] === 'function') { global.Opal.Isomorfeus["$current_locale="](locale); }
|
17
17
|
global.Opal.Isomorfeus['$force_init!']();
|
18
18
|
global.Opal.Isomorfeus['$ssr_response_status='](200);
|
19
19
|
global.Opal.Isomorfeus.TopLevel['$ssr_route_path='](location);
|
@@ -24,7 +24,7 @@ module Isomorfeus
|
|
24
24
|
global.RenderedTree = global.Opal.Isomorfeus.TopLevel.$render_component_to_string(component_name, props);
|
25
25
|
let nfp = global.Opal.Isomorfeus.Transport["$busy?"]() || global.Opal.Isomorfeus.store['$recently_dispatched?']();
|
26
26
|
global.NeedFurtherPass = (nfp == nil) ? false : nfp;
|
27
|
-
global.FirstPassFinished =
|
27
|
+
global.FirstPassFinished = true;
|
28
28
|
} catch (e) {
|
29
29
|
global.Exception = e;
|
30
30
|
global.NeedFurtherPass = false;
|
data/lib/preact/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: isomorfeus-preact
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 10.6.
|
4
|
+
version: 10.6.42
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Biedermann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-02-
|
11
|
+
date: 2022-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.14.
|
89
|
+
version: 0.14.17
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.14.
|
96
|
+
version: 0.14.17
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: isomorfeus-redux
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -198,14 +198,14 @@ dependencies:
|
|
198
198
|
requirements:
|
199
199
|
- - "~>"
|
200
200
|
- !ruby/object:Gem::Version
|
201
|
-
version: '3.
|
201
|
+
version: '3.11'
|
202
202
|
type: :development
|
203
203
|
prerelease: false
|
204
204
|
version_requirements: !ruby/object:Gem::Requirement
|
205
205
|
requirements:
|
206
206
|
- - "~>"
|
207
207
|
- !ruby/object:Gem::Version
|
208
|
-
version: '3.
|
208
|
+
version: '3.11'
|
209
209
|
description: Write Preact Components in Ruby, including styles and reactive data access.
|
210
210
|
email:
|
211
211
|
- jan@kursator.com
|
@@ -476,7 +476,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
476
476
|
- !ruby/object:Gem::Version
|
477
477
|
version: '0'
|
478
478
|
requirements: []
|
479
|
-
rubygems_version: 3.3.
|
479
|
+
rubygems_version: 3.3.7
|
480
480
|
signing_key:
|
481
481
|
specification_version: 4
|
482
482
|
summary: Preact Components for Isomorfeus.
|