isomorfeus-preact 23.1.0.rc1 → 23.6.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/isomorfeus_preact_ext/fio-stl.h +43103 -28858
- data/ext/isomorfeus_preact_ext/isomorfeus_preact_ext.c +0 -2
- data/ext/isomorfeus_preact_ext/preact.c +249 -225
- data/ext/isomorfeus_preact_ext/vnode.c +27 -28
- data/ext/isomorfeus_preact_ext/vnode.h +9 -0
- data/lib/isomorfeus/preact/version.rb +1 -1
- data/lib/isomorfeus/props/validator.rb +169 -169
- data/lib/preact.rb +31 -54
- metadata +41 -22
- data/ext/isomorfeus_preact_ext/isomorfeus_preact_ext.h +0 -24
metadata
CHANGED
@@ -1,43 +1,49 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: isomorfeus-preact
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 23.
|
4
|
+
version: 23.6.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Biedermann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oj
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 3.13.23
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 3.15.0
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: 3.13.23
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 3.15.0
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: opal
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
|
-
- -
|
37
|
+
- - "~>"
|
32
38
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.7.
|
39
|
+
version: 1.7.3
|
34
40
|
type: :runtime
|
35
41
|
prerelease: false
|
36
42
|
version_requirements: !ruby/object:Gem::Requirement
|
37
43
|
requirements:
|
38
|
-
- -
|
44
|
+
- - "~>"
|
39
45
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.7.
|
46
|
+
version: 1.7.3
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: opal-activesupport
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,56 +64,70 @@ dependencies:
|
|
58
64
|
requirements:
|
59
65
|
- - "~>"
|
60
66
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
67
|
+
version: 0.17.0
|
62
68
|
type: :runtime
|
63
69
|
prerelease: false
|
64
70
|
version_requirements: !ruby/object:Gem::Requirement
|
65
71
|
requirements:
|
66
72
|
- - "~>"
|
67
73
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
74
|
+
version: 0.17.0
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
76
|
name: isomorfeus-i18n
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
72
78
|
requirements:
|
73
79
|
- - '='
|
74
80
|
- !ruby/object:Gem::Version
|
75
|
-
version: 23.
|
81
|
+
version: 23.6.0.rc1
|
76
82
|
type: :runtime
|
77
83
|
prerelease: false
|
78
84
|
version_requirements: !ruby/object:Gem::Requirement
|
79
85
|
requirements:
|
80
86
|
- - '='
|
81
87
|
- !ruby/object:Gem::Version
|
82
|
-
version: 23.
|
88
|
+
version: 23.6.0.rc1
|
83
89
|
- !ruby/object:Gem::Dependency
|
84
90
|
name: isomorfeus-redux
|
85
91
|
requirement: !ruby/object:Gem::Requirement
|
86
92
|
requirements:
|
87
93
|
- - '='
|
88
94
|
- !ruby/object:Gem::Version
|
89
|
-
version: 23.
|
95
|
+
version: 23.6.0.rc1
|
90
96
|
type: :runtime
|
91
97
|
prerelease: false
|
92
98
|
version_requirements: !ruby/object:Gem::Requirement
|
93
99
|
requirements:
|
94
100
|
- - '='
|
95
101
|
- !ruby/object:Gem::Version
|
96
|
-
version: 23.
|
102
|
+
version: 23.6.0.rc1
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: benchmark-ips
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
type: :development
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '0'
|
97
117
|
- !ruby/object:Gem::Dependency
|
98
118
|
name: isomorfeus-puppetmaster
|
99
119
|
requirement: !ruby/object:Gem::Requirement
|
100
120
|
requirements:
|
101
121
|
- - "~>"
|
102
122
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0.8.
|
123
|
+
version: 0.8.6
|
104
124
|
type: :development
|
105
125
|
prerelease: false
|
106
126
|
version_requirements: !ruby/object:Gem::Requirement
|
107
127
|
requirements:
|
108
128
|
- - "~>"
|
109
129
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0.8.
|
130
|
+
version: 0.8.6
|
111
131
|
- !ruby/object:Gem::Dependency
|
112
132
|
name: rake
|
113
133
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,17 +162,16 @@ dependencies:
|
|
142
162
|
requirements:
|
143
163
|
- - "~>"
|
144
164
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
165
|
+
version: 3.12.0
|
146
166
|
type: :development
|
147
167
|
prerelease: false
|
148
168
|
version_requirements: !ruby/object:Gem::Requirement
|
149
169
|
requirements:
|
150
170
|
- - "~>"
|
151
171
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
172
|
+
version: 3.12.0
|
153
173
|
description: Write Preact Components in Ruby, including styles and reactive data access.
|
154
|
-
email:
|
155
|
-
- jan@kursator.com
|
174
|
+
email: jan@kursator.de
|
156
175
|
executables: []
|
157
176
|
extensions:
|
158
177
|
- ext/isomorfeus_preact_ext/extconf.rb
|
@@ -163,9 +182,9 @@ files:
|
|
163
182
|
- ext/isomorfeus_preact_ext/extconf.rb
|
164
183
|
- ext/isomorfeus_preact_ext/fio-stl.h
|
165
184
|
- ext/isomorfeus_preact_ext/isomorfeus_preact_ext.c
|
166
|
-
- ext/isomorfeus_preact_ext/isomorfeus_preact_ext.h
|
167
185
|
- ext/isomorfeus_preact_ext/preact.c
|
168
186
|
- ext/isomorfeus_preact_ext/vnode.c
|
187
|
+
- ext/isomorfeus_preact_ext/vnode.h
|
169
188
|
- lib/browser/delegate_native.rb
|
170
189
|
- lib/browser/document.rb
|
171
190
|
- lib/browser/element.rb
|
@@ -231,7 +250,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
231
250
|
- !ruby/object:Gem::Version
|
232
251
|
version: 1.3.1
|
233
252
|
requirements: []
|
234
|
-
rubygems_version: 3.4.
|
253
|
+
rubygems_version: 3.4.10
|
235
254
|
signing_key:
|
236
255
|
specification_version: 4
|
237
256
|
summary: Preact Components for Isomorfeus.
|
@@ -1,24 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
class VNode
|
3
|
-
attr_accessor :__c
|
4
|
-
attr_reader :key
|
5
|
-
attr_reader :props
|
6
|
-
attr_reader :ref
|
7
|
-
attr_reader :type
|
8
|
-
|
9
|
-
def initialize(type, props, key, ref)
|
10
|
-
@type = type
|
11
|
-
@props = props
|
12
|
-
@key = key
|
13
|
-
@ref = ref
|
14
|
-
end
|
15
|
-
end
|
16
|
-
*/
|
17
|
-
|
18
|
-
typedef struct VNode {
|
19
|
-
VALUE component;
|
20
|
-
VALUE key;
|
21
|
-
VALUE props;
|
22
|
-
VALUE ref;
|
23
|
-
VALUE type;
|
24
|
-
} VNode;
|