rbexy 2.0.0.beta8 → 2.0.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +20 -0
- data/.gitignore +1 -0
- data/.rspec +1 -0
- data/.travis.yml +2 -0
- data/Appraisals +12 -0
- data/Dockerfile +3 -2
- data/Gemfile.lock +96 -80
- data/README.md +139 -184
- data/bin/test +43 -0
- data/gemfiles/.bundle/config +2 -0
- data/gemfiles/rails_6_1.gemfile +8 -0
- data/gemfiles/rails_6_1.gemfile.lock +235 -0
- data/gemfiles/rails_7_0.gemfile +7 -0
- data/gemfiles/rails_7_0.gemfile.lock +249 -0
- data/gemfiles/rails_master.gemfile +7 -0
- data/gemfiles/rails_master.gemfile.lock +255 -0
- data/lib/rbexy/component.rb +14 -2
- data/lib/rbexy/nodes/abstract_node.rb +2 -0
- data/lib/rbexy/nodes/html_element.rb +5 -1
- data/lib/rbexy/nodes/util.rb +1 -1
- data/lib/rbexy/rails/component_template_resolver.rb +15 -3
- data/lib/rbexy/version.rb +1 -1
- data/lib/rbexy.rb +1 -0
- data/rbexy.gemspec +7 -4
- metadata +74 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d6d0a821b2cf642ba9a18e8d655b8fe48260656b64eb6fb22cc1b59cb673348
|
4
|
+
data.tar.gz: 5cc35ad67b89372bcfccf451badfe416c87e05b7533d5cc228c31f1c4aaf9fc3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 824e3d57cccee812126e4ae671a3dde2a00b05d99413e90fb50f4f7d255c3cbd8825a8908ffb3fe004ec27a659886fa070ab120c893fff6e55317a1eaac8a284
|
7
|
+
data.tar.gz: e721e48006e70696d48cf8396ddd94827666eff27103d366af269a76ed987ec37f76f7e881fb51135f44a7fb4f4cea3d2d800051fde2fd7cde73d7e835ca385a
|
@@ -0,0 +1,20 @@
|
|
1
|
+
name: Build and test
|
2
|
+
on: [push, pull_request]
|
3
|
+
jobs:
|
4
|
+
test:
|
5
|
+
strategy:
|
6
|
+
fail-fast: false
|
7
|
+
matrix:
|
8
|
+
gemfile: [rails_6_1, rails_7_0, rails_master]
|
9
|
+
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
|
10
|
+
ruby: [2.7, '3.0', 3.1]
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
|
13
|
+
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
|
14
|
+
steps:
|
15
|
+
- uses: actions/checkout@v2
|
16
|
+
- uses: ruby/setup-ruby@v1
|
17
|
+
with:
|
18
|
+
ruby-version: ${{ matrix.ruby }}
|
19
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
20
|
+
- run: bin/test
|
data/.gitignore
CHANGED
data/.rspec
CHANGED
data/.travis.yml
CHANGED
data/Appraisals
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
appraise "rails-6-1" do
|
2
|
+
gem "rails", "~> 6.1.4"
|
3
|
+
gem "net-smtp", require: false
|
4
|
+
end
|
5
|
+
|
6
|
+
appraise "rails-7-0" do
|
7
|
+
gem "rails", "~> 7.0.0"
|
8
|
+
end
|
9
|
+
|
10
|
+
appraise "rails-master" do
|
11
|
+
gem "rails", git: "https://github.com/rails/rails.git", branch: :main
|
12
|
+
end
|
data/Dockerfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,76 +1,84 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rbexy (2.0.0.
|
5
|
-
actionview (>= 6
|
6
|
-
activesupport (>= 6
|
4
|
+
rbexy (2.0.0.rc2)
|
5
|
+
actionview (>= 6, < 7.1)
|
6
|
+
activesupport (>= 6, < 7.1)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
actioncable (6.
|
12
|
-
actionpack (= 6.
|
11
|
+
actioncable (6.1.3)
|
12
|
+
actionpack (= 6.1.3)
|
13
|
+
activesupport (= 6.1.3)
|
13
14
|
nio4r (~> 2.0)
|
14
15
|
websocket-driver (>= 0.6.1)
|
15
|
-
actionmailbox (6.
|
16
|
-
actionpack (= 6.
|
17
|
-
activejob (= 6.
|
18
|
-
activerecord (= 6.
|
19
|
-
activestorage (= 6.
|
20
|
-
activesupport (= 6.
|
16
|
+
actionmailbox (6.1.3)
|
17
|
+
actionpack (= 6.1.3)
|
18
|
+
activejob (= 6.1.3)
|
19
|
+
activerecord (= 6.1.3)
|
20
|
+
activestorage (= 6.1.3)
|
21
|
+
activesupport (= 6.1.3)
|
21
22
|
mail (>= 2.7.1)
|
22
|
-
actionmailer (6.
|
23
|
-
actionpack (= 6.
|
24
|
-
actionview (= 6.
|
25
|
-
activejob (= 6.
|
23
|
+
actionmailer (6.1.3)
|
24
|
+
actionpack (= 6.1.3)
|
25
|
+
actionview (= 6.1.3)
|
26
|
+
activejob (= 6.1.3)
|
27
|
+
activesupport (= 6.1.3)
|
26
28
|
mail (~> 2.5, >= 2.5.4)
|
27
29
|
rails-dom-testing (~> 2.0)
|
28
|
-
actionpack (6.
|
29
|
-
actionview (= 6.
|
30
|
-
activesupport (= 6.
|
31
|
-
rack (~> 2.0, >= 2.0.
|
30
|
+
actionpack (6.1.3)
|
31
|
+
actionview (= 6.1.3)
|
32
|
+
activesupport (= 6.1.3)
|
33
|
+
rack (~> 2.0, >= 2.0.9)
|
32
34
|
rack-test (>= 0.6.3)
|
33
35
|
rails-dom-testing (~> 2.0)
|
34
36
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
35
|
-
actiontext (6.
|
36
|
-
actionpack (= 6.
|
37
|
-
activerecord (= 6.
|
38
|
-
activestorage (= 6.
|
39
|
-
activesupport (= 6.
|
37
|
+
actiontext (6.1.3)
|
38
|
+
actionpack (= 6.1.3)
|
39
|
+
activerecord (= 6.1.3)
|
40
|
+
activestorage (= 6.1.3)
|
41
|
+
activesupport (= 6.1.3)
|
40
42
|
nokogiri (>= 1.8.5)
|
41
|
-
actionview (6.
|
42
|
-
activesupport (= 6.
|
43
|
+
actionview (6.1.3)
|
44
|
+
activesupport (= 6.1.3)
|
43
45
|
builder (~> 3.1)
|
44
46
|
erubi (~> 1.4)
|
45
47
|
rails-dom-testing (~> 2.0)
|
46
48
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
47
|
-
activejob (6.
|
48
|
-
activesupport (= 6.
|
49
|
+
activejob (6.1.3)
|
50
|
+
activesupport (= 6.1.3)
|
49
51
|
globalid (>= 0.3.6)
|
50
|
-
activemodel (6.
|
51
|
-
activesupport (= 6.
|
52
|
-
activerecord (6.
|
53
|
-
activemodel (= 6.
|
54
|
-
activesupport (= 6.
|
55
|
-
activestorage (6.
|
56
|
-
actionpack (= 6.
|
57
|
-
activejob (= 6.
|
58
|
-
activerecord (= 6.
|
52
|
+
activemodel (6.1.3)
|
53
|
+
activesupport (= 6.1.3)
|
54
|
+
activerecord (6.1.3)
|
55
|
+
activemodel (= 6.1.3)
|
56
|
+
activesupport (= 6.1.3)
|
57
|
+
activestorage (6.1.3)
|
58
|
+
actionpack (= 6.1.3)
|
59
|
+
activejob (= 6.1.3)
|
60
|
+
activerecord (= 6.1.3)
|
61
|
+
activesupport (= 6.1.3)
|
59
62
|
marcel (~> 0.3.1)
|
60
|
-
|
63
|
+
mimemagic (~> 0.3.2)
|
64
|
+
activesupport (6.1.3)
|
61
65
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
62
|
-
i18n (>=
|
63
|
-
minitest (
|
64
|
-
tzinfo (~>
|
65
|
-
zeitwerk (~> 2.
|
66
|
+
i18n (>= 1.6, < 2)
|
67
|
+
minitest (>= 5.1)
|
68
|
+
tzinfo (~> 2.0)
|
69
|
+
zeitwerk (~> 2.3)
|
70
|
+
appraisal (2.4.1)
|
71
|
+
bundler
|
72
|
+
rake
|
73
|
+
thor (>= 0.14.0)
|
66
74
|
builder (3.2.4)
|
67
75
|
byebug (11.1.3)
|
68
76
|
coderay (1.1.3)
|
69
|
-
concurrent-ruby (1.1.
|
77
|
+
concurrent-ruby (1.1.8)
|
70
78
|
crass (1.0.6)
|
71
79
|
diff-lcs (1.4.4)
|
72
|
-
erubi (1.
|
73
|
-
ffi (1.
|
80
|
+
erubi (1.10.0)
|
81
|
+
ffi (1.15.0)
|
74
82
|
formatador (0.2.5)
|
75
83
|
globalid (0.4.2)
|
76
84
|
activesupport (>= 4.2.0)
|
@@ -88,12 +96,12 @@ GEM
|
|
88
96
|
guard (~> 2.1)
|
89
97
|
guard-compat (~> 1.1)
|
90
98
|
rspec (>= 2.99.0, < 4.0)
|
91
|
-
i18n (1.8.
|
99
|
+
i18n (1.8.9)
|
92
100
|
concurrent-ruby (~> 1.0)
|
93
|
-
listen (3.
|
101
|
+
listen (3.4.1)
|
94
102
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
95
103
|
rb-inotify (~> 0.9, >= 0.9.10)
|
96
|
-
loofah (2.
|
104
|
+
loofah (2.9.0)
|
97
105
|
crass (~> 1.0.2)
|
98
106
|
nokogiri (>= 1.5.9)
|
99
107
|
lumberjack (1.2.8)
|
@@ -103,14 +111,17 @@ GEM
|
|
103
111
|
mimemagic (~> 0.3.2)
|
104
112
|
memory_profiler (0.9.14)
|
105
113
|
method_source (1.0.0)
|
106
|
-
mimemagic (0.3.
|
114
|
+
mimemagic (0.3.10)
|
115
|
+
nokogiri (~> 1)
|
116
|
+
rake
|
107
117
|
mini_mime (1.0.2)
|
108
|
-
mini_portile2 (2.
|
109
|
-
minitest (5.14.
|
118
|
+
mini_portile2 (2.8.0)
|
119
|
+
minitest (5.14.4)
|
110
120
|
nenv (0.3.0)
|
111
|
-
nio4r (2.5.
|
112
|
-
nokogiri (1.
|
113
|
-
mini_portile2 (~> 2.
|
121
|
+
nio4r (2.5.7)
|
122
|
+
nokogiri (1.13.3)
|
123
|
+
mini_portile2 (~> 2.8.0)
|
124
|
+
racc (~> 1.4)
|
114
125
|
notiffany (0.1.3)
|
115
126
|
nenv (~> 0.1)
|
116
127
|
shellany (~> 0.0)
|
@@ -120,36 +131,39 @@ GEM
|
|
120
131
|
pry-byebug (3.9.0)
|
121
132
|
byebug (~> 11.0)
|
122
133
|
pry (~> 0.13.0)
|
134
|
+
puma (5.6.2)
|
135
|
+
nio4r (~> 2.0)
|
136
|
+
racc (1.6.0)
|
123
137
|
rack (2.2.3)
|
124
138
|
rack-test (1.1.0)
|
125
139
|
rack (>= 1.0, < 3)
|
126
|
-
rails (6.
|
127
|
-
actioncable (= 6.
|
128
|
-
actionmailbox (= 6.
|
129
|
-
actionmailer (= 6.
|
130
|
-
actionpack (= 6.
|
131
|
-
actiontext (= 6.
|
132
|
-
actionview (= 6.
|
133
|
-
activejob (= 6.
|
134
|
-
activemodel (= 6.
|
135
|
-
activerecord (= 6.
|
136
|
-
activestorage (= 6.
|
137
|
-
activesupport (= 6.
|
138
|
-
bundler (>= 1.
|
139
|
-
railties (= 6.
|
140
|
+
rails (6.1.3)
|
141
|
+
actioncable (= 6.1.3)
|
142
|
+
actionmailbox (= 6.1.3)
|
143
|
+
actionmailer (= 6.1.3)
|
144
|
+
actionpack (= 6.1.3)
|
145
|
+
actiontext (= 6.1.3)
|
146
|
+
actionview (= 6.1.3)
|
147
|
+
activejob (= 6.1.3)
|
148
|
+
activemodel (= 6.1.3)
|
149
|
+
activerecord (= 6.1.3)
|
150
|
+
activestorage (= 6.1.3)
|
151
|
+
activesupport (= 6.1.3)
|
152
|
+
bundler (>= 1.15.0)
|
153
|
+
railties (= 6.1.3)
|
140
154
|
sprockets-rails (>= 2.0.0)
|
141
155
|
rails-dom-testing (2.0.3)
|
142
156
|
activesupport (>= 4.2.0)
|
143
157
|
nokogiri (>= 1.6)
|
144
158
|
rails-html-sanitizer (1.3.0)
|
145
159
|
loofah (~> 2.3)
|
146
|
-
railties (6.
|
147
|
-
actionpack (= 6.
|
148
|
-
activesupport (= 6.
|
160
|
+
railties (6.1.3)
|
161
|
+
actionpack (= 6.1.3)
|
162
|
+
activesupport (= 6.1.3)
|
149
163
|
method_source
|
150
164
|
rake (>= 0.8.7)
|
151
|
-
thor (
|
152
|
-
rake (
|
165
|
+
thor (~> 1.0)
|
166
|
+
rake (13.0.3)
|
153
167
|
rb-fsevent (0.10.4)
|
154
168
|
rb-inotify (0.10.1)
|
155
169
|
ffi (~> 1.0)
|
@@ -186,29 +200,31 @@ GEM
|
|
186
200
|
activesupport (>= 4.0)
|
187
201
|
sprockets (>= 3.0.0)
|
188
202
|
sqlite3 (1.4.2)
|
189
|
-
thor (1.0
|
190
|
-
|
191
|
-
|
192
|
-
thread_safe (~> 0.1)
|
203
|
+
thor (1.1.0)
|
204
|
+
tzinfo (2.0.4)
|
205
|
+
concurrent-ruby (~> 1.0)
|
193
206
|
websocket-driver (0.7.3)
|
194
207
|
websocket-extensions (>= 0.1.0)
|
195
208
|
websocket-extensions (0.1.5)
|
196
|
-
zeitwerk (2.4.
|
209
|
+
zeitwerk (2.4.2)
|
197
210
|
|
198
211
|
PLATFORMS
|
199
212
|
ruby
|
200
213
|
|
201
214
|
DEPENDENCIES
|
215
|
+
appraisal (~> 2.2)
|
202
216
|
guard-rspec (~> 4.7, >= 4.7.3)
|
203
217
|
memory_profiler (~> 0.9.14)
|
204
218
|
pry-byebug
|
205
|
-
|
219
|
+
puma
|
220
|
+
rails (>= 6, < 7.1)
|
206
221
|
rake
|
207
222
|
rbexy!
|
208
223
|
rspec (~> 3.9)
|
209
224
|
rspec-html-matchers (~> 0.9.3)
|
210
225
|
rspec-rails (~> 4.0, >= 4.0.1)
|
226
|
+
sprockets-rails (>= 2, < 4)
|
211
227
|
sqlite3
|
212
228
|
|
213
229
|
BUNDLED WITH
|
214
|
-
2.
|
230
|
+
2.2.3
|