stimulus_reflex 3.5.1 → 3.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +135 -99
- data/README.md +2 -2
- data/app/assets/javascripts/stimulus_reflex.js +10 -10
- data/app/assets/javascripts/stimulus_reflex.umd.js +10 -10
- data/lib/stimulus_reflex/installer.rb +2 -0
- data/lib/stimulus_reflex/version.rb +1 -1
- data/package.json +10 -10
- data/stimulus_reflex.gemspec +7 -7
- data/web-test-runner.config.mjs +14 -0
- data/yarn.lock +1126 -692
- metadata +3 -39
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f263910793deb40545ce21257891050bcea23bb612ccc3537b6655d17a9ab425
|
4
|
+
data.tar.gz: 0b3570e952a8f9646ed2fa0b9b090cc9518dc55ed17f215a1839e11b27411438
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '049480ba71eaf824360cbf301d912282315d2615f0b979110841abf01f22380b1a7e4c37e667d25175b9e05ed9200ebd57b06b6af932854eaebecf9fee5e65a5'
|
7
|
+
data.tar.gz: dfd82208502ebf1f3a5dfefba059715a213c8b3158ea415a7fa09d2a95e62bd6caa3fe891ef325a6c1b5e1892de0bc1dcf89248b5490aa93b1aa0df38f259697
|
data/Gemfile.lock
CHANGED
@@ -1,107 +1,128 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
stimulus_reflex (3.5.
|
5
|
-
actioncable (>= 5.2
|
6
|
-
actionpack (>= 5.2
|
7
|
-
actionview (>= 5.2
|
8
|
-
activesupport (>= 5.2
|
4
|
+
stimulus_reflex (3.5.3)
|
5
|
+
actioncable (>= 5.2)
|
6
|
+
actionpack (>= 5.2)
|
7
|
+
actionview (>= 5.2)
|
8
|
+
activesupport (>= 5.2)
|
9
9
|
cable_ready (~> 5.0)
|
10
10
|
nokogiri (~> 1.0)
|
11
11
|
nokogiri-html5-inference (~> 0.3)
|
12
12
|
rack (>= 2, < 4)
|
13
|
-
railties (>= 5.2
|
13
|
+
railties (>= 5.2)
|
14
14
|
redis (>= 4.0, < 6.0)
|
15
15
|
|
16
16
|
GEM
|
17
17
|
remote: https://rubygems.org/
|
18
18
|
specs:
|
19
|
-
actioncable (7.
|
20
|
-
actionpack (= 7.
|
21
|
-
activesupport (= 7.
|
19
|
+
actioncable (7.1.5.1)
|
20
|
+
actionpack (= 7.1.5.1)
|
21
|
+
activesupport (= 7.1.5.1)
|
22
22
|
nio4r (~> 2.0)
|
23
23
|
websocket-driver (>= 0.6.1)
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
24
|
+
zeitwerk (~> 2.6)
|
25
|
+
actionmailbox (7.1.5.1)
|
26
|
+
actionpack (= 7.1.5.1)
|
27
|
+
activejob (= 7.1.5.1)
|
28
|
+
activerecord (= 7.1.5.1)
|
29
|
+
activestorage (= 7.1.5.1)
|
30
|
+
activesupport (= 7.1.5.1)
|
30
31
|
mail (>= 2.7.1)
|
31
32
|
net-imap
|
32
33
|
net-pop
|
33
34
|
net-smtp
|
34
|
-
actionmailer (7.
|
35
|
-
actionpack (= 7.
|
36
|
-
actionview (= 7.
|
37
|
-
activejob (= 7.
|
38
|
-
activesupport (= 7.
|
35
|
+
actionmailer (7.1.5.1)
|
36
|
+
actionpack (= 7.1.5.1)
|
37
|
+
actionview (= 7.1.5.1)
|
38
|
+
activejob (= 7.1.5.1)
|
39
|
+
activesupport (= 7.1.5.1)
|
39
40
|
mail (~> 2.5, >= 2.5.4)
|
40
41
|
net-imap
|
41
42
|
net-pop
|
42
43
|
net-smtp
|
43
|
-
rails-dom-testing (~> 2.
|
44
|
-
actionpack (7.
|
45
|
-
actionview (= 7.
|
46
|
-
activesupport (= 7.
|
47
|
-
|
44
|
+
rails-dom-testing (~> 2.2)
|
45
|
+
actionpack (7.1.5.1)
|
46
|
+
actionview (= 7.1.5.1)
|
47
|
+
activesupport (= 7.1.5.1)
|
48
|
+
nokogiri (>= 1.8.5)
|
49
|
+
racc
|
50
|
+
rack (>= 2.2.4)
|
51
|
+
rack-session (>= 1.0.1)
|
48
52
|
rack-test (>= 0.6.3)
|
49
|
-
rails-dom-testing (~> 2.
|
50
|
-
rails-html-sanitizer (~> 1.
|
51
|
-
actiontext (7.
|
52
|
-
actionpack (= 7.
|
53
|
-
activerecord (= 7.
|
54
|
-
activestorage (= 7.
|
55
|
-
activesupport (= 7.
|
53
|
+
rails-dom-testing (~> 2.2)
|
54
|
+
rails-html-sanitizer (~> 1.6)
|
55
|
+
actiontext (7.1.5.1)
|
56
|
+
actionpack (= 7.1.5.1)
|
57
|
+
activerecord (= 7.1.5.1)
|
58
|
+
activestorage (= 7.1.5.1)
|
59
|
+
activesupport (= 7.1.5.1)
|
56
60
|
globalid (>= 0.6.0)
|
57
61
|
nokogiri (>= 1.8.5)
|
58
|
-
actionview (7.
|
59
|
-
activesupport (= 7.
|
62
|
+
actionview (7.1.5.1)
|
63
|
+
activesupport (= 7.1.5.1)
|
60
64
|
builder (~> 3.1)
|
61
|
-
erubi (~> 1.
|
62
|
-
rails-dom-testing (~> 2.
|
63
|
-
rails-html-sanitizer (~> 1.
|
64
|
-
activejob (7.
|
65
|
-
activesupport (= 7.
|
65
|
+
erubi (~> 1.11)
|
66
|
+
rails-dom-testing (~> 2.2)
|
67
|
+
rails-html-sanitizer (~> 1.6)
|
68
|
+
activejob (7.1.5.1)
|
69
|
+
activesupport (= 7.1.5.1)
|
66
70
|
globalid (>= 0.3.6)
|
67
|
-
activemodel (7.
|
68
|
-
activesupport (= 7.
|
69
|
-
activerecord (7.
|
70
|
-
activemodel (= 7.
|
71
|
-
activesupport (= 7.
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
71
|
+
activemodel (7.1.5.1)
|
72
|
+
activesupport (= 7.1.5.1)
|
73
|
+
activerecord (7.1.5.1)
|
74
|
+
activemodel (= 7.1.5.1)
|
75
|
+
activesupport (= 7.1.5.1)
|
76
|
+
timeout (>= 0.4.0)
|
77
|
+
activestorage (7.1.5.1)
|
78
|
+
actionpack (= 7.1.5.1)
|
79
|
+
activejob (= 7.1.5.1)
|
80
|
+
activerecord (= 7.1.5.1)
|
81
|
+
activesupport (= 7.1.5.1)
|
77
82
|
marcel (~> 1.0)
|
78
|
-
|
79
|
-
|
83
|
+
activesupport (7.1.5.1)
|
84
|
+
base64
|
85
|
+
benchmark (>= 0.3)
|
86
|
+
bigdecimal
|
80
87
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
88
|
+
connection_pool (>= 2.2.5)
|
89
|
+
drb
|
81
90
|
i18n (>= 1.6, < 2)
|
91
|
+
logger (>= 1.4.2)
|
82
92
|
minitest (>= 5.1)
|
93
|
+
mutex_m
|
94
|
+
securerandom (>= 0.3)
|
83
95
|
tzinfo (~> 2.0)
|
84
96
|
ast (2.4.2)
|
85
|
-
|
86
|
-
|
97
|
+
base64 (0.2.0)
|
98
|
+
benchmark (0.4.0)
|
99
|
+
bigdecimal (3.1.8)
|
100
|
+
builder (3.3.0)
|
101
|
+
cable_ready (5.0.6)
|
87
102
|
actionpack (>= 5.2)
|
88
103
|
actionview (>= 5.2)
|
89
104
|
activesupport (>= 5.2)
|
90
105
|
observer (~> 0.1)
|
91
106
|
railties (>= 5.2)
|
92
107
|
thread-local (>= 1.1.0)
|
93
|
-
concurrent-ruby (1.
|
94
|
-
connection_pool (2.4.
|
108
|
+
concurrent-ruby (1.3.4)
|
109
|
+
connection_pool (2.4.1)
|
95
110
|
crass (1.0.6)
|
96
|
-
date (3.3.
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
111
|
+
date (3.3.4)
|
112
|
+
drb (2.2.1)
|
113
|
+
erubi (1.13.0)
|
114
|
+
globalid (1.2.1)
|
115
|
+
activesupport (>= 6.1)
|
116
|
+
i18n (1.14.6)
|
101
117
|
concurrent-ruby (~> 1.0)
|
118
|
+
io-console (0.7.2)
|
119
|
+
irb (1.14.0)
|
120
|
+
rdoc (>= 4.0.0)
|
121
|
+
reline (>= 0.4.2)
|
102
122
|
json (2.6.3)
|
103
123
|
language_server-protocol (3.17.0.3)
|
104
|
-
|
124
|
+
logger (1.6.2)
|
125
|
+
loofah (2.23.1)
|
105
126
|
crass (~> 1.0.2)
|
106
127
|
nokogiri (>= 1.12.0)
|
107
128
|
magic_frozen_string_literal (1.2.0)
|
@@ -110,24 +131,24 @@ GEM
|
|
110
131
|
net-imap
|
111
132
|
net-pop
|
112
133
|
net-smtp
|
113
|
-
marcel (1.0.
|
114
|
-
|
115
|
-
mini_mime (1.1.2)
|
134
|
+
marcel (1.0.4)
|
135
|
+
mini_mime (1.1.5)
|
116
136
|
minitest (5.18.1)
|
117
137
|
mocha (1.13.0)
|
118
|
-
|
138
|
+
mutex_m (0.3.0)
|
139
|
+
net-imap (0.4.17)
|
119
140
|
date
|
120
141
|
net-protocol
|
121
142
|
net-pop (0.1.2)
|
122
143
|
net-protocol
|
123
|
-
net-protocol (0.2.
|
144
|
+
net-protocol (0.2.2)
|
124
145
|
timeout
|
125
|
-
net-smtp (0.
|
146
|
+
net-smtp (0.5.0)
|
126
147
|
net-protocol
|
127
|
-
nio4r (2.
|
128
|
-
nokogiri (1.
|
148
|
+
nio4r (2.7.3)
|
149
|
+
nokogiri (1.17.2-x86_64-darwin)
|
129
150
|
racc (~> 1.4)
|
130
|
-
nokogiri (1.
|
151
|
+
nokogiri (1.17.2-x86_64-linux)
|
131
152
|
racc (~> 1.4)
|
132
153
|
nokogiri-html5-inference (0.3.0)
|
133
154
|
nokogiri (~> 1.14)
|
@@ -135,46 +156,58 @@ GEM
|
|
135
156
|
parallel (1.22.1)
|
136
157
|
parser (3.2.1.0)
|
137
158
|
ast (~> 2.4.1)
|
138
|
-
|
139
|
-
|
159
|
+
psych (5.1.2)
|
160
|
+
stringio
|
161
|
+
racc (1.8.1)
|
162
|
+
rack (3.1.8)
|
163
|
+
rack-session (2.0.0)
|
164
|
+
rack (>= 3.0.0)
|
140
165
|
rack-test (2.1.0)
|
141
166
|
rack (>= 1.3)
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
167
|
+
rackup (2.1.0)
|
168
|
+
rack (>= 3)
|
169
|
+
webrick (~> 1.8)
|
170
|
+
rails (7.1.5.1)
|
171
|
+
actioncable (= 7.1.5.1)
|
172
|
+
actionmailbox (= 7.1.5.1)
|
173
|
+
actionmailer (= 7.1.5.1)
|
174
|
+
actionpack (= 7.1.5.1)
|
175
|
+
actiontext (= 7.1.5.1)
|
176
|
+
actionview (= 7.1.5.1)
|
177
|
+
activejob (= 7.1.5.1)
|
178
|
+
activemodel (= 7.1.5.1)
|
179
|
+
activerecord (= 7.1.5.1)
|
180
|
+
activestorage (= 7.1.5.1)
|
181
|
+
activesupport (= 7.1.5.1)
|
154
182
|
bundler (>= 1.15.0)
|
155
|
-
railties (= 7.
|
183
|
+
railties (= 7.1.5.1)
|
156
184
|
rails-dom-testing (2.2.0)
|
157
185
|
activesupport (>= 5.0.0)
|
158
186
|
minitest
|
159
187
|
nokogiri (>= 1.6)
|
160
|
-
rails-html-sanitizer (1.6.
|
188
|
+
rails-html-sanitizer (1.6.2)
|
161
189
|
loofah (~> 2.21)
|
162
|
-
nokogiri (
|
163
|
-
railties (7.
|
164
|
-
actionpack (= 7.
|
165
|
-
activesupport (= 7.
|
166
|
-
|
190
|
+
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
191
|
+
railties (7.1.5.1)
|
192
|
+
actionpack (= 7.1.5.1)
|
193
|
+
activesupport (= 7.1.5.1)
|
194
|
+
irb
|
195
|
+
rackup (>= 1.0.0)
|
167
196
|
rake (>= 12.2)
|
168
|
-
thor (~> 1.0)
|
169
|
-
zeitwerk (~> 2.
|
197
|
+
thor (~> 1.0, >= 1.2.2)
|
198
|
+
zeitwerk (~> 2.6)
|
170
199
|
rainbow (3.1.1)
|
171
200
|
rake (13.2.1)
|
201
|
+
rdoc (6.7.0)
|
202
|
+
psych (>= 4.0.0)
|
172
203
|
redis (5.0.6)
|
173
204
|
redis-client (>= 0.9.0)
|
174
205
|
redis-client (0.14.0)
|
175
206
|
connection_pool
|
176
207
|
regexp_parser (2.7.0)
|
177
|
-
|
208
|
+
reline (0.5.10)
|
209
|
+
io-console (~> 0.5)
|
210
|
+
rexml (3.3.9)
|
178
211
|
rubocop (1.44.1)
|
179
212
|
json (~> 2.3)
|
180
213
|
parallel (~> 1.10)
|
@@ -191,20 +224,23 @@ GEM
|
|
191
224
|
rubocop (>= 1.7.0, < 2.0)
|
192
225
|
rubocop-ast (>= 0.4.0)
|
193
226
|
ruby-progressbar (1.11.0)
|
227
|
+
securerandom (0.3.2)
|
194
228
|
standard (1.24.3)
|
195
229
|
language_server-protocol (~> 3.17.0.2)
|
196
230
|
rubocop (= 1.44.1)
|
197
231
|
rubocop-performance (= 1.15.2)
|
198
|
-
|
232
|
+
stringio (3.1.1)
|
233
|
+
thor (1.3.2)
|
199
234
|
thread-local (1.1.0)
|
200
|
-
timeout (0.
|
235
|
+
timeout (0.4.1)
|
201
236
|
tzinfo (2.0.6)
|
202
237
|
concurrent-ruby (~> 1.0)
|
203
238
|
unicode-display_width (2.4.2)
|
204
|
-
|
239
|
+
webrick (1.8.2)
|
240
|
+
websocket-driver (0.7.6)
|
205
241
|
websocket-extensions (>= 0.1.0)
|
206
242
|
websocket-extensions (0.1.5)
|
207
|
-
zeitwerk (2.6.
|
243
|
+
zeitwerk (2.6.18)
|
208
244
|
|
209
245
|
PLATFORMS
|
210
246
|
x86_64-darwin-19
|
@@ -217,7 +253,7 @@ DEPENDENCIES
|
|
217
253
|
magic_frozen_string_literal (~> 1.2)
|
218
254
|
minitest (= 5.18.1)
|
219
255
|
mocha (~> 1.13)
|
220
|
-
rails (>= 5.2
|
256
|
+
rails (>= 5.2)
|
221
257
|
rake (~> 13.0)
|
222
258
|
standard (~> 1.24)
|
223
259
|
stimulus_reflex!
|
data/README.md
CHANGED
@@ -141,10 +141,10 @@ View the [wiki](https://github.com/stimulusreflex/stimulus_reflex/wiki/Editor-Co
|
|
141
141
|
1. Update the `cable_ready` dependency version in `stimulus_reflex.gemspec` and `package.json`
|
142
142
|
1. Make sure that you run `yarn` and `bundle` to pick up the latest.
|
143
143
|
1. Bump version number at `lib/stimulus_reflex/version.rb`. Pre-release versions use `.preN`
|
144
|
-
1. Run `rake build` and `yarn build`
|
144
|
+
1. Run `bundle exec rake build` and `yarn build`
|
145
145
|
1. Run `bin/standardize`
|
146
146
|
1. Commit and push changes to GitHub
|
147
|
-
1. Run `rake release`
|
147
|
+
1. Run `bundle exec rake release`
|
148
148
|
1. Run `yarn publish --no-git-tag-version`
|
149
149
|
1. Yarn will prompt you for the new version. Pre-release versions use `-preN`
|
150
150
|
1. Commit and push changes to GitHub
|
@@ -945,7 +945,7 @@ const extractDataAttributes = element => {
|
|
945
945
|
|
946
946
|
var name = "stimulus_reflex";
|
947
947
|
|
948
|
-
var version = "3.5.
|
948
|
+
var version = "3.5.3";
|
949
949
|
|
950
950
|
var description = "Build reactive applications with the Rails tooling you already know and love.";
|
951
951
|
|
@@ -995,19 +995,19 @@ var peerDependencies = {
|
|
995
995
|
var dependencies = {
|
996
996
|
"@hotwired/stimulus": "^3",
|
997
997
|
"@rails/actioncable": "^6 || ^7",
|
998
|
-
cable_ready: "^5.0.
|
998
|
+
cable_ready: "^5.0.6"
|
999
999
|
};
|
1000
1000
|
|
1001
1001
|
var devDependencies = {
|
1002
|
-
"@open-wc/testing": "^
|
1003
|
-
"@rollup/plugin-json": "^6.
|
1004
|
-
"@rollup/plugin-node-resolve": "^15.0
|
1005
|
-
"@rollup/plugin-terser": "^0.4.
|
1006
|
-
"@web/dev-server-esbuild": "^0.
|
1007
|
-
"@web/dev-server-rollup": "^0.
|
1008
|
-
"@web/test-runner": "^0.
|
1002
|
+
"@open-wc/testing": "^4.0.0",
|
1003
|
+
"@rollup/plugin-json": "^6.1.0",
|
1004
|
+
"@rollup/plugin-node-resolve": "^15.3.0",
|
1005
|
+
"@rollup/plugin-terser": "^0.4.4",
|
1006
|
+
"@web/dev-server-esbuild": "^1.0.2",
|
1007
|
+
"@web/dev-server-rollup": "^0.6.4",
|
1008
|
+
"@web/test-runner": "^0.19.0",
|
1009
1009
|
"prettier-standard": "^16.4.1",
|
1010
|
-
rollup: "^
|
1010
|
+
rollup: "^4.22.4",
|
1011
1011
|
"toastify-js": "^1.12.0",
|
1012
1012
|
vitepress: "^1.0.0-beta.1"
|
1013
1013
|
};
|
@@ -869,7 +869,7 @@
|
|
869
869
|
return attrs;
|
870
870
|
};
|
871
871
|
var name = "stimulus_reflex";
|
872
|
-
var version = "3.5.
|
872
|
+
var version = "3.5.3";
|
873
873
|
var description = "Build reactive applications with the Rails tooling you already know and love.";
|
874
874
|
var keywords = [ "ruby", "rails", "websockets", "actioncable", "turbolinks", "reactive", "cable", "ujs", "ssr", "stimulus", "reflex", "stimulus_reflex", "dom", "morphdom" ];
|
875
875
|
var homepage = "https://docs.stimulusreflex.com";
|
@@ -902,18 +902,18 @@
|
|
902
902
|
var dependencies = {
|
903
903
|
"@hotwired/stimulus": "^3",
|
904
904
|
"@rails/actioncable": "^6 || ^7",
|
905
|
-
cable_ready: "^5.0.
|
905
|
+
cable_ready: "^5.0.6"
|
906
906
|
};
|
907
907
|
var devDependencies = {
|
908
|
-
"@open-wc/testing": "^
|
909
|
-
"@rollup/plugin-json": "^6.
|
910
|
-
"@rollup/plugin-node-resolve": "^15.0
|
911
|
-
"@rollup/plugin-terser": "^0.4.
|
912
|
-
"@web/dev-server-esbuild": "^0.
|
913
|
-
"@web/dev-server-rollup": "^0.
|
914
|
-
"@web/test-runner": "^0.
|
908
|
+
"@open-wc/testing": "^4.0.0",
|
909
|
+
"@rollup/plugin-json": "^6.1.0",
|
910
|
+
"@rollup/plugin-node-resolve": "^15.3.0",
|
911
|
+
"@rollup/plugin-terser": "^0.4.4",
|
912
|
+
"@web/dev-server-esbuild": "^1.0.2",
|
913
|
+
"@web/dev-server-rollup": "^0.6.4",
|
914
|
+
"@web/test-runner": "^0.19.0",
|
915
915
|
"prettier-standard": "^16.4.1",
|
916
|
-
rollup: "^
|
916
|
+
rollup: "^4.22.4",
|
917
917
|
"toastify-js": "^1.12.0",
|
918
918
|
vitepress: "^1.0.0-beta.1"
|
919
919
|
};
|
data/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "stimulus_reflex",
|
3
|
-
"version": "3.5.
|
3
|
+
"version": "3.5.3",
|
4
4
|
"description": "Build reactive applications with the Rails tooling you already know and love.",
|
5
5
|
"keywords": [
|
6
6
|
"ruby",
|
@@ -57,18 +57,18 @@
|
|
57
57
|
"dependencies": {
|
58
58
|
"@hotwired/stimulus": "^3",
|
59
59
|
"@rails/actioncable": "^6 || ^7",
|
60
|
-
"cable_ready": "^5.0.
|
60
|
+
"cable_ready": "^5.0.6"
|
61
61
|
},
|
62
62
|
"devDependencies": {
|
63
|
-
"@open-wc/testing": "^
|
64
|
-
"@rollup/plugin-json": "^6.
|
65
|
-
"@rollup/plugin-node-resolve": "^15.0
|
66
|
-
"@rollup/plugin-terser": "^0.4.
|
67
|
-
"@web/dev-server-esbuild": "^0.
|
68
|
-
"@web/dev-server-rollup": "^0.
|
69
|
-
"@web/test-runner": "^0.
|
63
|
+
"@open-wc/testing": "^4.0.0",
|
64
|
+
"@rollup/plugin-json": "^6.1.0",
|
65
|
+
"@rollup/plugin-node-resolve": "^15.3.0",
|
66
|
+
"@rollup/plugin-terser": "^0.4.4",
|
67
|
+
"@web/dev-server-esbuild": "^1.0.2",
|
68
|
+
"@web/dev-server-rollup": "^0.6.4",
|
69
|
+
"@web/test-runner": "^0.19.0",
|
70
70
|
"prettier-standard": "^16.4.1",
|
71
|
-
"rollup": "^
|
71
|
+
"rollup": "^4.22.4",
|
72
72
|
"toastify-js": "^1.12.0",
|
73
73
|
"vitepress": "^1.0.0-beta.1"
|
74
74
|
}
|
data/stimulus_reflex.gemspec
CHANGED
@@ -39,12 +39,12 @@ Gem::Specification.new do |gem|
|
|
39
39
|
|
40
40
|
gem.required_ruby_version = ">= 3.0.0"
|
41
41
|
|
42
|
-
rails_version =
|
43
|
-
gem.add_dependency "actioncable",
|
44
|
-
gem.add_dependency "actionpack",
|
45
|
-
gem.add_dependency "actionview",
|
46
|
-
gem.add_dependency "activesupport",
|
47
|
-
gem.add_dependency "railties",
|
42
|
+
rails_version = ">= 5.2"
|
43
|
+
gem.add_dependency "actioncable", rails_version
|
44
|
+
gem.add_dependency "actionpack", rails_version
|
45
|
+
gem.add_dependency "actionview", rails_version
|
46
|
+
gem.add_dependency "activesupport", rails_version
|
47
|
+
gem.add_dependency "railties", rails_version
|
48
48
|
|
49
49
|
gem.add_dependency "cable_ready", "~> 5.0"
|
50
50
|
gem.add_dependency "nokogiri", "~> 1.0"
|
@@ -55,7 +55,7 @@ Gem::Specification.new do |gem|
|
|
55
55
|
gem.add_development_dependency "bundler", "~> 2.0"
|
56
56
|
gem.add_development_dependency "magic_frozen_string_literal", "~> 1.2"
|
57
57
|
gem.add_development_dependency "mocha", "~> 1.13"
|
58
|
-
gem.add_development_dependency "rails",
|
58
|
+
gem.add_development_dependency "rails", rails_version
|
59
59
|
gem.add_development_dependency "rake", "~> 13.0"
|
60
60
|
gem.add_development_dependency "standard", "~> 1.24"
|
61
61
|
gem.add_development_dependency "minitest", "5.18.1"
|
data/web-test-runner.config.mjs
CHANGED
@@ -3,8 +3,22 @@ import { fromRollup } from '@web/dev-server-rollup'
|
|
3
3
|
|
4
4
|
const json = fromRollup(rollupJson)
|
5
5
|
|
6
|
+
const filteredLogs = [
|
7
|
+
'Lit is in dev mode. Not recommended for production! See https://lit.dev/msg/dev-mode for more information.'
|
8
|
+
]
|
9
|
+
|
10
|
+
const filterBrowserLogs = (log) => {
|
11
|
+
for (const arg of log.args) {
|
12
|
+
if (typeof arg === 'string' && filteredLogs.some(l => arg.includes(l))) {
|
13
|
+
return false
|
14
|
+
}
|
15
|
+
}
|
16
|
+
return true
|
17
|
+
}
|
18
|
+
|
6
19
|
export default {
|
7
20
|
nodeResolve: true,
|
21
|
+
filterBrowserLogs,
|
8
22
|
mimeTypes: {
|
9
23
|
'**/*.json': 'js'
|
10
24
|
},
|