futurism 1.2.0.pre11 → 1.2.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +109 -112
- data/README.md +1 -1
- data/futurism.gemspec +1 -1
- data/futurism.gemspec~ +10 -2
- data/lib/futurism/version.rb +1 -1
- data/package.json +2 -2
- data/package.json~ +1 -5
- data/yarn.lock +6 -6
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2fc80850e1860ed00ff7b4a03ea4ac4f3e934eac2596a26e49526df9b33a4f3d
|
4
|
+
data.tar.gz: c2f22690e1ca18a400da5d89aa183ecb91cb3e5034d4413a24bf04a9612c1d70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3136ffe99285ff79e01b0e15f55125a806252c8ab89a33139299c3dc451f4e5bbdbbb822a4f69f6ffd6a40e64ba8f07e1c90405f179e6764f905bcb473e24b7
|
7
|
+
data.tar.gz: 1b842456e41d82bf8153ea6ee668afb882846d5b4f1eb4992f95717a6e1688fbf73d0a6839653cbdbfd5ec765ffc3a96c17cefcea366bd30a4bb83e6a100da13
|
data/Gemfile.lock
CHANGED
@@ -1,75 +1,75 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
futurism (1.2.0.
|
5
|
-
cable_ready (= 5.0.0.
|
4
|
+
futurism (1.2.0.rc2)
|
5
|
+
cable_ready (= 5.0.0.rc2)
|
6
6
|
rack (~> 2.0)
|
7
7
|
rails (>= 5.2)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
actioncable (7.0.
|
13
|
-
actionpack (= 7.0.
|
14
|
-
activesupport (= 7.0.
|
12
|
+
actioncable (7.0.4.3)
|
13
|
+
actionpack (= 7.0.4.3)
|
14
|
+
activesupport (= 7.0.4.3)
|
15
15
|
nio4r (~> 2.0)
|
16
16
|
websocket-driver (>= 0.6.1)
|
17
|
-
actionmailbox (7.0.
|
18
|
-
actionpack (= 7.0.
|
19
|
-
activejob (= 7.0.
|
20
|
-
activerecord (= 7.0.
|
21
|
-
activestorage (= 7.0.
|
22
|
-
activesupport (= 7.0.
|
17
|
+
actionmailbox (7.0.4.3)
|
18
|
+
actionpack (= 7.0.4.3)
|
19
|
+
activejob (= 7.0.4.3)
|
20
|
+
activerecord (= 7.0.4.3)
|
21
|
+
activestorage (= 7.0.4.3)
|
22
|
+
activesupport (= 7.0.4.3)
|
23
23
|
mail (>= 2.7.1)
|
24
24
|
net-imap
|
25
25
|
net-pop
|
26
26
|
net-smtp
|
27
|
-
actionmailer (7.0.
|
28
|
-
actionpack (= 7.0.
|
29
|
-
actionview (= 7.0.
|
30
|
-
activejob (= 7.0.
|
31
|
-
activesupport (= 7.0.
|
27
|
+
actionmailer (7.0.4.3)
|
28
|
+
actionpack (= 7.0.4.3)
|
29
|
+
actionview (= 7.0.4.3)
|
30
|
+
activejob (= 7.0.4.3)
|
31
|
+
activesupport (= 7.0.4.3)
|
32
32
|
mail (~> 2.5, >= 2.5.4)
|
33
33
|
net-imap
|
34
34
|
net-pop
|
35
35
|
net-smtp
|
36
36
|
rails-dom-testing (~> 2.0)
|
37
|
-
actionpack (7.0.
|
38
|
-
actionview (= 7.0.
|
39
|
-
activesupport (= 7.0.
|
37
|
+
actionpack (7.0.4.3)
|
38
|
+
actionview (= 7.0.4.3)
|
39
|
+
activesupport (= 7.0.4.3)
|
40
40
|
rack (~> 2.0, >= 2.2.0)
|
41
41
|
rack-test (>= 0.6.3)
|
42
42
|
rails-dom-testing (~> 2.0)
|
43
43
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
44
|
-
actiontext (7.0.
|
45
|
-
actionpack (= 7.0.
|
46
|
-
activerecord (= 7.0.
|
47
|
-
activestorage (= 7.0.
|
48
|
-
activesupport (= 7.0.
|
44
|
+
actiontext (7.0.4.3)
|
45
|
+
actionpack (= 7.0.4.3)
|
46
|
+
activerecord (= 7.0.4.3)
|
47
|
+
activestorage (= 7.0.4.3)
|
48
|
+
activesupport (= 7.0.4.3)
|
49
49
|
globalid (>= 0.6.0)
|
50
50
|
nokogiri (>= 1.8.5)
|
51
|
-
actionview (7.0.
|
52
|
-
activesupport (= 7.0.
|
51
|
+
actionview (7.0.4.3)
|
52
|
+
activesupport (= 7.0.4.3)
|
53
53
|
builder (~> 3.1)
|
54
54
|
erubi (~> 1.4)
|
55
55
|
rails-dom-testing (~> 2.0)
|
56
56
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
57
|
-
activejob (7.0.
|
58
|
-
activesupport (= 7.0.
|
57
|
+
activejob (7.0.4.3)
|
58
|
+
activesupport (= 7.0.4.3)
|
59
59
|
globalid (>= 0.3.6)
|
60
|
-
activemodel (7.0.
|
61
|
-
activesupport (= 7.0.
|
62
|
-
activerecord (7.0.
|
63
|
-
activemodel (= 7.0.
|
64
|
-
activesupport (= 7.0.
|
65
|
-
activestorage (7.0.
|
66
|
-
actionpack (= 7.0.
|
67
|
-
activejob (= 7.0.
|
68
|
-
activerecord (= 7.0.
|
69
|
-
activesupport (= 7.0.
|
60
|
+
activemodel (7.0.4.3)
|
61
|
+
activesupport (= 7.0.4.3)
|
62
|
+
activerecord (7.0.4.3)
|
63
|
+
activemodel (= 7.0.4.3)
|
64
|
+
activesupport (= 7.0.4.3)
|
65
|
+
activestorage (7.0.4.3)
|
66
|
+
actionpack (= 7.0.4.3)
|
67
|
+
activejob (= 7.0.4.3)
|
68
|
+
activerecord (= 7.0.4.3)
|
69
|
+
activesupport (= 7.0.4.3)
|
70
70
|
marcel (~> 1.0)
|
71
71
|
mini_mime (>= 1.1.0)
|
72
|
-
activesupport (7.0.
|
72
|
+
activesupport (7.0.4.3)
|
73
73
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
74
74
|
i18n (>= 1.6, < 2)
|
75
75
|
minitest (>= 5.1)
|
@@ -78,128 +78,125 @@ GEM
|
|
78
78
|
bundler
|
79
79
|
rake
|
80
80
|
thor (>= 0.14.0)
|
81
|
-
ast (2.4.
|
81
|
+
ast (2.4.2)
|
82
82
|
builder (3.2.4)
|
83
|
-
cable_ready (5.0.0.
|
84
|
-
actioncable (>= 5.2)
|
83
|
+
cable_ready (5.0.0.rc2)
|
85
84
|
actionpack (>= 5.2)
|
86
85
|
actionview (>= 5.2)
|
87
|
-
activerecord (>= 5.2)
|
88
86
|
activesupport (>= 5.2)
|
89
87
|
railties (>= 5.2)
|
90
88
|
thread-local (>= 1.1.0)
|
91
89
|
coderay (1.1.3)
|
92
|
-
concurrent-ruby (1.
|
90
|
+
concurrent-ruby (1.2.2)
|
93
91
|
crass (1.0.6)
|
94
|
-
|
95
|
-
erubi (1.
|
96
|
-
globalid (1.
|
92
|
+
date (3.3.3)
|
93
|
+
erubi (1.12.0)
|
94
|
+
globalid (1.1.0)
|
97
95
|
activesupport (>= 5.0)
|
98
|
-
i18n (1.
|
96
|
+
i18n (1.12.0)
|
99
97
|
concurrent-ruby (~> 1.0)
|
100
|
-
|
98
|
+
json (2.6.3)
|
99
|
+
language_server-protocol (3.17.0.3)
|
100
|
+
loofah (2.19.1)
|
101
101
|
crass (~> 1.0.2)
|
102
102
|
nokogiri (>= 1.5.9)
|
103
|
-
mail (2.
|
103
|
+
mail (2.8.1)
|
104
104
|
mini_mime (>= 0.1.1)
|
105
|
+
net-imap
|
106
|
+
net-pop
|
107
|
+
net-smtp
|
105
108
|
marcel (1.0.2)
|
106
109
|
method_source (0.9.2)
|
107
110
|
mini_mime (1.1.2)
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
digest
|
111
|
+
minitest (5.18.0)
|
112
|
+
net-imap (0.3.4)
|
113
|
+
date
|
112
114
|
net-protocol
|
113
|
-
|
114
|
-
net-pop (0.1.1)
|
115
|
-
digest
|
115
|
+
net-pop (0.1.2)
|
116
116
|
net-protocol
|
117
|
+
net-protocol (0.2.1)
|
117
118
|
timeout
|
118
|
-
net-
|
119
|
-
timeout
|
120
|
-
net-smtp (0.3.1)
|
121
|
-
digest
|
119
|
+
net-smtp (0.3.3)
|
122
120
|
net-protocol
|
123
|
-
timeout
|
124
121
|
nio4r (2.5.8)
|
125
|
-
nokogiri (1.
|
126
|
-
mini_portile2 (~> 2.8.0)
|
122
|
+
nokogiri (1.14.2-arm64-darwin)
|
127
123
|
racc (~> 1.4)
|
128
|
-
parallel (1.
|
129
|
-
parser (2.
|
124
|
+
parallel (1.22.1)
|
125
|
+
parser (3.2.1.1)
|
130
126
|
ast (~> 2.4.1)
|
131
127
|
pry (0.12.2)
|
132
128
|
coderay (~> 1.1.0)
|
133
129
|
method_source (~> 0.9.0)
|
134
|
-
racc (1.6.
|
135
|
-
rack (2.2.
|
136
|
-
rack-test (
|
137
|
-
rack (>= 1.
|
138
|
-
rails (7.0.
|
139
|
-
actioncable (= 7.0.
|
140
|
-
actionmailbox (= 7.0.
|
141
|
-
actionmailer (= 7.0.
|
142
|
-
actionpack (= 7.0.
|
143
|
-
actiontext (= 7.0.
|
144
|
-
actionview (= 7.0.
|
145
|
-
activejob (= 7.0.
|
146
|
-
activemodel (= 7.0.
|
147
|
-
activerecord (= 7.0.
|
148
|
-
activestorage (= 7.0.
|
149
|
-
activesupport (= 7.0.
|
130
|
+
racc (1.6.2)
|
131
|
+
rack (2.2.6.4)
|
132
|
+
rack-test (2.1.0)
|
133
|
+
rack (>= 1.3)
|
134
|
+
rails (7.0.4.3)
|
135
|
+
actioncable (= 7.0.4.3)
|
136
|
+
actionmailbox (= 7.0.4.3)
|
137
|
+
actionmailer (= 7.0.4.3)
|
138
|
+
actionpack (= 7.0.4.3)
|
139
|
+
actiontext (= 7.0.4.3)
|
140
|
+
actionview (= 7.0.4.3)
|
141
|
+
activejob (= 7.0.4.3)
|
142
|
+
activemodel (= 7.0.4.3)
|
143
|
+
activerecord (= 7.0.4.3)
|
144
|
+
activestorage (= 7.0.4.3)
|
145
|
+
activesupport (= 7.0.4.3)
|
150
146
|
bundler (>= 1.15.0)
|
151
|
-
railties (= 7.0.
|
147
|
+
railties (= 7.0.4.3)
|
152
148
|
rails-dom-testing (2.0.3)
|
153
149
|
activesupport (>= 4.2.0)
|
154
150
|
nokogiri (>= 1.6)
|
155
|
-
rails-html-sanitizer (1.
|
156
|
-
loofah (~> 2.
|
157
|
-
railties (7.0.
|
158
|
-
actionpack (= 7.0.
|
159
|
-
activesupport (= 7.0.
|
151
|
+
rails-html-sanitizer (1.5.0)
|
152
|
+
loofah (~> 2.19, >= 2.19.1)
|
153
|
+
railties (7.0.4.3)
|
154
|
+
actionpack (= 7.0.4.3)
|
155
|
+
activesupport (= 7.0.4.3)
|
160
156
|
method_source
|
161
157
|
rake (>= 12.2)
|
162
158
|
thor (~> 1.0)
|
163
159
|
zeitwerk (~> 2.5)
|
164
|
-
rainbow (3.
|
160
|
+
rainbow (3.1.1)
|
165
161
|
rake (13.0.6)
|
166
|
-
regexp_parser (
|
162
|
+
regexp_parser (2.7.0)
|
167
163
|
rexml (3.2.5)
|
168
|
-
rubocop (
|
164
|
+
rubocop (1.48.1)
|
165
|
+
json (~> 2.3)
|
169
166
|
parallel (~> 1.10)
|
170
|
-
parser (>= 2.
|
167
|
+
parser (>= 3.2.0.0)
|
171
168
|
rainbow (>= 2.2.2, < 4.0)
|
172
|
-
regexp_parser (>= 1.
|
173
|
-
rexml
|
174
|
-
rubocop-ast (>=
|
169
|
+
regexp_parser (>= 1.8, < 3.0)
|
170
|
+
rexml (>= 3.2.5, < 4.0)
|
171
|
+
rubocop-ast (>= 1.26.0, < 2.0)
|
175
172
|
ruby-progressbar (~> 1.7)
|
176
|
-
unicode-display_width (>=
|
177
|
-
rubocop-ast (
|
178
|
-
parser (>= 2.
|
179
|
-
rubocop-performance (1.
|
180
|
-
rubocop (>=
|
173
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
174
|
+
rubocop-ast (1.28.0)
|
175
|
+
parser (>= 3.2.1.0)
|
176
|
+
rubocop-performance (1.16.0)
|
177
|
+
rubocop (>= 1.7.0, < 2.0)
|
181
178
|
rubocop-ast (>= 0.4.0)
|
182
|
-
ruby-progressbar (1.
|
183
|
-
sqlite3 (1.
|
184
|
-
standard (
|
185
|
-
|
186
|
-
rubocop
|
187
|
-
|
179
|
+
ruby-progressbar (1.13.0)
|
180
|
+
sqlite3 (1.6.1-arm64-darwin)
|
181
|
+
standard (1.25.3)
|
182
|
+
language_server-protocol (~> 3.17.0.2)
|
183
|
+
rubocop (~> 1.48.1)
|
184
|
+
rubocop-performance (~> 1.16.0)
|
185
|
+
standardrb (1.0.1)
|
188
186
|
standard
|
189
|
-
strscan (3.0.1)
|
190
187
|
thor (1.2.1)
|
191
188
|
thread-local (1.1.0)
|
192
|
-
timeout (0.2
|
193
|
-
tzinfo (2.0.
|
189
|
+
timeout (0.3.2)
|
190
|
+
tzinfo (2.0.6)
|
194
191
|
concurrent-ruby (~> 1.0)
|
195
|
-
unicode-display_width (
|
192
|
+
unicode-display_width (2.4.2)
|
196
193
|
websocket-driver (0.7.5)
|
197
194
|
websocket-extensions (>= 0.1.0)
|
198
195
|
websocket-extensions (0.1.5)
|
199
|
-
zeitwerk (2.
|
196
|
+
zeitwerk (2.6.7)
|
200
197
|
|
201
198
|
PLATFORMS
|
202
|
-
|
199
|
+
arm64-darwin-21
|
203
200
|
|
204
201
|
DEPENDENCIES
|
205
202
|
appraisal
|
data/README.md
CHANGED
@@ -226,7 +226,7 @@ For individual models or arbitrary collections, you can pass `record` and `index
|
|
226
226
|
|
227
227
|
## Events
|
228
228
|
|
229
|
-
Once your futurize element has been rendered, the `
|
229
|
+
Once your futurize element has been rendered, the `futurism:appeared` custom event will be called.
|
230
230
|
|
231
231
|
## Installation
|
232
232
|
Add this line to your application's Gemfile:
|
data/futurism.gemspec
CHANGED
data/futurism.gemspec~
CHANGED
@@ -14,7 +14,15 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.description = "Uses custom html elements with attached IntersectionObserver to automatically lazy load partials via websockets"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
|
-
spec.files = Dir[
|
17
|
+
spec.files = Dir[
|
18
|
+
"lib/**/*.rb",
|
19
|
+
"app/**/*.rb",
|
20
|
+
"app/assets/javascripts/*",
|
21
|
+
"bin/*",
|
22
|
+
"[A-Z]*"
|
23
|
+
]
|
24
|
+
|
25
|
+
spec.test_files = Dir["test/**/*.rb"]
|
18
26
|
|
19
27
|
spec.add_development_dependency "appraisal"
|
20
28
|
spec.add_development_dependency "bundler", "~> 2.0"
|
@@ -26,5 +34,5 @@ Gem::Specification.new do |spec|
|
|
26
34
|
|
27
35
|
spec.add_dependency "rack", "~> 2.0"
|
28
36
|
spec.add_dependency "rails", ">= 5.2"
|
29
|
-
spec.add_dependency "cable_ready", "= 5.0.0.
|
37
|
+
spec.add_dependency "cable_ready", "= 5.0.0.pre9"
|
30
38
|
end
|
data/lib/futurism/version.rb
CHANGED
data/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@stimulus_reflex/futurism",
|
3
|
-
"version": "1.2.0-
|
3
|
+
"version": "1.2.0-rc2",
|
4
4
|
"description": "Lazy-load Rails partials via CableReady",
|
5
5
|
"main": "./dist/futurism.umd.min.js",
|
6
6
|
"module": "./dist/futurism.min.js",
|
@@ -33,7 +33,7 @@
|
|
33
33
|
},
|
34
34
|
"homepage": "https://github.com/stimulusreflex/futurism#readme",
|
35
35
|
"dependencies": {
|
36
|
-
"cable_ready": "^5.0.0-
|
36
|
+
"cable_ready": "^5.0.0-rc2"
|
37
37
|
},
|
38
38
|
"devDependencies": {
|
39
39
|
"@rollup/plugin-commonjs": "^21.0.3",
|
data/package.json~
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@stimulus_reflex/futurism",
|
3
|
-
"version": "1.2.0-
|
3
|
+
"version": "1.2.0-pre11",
|
4
4
|
"description": "Lazy-load Rails partials via CableReady",
|
5
5
|
"main": "./dist/futurism.umd.min.js",
|
6
6
|
"module": "./dist/futurism.min.js",
|
@@ -33,11 +33,7 @@
|
|
33
33
|
},
|
34
34
|
"homepage": "https://github.com/stimulusreflex/futurism#readme",
|
35
35
|
"dependencies": {
|
36
|
-
<<<<<<< Updated upstream
|
37
36
|
"cable_ready": "^5.0.0-pre9"
|
38
|
-
=======
|
39
|
-
"cable_ready": "5.0.0-pre9"
|
40
|
-
>>>>>>> Stashed changes
|
41
37
|
},
|
42
38
|
"devDependencies": {
|
43
39
|
"@rollup/plugin-commonjs": "^21.0.3",
|
data/yarn.lock
CHANGED
@@ -433,12 +433,12 @@ builtin-modules@^3.1.0:
|
|
433
433
|
resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.2.0.tgz#45d5db99e7ee5e6bc4f362e008bf917ab5049887"
|
434
434
|
integrity sha512-lGzLKcioL90C7wMczpkY0n/oART3MbBa8R9OFGE1rJxoVI86u4WAGfEk8Wjv10eKSyTHVGkSo3bvBylCEtk7LA==
|
435
435
|
|
436
|
-
cable_ready@^5.0.0-
|
437
|
-
version "5.0.0-
|
438
|
-
resolved "https://registry.yarnpkg.com/cable_ready/-/cable_ready-5.0.0-
|
439
|
-
integrity sha512-
|
436
|
+
cable_ready@^5.0.0-rc2:
|
437
|
+
version "5.0.0-rc2"
|
438
|
+
resolved "https://registry.yarnpkg.com/cable_ready/-/cable_ready-5.0.0-rc2.tgz#ccc99dfdd46a8358d6bdcbe285bed16b99220be5"
|
439
|
+
integrity sha512-Yq5lDy8gQ7NHJIxL0ANFYn/I6/dpLZTUxDio1MfhSyrbJ21eYlieqO/2JnLey7l+FUq1JGDHT1/6egzF5e++rw==
|
440
440
|
dependencies:
|
441
|
-
morphdom "
|
441
|
+
morphdom "2.6.1"
|
442
442
|
|
443
443
|
caller-callsite@^2.0.0:
|
444
444
|
version "2.0.0"
|
@@ -1983,7 +1983,7 @@ mocha@^8.0.1:
|
|
1983
1983
|
yargs-parser "13.1.2"
|
1984
1984
|
yargs-unparser "1.6.0"
|
1985
1985
|
|
1986
|
-
morphdom
|
1986
|
+
morphdom@2.6.1:
|
1987
1987
|
version "2.6.1"
|
1988
1988
|
resolved "https://registry.yarnpkg.com/morphdom/-/morphdom-2.6.1.tgz#e868e24f989fa3183004b159aed643e628b4306e"
|
1989
1989
|
integrity sha512-Y8YRbAEP3eKykroIBWrjcfMw7mmwJfjhqdpSvoqinu8Y702nAwikpXcNFDiIkyvfCLxLM9Wu95RZqo4a9jFBaA==
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: futurism
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.0.
|
4
|
+
version: 1.2.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Julian Rubisch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: appraisal
|
@@ -142,14 +142,14 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - '='
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 5.0.0.
|
145
|
+
version: 5.0.0.rc2
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - '='
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 5.0.0.
|
152
|
+
version: 5.0.0.rc2
|
153
153
|
description: Uses custom html elements with attached IntersectionObserver to automatically
|
154
154
|
lazy load partials via websockets
|
155
155
|
email:
|