futurism 1.2.0.pre10 → 1.2.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf8bf2ac137e743328655dd568cfb8e1f08ba8569940c4725d99aded4260d647
4
- data.tar.gz: 24133b168d693592678d9923c79aaddd0d86c4aafe9a5ddc16ac0c3c4df6f4d3
3
+ metadata.gz: 530fe1cba22c14e1d94f75606514332605f43deb2c0a8ef50dc0beadf2d970c1
4
+ data.tar.gz: 1408e3635186614d652d6c31070c00f0e8535a435ccb0b8d3160758adfeb8f16
5
5
  SHA512:
6
- metadata.gz: 4dba6848d31c9afb79eb4b69938eba79439181f36435f63223f6b8079223bda812de809b88554196a43444827aea1d804cc28522c1ff644a77f47bd539dad0bb
7
- data.tar.gz: d390f65d1c1a79b402b9c554b209e0da309ba25c82c1ef744fc3aa459070bb6189a8a94b8f8ca4c45b8ba3d44bbc4490d02c32187440a0b877bfe16bed138200
6
+ metadata.gz: 5e8f9c3e23083761fe8a4e64218c1ffe56cc1b22fe3ff1ae800f10ad2392bc8c426f17d138a21b00125c0e385fbe462496e589b00555742edbfd985bcff5bd29
7
+ data.tar.gz: 89fda87972d7d9a5a5fa84c84af4eb0b9be0522848563f165165649d3711e5f8da75f0b878b851de86caa42b0001affef33d81ecf0976851b23c20e6196be023
data/Gemfile.lock CHANGED
@@ -1,75 +1,75 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- futurism (1.2.0.pre10)
5
- cable_ready (= 5.0.0.pre9)
4
+ futurism (1.2.0.rc1)
5
+ cable_ready (= 5.0.0.rc1)
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.2.3)
13
- actionpack (= 7.0.2.3)
14
- activesupport (= 7.0.2.3)
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.2.3)
18
- actionpack (= 7.0.2.3)
19
- activejob (= 7.0.2.3)
20
- activerecord (= 7.0.2.3)
21
- activestorage (= 7.0.2.3)
22
- activesupport (= 7.0.2.3)
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.2.3)
28
- actionpack (= 7.0.2.3)
29
- actionview (= 7.0.2.3)
30
- activejob (= 7.0.2.3)
31
- activesupport (= 7.0.2.3)
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.2.3)
38
- actionview (= 7.0.2.3)
39
- activesupport (= 7.0.2.3)
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.2.3)
45
- actionpack (= 7.0.2.3)
46
- activerecord (= 7.0.2.3)
47
- activestorage (= 7.0.2.3)
48
- activesupport (= 7.0.2.3)
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.2.3)
52
- activesupport (= 7.0.2.3)
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.2.3)
58
- activesupport (= 7.0.2.3)
57
+ activejob (7.0.4.3)
58
+ activesupport (= 7.0.4.3)
59
59
  globalid (>= 0.3.6)
60
- activemodel (7.0.2.3)
61
- activesupport (= 7.0.2.3)
62
- activerecord (7.0.2.3)
63
- activemodel (= 7.0.2.3)
64
- activesupport (= 7.0.2.3)
65
- activestorage (7.0.2.3)
66
- actionpack (= 7.0.2.3)
67
- activejob (= 7.0.2.3)
68
- activerecord (= 7.0.2.3)
69
- activesupport (= 7.0.2.3)
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.2.3)
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.1)
81
+ ast (2.4.2)
82
82
  builder (3.2.4)
83
- cable_ready (5.0.0.pre9)
84
- actioncable (>= 5.2)
83
+ cable_ready (5.0.0.rc1)
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.1.10)
90
+ concurrent-ruby (1.2.2)
93
91
  crass (1.0.6)
94
- digest (3.1.0)
95
- erubi (1.10.0)
96
- globalid (1.0.0)
92
+ date (3.3.3)
93
+ erubi (1.12.0)
94
+ globalid (1.1.0)
97
95
  activesupport (>= 5.0)
98
- i18n (1.10.0)
96
+ i18n (1.12.0)
99
97
  concurrent-ruby (~> 1.0)
100
- loofah (2.16.0)
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.7.1)
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
- mini_portile2 (2.8.0)
109
- minitest (5.15.0)
110
- net-imap (0.2.3)
111
- digest
111
+ minitest (5.18.0)
112
+ net-imap (0.3.4)
113
+ date
112
114
  net-protocol
113
- strscan
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-protocol (0.1.3)
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.13.3)
126
- mini_portile2 (~> 2.8.0)
122
+ nokogiri (1.14.2-arm64-darwin)
127
123
  racc (~> 1.4)
128
- parallel (1.19.2)
129
- parser (2.7.2.0)
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.0)
135
- rack (2.2.3)
136
- rack-test (1.1.0)
137
- rack (>= 1.0, < 3)
138
- rails (7.0.2.3)
139
- actioncable (= 7.0.2.3)
140
- actionmailbox (= 7.0.2.3)
141
- actionmailer (= 7.0.2.3)
142
- actionpack (= 7.0.2.3)
143
- actiontext (= 7.0.2.3)
144
- actionview (= 7.0.2.3)
145
- activejob (= 7.0.2.3)
146
- activemodel (= 7.0.2.3)
147
- activerecord (= 7.0.2.3)
148
- activestorage (= 7.0.2.3)
149
- activesupport (= 7.0.2.3)
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.2.3)
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.4.2)
156
- loofah (~> 2.3)
157
- railties (7.0.2.3)
158
- actionpack (= 7.0.2.3)
159
- activesupport (= 7.0.2.3)
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.0.0)
160
+ rainbow (3.1.1)
165
161
  rake (13.0.6)
166
- regexp_parser (1.8.1)
162
+ regexp_parser (2.7.0)
167
163
  rexml (3.2.5)
168
- rubocop (0.92.0)
164
+ rubocop (1.48.1)
165
+ json (~> 2.3)
169
166
  parallel (~> 1.10)
170
- parser (>= 2.7.1.5)
167
+ parser (>= 3.2.0.0)
171
168
  rainbow (>= 2.2.2, < 4.0)
172
- regexp_parser (>= 1.7)
173
- rexml
174
- rubocop-ast (>= 0.5.0)
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 (>= 1.4.0, < 2.0)
177
- rubocop-ast (0.7.1)
178
- parser (>= 2.7.1.5)
179
- rubocop-performance (1.8.1)
180
- rubocop (>= 0.87.0)
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.10.1)
183
- sqlite3 (1.4.2)
184
- standard (0.7)
185
- rubocop (= 0.92)
186
- rubocop-performance (= 1.8.1)
187
- standardrb (1.0.0)
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.0)
193
- tzinfo (2.0.4)
189
+ timeout (0.3.2)
190
+ tzinfo (2.0.6)
194
191
  concurrent-ruby (~> 1.0)
195
- unicode-display_width (1.7.0)
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.5.4)
196
+ zeitwerk (2.6.7)
200
197
 
201
198
  PLATFORMS
202
- ruby
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 `futurize:appeared` custom event will be called.
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
@@ -34,5 +34,5 @@ Gem::Specification.new do |spec|
34
34
 
35
35
  spec.add_dependency "rack", "~> 2.0"
36
36
  spec.add_dependency "rails", ">= 5.2"
37
- spec.add_dependency "cable_ready", "= 5.0.0.pre9"
37
+ spec.add_dependency "cable_ready", "= 5.0.0.rc1"
38
38
  end
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["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]
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.pre8"
37
+ spec.add_dependency "cable_ready", "= 5.0.0.pre9"
30
38
  end
@@ -77,7 +77,7 @@ module Futurism
77
77
  def dataset
78
78
  data_attributes.merge({
79
79
  signed_params: signed_params,
80
- sgid: model && model.to_sgid.to_s,
80
+ sgid: model && model.to_sgid(expires_in: nil).to_s,
81
81
  eager: eager.presence,
82
82
  broadcast_each: broadcast_each.presence,
83
83
  signed_controller: signed_controller
@@ -1,3 +1,3 @@
1
1
  module Futurism
2
- VERSION = "1.2.0.pre10"
2
+ VERSION = "1.2.0.rc1"
3
3
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stimulus_reflex/futurism",
3
- "version": "1.2.0-pre10",
3
+ "version": "1.2.0-rc1",
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-pre9"
36
+ "cable_ready": "^5.0.0-rc1"
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-pre10",
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-pre9:
437
- version "5.0.0-pre9"
438
- resolved "https://registry.yarnpkg.com/cable_ready/-/cable_ready-5.0.0-pre9.tgz#9c082b796f7b7add7965ce637a8d8717726be5ab"
439
- integrity sha512-m7XggG+LRPFLsbH78G603F3AAYpkv+VfGCouN6RrP20Mgz9H0+xr7v2DN2F1CeJBBAliYPKcAt/48uTGjSrBaA==
436
+ cable_ready@^5.0.0-rc1:
437
+ version "5.0.0-rc1"
438
+ resolved "https://registry.yarnpkg.com/cable_ready/-/cable_ready-5.0.0-rc1.tgz#d755f793ef963af18f2696dc07588b616ef76fc6"
439
+ integrity sha512-Zg964GzT4lNxLoZWR51R7SJub0u/8gYbO7yZPgc3rT/IuOROwEg8/kf5c9/nTYluaFciCNo4Wy9XIeZRzpPhRg==
440
440
  dependencies:
441
- morphdom "^2.6.1"
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@^2.6.1:
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.pre10
4
+ version: 1.2.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Rubisch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-04 00:00:00.000000000 Z
11
+ date: 2023-03-27 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.pre9
145
+ version: 5.0.0.rc1
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.pre9
152
+ version: 5.0.0.rc1
153
153
  description: Uses custom html elements with attached IntersectionObserver to automatically
154
154
  lazy load partials via websockets
155
155
  email: