avo 2.39.0 → 2.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +2 -2
- data/Gemfile.lock +79 -78
- data/app/components/avo/fields/common/badge_viewer_component.html.erb +1 -0
- data/db/factories.rb +1 -1
- data/lib/avo/fields/badge_field.rb +1 -1
- data/lib/avo/fields/field_extensions/visible_in_different_views.rb +1 -1
- 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: 2935789c3103001a7d5343604f30ff038dcf422fb19d43dce8920dc47e8d00ec
|
|
4
|
+
data.tar.gz: 7a85085fb748a296e03677cf52b640f029da373ed2763d8cff3e33c30db58608
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 936d25a1817837a8192dca5db6a1b11b1a473023c367ea66ac5bcb48b47a715eb64d1e69ae499866b1364327abfb33dc04d7bd977d2bd6a7b6562890f1b51138
|
|
7
|
+
data.tar.gz: 90fd512c9a60ef5c58be02884a476dd3bbcc970837920e46cfd51fc7ae3f6db580296d71478f3bb39bd43d68fe3dc1917aa30733a5d98577d600c9176560a80c
|
data/Gemfile
CHANGED
|
@@ -91,10 +91,10 @@ group :test do
|
|
|
91
91
|
gem "rspec-rails", "~> 4.0.0"
|
|
92
92
|
gem "rails-controller-testing"
|
|
93
93
|
# Adds support for Capybara system testing and selenium driver
|
|
94
|
-
gem "capybara"
|
|
94
|
+
gem "capybara"
|
|
95
95
|
gem "selenium-webdriver"
|
|
96
96
|
# Easy installation and use of web drivers to run system tests with browsers
|
|
97
|
-
gem "webdrivers"
|
|
97
|
+
gem "webdrivers", ">= 5.3.0"
|
|
98
98
|
gem "fuubar"
|
|
99
99
|
gem "simplecov", require: false
|
|
100
100
|
gem "simplecov-cobertura"
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
avo (2.
|
|
4
|
+
avo (2.40.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.7.
|
|
23
|
-
actionpack (= 6.1.7.
|
|
24
|
-
activesupport (= 6.1.7.
|
|
22
|
+
actioncable (6.1.7.6)
|
|
23
|
+
actionpack (= 6.1.7.6)
|
|
24
|
+
activesupport (= 6.1.7.6)
|
|
25
25
|
nio4r (~> 2.0)
|
|
26
26
|
websocket-driver (>= 0.6.1)
|
|
27
|
-
actionmailbox (6.1.7.
|
|
28
|
-
actionpack (= 6.1.7.
|
|
29
|
-
activejob (= 6.1.7.
|
|
30
|
-
activerecord (= 6.1.7.
|
|
31
|
-
activestorage (= 6.1.7.
|
|
32
|
-
activesupport (= 6.1.7.
|
|
27
|
+
actionmailbox (6.1.7.6)
|
|
28
|
+
actionpack (= 6.1.7.6)
|
|
29
|
+
activejob (= 6.1.7.6)
|
|
30
|
+
activerecord (= 6.1.7.6)
|
|
31
|
+
activestorage (= 6.1.7.6)
|
|
32
|
+
activesupport (= 6.1.7.6)
|
|
33
33
|
mail (>= 2.7.1)
|
|
34
|
-
actionmailer (6.1.7.
|
|
35
|
-
actionpack (= 6.1.7.
|
|
36
|
-
actionview (= 6.1.7.
|
|
37
|
-
activejob (= 6.1.7.
|
|
38
|
-
activesupport (= 6.1.7.
|
|
34
|
+
actionmailer (6.1.7.6)
|
|
35
|
+
actionpack (= 6.1.7.6)
|
|
36
|
+
actionview (= 6.1.7.6)
|
|
37
|
+
activejob (= 6.1.7.6)
|
|
38
|
+
activesupport (= 6.1.7.6)
|
|
39
39
|
mail (~> 2.5, >= 2.5.4)
|
|
40
40
|
rails-dom-testing (~> 2.0)
|
|
41
|
-
actionpack (6.1.7.
|
|
42
|
-
actionview (= 6.1.7.
|
|
43
|
-
activesupport (= 6.1.7.
|
|
41
|
+
actionpack (6.1.7.6)
|
|
42
|
+
actionview (= 6.1.7.6)
|
|
43
|
+
activesupport (= 6.1.7.6)
|
|
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.7.
|
|
49
|
-
actionpack (= 6.1.7.
|
|
50
|
-
activerecord (= 6.1.7.
|
|
51
|
-
activestorage (= 6.1.7.
|
|
52
|
-
activesupport (= 6.1.7.
|
|
48
|
+
actiontext (6.1.7.6)
|
|
49
|
+
actionpack (= 6.1.7.6)
|
|
50
|
+
activerecord (= 6.1.7.6)
|
|
51
|
+
activestorage (= 6.1.7.6)
|
|
52
|
+
activesupport (= 6.1.7.6)
|
|
53
53
|
nokogiri (>= 1.8.5)
|
|
54
|
-
actionview (6.1.7.
|
|
55
|
-
activesupport (= 6.1.7.
|
|
54
|
+
actionview (6.1.7.6)
|
|
55
|
+
activesupport (= 6.1.7.6)
|
|
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.7.
|
|
66
|
-
activesupport (= 6.1.7.
|
|
65
|
+
activejob (6.1.7.6)
|
|
66
|
+
activesupport (= 6.1.7.6)
|
|
67
67
|
globalid (>= 0.3.6)
|
|
68
|
-
activemodel (6.1.7.
|
|
69
|
-
activesupport (= 6.1.7.
|
|
70
|
-
activerecord (6.1.7.
|
|
71
|
-
activemodel (= 6.1.7.
|
|
72
|
-
activesupport (= 6.1.7.
|
|
73
|
-
activestorage (6.1.7.
|
|
74
|
-
actionpack (= 6.1.7.
|
|
75
|
-
activejob (= 6.1.7.
|
|
76
|
-
activerecord (= 6.1.7.
|
|
77
|
-
activesupport (= 6.1.7.
|
|
68
|
+
activemodel (6.1.7.6)
|
|
69
|
+
activesupport (= 6.1.7.6)
|
|
70
|
+
activerecord (6.1.7.6)
|
|
71
|
+
activemodel (= 6.1.7.6)
|
|
72
|
+
activesupport (= 6.1.7.6)
|
|
73
|
+
activestorage (6.1.7.6)
|
|
74
|
+
actionpack (= 6.1.7.6)
|
|
75
|
+
activejob (= 6.1.7.6)
|
|
76
|
+
activerecord (= 6.1.7.6)
|
|
77
|
+
activesupport (= 6.1.7.6)
|
|
78
78
|
marcel (~> 1.0)
|
|
79
79
|
mini_mime (>= 1.1.0)
|
|
80
|
-
activesupport (6.1.7.
|
|
80
|
+
activesupport (6.1.7.6)
|
|
81
81
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
82
82
|
i18n (>= 1.6, < 2)
|
|
83
83
|
minitest (>= 5.1)
|
|
@@ -87,7 +87,7 @@ GEM
|
|
|
87
87
|
activerecord (>= 6.0, < 7.1)
|
|
88
88
|
acts_as_list (1.1.0)
|
|
89
89
|
activerecord (>= 4.2)
|
|
90
|
-
addressable (2.8.
|
|
90
|
+
addressable (2.8.5)
|
|
91
91
|
public_suffix (>= 2.0.2, < 6.0)
|
|
92
92
|
annotate (3.2.0)
|
|
93
93
|
activerecord (>= 3.2, < 8.0)
|
|
@@ -131,7 +131,7 @@ GEM
|
|
|
131
131
|
bump (0.10.0)
|
|
132
132
|
bundler-integrity (1.0.9)
|
|
133
133
|
byebug (11.1.3)
|
|
134
|
-
capybara (3.
|
|
134
|
+
capybara (3.39.2)
|
|
135
135
|
addressable
|
|
136
136
|
matrix
|
|
137
137
|
mini_mime (>= 0.1.3)
|
|
@@ -141,7 +141,6 @@ GEM
|
|
|
141
141
|
regexp_parser (>= 1.5, < 3.0)
|
|
142
142
|
xpath (~> 3.2)
|
|
143
143
|
chartkick (4.2.1)
|
|
144
|
-
childprocess (4.1.0)
|
|
145
144
|
concurrent-ruby (1.2.2)
|
|
146
145
|
countries (4.2.3)
|
|
147
146
|
i18n_data (~> 0.16.0)
|
|
@@ -254,12 +253,12 @@ GEM
|
|
|
254
253
|
actionpack (>= 3.2.0, < 7.1)
|
|
255
254
|
method_source (1.0.0)
|
|
256
255
|
mini_magick (4.12.0)
|
|
257
|
-
mini_mime (1.1.
|
|
258
|
-
mini_portile2 (2.8.
|
|
256
|
+
mini_mime (1.1.5)
|
|
257
|
+
mini_portile2 (2.8.4)
|
|
259
258
|
minitest (5.19.0)
|
|
260
259
|
msgpack (1.5.6)
|
|
261
260
|
multi_xml (0.6.0)
|
|
262
|
-
net-imap (0.3.
|
|
261
|
+
net-imap (0.3.7)
|
|
263
262
|
date
|
|
264
263
|
net-protocol
|
|
265
264
|
net-pop (0.1.2)
|
|
@@ -269,10 +268,10 @@ GEM
|
|
|
269
268
|
net-smtp (0.3.3)
|
|
270
269
|
net-protocol
|
|
271
270
|
nio4r (2.5.9)
|
|
272
|
-
nokogiri (1.15.
|
|
271
|
+
nokogiri (1.15.4)
|
|
273
272
|
mini_portile2 (~> 2.8.2)
|
|
274
273
|
racc (~> 1.4)
|
|
275
|
-
nokogiri (1.15.
|
|
274
|
+
nokogiri (1.15.4-x86_64-linux)
|
|
276
275
|
racc (~> 1.4)
|
|
277
276
|
orm_adapter (0.5.0)
|
|
278
277
|
pagy (6.0.4)
|
|
@@ -283,36 +282,37 @@ GEM
|
|
|
283
282
|
prefixed_ids (1.4.0)
|
|
284
283
|
hashids (>= 1.0.0, < 2.0.0)
|
|
285
284
|
rails (>= 6.0.0)
|
|
286
|
-
public_suffix (5.0.
|
|
287
|
-
puma (5.6.
|
|
285
|
+
public_suffix (5.0.3)
|
|
286
|
+
puma (5.6.7)
|
|
288
287
|
nio4r (~> 2.0)
|
|
289
288
|
pundit (2.2.0)
|
|
290
289
|
activesupport (>= 3.0.0)
|
|
291
290
|
racc (1.7.1)
|
|
292
|
-
rack (2.2.
|
|
291
|
+
rack (2.2.8)
|
|
293
292
|
rack-test (2.1.0)
|
|
294
293
|
rack (>= 1.3)
|
|
295
|
-
rails (6.1.7.
|
|
296
|
-
actioncable (= 6.1.7.
|
|
297
|
-
actionmailbox (= 6.1.7.
|
|
298
|
-
actionmailer (= 6.1.7.
|
|
299
|
-
actionpack (= 6.1.7.
|
|
300
|
-
actiontext (= 6.1.7.
|
|
301
|
-
actionview (= 6.1.7.
|
|
302
|
-
activejob (= 6.1.7.
|
|
303
|
-
activemodel (= 6.1.7.
|
|
304
|
-
activerecord (= 6.1.7.
|
|
305
|
-
activestorage (= 6.1.7.
|
|
306
|
-
activesupport (= 6.1.7.
|
|
294
|
+
rails (6.1.7.6)
|
|
295
|
+
actioncable (= 6.1.7.6)
|
|
296
|
+
actionmailbox (= 6.1.7.6)
|
|
297
|
+
actionmailer (= 6.1.7.6)
|
|
298
|
+
actionpack (= 6.1.7.6)
|
|
299
|
+
actiontext (= 6.1.7.6)
|
|
300
|
+
actionview (= 6.1.7.6)
|
|
301
|
+
activejob (= 6.1.7.6)
|
|
302
|
+
activemodel (= 6.1.7.6)
|
|
303
|
+
activerecord (= 6.1.7.6)
|
|
304
|
+
activestorage (= 6.1.7.6)
|
|
305
|
+
activesupport (= 6.1.7.6)
|
|
307
306
|
bundler (>= 1.15.0)
|
|
308
|
-
railties (= 6.1.7.
|
|
307
|
+
railties (= 6.1.7.6)
|
|
309
308
|
sprockets-rails (>= 2.0.0)
|
|
310
309
|
rails-controller-testing (1.0.5)
|
|
311
310
|
actionpack (>= 5.0.1.rc1)
|
|
312
311
|
actionview (>= 5.0.1.rc1)
|
|
313
312
|
activesupport (>= 5.0.1.rc1)
|
|
314
|
-
rails-dom-testing (2.0
|
|
315
|
-
activesupport (>=
|
|
313
|
+
rails-dom-testing (2.2.0)
|
|
314
|
+
activesupport (>= 5.0.0)
|
|
315
|
+
minitest
|
|
316
316
|
nokogiri (>= 1.6)
|
|
317
317
|
rails-html-sanitizer (1.6.0)
|
|
318
318
|
loofah (~> 2.21)
|
|
@@ -320,9 +320,9 @@ GEM
|
|
|
320
320
|
rails-i18n (7.0.5)
|
|
321
321
|
i18n (>= 0.7, < 2)
|
|
322
322
|
railties (>= 6.0.0, < 8)
|
|
323
|
-
railties (6.1.7.
|
|
324
|
-
actionpack (= 6.1.7.
|
|
325
|
-
activesupport (= 6.1.7.
|
|
323
|
+
railties (6.1.7.6)
|
|
324
|
+
actionpack (= 6.1.7.6)
|
|
325
|
+
activesupport (= 6.1.7.6)
|
|
326
326
|
method_source
|
|
327
327
|
rake (>= 12.2)
|
|
328
328
|
thor (~> 1.0)
|
|
@@ -336,11 +336,11 @@ GEM
|
|
|
336
336
|
rb-inotify (0.10.1)
|
|
337
337
|
ffi (~> 1.0)
|
|
338
338
|
redis (4.8.1)
|
|
339
|
-
regexp_parser (2.
|
|
339
|
+
regexp_parser (2.8.1)
|
|
340
340
|
responders (3.0.1)
|
|
341
341
|
actionpack (>= 5.0)
|
|
342
342
|
railties (>= 5.0)
|
|
343
|
-
rexml (3.2.
|
|
343
|
+
rexml (3.2.6)
|
|
344
344
|
rspec-core (3.11.0)
|
|
345
345
|
rspec-support (~> 3.11.0)
|
|
346
346
|
rspec-expectations (3.11.1)
|
|
@@ -381,10 +381,10 @@ GEM
|
|
|
381
381
|
ruby-vips (2.1.4)
|
|
382
382
|
ffi (~> 1.12)
|
|
383
383
|
rubyzip (2.3.2)
|
|
384
|
-
selenium-webdriver (4.
|
|
385
|
-
childprocess (>= 0.5, < 5.0)
|
|
384
|
+
selenium-webdriver (4.10.0)
|
|
386
385
|
rexml (~> 3.2, >= 3.2.5)
|
|
387
|
-
rubyzip (>= 1.2.2)
|
|
386
|
+
rubyzip (>= 1.2.2, < 3.0)
|
|
387
|
+
websocket (~> 1.0)
|
|
388
388
|
simple_po_parser (1.1.6)
|
|
389
389
|
simplecov (0.22.0)
|
|
390
390
|
docile (~> 1.1)
|
|
@@ -433,15 +433,16 @@ GEM
|
|
|
433
433
|
activemodel (>= 6.0.0)
|
|
434
434
|
bindex (>= 0.4.0)
|
|
435
435
|
railties (>= 6.0.0)
|
|
436
|
-
webdrivers (5.
|
|
436
|
+
webdrivers (5.3.1)
|
|
437
437
|
nokogiri (~> 1.6)
|
|
438
438
|
rubyzip (>= 1.3.0)
|
|
439
|
-
selenium-webdriver (~> 4.0)
|
|
439
|
+
selenium-webdriver (~> 4.0, < 4.11)
|
|
440
440
|
webmock (3.18.1)
|
|
441
441
|
addressable (>= 2.8.0)
|
|
442
442
|
crack (>= 0.3.2)
|
|
443
443
|
hashdiff (>= 0.4.0, < 2.0.0)
|
|
444
|
-
websocket
|
|
444
|
+
websocket (1.2.9)
|
|
445
|
+
websocket-driver (0.7.6)
|
|
445
446
|
websocket-extensions (>= 0.1.0)
|
|
446
447
|
websocket-extensions (0.1.5)
|
|
447
448
|
xpath (3.2.0)
|
|
@@ -469,7 +470,7 @@ DEPENDENCIES
|
|
|
469
470
|
bump
|
|
470
471
|
bundler-integrity (~> 1.0)
|
|
471
472
|
byebug
|
|
472
|
-
capybara
|
|
473
|
+
capybara
|
|
473
474
|
chartkick
|
|
474
475
|
countries
|
|
475
476
|
cssbundling-rails
|
|
@@ -519,9 +520,9 @@ DEPENDENCIES
|
|
|
519
520
|
test-prof
|
|
520
521
|
tzinfo-data
|
|
521
522
|
web-console (>= 3.3.0)
|
|
522
|
-
webdrivers
|
|
523
|
+
webdrivers (>= 5.3.0)
|
|
523
524
|
webmock
|
|
524
525
|
zeitwerk
|
|
525
526
|
|
|
526
527
|
BUNDLED WITH
|
|
527
|
-
2.4.
|
|
528
|
+
2.4.18
|
data/db/factories.rb
CHANGED
|
@@ -32,7 +32,7 @@ FactoryBot.define do
|
|
|
32
32
|
factory :project do
|
|
33
33
|
name { Faker::App.name }
|
|
34
34
|
status { ['closed', :rejected, :failed, 'loading', :running, :waiting].sample }
|
|
35
|
-
stage { ["Discovery", "Idea", "Done", "On hold", "Cancelled"].sample }
|
|
35
|
+
stage { ["Discovery", "Idea", "Done", "On hold", "Cancelled", "Drafting"].sample }
|
|
36
36
|
budget { Faker::Number.decimal(l_digits: 4) }
|
|
37
37
|
country { Faker::Address.country_code }
|
|
38
38
|
description { Faker::Markdown.sandwich(sentences: 5) }
|
|
@@ -8,7 +8,7 @@ module Avo
|
|
|
8
8
|
|
|
9
9
|
hide_on [:edit, :new]
|
|
10
10
|
|
|
11
|
-
default_options = {info: :info, success: :success, danger: :danger, warning: :warning}
|
|
11
|
+
default_options = {info: :info, success: :success, danger: :danger, warning: :warning, secondary: :secondary}
|
|
12
12
|
@options = args[:options].present? ? default_options.merge(args[:options]) : default_options
|
|
13
13
|
end
|
|
14
14
|
end
|
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.40.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-08-
|
|
12
|
+
date: 2023-08-29 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activerecord
|