isomorfeus-preact 10.6.28 → 10.6.32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/isomorfeus/preact_view_helper.rb +9 -7
- data/lib/isomorfeus_preact/lucid_app/native_component_constructor.rb +17 -5
- data/lib/isomorfeus_preact/lucid_component/api.rb +19 -7
- data/lib/isomorfeus_preact/lucid_component/native_component_constructor.rb +12 -5
- data/lib/isomorfeus_preact/lucid_func/native_component_constructor.rb +7 -2
- data/lib/isomorfeus_preact/preact/function_component/native_component_constructor.rb +7 -2
- data/lib/preact/component/callbacks.rb +23 -10
- data/lib/preact/component/native_component_constructor.rb +15 -4
- data/lib/preact/context_wrapper.rb +5 -3
- data/lib/preact/version.rb +1 -1
- data/lib/preact.rb +3 -1
- metadata +14 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75663e1db3afaf4d60c6a1cb2e85544bc96b09fb9a9cee116aa0b055463cf611
|
4
|
+
data.tar.gz: 8b08d796a5bee25b087932f6a06f1a54dc4a7afefd883b5c7d561b04a07c1115
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0e0a80f63b218960ba579a780bd8a1d2993f168611cd4a949899109b1ab7c32ec187d2b56682b109d6830119d23c9944698d781e1d6ae8c20b1e44b4ff57916
|
7
|
+
data.tar.gz: 895e40dc74ad772a9b3a32b43d7a707b7a2698f47aa66ae012c71eb245be970e94671c7ea9ff892791b29533587bc329f58df68738d987e68e9a1a9ab054611d
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Isomorfeus Preact<br/>
|
|
7
7
|
Develop Preact components for Opal Ruby along with very easy to use and advanced Preact-Redux Components.
|
8
8
|
|
9
9
|
## Community and Support
|
10
|
-
At the [Isomorfeus Framework Project](
|
10
|
+
At the [Isomorfeus Framework Project](https://isomorfeus.com)
|
11
11
|
|
12
12
|
## Versioning and Compatibility
|
13
13
|
isomorfeus-preact version follows the Preact version which features and API it implements.
|
@@ -60,7 +60,9 @@ module Isomorfeus
|
|
60
60
|
global.Exception = false;
|
61
61
|
global.IsomorfeusSessionId = '#{Thread.current[:isomorfeus_session_id]}';
|
62
62
|
global.Opal.Isomorfeus['$env=']('#{Isomorfeus.env}');
|
63
|
-
if (typeof global.Opal.Isomorfeus
|
63
|
+
if (typeof global.Opal.Isomorfeus["$current_locale="] === 'function') {
|
64
|
+
global.Opal.Isomorfeus["$current_locale="]('#{props[:locale]}');
|
65
|
+
} else if (typeof global.Opal.Isomorfeus["$negotiated_locale="] === 'function') { // remove later on
|
64
66
|
global.Opal.Isomorfeus["$negotiated_locale="]('#{props[:locale]}');
|
65
67
|
}
|
66
68
|
global.Opal.Isomorfeus['$force_init!']();
|
@@ -124,11 +126,11 @@ module Isomorfeus
|
|
124
126
|
let rendered_tree;
|
125
127
|
let ssr_styles;
|
126
128
|
let component;
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
129
|
+
try {
|
130
|
+
rendered_tree = global.Opal.Isomorfeus.TopLevel.$render_component_to_string('#{component_name}', #{Oj.dump(props, mode: :strict)});
|
131
|
+
} catch (e) {
|
132
|
+
global.Exception = e;
|
133
|
+
}
|
132
134
|
let application_state = global.Opal.Isomorfeus.store.native.getState();
|
133
135
|
let transport_busy = false;
|
134
136
|
if (typeof global.Opal.Isomorfeus.Transport !== 'undefined' && global.Opal.Isomorfeus.Transport["$busy?"]()) { transport_busy = true; }
|
@@ -171,7 +173,7 @@ module Isomorfeus
|
|
171
173
|
if Isomorfeus.server_side_rendering
|
172
174
|
render_result = "<script type='application/javascript'>\nServerSideRenderingStateJSON = #{Oj.dump(application_state, mode: :strict)}\n</script>\n" << render_result
|
173
175
|
end
|
174
|
-
STDERR.puts "PreactViewHelper Server Side Rendering rendered #{pass} passes and took ~#{Time.now - start_time}
|
176
|
+
STDERR.puts "PreactViewHelper Server Side Rendering rendered #{pass} passes and took ~#{((Time.now - start_time)*1000).to_i}ms" if Isomorfeus.development? && !skip_ssr
|
175
177
|
render_result
|
176
178
|
end
|
177
179
|
|
@@ -37,7 +37,9 @@ module LucidApp
|
|
37
37
|
this[ref] = function(element) {
|
38
38
|
element = oper.native_element_or_component_to_ruby(element);
|
39
39
|
oper.register_active_component(this);
|
40
|
-
|
40
|
+
try {
|
41
|
+
#{`this.__ruby_instance`.instance_exec(`element`, &`defined_refs[r]`)}
|
42
|
+
} catch (e) { console.error(e.message === nil ? 'error at' : e.message, e.stack); }
|
41
43
|
oper.unregister_active_component(this);
|
42
44
|
}
|
43
45
|
this[ref] = this[ref].bind(this);
|
@@ -47,7 +49,7 @@ module LucidApp
|
|
47
49
|
}
|
48
50
|
if (base.preload_block) {
|
49
51
|
oper.register_active_component(this);
|
50
|
-
this.state.preloaded = this.__ruby_instance.$execute_preload_block();
|
52
|
+
this.state.preloaded = this.__ruby_instance.$execute_preload_block(); // caught in execute_preload_block itself
|
51
53
|
oper.unregister_active_component(this);
|
52
54
|
}
|
53
55
|
this.listener = this.listener.bind(this);
|
@@ -61,9 +63,14 @@ module LucidApp
|
|
61
63
|
oper.render_buffer.push([]);
|
62
64
|
oper.register_active_component(this);
|
63
65
|
let block_result;
|
64
|
-
|
65
|
-
|
66
|
-
|
66
|
+
try {
|
67
|
+
if (base.while_loading_block && !state.preloaded) { block_result = #{`this.__ruby_instance`.instance_exec(&`base.while_loading_block`)}; }
|
68
|
+
else { block_result = #{`this.__ruby_instance`.instance_exec(&`base.render_block`)}; }
|
69
|
+
if (block_result && block_result !== nil) { oper.render_block_result(block_result); }
|
70
|
+
} catch (e) {
|
71
|
+
if (oper.using_did_catch) { throw e; }
|
72
|
+
else { console.error(e.message === nil ? 'error at' : e.message, e.stack); }
|
73
|
+
}
|
67
74
|
oper.unregister_active_component(this);
|
68
75
|
let children = oper.render_buffer.pop();
|
69
76
|
return Opal.global.Preact.createElement(Opal.global.LucidApplicationContext.Provider, { value: { iso_store: this.state.isomorfeus_store_state, iso_theme: base.css_theme }}, children);
|
@@ -78,6 +85,11 @@ module LucidApp
|
|
78
85
|
componentWillUnmount() {
|
79
86
|
if (typeof this.unsubscriber === "function") { this.unsubscriber(); }
|
80
87
|
}
|
88
|
+
shouldComponentUpdate(next_props, next_state) {
|
89
|
+
if (!Opal.Preact.props_are_equal(this.props, next_props)) { return true; }
|
90
|
+
if (Opal.Preact.state_is_not_equal(this.state, next_state)) { return true; }
|
91
|
+
return false;
|
92
|
+
}
|
81
93
|
validateProp(props, propName, componentName) {
|
82
94
|
try { base.$validate_prop(propName, props[propName]) }
|
83
95
|
catch (e) { return new Error(componentName + ": Error: prop validation failed: " + e.message); }
|
@@ -16,17 +16,14 @@ module LucidComponent
|
|
16
16
|
`base.preload_block = block`
|
17
17
|
component_did_mount do
|
18
18
|
unless self.state.preloaded
|
19
|
-
@_preload_promise.then { self.state.preloaded = true }
|
20
|
-
err_text = "#{self.class.name}: preloading failed, last result: #{result.nil? ? 'nil' : result}!"
|
21
|
-
`console.error(err_text)`
|
22
|
-
end
|
19
|
+
@_preload_promise.then { self.state.preloaded = true } if @_preload_promise
|
23
20
|
end
|
24
21
|
end
|
25
22
|
end
|
26
23
|
|
27
24
|
def while_loading(option = nil, &block)
|
28
25
|
wl_block = proc do
|
29
|
-
if @_preload_promise.resolved?
|
26
|
+
if @_preload_promise && @_preload_promise.resolved?
|
30
27
|
instance_exec(&`base.render_block`)
|
31
28
|
else
|
32
29
|
instance_exec(&block)
|
@@ -85,8 +82,23 @@ module LucidComponent
|
|
85
82
|
|
86
83
|
# preloading
|
87
84
|
def execute_preload_block
|
88
|
-
|
89
|
-
|
85
|
+
begin
|
86
|
+
@_preload_promise = instance_exec(&self.class.JS[:preload_block])
|
87
|
+
rescue => e
|
88
|
+
%x{
|
89
|
+
console.error(e.message);
|
90
|
+
console.error(e.stack);
|
91
|
+
}
|
92
|
+
end
|
93
|
+
if @_preload_promise
|
94
|
+
@_preload_promise.fail do |result|
|
95
|
+
err_text = "#{self.class.name}: preloading failed, last result: #{result.nil? ? 'nil' : result}!"
|
96
|
+
`console.error(err_text)`
|
97
|
+
end
|
98
|
+
@_preload_promise.resolved?
|
99
|
+
else
|
100
|
+
false
|
101
|
+
end
|
90
102
|
end
|
91
103
|
|
92
104
|
def preloaded?
|
@@ -33,7 +33,9 @@ module LucidComponent
|
|
33
33
|
this[ref] = function(element) {
|
34
34
|
element = oper.native_element_or_component_to_ruby(element);
|
35
35
|
oper.register_active_component(this);
|
36
|
-
|
36
|
+
try {
|
37
|
+
#{`this.__ruby_instance`.instance_exec(`element`, &`defined_refs[r]`)}
|
38
|
+
} catch (e) { console.error(e.message === nil ? 'error at' : e.message, e.stack); }
|
37
39
|
oper.unregister_active_component(this);
|
38
40
|
}
|
39
41
|
this[ref] = this[ref].bind(this);
|
@@ -43,7 +45,7 @@ module LucidComponent
|
|
43
45
|
}
|
44
46
|
if (base.preload_block) {
|
45
47
|
oper.register_active_component(this);
|
46
|
-
this.state.preloaded = this.__ruby_instance.$execute_preload_block();
|
48
|
+
this.state.preloaded = this.__ruby_instance.$execute_preload_block(); // caught in execute_preload_block itself
|
47
49
|
oper.unregister_active_component(this);
|
48
50
|
}
|
49
51
|
}
|
@@ -55,9 +57,14 @@ module LucidComponent
|
|
55
57
|
oper.render_buffer.push([]);
|
56
58
|
oper.register_active_component(this);
|
57
59
|
let block_result;
|
58
|
-
|
59
|
-
|
60
|
-
|
60
|
+
try {
|
61
|
+
if (base.while_loading_block && !state.preloaded) { block_result = #{`this.__ruby_instance`.instance_exec(&`base.while_loading_block`)}; }
|
62
|
+
else { block_result = #{`this.__ruby_instance`.instance_exec(&`base.render_block`)}; }
|
63
|
+
if (block_result && block_result !== nil) { oper.render_block_result(block_result); }
|
64
|
+
} catch (e) {
|
65
|
+
if (oper.using_did_catch) { throw e; }
|
66
|
+
else { console.error(e.message === nil ? 'error at' : e.message, e.stack); }
|
67
|
+
}
|
61
68
|
oper.unregister_active_component(this);
|
62
69
|
let result = oper.render_buffer.pop();
|
63
70
|
return (result.length === 1) ? result[0] : result;
|
@@ -24,8 +24,13 @@ module LucidFunc
|
|
24
24
|
const __ruby_instance = __ruby_state.instance;
|
25
25
|
__ruby_instance.props = Object.assign({}, props, context);
|
26
26
|
oper.register_active_component(__ruby_instance);
|
27
|
-
|
28
|
-
|
27
|
+
try {
|
28
|
+
let block_result = #{`__ruby_instance`.instance_exec(&`base.render_block`)};
|
29
|
+
if (block_result && block_result !== nil) { oper.render_block_result(block_result); }
|
30
|
+
} catch (e) {
|
31
|
+
if (oper.using_did_catch) { throw e; }
|
32
|
+
else { console.error(e.message === nil ? 'error at' : e.message, e.stack); }
|
33
|
+
}
|
29
34
|
oper.unregister_active_component(__ruby_instance);
|
30
35
|
// console.log("function popping", oper.render_buffer, oper.render_buffer.toString());
|
31
36
|
let result = oper.render_buffer.pop();
|
@@ -17,8 +17,13 @@ module Preact
|
|
17
17
|
const __ruby_instance = __ruby_state.instance;
|
18
18
|
__ruby_instance.props = props;
|
19
19
|
oper.register_active_component(__ruby_instance);
|
20
|
-
|
21
|
-
|
20
|
+
try {
|
21
|
+
let block_result = #{`__ruby_instance`.instance_exec(&`base.render_block`)};
|
22
|
+
if (block_result && block_result !== nil) { oper.render_block_result(block_result); }
|
23
|
+
} catch (e) {
|
24
|
+
if (oper.using_did_catch) { throw e; }
|
25
|
+
else { console.error(e.message === nil ? 'error at' : e.message, e.stack); }
|
26
|
+
}
|
22
27
|
oper.unregister_active_component(__ruby_instance);
|
23
28
|
let result = oper.render_buffer.pop();
|
24
29
|
return (result.length === 1) ? result[0] : result;
|
@@ -8,11 +8,14 @@ module Preact
|
|
8
8
|
%x{
|
9
9
|
var fun = function(error) {
|
10
10
|
Opal.Preact.register_active_component(this);
|
11
|
-
|
11
|
+
try {
|
12
|
+
#{`this.__ruby_instance`.instance_exec(`error`, &block)};
|
13
|
+
} catch (e) { console.error(e.message === Opal.nil ? 'error at' : e.message, e.stack); }
|
12
14
|
Opal.Preact.unregister_active_component(this);
|
13
15
|
}
|
14
16
|
if (self.lucid_preact_component) { self.lucid_preact_component.prototype.componentDidCatch = fun; }
|
15
17
|
else { self.preact_component.prototype.componentDidCatch = fun; }
|
18
|
+
Opal.Preact.using_did_catch = true;
|
16
19
|
}
|
17
20
|
end
|
18
21
|
|
@@ -20,7 +23,9 @@ module Preact
|
|
20
23
|
%x{
|
21
24
|
let fun = function() {
|
22
25
|
Opal.Preact.register_active_component(this);
|
23
|
-
|
26
|
+
try {
|
27
|
+
#{`this.__ruby_instance`.instance_exec(&block)};
|
28
|
+
} catch (e) { console.error(e.message === Opal.nil ? 'error at' : e.message, e.stack); }
|
24
29
|
Opal.Preact.unregister_active_component(this);
|
25
30
|
}
|
26
31
|
if (self.lucid_preact_component) {
|
@@ -41,9 +46,11 @@ module Preact
|
|
41
46
|
%x{
|
42
47
|
var fun = function(prev_props, prev_state, snapshot) {
|
43
48
|
Opal.Preact.register_active_component(this);
|
44
|
-
|
45
|
-
|
46
|
-
|
49
|
+
try {
|
50
|
+
#{`this.__ruby_instance`.instance_exec(`Opal.Preact.Props.$new({props: prev_props})`,
|
51
|
+
`Opal.Preact.State.$new({state: prev_state})`,
|
52
|
+
`snapshot`, &block)};
|
53
|
+
} catch (e) { console.error(e.message === Opal.nil ? 'error at' : e.message, e.stack); }
|
47
54
|
Opal.Preact.unregister_active_component(this);
|
48
55
|
}
|
49
56
|
if (self.lucid_preact_component) { self.lucid_preact_component.prototype.componentDidUpdate = fun; }
|
@@ -56,7 +63,9 @@ module Preact
|
|
56
63
|
var fun = function() {
|
57
64
|
if (typeof this.unsubscriber === "function") { this.unsubscriber(); };
|
58
65
|
Opal.Preact.register_active_component(this);
|
59
|
-
|
66
|
+
try {
|
67
|
+
#{`this.__ruby_instance`.instance_exec(&block)};
|
68
|
+
} catch (e) { console.error(e.message === Opal.nil ? 'error at' : e.message, e.stack); }
|
60
69
|
Opal.Preact.unregister_active_component(this);
|
61
70
|
}
|
62
71
|
if (self.lucid_preact_component) { self.lucid_preact_component.prototype.componentWillUnmount = fun; }
|
@@ -69,8 +78,10 @@ module Preact
|
|
69
78
|
%x{
|
70
79
|
var fun = function(props, state) {
|
71
80
|
Opal.Preact.register_active_component(this);
|
72
|
-
|
73
|
-
|
81
|
+
try {
|
82
|
+
var result = #{`this.__ruby_instance`.instance_exec(`Opal.Preact.Props.$new({props: props})`,
|
83
|
+
`Opal.Preact.State.$new({state: state})`, &block)};
|
84
|
+
} catch (e) { console.error(e.message === Opal.nil ? 'error at' : e.message, e.stack); }
|
74
85
|
Opal.Preact.unregister_active_component(this);
|
75
86
|
if (typeof result.$to_n === 'function') { result = result.$to_n() }
|
76
87
|
if (result === nil) { return null; }
|
@@ -85,8 +96,10 @@ module Preact
|
|
85
96
|
%x{
|
86
97
|
var fun = function(prev_props, prev_state) {
|
87
98
|
Opal.Preact.register_active_component(this);
|
88
|
-
|
89
|
-
|
99
|
+
try {
|
100
|
+
var result = #{`this.__ruby_instance`.instance_exec(`Opal.Preact.Props.$new({props: prev_props})`,
|
101
|
+
`Opal.Preact.State.$new({state: prev_state})`, &block)};
|
102
|
+
} catch (e) { console.error(e.message === Opal.nil ? 'error at' : e.message, e.stack); }
|
90
103
|
Opal.Preact.unregister_active_component(this);
|
91
104
|
if (result === nil) { return null; }
|
92
105
|
return result;
|
@@ -24,7 +24,9 @@ module Preact
|
|
24
24
|
const oper = Opal.Preact;
|
25
25
|
element = oper.native_element_or_component_to_ruby(element);
|
26
26
|
oper.register_active_component(this);
|
27
|
-
|
27
|
+
try {
|
28
|
+
#{`this.__ruby_instance`.instance_exec(`element`, &`defined_refs[r]`)}
|
29
|
+
} catch (e) { console.error(e.message === nil ? 'error at' : e.message, e.stack); }
|
28
30
|
oper.unregister_active_component(this);
|
29
31
|
}
|
30
32
|
this[ref] = this[ref].bind(this);
|
@@ -40,8 +42,13 @@ module Preact
|
|
40
42
|
const oper = Opal.Preact;
|
41
43
|
oper.render_buffer.push([]);
|
42
44
|
oper.register_active_component(this);
|
43
|
-
|
44
|
-
|
45
|
+
try {
|
46
|
+
let block_result = #{`this.__ruby_instance`.instance_exec(&`base.render_block`)};
|
47
|
+
if (block_result && block_result !== nil) { oper.render_block_result(block_result); }
|
48
|
+
} catch (e) {
|
49
|
+
if (oper.using_did_catch) { throw e; }
|
50
|
+
else { console.error(e.message === nil ? 'error at' : e.message, e.stack); }
|
51
|
+
}
|
45
52
|
oper.unregister_active_component(this);
|
46
53
|
let result = oper.render_buffer.pop();
|
47
54
|
return (result.length === 1) ? result[0] : result;
|
@@ -50,8 +57,12 @@ module Preact
|
|
50
57
|
const oper = Opal.Preact;
|
51
58
|
if (base.should_component_update_block) {
|
52
59
|
oper.register_active_component(this);
|
53
|
-
|
60
|
+
let result;
|
61
|
+
try {
|
62
|
+
result = #{!!`this.__ruby_instance`.instance_exec(`oper.Props.$new({props: next_props})`, `oper.State.$new({state: next_state })`, &`base.should_component_update_block`)};
|
63
|
+
} catch (e) { console.error(e.message === nil ? 'error at' : e.message, e.stack); }
|
54
64
|
oper.unregister_active_component(this);
|
65
|
+
return result;
|
55
66
|
}
|
56
67
|
if (!oper.props_are_equal(this.props, next_props)) { return true; }
|
57
68
|
if (oper.state_is_not_equal(this.state, next_state)) { return true; }
|
@@ -5,7 +5,7 @@ module Preact
|
|
5
5
|
def initialize(native)
|
6
6
|
@native = native
|
7
7
|
end
|
8
|
-
|
8
|
+
|
9
9
|
def is_wrapped_context
|
10
10
|
true
|
11
11
|
end
|
@@ -22,8 +22,10 @@ module Preact
|
|
22
22
|
if (block !== nil) {
|
23
23
|
operabu.push([]);
|
24
24
|
// console.log("consumer pushed", operabu, operabu.toString());
|
25
|
-
|
26
|
-
|
25
|
+
try {
|
26
|
+
let block_result = block.$call(value);
|
27
|
+
if (block_result && block_result !== nil) { Opal.Preact.render_block_result(block_result); }
|
28
|
+
} catch (e) { console.error(e.message === nil ? 'error at' : e.message, e.stack); }
|
27
29
|
// console.log("consumer popping", operabu, operabu.toString());
|
28
30
|
children = operabu.pop();
|
29
31
|
if (children.length === 1) { children = children[0]; }
|
data/lib/preact/version.rb
CHANGED
data/lib/preact.rb
CHANGED
@@ -80,6 +80,8 @@ module Preact
|
|
80
80
|
} else { operain(component, null, null, block); }
|
81
81
|
};
|
82
82
|
|
83
|
+
self.using_did_catch = false;
|
84
|
+
|
83
85
|
self.active_components = [];
|
84
86
|
|
85
87
|
self.active_component = function() {
|
@@ -216,7 +218,7 @@ module Preact
|
|
216
218
|
if(vnode) {
|
217
219
|
if (vnode.__c && vnode.__c.forceUpdate) { vnode.__c.forceUpdate(); }
|
218
220
|
if (vnode.__k) {
|
219
|
-
for (let i=vnode.__k.length
|
221
|
+
for (let i=0; i<vnode.__k.length; i++) {
|
220
222
|
self.deep_force_update(vnode.__k[i]);
|
221
223
|
}
|
222
224
|
}
|
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.32
|
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-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|
@@ -86,42 +86,42 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.14.
|
89
|
+
version: 0.14.9
|
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.9
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: isomorfeus-redux
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 4.1.
|
103
|
+
version: 4.1.15
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 4.1.
|
110
|
+
version: 4.1.15
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: isomorfeus-speednode
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0.4.
|
117
|
+
version: 0.4.9
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 0.4.
|
124
|
+
version: 0.4.9
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: dalli
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -170,14 +170,14 @@ dependencies:
|
|
170
170
|
requirements:
|
171
171
|
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: 0.6.
|
173
|
+
version: 0.6.5
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: 0.6.
|
180
|
+
version: 0.6.5
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: rake
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -206,7 +206,7 @@ dependencies:
|
|
206
206
|
- - "~>"
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: '3.10'
|
209
|
-
description: Write Preact Components in Ruby.
|
209
|
+
description: Write Preact Components in Ruby, including styles and reactive data access.
|
210
210
|
email:
|
211
211
|
- jan@kursator.com
|
212
212
|
executables: []
|
@@ -449,11 +449,12 @@ files:
|
|
449
449
|
- node_modules/wouter-preact/use-location.d.ts
|
450
450
|
- node_modules/wouter-preact/use-location.js
|
451
451
|
- package.json
|
452
|
-
homepage:
|
452
|
+
homepage: https://isomorfeus.com
|
453
453
|
licenses:
|
454
454
|
- MIT
|
455
455
|
metadata:
|
456
456
|
github_repo: ssh://github.com/isomorfeus/gems
|
457
|
+
source_code_uri: https://github.com/isomorfeus/isomorfeus-preact
|
457
458
|
post_install_message:
|
458
459
|
rdoc_options: []
|
459
460
|
require_paths:
|
@@ -472,5 +473,5 @@ requirements: []
|
|
472
473
|
rubygems_version: 3.3.3
|
473
474
|
signing_key:
|
474
475
|
specification_version: 4
|
475
|
-
summary: Preact for
|
476
|
+
summary: Preact Components for Isomorfeus.
|
476
477
|
test_files: []
|