rbexy 2.0.0.rc4 → 2.0.0.rc5
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/.github/workflows/main.yml +2 -2
- data/.travis.yml +3 -2
- data/Appraisals +4 -0
- data/Dockerfile +2 -2
- data/Gemfile.lock +106 -109
- data/README.md +7 -7
- data/gemfiles/rails_6_1.gemfile.lock +115 -107
- data/gemfiles/rails_7_0.gemfile.lock +112 -113
- data/gemfiles/rails_7_1.gemfile.lock +103 -98
- data/gemfiles/rails_7_2.gemfile +7 -0
- data/gemfiles/rails_7_2.gemfile.lock +276 -0
- data/gemfiles/rails_master.gemfile.lock +161 -134
- data/lib/rbexy/component.rb +0 -1
- data/lib/rbexy/nodes/html_element.rb +3 -6
- data/lib/rbexy/runtime.rb +1 -1
- data/lib/rbexy/version.rb +1 -1
- data/lib/rbexy.rb +3 -4
- data/rbexy.gemspec +4 -4
- metadata +11 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f3e307f06d063d443b8855957782b0a50d784b668cff6416f8f62104806c311d
|
|
4
|
+
data.tar.gz: 58b42a19cc1f1feebb6377f4373fe5a41b90e582ee655dcc56714fbbf9b66a43
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 48ccb0e6d85c8c30b9c57f5ed95669c1569cb97c364a1504758bfe4b5f0a6be2793d63810746a68ed05c380bd4b64f5daa5f495c1ee280518c46a0700c1f9ecb
|
|
7
|
+
data.tar.gz: '09c95507b417c6725f177abda4a1927b838baf50e6534401daeee8e937cb1c7f4d7d5115a17fecc454c05571197097293d1bea2540587192ba6e31d03a51f04c'
|
data/.github/workflows/main.yml
CHANGED
|
@@ -6,8 +6,8 @@ jobs:
|
|
|
6
6
|
fail-fast: false
|
|
7
7
|
matrix:
|
|
8
8
|
gemfile: [rails_6_1, rails_7_0, rails_7_1, rails_master]
|
|
9
|
-
#
|
|
10
|
-
ruby: [
|
|
9
|
+
# quote version numbers, they are not "numbers"
|
|
10
|
+
ruby: ['3.1', '3.2', '3.3']
|
|
11
11
|
runs-on: ubuntu-latest
|
|
12
12
|
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
|
|
13
13
|
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
|
data/.travis.yml
CHANGED
data/Appraisals
CHANGED
data/Dockerfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,103 +1,99 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
rbexy (2.0.0.
|
|
5
|
-
actionview (>= 6, < 7.
|
|
6
|
-
activesupport (>= 6, < 7.
|
|
4
|
+
rbexy (2.0.0.rc5)
|
|
5
|
+
actionview (>= 6, < 7.3)
|
|
6
|
+
activesupport (>= 6, < 7.3)
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
9
|
remote: https://rubygems.org/
|
|
10
10
|
specs:
|
|
11
|
-
actioncable (7.
|
|
12
|
-
actionpack (= 7.
|
|
13
|
-
activesupport (= 7.
|
|
11
|
+
actioncable (7.2.0)
|
|
12
|
+
actionpack (= 7.2.0)
|
|
13
|
+
activesupport (= 7.2.0)
|
|
14
14
|
nio4r (~> 2.0)
|
|
15
15
|
websocket-driver (>= 0.6.1)
|
|
16
16
|
zeitwerk (~> 2.6)
|
|
17
|
-
actionmailbox (7.
|
|
18
|
-
actionpack (= 7.
|
|
19
|
-
activejob (= 7.
|
|
20
|
-
activerecord (= 7.
|
|
21
|
-
activestorage (= 7.
|
|
22
|
-
activesupport (= 7.
|
|
23
|
-
mail (>= 2.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
activejob (= 7.1.1)
|
|
31
|
-
activesupport (= 7.1.1)
|
|
32
|
-
mail (~> 2.5, >= 2.5.4)
|
|
33
|
-
net-imap
|
|
34
|
-
net-pop
|
|
35
|
-
net-smtp
|
|
17
|
+
actionmailbox (7.2.0)
|
|
18
|
+
actionpack (= 7.2.0)
|
|
19
|
+
activejob (= 7.2.0)
|
|
20
|
+
activerecord (= 7.2.0)
|
|
21
|
+
activestorage (= 7.2.0)
|
|
22
|
+
activesupport (= 7.2.0)
|
|
23
|
+
mail (>= 2.8.0)
|
|
24
|
+
actionmailer (7.2.0)
|
|
25
|
+
actionpack (= 7.2.0)
|
|
26
|
+
actionview (= 7.2.0)
|
|
27
|
+
activejob (= 7.2.0)
|
|
28
|
+
activesupport (= 7.2.0)
|
|
29
|
+
mail (>= 2.8.0)
|
|
36
30
|
rails-dom-testing (~> 2.2)
|
|
37
|
-
actionpack (7.
|
|
38
|
-
actionview (= 7.
|
|
39
|
-
activesupport (= 7.
|
|
31
|
+
actionpack (7.2.0)
|
|
32
|
+
actionview (= 7.2.0)
|
|
33
|
+
activesupport (= 7.2.0)
|
|
40
34
|
nokogiri (>= 1.8.5)
|
|
41
|
-
|
|
35
|
+
racc
|
|
36
|
+
rack (>= 2.2.4, < 3.2)
|
|
42
37
|
rack-session (>= 1.0.1)
|
|
43
38
|
rack-test (>= 0.6.3)
|
|
44
39
|
rails-dom-testing (~> 2.2)
|
|
45
40
|
rails-html-sanitizer (~> 1.6)
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
41
|
+
useragent (~> 0.16)
|
|
42
|
+
actiontext (7.2.0)
|
|
43
|
+
actionpack (= 7.2.0)
|
|
44
|
+
activerecord (= 7.2.0)
|
|
45
|
+
activestorage (= 7.2.0)
|
|
46
|
+
activesupport (= 7.2.0)
|
|
51
47
|
globalid (>= 0.6.0)
|
|
52
48
|
nokogiri (>= 1.8.5)
|
|
53
|
-
actionview (7.
|
|
54
|
-
activesupport (= 7.
|
|
49
|
+
actionview (7.2.0)
|
|
50
|
+
activesupport (= 7.2.0)
|
|
55
51
|
builder (~> 3.1)
|
|
56
52
|
erubi (~> 1.11)
|
|
57
53
|
rails-dom-testing (~> 2.2)
|
|
58
54
|
rails-html-sanitizer (~> 1.6)
|
|
59
|
-
activejob (7.
|
|
60
|
-
activesupport (= 7.
|
|
55
|
+
activejob (7.2.0)
|
|
56
|
+
activesupport (= 7.2.0)
|
|
61
57
|
globalid (>= 0.3.6)
|
|
62
|
-
activemodel (7.
|
|
63
|
-
activesupport (= 7.
|
|
64
|
-
activerecord (7.
|
|
65
|
-
activemodel (= 7.
|
|
66
|
-
activesupport (= 7.
|
|
58
|
+
activemodel (7.2.0)
|
|
59
|
+
activesupport (= 7.2.0)
|
|
60
|
+
activerecord (7.2.0)
|
|
61
|
+
activemodel (= 7.2.0)
|
|
62
|
+
activesupport (= 7.2.0)
|
|
67
63
|
timeout (>= 0.4.0)
|
|
68
|
-
activestorage (7.
|
|
69
|
-
actionpack (= 7.
|
|
70
|
-
activejob (= 7.
|
|
71
|
-
activerecord (= 7.
|
|
72
|
-
activesupport (= 7.
|
|
64
|
+
activestorage (7.2.0)
|
|
65
|
+
actionpack (= 7.2.0)
|
|
66
|
+
activejob (= 7.2.0)
|
|
67
|
+
activerecord (= 7.2.0)
|
|
68
|
+
activesupport (= 7.2.0)
|
|
73
69
|
marcel (~> 1.0)
|
|
74
|
-
activesupport (7.
|
|
70
|
+
activesupport (7.2.0)
|
|
75
71
|
base64
|
|
76
72
|
bigdecimal
|
|
77
|
-
concurrent-ruby (~> 1.0, >= 1.
|
|
73
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
78
74
|
connection_pool (>= 2.2.5)
|
|
79
75
|
drb
|
|
80
76
|
i18n (>= 1.6, < 2)
|
|
77
|
+
logger (>= 1.4.2)
|
|
81
78
|
minitest (>= 5.1)
|
|
82
|
-
|
|
83
|
-
tzinfo (~> 2.0)
|
|
79
|
+
securerandom (>= 0.3)
|
|
80
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
|
84
81
|
appraisal (2.4.1)
|
|
85
82
|
bundler
|
|
86
83
|
rake
|
|
87
84
|
thor (>= 0.14.0)
|
|
88
|
-
base64 (0.
|
|
89
|
-
bigdecimal (3.1.
|
|
90
|
-
builder (3.
|
|
85
|
+
base64 (0.2.0)
|
|
86
|
+
bigdecimal (3.1.8)
|
|
87
|
+
builder (3.3.0)
|
|
91
88
|
byebug (11.1.3)
|
|
92
89
|
coderay (1.1.3)
|
|
93
|
-
concurrent-ruby (1.
|
|
90
|
+
concurrent-ruby (1.3.4)
|
|
94
91
|
connection_pool (2.4.1)
|
|
95
92
|
crass (1.0.6)
|
|
96
|
-
date (3.3.
|
|
93
|
+
date (3.3.4)
|
|
97
94
|
diff-lcs (1.5.0)
|
|
98
|
-
drb (2.
|
|
99
|
-
|
|
100
|
-
erubi (1.12.0)
|
|
95
|
+
drb (2.2.1)
|
|
96
|
+
erubi (1.13.0)
|
|
101
97
|
ffi (1.15.0)
|
|
102
98
|
formatador (0.2.5)
|
|
103
99
|
globalid (1.2.1)
|
|
@@ -116,16 +112,17 @@ GEM
|
|
|
116
112
|
guard (~> 2.1)
|
|
117
113
|
guard-compat (~> 1.1)
|
|
118
114
|
rspec (>= 2.99.0, < 4.0)
|
|
119
|
-
i18n (1.14.
|
|
115
|
+
i18n (1.14.5)
|
|
120
116
|
concurrent-ruby (~> 1.0)
|
|
121
|
-
io-console (0.
|
|
122
|
-
irb (1.
|
|
123
|
-
rdoc
|
|
124
|
-
reline (>= 0.
|
|
117
|
+
io-console (0.7.2)
|
|
118
|
+
irb (1.14.0)
|
|
119
|
+
rdoc (>= 4.0.0)
|
|
120
|
+
reline (>= 0.4.2)
|
|
125
121
|
listen (3.4.1)
|
|
126
122
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
127
123
|
rb-inotify (~> 0.9, >= 0.9.10)
|
|
128
|
-
|
|
124
|
+
logger (1.6.0)
|
|
125
|
+
loofah (2.22.0)
|
|
129
126
|
crass (~> 1.0.2)
|
|
130
127
|
nokogiri (>= 1.12.0)
|
|
131
128
|
lumberjack (1.2.8)
|
|
@@ -134,42 +131,41 @@ GEM
|
|
|
134
131
|
net-imap
|
|
135
132
|
net-pop
|
|
136
133
|
net-smtp
|
|
137
|
-
marcel (1.0.
|
|
134
|
+
marcel (1.0.4)
|
|
138
135
|
memory_profiler (0.9.14)
|
|
139
136
|
method_source (1.0.0)
|
|
140
137
|
mini_mime (1.1.5)
|
|
141
|
-
mini_portile2 (2.8.
|
|
142
|
-
minitest (5.
|
|
143
|
-
mutex_m (0.1.2)
|
|
138
|
+
mini_portile2 (2.8.7)
|
|
139
|
+
minitest (5.25.1)
|
|
144
140
|
nenv (0.3.0)
|
|
145
|
-
net-imap (0.4.
|
|
141
|
+
net-imap (0.4.14)
|
|
146
142
|
date
|
|
147
143
|
net-protocol
|
|
148
144
|
net-pop (0.1.2)
|
|
149
145
|
net-protocol
|
|
150
|
-
net-protocol (0.2.
|
|
146
|
+
net-protocol (0.2.2)
|
|
151
147
|
timeout
|
|
152
|
-
net-smtp (0.
|
|
148
|
+
net-smtp (0.5.0)
|
|
153
149
|
net-protocol
|
|
154
|
-
nio4r (2.
|
|
155
|
-
nokogiri (1.
|
|
150
|
+
nio4r (2.7.3)
|
|
151
|
+
nokogiri (1.16.7)
|
|
156
152
|
mini_portile2 (~> 2.8.2)
|
|
157
153
|
racc (~> 1.4)
|
|
158
154
|
notiffany (0.1.3)
|
|
159
155
|
nenv (~> 0.1)
|
|
160
156
|
shellany (~> 0.0)
|
|
161
|
-
pry (0.
|
|
157
|
+
pry (0.14.2)
|
|
162
158
|
coderay (~> 1.1)
|
|
163
159
|
method_source (~> 1.0)
|
|
164
|
-
pry-byebug (3.
|
|
160
|
+
pry-byebug (3.10.1)
|
|
165
161
|
byebug (~> 11.0)
|
|
166
|
-
pry (
|
|
167
|
-
psych (5.1.
|
|
162
|
+
pry (>= 0.13, < 0.15)
|
|
163
|
+
psych (5.1.2)
|
|
168
164
|
stringio
|
|
169
|
-
puma (5.6.
|
|
165
|
+
puma (5.6.8)
|
|
170
166
|
nio4r (~> 2.0)
|
|
171
|
-
racc (1.
|
|
172
|
-
rack (3.
|
|
167
|
+
racc (1.8.1)
|
|
168
|
+
rack (3.1.7)
|
|
173
169
|
rack-session (2.0.0)
|
|
174
170
|
rack (>= 3.0.0)
|
|
175
171
|
rack-test (2.1.0)
|
|
@@ -177,20 +173,20 @@ GEM
|
|
|
177
173
|
rackup (2.1.0)
|
|
178
174
|
rack (>= 3)
|
|
179
175
|
webrick (~> 1.8)
|
|
180
|
-
rails (7.
|
|
181
|
-
actioncable (= 7.
|
|
182
|
-
actionmailbox (= 7.
|
|
183
|
-
actionmailer (= 7.
|
|
184
|
-
actionpack (= 7.
|
|
185
|
-
actiontext (= 7.
|
|
186
|
-
actionview (= 7.
|
|
187
|
-
activejob (= 7.
|
|
188
|
-
activemodel (= 7.
|
|
189
|
-
activerecord (= 7.
|
|
190
|
-
activestorage (= 7.
|
|
191
|
-
activesupport (= 7.
|
|
176
|
+
rails (7.2.0)
|
|
177
|
+
actioncable (= 7.2.0)
|
|
178
|
+
actionmailbox (= 7.2.0)
|
|
179
|
+
actionmailer (= 7.2.0)
|
|
180
|
+
actionpack (= 7.2.0)
|
|
181
|
+
actiontext (= 7.2.0)
|
|
182
|
+
actionview (= 7.2.0)
|
|
183
|
+
activejob (= 7.2.0)
|
|
184
|
+
activemodel (= 7.2.0)
|
|
185
|
+
activerecord (= 7.2.0)
|
|
186
|
+
activestorage (= 7.2.0)
|
|
187
|
+
activesupport (= 7.2.0)
|
|
192
188
|
bundler (>= 1.15.0)
|
|
193
|
-
railties (= 7.
|
|
189
|
+
railties (= 7.2.0)
|
|
194
190
|
rails-dom-testing (2.2.0)
|
|
195
191
|
activesupport (>= 5.0.0)
|
|
196
192
|
minitest
|
|
@@ -198,21 +194,21 @@ GEM
|
|
|
198
194
|
rails-html-sanitizer (1.6.0)
|
|
199
195
|
loofah (~> 2.21)
|
|
200
196
|
nokogiri (~> 1.14)
|
|
201
|
-
railties (7.
|
|
202
|
-
actionpack (= 7.
|
|
203
|
-
activesupport (= 7.
|
|
204
|
-
irb
|
|
197
|
+
railties (7.2.0)
|
|
198
|
+
actionpack (= 7.2.0)
|
|
199
|
+
activesupport (= 7.2.0)
|
|
200
|
+
irb (~> 1.13)
|
|
205
201
|
rackup (>= 1.0.0)
|
|
206
202
|
rake (>= 12.2)
|
|
207
203
|
thor (~> 1.0, >= 1.2.2)
|
|
208
204
|
zeitwerk (~> 2.6)
|
|
209
|
-
rake (13.
|
|
205
|
+
rake (13.2.1)
|
|
210
206
|
rb-fsevent (0.10.4)
|
|
211
207
|
rb-inotify (0.10.1)
|
|
212
208
|
ffi (~> 1.0)
|
|
213
|
-
rdoc (6.
|
|
209
|
+
rdoc (6.7.0)
|
|
214
210
|
psych (>= 4.0.0)
|
|
215
|
-
reline (0.
|
|
211
|
+
reline (0.5.9)
|
|
216
212
|
io-console (~> 0.5)
|
|
217
213
|
rspec (3.12.0)
|
|
218
214
|
rspec-core (~> 3.12.0)
|
|
@@ -238,7 +234,7 @@ GEM
|
|
|
238
234
|
rspec-mocks (~> 3.12)
|
|
239
235
|
rspec-support (~> 3.12)
|
|
240
236
|
rspec-support (3.12.1)
|
|
241
|
-
|
|
237
|
+
securerandom (0.3.1)
|
|
242
238
|
shellany (0.0.1)
|
|
243
239
|
sprockets (4.2.1)
|
|
244
240
|
concurrent-ruby (~> 1.0)
|
|
@@ -248,16 +244,17 @@ GEM
|
|
|
248
244
|
activesupport (>= 5.2)
|
|
249
245
|
sprockets (>= 3.0.0)
|
|
250
246
|
sqlite3 (1.4.2)
|
|
251
|
-
stringio (3.
|
|
252
|
-
thor (1.3.
|
|
253
|
-
timeout (0.4.
|
|
247
|
+
stringio (3.1.1)
|
|
248
|
+
thor (1.3.1)
|
|
249
|
+
timeout (0.4.1)
|
|
254
250
|
tzinfo (2.0.6)
|
|
255
251
|
concurrent-ruby (~> 1.0)
|
|
252
|
+
useragent (0.16.10)
|
|
256
253
|
webrick (1.8.1)
|
|
257
254
|
websocket-driver (0.7.6)
|
|
258
255
|
websocket-extensions (>= 0.1.0)
|
|
259
256
|
websocket-extensions (0.1.5)
|
|
260
|
-
zeitwerk (2.6.
|
|
257
|
+
zeitwerk (2.6.17)
|
|
261
258
|
|
|
262
259
|
PLATFORMS
|
|
263
260
|
ruby
|
|
@@ -268,7 +265,7 @@ DEPENDENCIES
|
|
|
268
265
|
memory_profiler (~> 0.9.14)
|
|
269
266
|
pry-byebug
|
|
270
267
|
puma
|
|
271
|
-
rails (>= 6, < 7.
|
|
268
|
+
rails (>= 6, < 7.3)
|
|
272
269
|
rake
|
|
273
270
|
rbexy!
|
|
274
271
|
rspec (~> 3.12)
|
|
@@ -278,4 +275,4 @@ DEPENDENCIES
|
|
|
278
275
|
sqlite3
|
|
279
276
|
|
|
280
277
|
BUNDLED WITH
|
|
281
|
-
2.
|
|
278
|
+
2.5.6
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# A Ruby template language inspired by JSX
|
|
2
2
|
|
|
3
|
-
[](https://github.com/patbenatar/rbexy/actions?query=branch%3Amaster)
|
|
4
4
|
|
|
5
5
|
* [Getting Started](#getting-started-with-rails)
|
|
6
6
|
* [Template Syntax](#template-syntax)
|
|
@@ -63,12 +63,6 @@ gem "rbexy"
|
|
|
63
63
|
|
|
64
64
|
_From 1.0 onward, we only support Rails 6. If you're using Rails 5, use the 0.x releases._
|
|
65
65
|
|
|
66
|
-
In `config/application.rb`:
|
|
67
|
-
|
|
68
|
-
```ruby
|
|
69
|
-
require "rbexy/rails/engine"
|
|
70
|
-
```
|
|
71
|
-
|
|
72
66
|
_Not using Rails? See "Usage outside of Rails" below._
|
|
73
67
|
|
|
74
68
|
Create your first component at `app/components/hello_world_component.rb`:
|
|
@@ -411,6 +405,12 @@ Appraisal:
|
|
|
411
405
|
docker-compose run rbexy bundle exec appraisal bin/test
|
|
412
406
|
```
|
|
413
407
|
|
|
408
|
+
When updating dependency versions in gemspec, you also need to regenerate the appraisal gemspecs with:
|
|
409
|
+
|
|
410
|
+
```
|
|
411
|
+
docker-compose run rbexy bundle exec appraisal install
|
|
412
|
+
```
|
|
413
|
+
|
|
414
414
|
## Debugging TemplatePath methods being called
|
|
415
415
|
When a new version of Rails is released, we need to check what methods are being
|
|
416
416
|
called on `Rbexy::Component::TemplatePath` to make sure we always return
|