avo 1.18.0.pre.3 → 1.18.2
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 +4 -2
- data/Gemfile.lock +193 -169
- data/app/components/avo/fields/common/multiple_file_viewer_component.html.erb +0 -2
- data/app/components/avo/fields/text_field/index_component.html.erb +5 -1
- data/app/components/avo/fields/text_field/show_component.html.erb +5 -1
- data/app/components/avo/index/resource_controls_component.rb +1 -1
- data/app/components/avo/views/resource_edit_component.html.erb +1 -1
- data/app/controllers/avo/application_controller.rb +5 -19
- data/app/controllers/avo/attachments_controller.rb +2 -1
- data/app/helpers/avo/application_helper.rb +18 -0
- data/app/views/avo/partials/_profile_dropdown.html.erb +7 -5
- data/db/factories.rb +9 -0
- data/lib/avo/app.rb +8 -4
- data/lib/avo/base_resource.rb +9 -2
- data/lib/avo/configuration.rb +2 -0
- data/lib/avo/fields/files_field.rb +0 -2
- data/lib/avo/fields/text_field.rb +2 -0
- data/lib/avo/version.rb +1 -1
- data/public/avo-packs/css/application-f9191617.css.map +1 -1
- data/public/avo-packs/css/application-f9191617.css.map.br +0 -0
- data/public/avo-packs/css/application-f9191617.css.map.gz +0 -0
- data/public/avo-packs/js/application-cc89f096028eb1d4d971.js.map +1 -1
- data/public/avo-packs/js/application-cc89f096028eb1d4d971.js.map.br +0 -0
- data/public/avo-packs/js/application-cc89f096028eb1d4d971.js.map.gz +0 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a9e6624587295b46f8f052da4cb2b6ffb8faff958d1de9ab0fe2eb98a58c05c
|
4
|
+
data.tar.gz: 1010b48e463a388d0b20e3348de1c49f8468d63c2a14d78fe9ca4a9ad5c87e3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d18de447e0138f28d1ceb806bf16968b88dc81c0f1b097fee892bda8b19259a8df939c3fe3060e963a0f1f04e2696f3706b1f68a42b92c2e1f53a48e09788518
|
7
|
+
data.tar.gz: 91d9ec101ce25c6dba5300a054476ef8fef432cfe18d6140b0f6ff92a73be95fca213a549af6c38bfd7e3f392822ad6feaeea2fff77f208395137f063e3b7594
|
data/Gemfile
CHANGED
@@ -15,7 +15,7 @@ gemspec
|
|
15
15
|
# gem 'byebug', group: [:development, :test]
|
16
16
|
|
17
17
|
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
|
18
|
-
gem "webpacker", "6.0.0.
|
18
|
+
gem "webpacker", "6.0.0.rc.6"
|
19
19
|
|
20
20
|
gem "countries"
|
21
21
|
|
@@ -131,4 +131,6 @@ gem 'ransack'
|
|
131
131
|
|
132
132
|
gem 'friendly_id', '~> 5.4.0'
|
133
133
|
|
134
|
-
gem
|
134
|
+
gem 'aws-sdk-s3', require: false
|
135
|
+
|
136
|
+
gem 'net-smtp', require: false
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
avo (1.18.
|
4
|
+
avo (1.18.2)
|
5
5
|
active_link_to
|
6
6
|
addressable
|
7
7
|
breadcrumbs_on_rails
|
@@ -20,40 +20,40 @@ PATH
|
|
20
20
|
GEM
|
21
21
|
remote: https://rubygems.org/
|
22
22
|
specs:
|
23
|
-
actioncable (6.1.
|
24
|
-
actionpack (= 6.1.
|
25
|
-
activesupport (= 6.1.
|
23
|
+
actioncable (6.1.4.4)
|
24
|
+
actionpack (= 6.1.4.4)
|
25
|
+
activesupport (= 6.1.4.4)
|
26
26
|
nio4r (~> 2.0)
|
27
27
|
websocket-driver (>= 0.6.1)
|
28
|
-
actionmailbox (6.1.
|
29
|
-
actionpack (= 6.1.
|
30
|
-
activejob (= 6.1.
|
31
|
-
activerecord (= 6.1.
|
32
|
-
activestorage (= 6.1.
|
33
|
-
activesupport (= 6.1.
|
28
|
+
actionmailbox (6.1.4.4)
|
29
|
+
actionpack (= 6.1.4.4)
|
30
|
+
activejob (= 6.1.4.4)
|
31
|
+
activerecord (= 6.1.4.4)
|
32
|
+
activestorage (= 6.1.4.4)
|
33
|
+
activesupport (= 6.1.4.4)
|
34
34
|
mail (>= 2.7.1)
|
35
|
-
actionmailer (6.1.
|
36
|
-
actionpack (= 6.1.
|
37
|
-
actionview (= 6.1.
|
38
|
-
activejob (= 6.1.
|
39
|
-
activesupport (= 6.1.
|
35
|
+
actionmailer (6.1.4.4)
|
36
|
+
actionpack (= 6.1.4.4)
|
37
|
+
actionview (= 6.1.4.4)
|
38
|
+
activejob (= 6.1.4.4)
|
39
|
+
activesupport (= 6.1.4.4)
|
40
40
|
mail (~> 2.5, >= 2.5.4)
|
41
41
|
rails-dom-testing (~> 2.0)
|
42
|
-
actionpack (6.1.
|
43
|
-
actionview (= 6.1.
|
44
|
-
activesupport (= 6.1.
|
42
|
+
actionpack (6.1.4.4)
|
43
|
+
actionview (= 6.1.4.4)
|
44
|
+
activesupport (= 6.1.4.4)
|
45
45
|
rack (~> 2.0, >= 2.0.9)
|
46
46
|
rack-test (>= 0.6.3)
|
47
47
|
rails-dom-testing (~> 2.0)
|
48
48
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
49
|
-
actiontext (6.1.
|
50
|
-
actionpack (= 6.1.
|
51
|
-
activerecord (= 6.1.
|
52
|
-
activestorage (= 6.1.
|
53
|
-
activesupport (= 6.1.
|
49
|
+
actiontext (6.1.4.4)
|
50
|
+
actionpack (= 6.1.4.4)
|
51
|
+
activerecord (= 6.1.4.4)
|
52
|
+
activestorage (= 6.1.4.4)
|
53
|
+
activesupport (= 6.1.4.4)
|
54
54
|
nokogiri (>= 1.8.5)
|
55
|
-
actionview (6.1.
|
56
|
-
activesupport (= 6.1.
|
55
|
+
actionview (6.1.4.4)
|
56
|
+
activesupport (= 6.1.4.4)
|
57
57
|
builder (~> 3.1)
|
58
58
|
erubi (~> 1.4)
|
59
59
|
rails-dom-testing (~> 2.0)
|
@@ -61,22 +61,22 @@ GEM
|
|
61
61
|
active_link_to (1.0.5)
|
62
62
|
actionpack
|
63
63
|
addressable
|
64
|
-
activejob (6.1.
|
65
|
-
activesupport (= 6.1.
|
64
|
+
activejob (6.1.4.4)
|
65
|
+
activesupport (= 6.1.4.4)
|
66
66
|
globalid (>= 0.3.6)
|
67
|
-
activemodel (6.1.
|
68
|
-
activesupport (= 6.1.
|
69
|
-
activerecord (6.1.
|
70
|
-
activemodel (= 6.1.
|
71
|
-
activesupport (= 6.1.
|
72
|
-
activestorage (6.1.
|
73
|
-
actionpack (= 6.1.
|
74
|
-
activejob (= 6.1.
|
75
|
-
activerecord (= 6.1.
|
76
|
-
activesupport (= 6.1.
|
67
|
+
activemodel (6.1.4.4)
|
68
|
+
activesupport (= 6.1.4.4)
|
69
|
+
activerecord (6.1.4.4)
|
70
|
+
activemodel (= 6.1.4.4)
|
71
|
+
activesupport (= 6.1.4.4)
|
72
|
+
activestorage (6.1.4.4)
|
73
|
+
actionpack (= 6.1.4.4)
|
74
|
+
activejob (= 6.1.4.4)
|
75
|
+
activerecord (= 6.1.4.4)
|
76
|
+
activesupport (= 6.1.4.4)
|
77
77
|
marcel (~> 1.0.0)
|
78
|
-
mini_mime (
|
79
|
-
activesupport (6.1.
|
78
|
+
mini_mime (>= 1.1.0)
|
79
|
+
activesupport (6.1.4.4)
|
80
80
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
81
81
|
i18n (>= 1.6, < 2)
|
82
82
|
minitest (>= 5.1)
|
@@ -84,104 +84,114 @@ GEM
|
|
84
84
|
zeitwerk (~> 2.3)
|
85
85
|
addressable (2.8.0)
|
86
86
|
public_suffix (>= 2.0.2, < 5.0)
|
87
|
-
appraisal (2.4.
|
87
|
+
appraisal (2.4.1)
|
88
88
|
bundler
|
89
89
|
rake
|
90
90
|
thor (>= 0.14.0)
|
91
91
|
ast (2.4.2)
|
92
|
-
aws-eventstream (1.
|
93
|
-
aws-partitions (1.
|
94
|
-
aws-sdk-core (3.
|
92
|
+
aws-eventstream (1.2.0)
|
93
|
+
aws-partitions (1.547.0)
|
94
|
+
aws-sdk-core (3.125.2)
|
95
95
|
aws-eventstream (~> 1, >= 1.0.2)
|
96
|
-
aws-partitions (~> 1, >= 1.
|
96
|
+
aws-partitions (~> 1, >= 1.525.0)
|
97
97
|
aws-sigv4 (~> 1.1)
|
98
98
|
jmespath (~> 1.0)
|
99
|
-
aws-sdk-kms (1.
|
100
|
-
aws-sdk-core (~> 3, >= 3.
|
99
|
+
aws-sdk-kms (1.53.0)
|
100
|
+
aws-sdk-core (~> 3, >= 3.125.0)
|
101
101
|
aws-sigv4 (~> 1.1)
|
102
|
-
aws-sdk-s3 (1.
|
103
|
-
aws-sdk-core (~> 3, >= 3.
|
102
|
+
aws-sdk-s3 (1.111.1)
|
103
|
+
aws-sdk-core (~> 3, >= 3.125.0)
|
104
104
|
aws-sdk-kms (~> 1)
|
105
|
-
aws-sigv4 (~> 1.
|
106
|
-
aws-sigv4 (1.
|
105
|
+
aws-sigv4 (~> 1.4)
|
106
|
+
aws-sigv4 (1.4.0)
|
107
107
|
aws-eventstream (~> 1, >= 1.0.2)
|
108
108
|
bcrypt (3.1.16)
|
109
109
|
bindex (0.8.1)
|
110
110
|
bootsnap (1.9.3)
|
111
111
|
msgpack (~> 1.0)
|
112
|
-
breadcrumbs_on_rails (4.
|
113
|
-
|
112
|
+
breadcrumbs_on_rails (4.1.0)
|
113
|
+
railties (>= 5.0)
|
114
114
|
builder (3.2.4)
|
115
|
-
bump (0.
|
115
|
+
bump (0.10.0)
|
116
116
|
byebug (11.1.3)
|
117
|
-
capybara (3.
|
117
|
+
capybara (3.36.0)
|
118
118
|
addressable
|
119
|
+
matrix
|
119
120
|
mini_mime (>= 0.1.3)
|
120
121
|
nokogiri (~> 1.8)
|
121
122
|
rack (>= 1.6.0)
|
122
123
|
rack-test (>= 0.6.3)
|
123
|
-
regexp_parser (
|
124
|
+
regexp_parser (>= 1.5, < 3.0)
|
124
125
|
xpath (~> 3.2)
|
125
|
-
childprocess (
|
126
|
+
childprocess (4.1.0)
|
126
127
|
concurrent-ruby (1.1.9)
|
127
|
-
countries (
|
128
|
-
i18n_data (~> 0.
|
128
|
+
countries (4.1.3)
|
129
|
+
i18n_data (~> 0.15.0)
|
129
130
|
sixarm_ruby_unaccent (~> 1.1)
|
130
|
-
|
131
|
-
|
131
|
+
crack (0.4.5)
|
132
|
+
rexml
|
132
133
|
crass (1.0.6)
|
133
|
-
database_cleaner (
|
134
|
+
database_cleaner (2.0.1)
|
135
|
+
database_cleaner-active_record (~> 2.0.0)
|
136
|
+
database_cleaner-active_record (2.0.1)
|
137
|
+
activerecord (>= 5.a)
|
138
|
+
database_cleaner-core (~> 2.0.0)
|
139
|
+
database_cleaner-core (2.0.1)
|
134
140
|
devise (4.8.1)
|
135
141
|
bcrypt (~> 3.0)
|
136
142
|
orm_adapter (~> 0.1)
|
137
143
|
railties (>= 4.1.0)
|
138
144
|
responders
|
139
145
|
warden (~> 1.2.3)
|
140
|
-
diff-lcs (1.
|
141
|
-
|
146
|
+
diff-lcs (1.5.0)
|
147
|
+
digest (3.1.0)
|
148
|
+
docile (1.4.0)
|
142
149
|
dotenv (2.7.6)
|
143
150
|
dotenv-rails (2.7.6)
|
144
151
|
dotenv (= 2.7.6)
|
145
152
|
railties (>= 3.2)
|
146
153
|
erubi (1.10.0)
|
147
|
-
factory_bot (6.
|
154
|
+
factory_bot (6.2.0)
|
148
155
|
activesupport (>= 5.0.0)
|
149
|
-
factory_bot_rails (6.
|
150
|
-
factory_bot (~> 6.
|
156
|
+
factory_bot_rails (6.2.0)
|
157
|
+
factory_bot (~> 6.2.0)
|
151
158
|
railties (>= 5.0.0)
|
152
|
-
faker (2.
|
159
|
+
faker (2.19.0)
|
153
160
|
i18n (>= 1.6, < 2)
|
154
|
-
ffi (1.15.
|
161
|
+
ffi (1.15.5)
|
155
162
|
friendly_id (5.4.2)
|
156
163
|
activerecord (>= 4.0.0)
|
157
|
-
fuubar (2.5.
|
164
|
+
fuubar (2.5.1)
|
158
165
|
rspec-core (~> 3.0)
|
159
166
|
ruby-progressbar (~> 1.4)
|
160
|
-
gem-release (2.
|
161
|
-
globalid (0.
|
162
|
-
activesupport (>=
|
167
|
+
gem-release (2.2.2)
|
168
|
+
globalid (1.0.0)
|
169
|
+
activesupport (>= 5.0)
|
163
170
|
hashdiff (1.0.1)
|
164
171
|
hotwire-rails (0.1.3)
|
165
172
|
rails (>= 6.0.0)
|
166
173
|
stimulus-rails
|
167
174
|
turbo-rails
|
168
|
-
httparty (0.
|
175
|
+
httparty (0.20.0)
|
169
176
|
mime-types (~> 3.0)
|
170
177
|
multi_xml (>= 0.5.2)
|
171
178
|
i18n (1.8.11)
|
172
179
|
concurrent-ruby (~> 1.0)
|
173
|
-
i18n_data (0.
|
180
|
+
i18n_data (0.15.0)
|
181
|
+
simple_po_parser (~> 1.1)
|
174
182
|
image_processing (1.12.1)
|
175
183
|
mini_magick (>= 4.9.5, < 5)
|
176
184
|
ruby-vips (>= 2.0.17, < 3)
|
177
|
-
|
185
|
+
io-wait (0.2.1)
|
186
|
+
iso (0.4.0)
|
178
187
|
i18n
|
179
|
-
jbuilder (2.
|
188
|
+
jbuilder (2.11.5)
|
189
|
+
actionview (>= 5.0.0)
|
180
190
|
activesupport (>= 5.0.0)
|
181
|
-
jmespath (1.
|
191
|
+
jmespath (1.5.0)
|
182
192
|
launchy (2.5.0)
|
183
193
|
addressable (~> 2.7)
|
184
|
-
listen (3.
|
194
|
+
listen (3.7.0)
|
185
195
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
186
196
|
rb-inotify (~> 0.9, >= 0.9.10)
|
187
197
|
loofah (2.13.0)
|
@@ -189,59 +199,65 @@ GEM
|
|
189
199
|
nokogiri (>= 1.5.9)
|
190
200
|
mail (2.7.1)
|
191
201
|
mini_mime (>= 0.1.1)
|
192
|
-
manifester (0.1.
|
202
|
+
manifester (0.1.8)
|
193
203
|
rails (>= 6.0)
|
194
204
|
zeitwerk
|
195
|
-
marcel (1.0.
|
196
|
-
|
197
|
-
|
205
|
+
marcel (1.0.2)
|
206
|
+
matrix (0.4.2)
|
207
|
+
meta-tags (2.16.0)
|
208
|
+
actionpack (>= 3.2.0, < 7.1)
|
198
209
|
method_source (1.0.0)
|
199
|
-
mime-types (3.
|
210
|
+
mime-types (3.4.1)
|
200
211
|
mime-types-data (~> 3.2015)
|
201
|
-
mime-types-data (3.
|
212
|
+
mime-types-data (3.2022.0105)
|
202
213
|
mini_magick (4.11.0)
|
203
|
-
mini_mime (1.
|
204
|
-
mini_portile2 (2.
|
214
|
+
mini_mime (1.1.2)
|
215
|
+
mini_portile2 (2.7.1)
|
205
216
|
minitest (5.15.0)
|
206
217
|
msgpack (1.4.2)
|
207
218
|
multi_xml (0.6.0)
|
219
|
+
net-protocol (0.1.2)
|
220
|
+
io-wait
|
221
|
+
timeout
|
222
|
+
net-smtp (0.3.1)
|
223
|
+
digest
|
224
|
+
net-protocol
|
225
|
+
timeout
|
208
226
|
nio4r (2.5.8)
|
209
|
-
nokogiri (1.
|
210
|
-
mini_portile2 (~> 2.
|
211
|
-
racc (~> 1.4)
|
212
|
-
nokogiri (1.12.5-x86_64-linux)
|
227
|
+
nokogiri (1.13.0)
|
228
|
+
mini_portile2 (~> 2.7.0)
|
213
229
|
racc (~> 1.4)
|
214
230
|
orm_adapter (0.5.0)
|
215
|
-
pagy (5.
|
216
|
-
parallel (1.
|
217
|
-
parser (3.
|
231
|
+
pagy (5.7.3)
|
232
|
+
parallel (1.21.0)
|
233
|
+
parser (3.1.0.0)
|
218
234
|
ast (~> 2.4.1)
|
219
235
|
pg (1.2.3)
|
220
236
|
public_suffix (4.0.6)
|
221
|
-
puma (5.5.
|
237
|
+
puma (5.5.2)
|
222
238
|
nio4r (~> 2.0)
|
223
|
-
pundit (2.1.
|
239
|
+
pundit (2.1.1)
|
224
240
|
activesupport (>= 3.0.0)
|
225
241
|
racc (1.6.0)
|
226
242
|
rack (2.2.3)
|
227
|
-
rack-proxy (0.
|
243
|
+
rack-proxy (0.7.2)
|
228
244
|
rack
|
229
245
|
rack-test (1.1.0)
|
230
246
|
rack (>= 1.0, < 3)
|
231
|
-
rails (6.1.
|
232
|
-
actioncable (= 6.1.
|
233
|
-
actionmailbox (= 6.1.
|
234
|
-
actionmailer (= 6.1.
|
235
|
-
actionpack (= 6.1.
|
236
|
-
actiontext (= 6.1.
|
237
|
-
actionview (= 6.1.
|
238
|
-
activejob (= 6.1.
|
239
|
-
activemodel (= 6.1.
|
240
|
-
activerecord (= 6.1.
|
241
|
-
activestorage (= 6.1.
|
242
|
-
activesupport (= 6.1.
|
247
|
+
rails (6.1.4.4)
|
248
|
+
actioncable (= 6.1.4.4)
|
249
|
+
actionmailbox (= 6.1.4.4)
|
250
|
+
actionmailer (= 6.1.4.4)
|
251
|
+
actionpack (= 6.1.4.4)
|
252
|
+
actiontext (= 6.1.4.4)
|
253
|
+
actionview (= 6.1.4.4)
|
254
|
+
activejob (= 6.1.4.4)
|
255
|
+
activemodel (= 6.1.4.4)
|
256
|
+
activerecord (= 6.1.4.4)
|
257
|
+
activestorage (= 6.1.4.4)
|
258
|
+
activesupport (= 6.1.4.4)
|
243
259
|
bundler (>= 1.15.0)
|
244
|
-
railties (= 6.1.
|
260
|
+
railties (= 6.1.4.4)
|
245
261
|
sprockets-rails (>= 2.0.0)
|
246
262
|
rails-controller-testing (1.0.5)
|
247
263
|
actionpack (>= 5.0.1.rc1)
|
@@ -252,63 +268,63 @@ GEM
|
|
252
268
|
nokogiri (>= 1.6)
|
253
269
|
rails-html-sanitizer (1.4.2)
|
254
270
|
loofah (~> 2.3)
|
255
|
-
railties (6.1.
|
256
|
-
actionpack (= 6.1.
|
257
|
-
activesupport (= 6.1.
|
271
|
+
railties (6.1.4.4)
|
272
|
+
actionpack (= 6.1.4.4)
|
273
|
+
activesupport (= 6.1.4.4)
|
258
274
|
method_source
|
259
|
-
rake (>= 0.
|
275
|
+
rake (>= 0.13)
|
260
276
|
thor (~> 1.0)
|
261
277
|
rainbow (3.0.0)
|
262
278
|
rake (13.0.6)
|
263
|
-
ransack (2.
|
279
|
+
ransack (2.5.0)
|
264
280
|
activerecord (>= 5.2.4)
|
265
281
|
activesupport (>= 5.2.4)
|
266
282
|
i18n
|
267
|
-
rb-fsevent (0.
|
283
|
+
rb-fsevent (0.11.0)
|
268
284
|
rb-inotify (0.10.1)
|
269
285
|
ffi (~> 1.0)
|
270
|
-
regexp_parser (
|
286
|
+
regexp_parser (2.2.0)
|
271
287
|
responders (3.0.1)
|
272
288
|
actionpack (>= 5.0)
|
273
289
|
railties (>= 5.0)
|
274
290
|
rexml (3.2.5)
|
275
|
-
rspec-core (3.
|
276
|
-
rspec-support (~> 3.
|
277
|
-
rspec-expectations (3.
|
291
|
+
rspec-core (3.10.1)
|
292
|
+
rspec-support (~> 3.10.0)
|
293
|
+
rspec-expectations (3.10.1)
|
278
294
|
diff-lcs (>= 1.2.0, < 2.0)
|
279
|
-
rspec-support (~> 3.
|
280
|
-
rspec-mocks (3.
|
295
|
+
rspec-support (~> 3.10.0)
|
296
|
+
rspec-mocks (3.10.2)
|
281
297
|
diff-lcs (>= 1.2.0, < 2.0)
|
282
|
-
rspec-support (~> 3.
|
283
|
-
rspec-rails (4.0.
|
298
|
+
rspec-support (~> 3.10.0)
|
299
|
+
rspec-rails (4.0.2)
|
284
300
|
actionpack (>= 4.2)
|
285
301
|
activesupport (>= 4.2)
|
286
302
|
railties (>= 4.2)
|
287
|
-
rspec-core (~> 3.
|
288
|
-
rspec-expectations (~> 3.
|
289
|
-
rspec-mocks (~> 3.
|
290
|
-
rspec-support (~> 3.
|
291
|
-
rspec-support (3.
|
292
|
-
rubocop (1.
|
303
|
+
rspec-core (~> 3.10)
|
304
|
+
rspec-expectations (~> 3.10)
|
305
|
+
rspec-mocks (~> 3.10)
|
306
|
+
rspec-support (~> 3.10)
|
307
|
+
rspec-support (3.10.3)
|
308
|
+
rubocop (1.24.1)
|
293
309
|
parallel (~> 1.10)
|
294
310
|
parser (>= 3.0.0.0)
|
295
311
|
rainbow (>= 2.2.2, < 4.0)
|
296
312
|
regexp_parser (>= 1.8, < 3.0)
|
297
313
|
rexml
|
298
|
-
rubocop-ast (>= 1.
|
314
|
+
rubocop-ast (>= 1.15.1, < 2.0)
|
299
315
|
ruby-progressbar (~> 1.7)
|
300
316
|
unicode-display_width (>= 1.4.0, < 3.0)
|
301
|
-
rubocop-ast (1.
|
302
|
-
parser (>=
|
303
|
-
rubocop-performance (1.
|
304
|
-
rubocop (>=
|
317
|
+
rubocop-ast (1.15.1)
|
318
|
+
parser (>= 3.0.1.1)
|
319
|
+
rubocop-performance (1.13.1)
|
320
|
+
rubocop (>= 1.7.0, < 2.0)
|
305
321
|
rubocop-ast (>= 0.4.0)
|
306
|
-
ruby-debug-ide (0.7.
|
322
|
+
ruby-debug-ide (0.7.3)
|
307
323
|
rake (>= 0.8.1)
|
308
|
-
ruby-progressbar (1.
|
309
|
-
ruby-vips (2.1.
|
324
|
+
ruby-progressbar (1.11.0)
|
325
|
+
ruby-vips (2.1.4)
|
310
326
|
ffi (~> 1.12)
|
311
|
-
rubyzip (2.3.
|
327
|
+
rubyzip (2.3.2)
|
312
328
|
sass-rails (6.0.0)
|
313
329
|
sassc-rails (~> 2.1, >= 2.1.1)
|
314
330
|
sassc (2.4.0)
|
@@ -319,69 +335,76 @@ GEM
|
|
319
335
|
sprockets (> 3.0)
|
320
336
|
sprockets-rails
|
321
337
|
tilt
|
322
|
-
selenium-webdriver (
|
323
|
-
childprocess (>= 0.5, <
|
338
|
+
selenium-webdriver (4.1.0)
|
339
|
+
childprocess (>= 0.5, < 5.0)
|
340
|
+
rexml (~> 3.2, >= 3.2.5)
|
324
341
|
rubyzip (>= 1.2.2)
|
325
342
|
semantic_range (3.0.0)
|
326
|
-
|
343
|
+
simple_po_parser (1.1.5)
|
344
|
+
simplecov (0.21.2)
|
327
345
|
docile (~> 1.1)
|
328
346
|
simplecov-html (~> 0.11)
|
329
|
-
|
330
|
-
|
347
|
+
simplecov_json_formatter (~> 0.1)
|
348
|
+
simplecov-cobertura (2.1.0)
|
349
|
+
rexml
|
350
|
+
simplecov (~> 0.19)
|
331
351
|
simplecov-html (0.12.3)
|
352
|
+
simplecov_json_formatter (0.1.3)
|
332
353
|
sixarm_ruby_unaccent (1.2.0)
|
333
|
-
spring (
|
354
|
+
spring (4.0.0)
|
334
355
|
spring-commands-rspec (1.0.4)
|
335
356
|
spring (>= 0.9.1)
|
336
357
|
sprockets (4.0.2)
|
337
358
|
concurrent-ruby (~> 1.0)
|
338
359
|
rack (> 1, < 3)
|
339
|
-
sprockets-rails (3.
|
340
|
-
actionpack (>=
|
341
|
-
activesupport (>=
|
360
|
+
sprockets-rails (3.4.2)
|
361
|
+
actionpack (>= 5.2)
|
362
|
+
activesupport (>= 5.2)
|
342
363
|
sprockets (>= 3.0.0)
|
343
|
-
standard (1.0
|
344
|
-
rubocop (= 1.
|
345
|
-
rubocop-performance (= 1.
|
346
|
-
stimulus-rails (0.2
|
347
|
-
|
348
|
-
test-prof (0.
|
349
|
-
thor (1.1
|
364
|
+
standard (1.6.0)
|
365
|
+
rubocop (= 1.24.1)
|
366
|
+
rubocop-performance (= 1.13.1)
|
367
|
+
stimulus-rails (1.0.2)
|
368
|
+
railties (>= 6.0.0)
|
369
|
+
test-prof (1.0.7)
|
370
|
+
thor (1.2.1)
|
350
371
|
tilt (2.0.10)
|
351
|
-
|
352
|
-
|
372
|
+
timeout (0.2.0)
|
373
|
+
turbo-rails (1.0.0)
|
374
|
+
actionpack (>= 6.0.0)
|
375
|
+
railties (>= 6.0.0)
|
353
376
|
tzinfo (2.0.4)
|
354
377
|
concurrent-ruby (~> 1.0)
|
355
|
-
unicode-display_width (2.
|
356
|
-
|
357
|
-
|
358
|
-
|
378
|
+
unicode-display_width (2.1.0)
|
379
|
+
view_component (2.47.0)
|
380
|
+
activesupport (>= 5.0.0, < 8.0)
|
381
|
+
method_source (~> 1.0)
|
359
382
|
warden (1.2.9)
|
360
383
|
rack (>= 2.0.9)
|
361
|
-
web-console (4.
|
384
|
+
web-console (4.2.0)
|
362
385
|
actionview (>= 6.0.0)
|
363
386
|
activemodel (>= 6.0.0)
|
364
387
|
bindex (>= 0.4.0)
|
365
388
|
railties (>= 6.0.0)
|
366
|
-
webdrivers (
|
389
|
+
webdrivers (5.0.0)
|
367
390
|
nokogiri (~> 1.6)
|
368
391
|
rubyzip (>= 1.3.0)
|
369
|
-
selenium-webdriver (
|
370
|
-
webmock (3.
|
371
|
-
addressable (>= 2.
|
392
|
+
selenium-webdriver (~> 4.0)
|
393
|
+
webmock (3.14.0)
|
394
|
+
addressable (>= 2.8.0)
|
372
395
|
crack (>= 0.3.2)
|
373
396
|
hashdiff (>= 0.4.0, < 2.0.0)
|
374
|
-
webpacker (6.0.0.
|
397
|
+
webpacker (6.0.0.rc.6)
|
375
398
|
activesupport (>= 5.2)
|
376
399
|
rack-proxy (>= 0.6.1)
|
377
400
|
railties (>= 5.2)
|
378
401
|
semantic_range (>= 2.3.0)
|
379
|
-
websocket-driver (0.7.
|
402
|
+
websocket-driver (0.7.5)
|
380
403
|
websocket-extensions (>= 0.1.0)
|
381
404
|
websocket-extensions (0.1.5)
|
382
405
|
xpath (3.2.0)
|
383
406
|
nokogiri (~> 1.8)
|
384
|
-
zeitwerk (2.5.
|
407
|
+
zeitwerk (2.5.3)
|
385
408
|
|
386
409
|
PLATFORMS
|
387
410
|
ruby
|
@@ -416,6 +439,7 @@ DEPENDENCIES
|
|
416
439
|
listen (>= 3.5.1)
|
417
440
|
manifester
|
418
441
|
meta-tags
|
442
|
+
net-smtp
|
419
443
|
pg (>= 0.18, < 2.0)
|
420
444
|
puma (~> 5.5.1)
|
421
445
|
pundit
|
@@ -437,7 +461,7 @@ DEPENDENCIES
|
|
437
461
|
web-console (>= 3.3.0)
|
438
462
|
webdrivers
|
439
463
|
webmock
|
440
|
-
webpacker (= 6.0.0.
|
464
|
+
webpacker (= 6.0.0.rc.6)
|
441
465
|
zeitwerk (~> 2.3)
|
442
466
|
|
443
467
|
BUNDLED WITH
|
@@ -1,6 +1,4 @@
|
|
1
1
|
<div class="relative min-h-full max-w-full flex-1 flex flex-col justify-between space-y-3">
|
2
|
-
<%= @file.inspect %>
|
3
|
-
<%= @id.inspect %>
|
4
2
|
<% if @file.present? %>
|
5
3
|
<% if @file.representable? && @is_image %>
|
6
4
|
<%= image_tag helpers.main_app.url_for(@file), class: 'rounded-lg max-h-168 max-w-full' %>
|
@@ -1,3 +1,7 @@
|
|
1
1
|
<%= index_field_wrapper field: @field do %>
|
2
|
-
|
2
|
+
<% if @field.as_html %>
|
3
|
+
<%== @field.value %>
|
4
|
+
<% else %>
|
5
|
+
<%= link_to_if @field.link_to_resource, @field.value, resource_path %>
|
6
|
+
<% end %>
|
3
7
|
<% end %>
|
@@ -11,7 +11,7 @@ class Avo::Index::ResourceControlsComponent < Avo::ResourceComponent
|
|
11
11
|
@reflection.present? &&
|
12
12
|
@resource.model.present? &&
|
13
13
|
(@reflection.is_a?(::ActiveRecord::Reflection::HasManyReflection) || @reflection.is_a?(::ActiveRecord::Reflection::ThroughReflection)) &&
|
14
|
-
authorize_association_for(
|
14
|
+
authorize_association_for("detach")
|
15
15
|
end
|
16
16
|
|
17
17
|
def can_edit?
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<div data-model-id="<%= @resource.model.id %>">
|
2
2
|
<% @resource.panels.each do |resource_panel| %>
|
3
|
-
<%= form_with model: @resource.model, url: helpers.resource_path(@resource.model), method: :put, multipart: true do |form| %>
|
3
|
+
<%= form_with model: @resource.model, scope: @resource.form_scope, url: helpers.resource_path(@resource.model), method: :put, multipart: true do |form| %>
|
4
4
|
<%= hidden_field_tag :referrer, back_path if params[:via_resource_class] %>
|
5
5
|
|
6
6
|
<%= render Avo::PanelComponent.new(title: resource_panel[:name], display_breadcrumbs: true) do |c| %>
|