avo 2.25.0 → 2.26.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of avo might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile.lock +75 -66
- data/app/controllers/avo/application_controller.rb +1 -5
- data/app/views/avo/partials/_branding.html.erb +2 -2
- data/lib/avo/base_card.rb +3 -4
- data/lib/avo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b61c2b5a2648aa08f89b080fe7f8a8c982ef10c51cb361aa24aa53f979dd060
|
4
|
+
data.tar.gz: 723c552907d3c861383006edea41a9b73da6c609bc87add39f4349569e427b9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfbeee5e9548d1c94fee23facf94685393e0cd58fd0079e980ef67707ac52b0545d5aebd7f4e6b3b6b44962d1a3ca540f966c3586660b4582e92484159ac8a3d
|
7
|
+
data.tar.gz: eebb9b58090526d78af41e3736985788dc69aabe53b0fd9cc02e4b926a7c8debb7daf5b4a9d17e91b357b126500804ef8cf72152d834cfe1b68a04303c1bda88
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
avo (2.
|
4
|
+
avo (2.26.0)
|
5
5
|
actionview (>= 6.0)
|
6
6
|
active_link_to
|
7
7
|
activerecord (>= 6.0)
|
@@ -19,40 +19,40 @@ PATH
|
|
19
19
|
GEM
|
20
20
|
remote: https://rubygems.org/
|
21
21
|
specs:
|
22
|
-
actioncable (6.1.
|
23
|
-
actionpack (= 6.1.
|
24
|
-
activesupport (= 6.1.
|
22
|
+
actioncable (6.1.7.2)
|
23
|
+
actionpack (= 6.1.7.2)
|
24
|
+
activesupport (= 6.1.7.2)
|
25
25
|
nio4r (~> 2.0)
|
26
26
|
websocket-driver (>= 0.6.1)
|
27
|
-
actionmailbox (6.1.
|
28
|
-
actionpack (= 6.1.
|
29
|
-
activejob (= 6.1.
|
30
|
-
activerecord (= 6.1.
|
31
|
-
activestorage (= 6.1.
|
32
|
-
activesupport (= 6.1.
|
27
|
+
actionmailbox (6.1.7.2)
|
28
|
+
actionpack (= 6.1.7.2)
|
29
|
+
activejob (= 6.1.7.2)
|
30
|
+
activerecord (= 6.1.7.2)
|
31
|
+
activestorage (= 6.1.7.2)
|
32
|
+
activesupport (= 6.1.7.2)
|
33
33
|
mail (>= 2.7.1)
|
34
|
-
actionmailer (6.1.
|
35
|
-
actionpack (= 6.1.
|
36
|
-
actionview (= 6.1.
|
37
|
-
activejob (= 6.1.
|
38
|
-
activesupport (= 6.1.
|
34
|
+
actionmailer (6.1.7.2)
|
35
|
+
actionpack (= 6.1.7.2)
|
36
|
+
actionview (= 6.1.7.2)
|
37
|
+
activejob (= 6.1.7.2)
|
38
|
+
activesupport (= 6.1.7.2)
|
39
39
|
mail (~> 2.5, >= 2.5.4)
|
40
40
|
rails-dom-testing (~> 2.0)
|
41
|
-
actionpack (6.1.
|
42
|
-
actionview (= 6.1.
|
43
|
-
activesupport (= 6.1.
|
41
|
+
actionpack (6.1.7.2)
|
42
|
+
actionview (= 6.1.7.2)
|
43
|
+
activesupport (= 6.1.7.2)
|
44
44
|
rack (~> 2.0, >= 2.0.9)
|
45
45
|
rack-test (>= 0.6.3)
|
46
46
|
rails-dom-testing (~> 2.0)
|
47
47
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
48
|
-
actiontext (6.1.
|
49
|
-
actionpack (= 6.1.
|
50
|
-
activerecord (= 6.1.
|
51
|
-
activestorage (= 6.1.
|
52
|
-
activesupport (= 6.1.
|
48
|
+
actiontext (6.1.7.2)
|
49
|
+
actionpack (= 6.1.7.2)
|
50
|
+
activerecord (= 6.1.7.2)
|
51
|
+
activestorage (= 6.1.7.2)
|
52
|
+
activesupport (= 6.1.7.2)
|
53
53
|
nokogiri (>= 1.8.5)
|
54
|
-
actionview (6.1.
|
55
|
-
activesupport (= 6.1.
|
54
|
+
actionview (6.1.7.2)
|
55
|
+
activesupport (= 6.1.7.2)
|
56
56
|
builder (~> 3.1)
|
57
57
|
erubi (~> 1.4)
|
58
58
|
rails-dom-testing (~> 2.0)
|
@@ -62,22 +62,22 @@ GEM
|
|
62
62
|
addressable
|
63
63
|
active_median (0.3.3)
|
64
64
|
activesupport (>= 5.2)
|
65
|
-
activejob (6.1.
|
66
|
-
activesupport (= 6.1.
|
65
|
+
activejob (6.1.7.2)
|
66
|
+
activesupport (= 6.1.7.2)
|
67
67
|
globalid (>= 0.3.6)
|
68
|
-
activemodel (6.1.
|
69
|
-
activesupport (= 6.1.
|
70
|
-
activerecord (6.1.
|
71
|
-
activemodel (= 6.1.
|
72
|
-
activesupport (= 6.1.
|
73
|
-
activestorage (6.1.
|
74
|
-
actionpack (= 6.1.
|
75
|
-
activejob (= 6.1.
|
76
|
-
activerecord (= 6.1.
|
77
|
-
activesupport (= 6.1.
|
68
|
+
activemodel (6.1.7.2)
|
69
|
+
activesupport (= 6.1.7.2)
|
70
|
+
activerecord (6.1.7.2)
|
71
|
+
activemodel (= 6.1.7.2)
|
72
|
+
activesupport (= 6.1.7.2)
|
73
|
+
activestorage (6.1.7.2)
|
74
|
+
actionpack (= 6.1.7.2)
|
75
|
+
activejob (= 6.1.7.2)
|
76
|
+
activerecord (= 6.1.7.2)
|
77
|
+
activesupport (= 6.1.7.2)
|
78
78
|
marcel (~> 1.0)
|
79
79
|
mini_mime (>= 1.1.0)
|
80
|
-
activesupport (6.1.
|
80
|
+
activesupport (6.1.7.2)
|
81
81
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
82
82
|
i18n (>= 1.6, < 2)
|
83
83
|
minitest (>= 5.1)
|
@@ -142,7 +142,7 @@ GEM
|
|
142
142
|
xpath (~> 3.2)
|
143
143
|
chartkick (4.2.1)
|
144
144
|
childprocess (4.1.0)
|
145
|
-
concurrent-ruby (1.
|
145
|
+
concurrent-ruby (1.2.0)
|
146
146
|
countries (4.2.3)
|
147
147
|
i18n_data (~> 0.16.0)
|
148
148
|
sixarm_ruby_unaccent (~> 1.1)
|
@@ -157,6 +157,7 @@ GEM
|
|
157
157
|
activerecord (>= 5.a)
|
158
158
|
database_cleaner-core (~> 2.0.0)
|
159
159
|
database_cleaner-core (2.0.1)
|
160
|
+
date (3.3.3)
|
160
161
|
devise (4.8.1)
|
161
162
|
bcrypt (~> 3.0)
|
162
163
|
orm_adapter (~> 0.1)
|
@@ -171,7 +172,7 @@ GEM
|
|
171
172
|
railties (>= 3.2)
|
172
173
|
dry-initializer (3.1.1)
|
173
174
|
erb-formatter (0.3.0)
|
174
|
-
erubi (1.
|
175
|
+
erubi (1.12.0)
|
175
176
|
factory_bot (6.2.1)
|
176
177
|
activesupport (>= 5.0.0)
|
177
178
|
factory_bot_rails (6.2.0)
|
@@ -186,7 +187,7 @@ GEM
|
|
186
187
|
rspec-core (~> 3.0)
|
187
188
|
ruby-progressbar (~> 1.4)
|
188
189
|
gem-release (2.2.2)
|
189
|
-
globalid (1.
|
190
|
+
globalid (1.1.0)
|
190
191
|
activesupport (>= 5.0)
|
191
192
|
groupdate (6.1.0)
|
192
193
|
activesupport (>= 5.2)
|
@@ -237,8 +238,11 @@ GEM
|
|
237
238
|
loofah (2.19.1)
|
238
239
|
crass (~> 1.0.2)
|
239
240
|
nokogiri (>= 1.5.9)
|
240
|
-
mail (2.
|
241
|
+
mail (2.8.0.1)
|
241
242
|
mini_mime (>= 0.1.1)
|
243
|
+
net-imap
|
244
|
+
net-pop
|
245
|
+
net-smtp
|
242
246
|
manifester (0.1.8)
|
243
247
|
rails (>= 6.0)
|
244
248
|
zeitwerk
|
@@ -249,19 +253,24 @@ GEM
|
|
249
253
|
method_source (1.0.0)
|
250
254
|
mini_magick (4.12.0)
|
251
255
|
mini_mime (1.1.2)
|
252
|
-
mini_portile2 (2.8.
|
256
|
+
mini_portile2 (2.8.1)
|
253
257
|
minitest (5.17.0)
|
254
258
|
msgpack (1.5.6)
|
255
259
|
multi_xml (0.6.0)
|
260
|
+
net-imap (0.3.4)
|
261
|
+
date
|
262
|
+
net-protocol
|
263
|
+
net-pop (0.1.2)
|
264
|
+
net-protocol
|
256
265
|
net-protocol (0.1.3)
|
257
266
|
timeout
|
258
267
|
net-smtp (0.3.3)
|
259
268
|
net-protocol
|
260
269
|
nio4r (2.5.8)
|
261
|
-
nokogiri (1.
|
270
|
+
nokogiri (1.14.1)
|
262
271
|
mini_portile2 (~> 2.8.0)
|
263
272
|
racc (~> 1.4)
|
264
|
-
nokogiri (1.
|
273
|
+
nokogiri (1.14.1-x86_64-linux)
|
265
274
|
racc (~> 1.4)
|
266
275
|
orm_adapter (0.5.0)
|
267
276
|
pagy (6.0.1)
|
@@ -274,24 +283,24 @@ GEM
|
|
274
283
|
nio4r (~> 2.0)
|
275
284
|
pundit (2.2.0)
|
276
285
|
activesupport (>= 3.0.0)
|
277
|
-
racc (1.6.
|
278
|
-
rack (2.2.
|
286
|
+
racc (1.6.2)
|
287
|
+
rack (2.2.6.2)
|
279
288
|
rack-test (2.0.2)
|
280
289
|
rack (>= 1.3)
|
281
|
-
rails (6.1.
|
282
|
-
actioncable (= 6.1.
|
283
|
-
actionmailbox (= 6.1.
|
284
|
-
actionmailer (= 6.1.
|
285
|
-
actionpack (= 6.1.
|
286
|
-
actiontext (= 6.1.
|
287
|
-
actionview (= 6.1.
|
288
|
-
activejob (= 6.1.
|
289
|
-
activemodel (= 6.1.
|
290
|
-
activerecord (= 6.1.
|
291
|
-
activestorage (= 6.1.
|
292
|
-
activesupport (= 6.1.
|
290
|
+
rails (6.1.7.2)
|
291
|
+
actioncable (= 6.1.7.2)
|
292
|
+
actionmailbox (= 6.1.7.2)
|
293
|
+
actionmailer (= 6.1.7.2)
|
294
|
+
actionpack (= 6.1.7.2)
|
295
|
+
actiontext (= 6.1.7.2)
|
296
|
+
actionview (= 6.1.7.2)
|
297
|
+
activejob (= 6.1.7.2)
|
298
|
+
activemodel (= 6.1.7.2)
|
299
|
+
activerecord (= 6.1.7.2)
|
300
|
+
activestorage (= 6.1.7.2)
|
301
|
+
activesupport (= 6.1.7.2)
|
293
302
|
bundler (>= 1.15.0)
|
294
|
-
railties (= 6.1.
|
303
|
+
railties (= 6.1.7.2)
|
295
304
|
sprockets-rails (>= 2.0.0)
|
296
305
|
rails-controller-testing (1.0.5)
|
297
306
|
actionpack (>= 5.0.1.rc1)
|
@@ -300,14 +309,14 @@ GEM
|
|
300
309
|
rails-dom-testing (2.0.3)
|
301
310
|
activesupport (>= 4.2.0)
|
302
311
|
nokogiri (>= 1.6)
|
303
|
-
rails-html-sanitizer (1.
|
312
|
+
rails-html-sanitizer (1.5.0)
|
304
313
|
loofah (~> 2.19, >= 2.19.1)
|
305
314
|
rails-i18n (7.0.5)
|
306
315
|
i18n (>= 0.7, < 2)
|
307
316
|
railties (>= 6.0.0, < 8)
|
308
|
-
railties (6.1.
|
309
|
-
actionpack (= 6.1.
|
310
|
-
activesupport (= 6.1.
|
317
|
+
railties (6.1.7.2)
|
318
|
+
actionpack (= 6.1.7.2)
|
319
|
+
activesupport (= 6.1.7.2)
|
311
320
|
method_source
|
312
321
|
rake (>= 12.2)
|
313
322
|
thor (~> 1.0)
|
@@ -404,7 +413,7 @@ GEM
|
|
404
413
|
actionpack (>= 6.0.0)
|
405
414
|
activejob (>= 6.0.0)
|
406
415
|
railties (>= 6.0.0)
|
407
|
-
tzinfo (2.0.
|
416
|
+
tzinfo (2.0.6)
|
408
417
|
concurrent-ruby (~> 1.0)
|
409
418
|
unicode-display_width (2.4.0)
|
410
419
|
view_component (2.82.0)
|
@@ -431,7 +440,7 @@ GEM
|
|
431
440
|
websocket-extensions (0.1.5)
|
432
441
|
xpath (3.2.0)
|
433
442
|
nokogiri (~> 1.8)
|
434
|
-
zeitwerk (2.6.
|
443
|
+
zeitwerk (2.6.6)
|
435
444
|
|
436
445
|
PLATFORMS
|
437
446
|
ruby
|
data/lib/avo/base_card.rb
CHANGED
@@ -89,7 +89,6 @@ module Avo
|
|
89
89
|
5 => " h-[45rem]",
|
90
90
|
6 => " h-[54rem]"
|
91
91
|
}
|
92
|
-
# puts ["cols->", cols, classes_for_cols, classes_for_rows, classes_for_cols[cols.to_i]].inspect
|
93
92
|
|
94
93
|
result += classes_for_cols[cols.to_i] if classes_for_cols[cols.to_i].present?
|
95
94
|
result += classes_for_rows[rows.to_i] if classes_for_rows[rows.to_i].present?
|
@@ -98,9 +97,9 @@ module Avo
|
|
98
97
|
end
|
99
98
|
|
100
99
|
def type
|
101
|
-
return :metric if
|
102
|
-
return :chartkick if
|
103
|
-
return :partial if
|
100
|
+
return :metric if is_a?(::Avo::Dashboards::MetricCard)
|
101
|
+
return :chartkick if is_a?(::Avo::Dashboards::ChartkickCard)
|
102
|
+
return :partial if is_a?(::Avo::Dashboards::PartialCard)
|
104
103
|
end
|
105
104
|
|
106
105
|
def compute_result
|
data/lib/avo/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.26.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adrian Marin
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-02-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|