trusty-cms 4.2 → 4.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -1
  3. data/Gemfile.lock +115 -112
  4. data/LICENSE.md +1 -1
  5. data/app/assets/config/trusty-cms/manifest.js +7 -0
  6. data/app/assets/javascripts/admin/custom_file_upload.js +7 -0
  7. data/app/controllers/admin/pages_controller.rb +1 -1
  8. data/app/controllers/admin/preferences_controller.rb +1 -1
  9. data/app/controllers/admin/resource_controller.rb +1 -1
  10. data/app/controllers/admin/users_controller.rb +1 -1
  11. data/app/helpers/admin/node_helper.rb +1 -1
  12. data/app/models/asset.rb +3 -3
  13. data/app/models/page.rb +5 -5
  14. data/app/models/standard_tags.rb +3 -3
  15. data/app/models/user.rb +1 -1
  16. data/app/views/admin/assets/new.html.haml +2 -0
  17. data/config/database.mysql.yml +10 -2
  18. data/config/initializers/assets.rb +0 -4
  19. data/db/migrate/20210331134718_create_active_storage_tables.active_storage.rb +36 -0
  20. data/lib/generators/extension/templates/test_helper.rb +6 -8
  21. data/lib/login_system.rb +1 -1
  22. data/lib/trusty_cms.rb +1 -1
  23. data/lib/trusty_cms/setup.rb +1 -1
  24. data/spec/dummy/config/database.yml +6 -2
  25. data/trusty_cms.gemspec +3 -4
  26. data/vendor/extensions/clipped-extension/lib/asset_tags.rb +4 -4
  27. data/yarn.lock +6 -6
  28. metadata +323 -184
  29. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/base.rb +0 -195
  30. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/check_box.rb +0 -65
  31. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/checkable.rb +0 -18
  32. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/collection_check_boxes.rb +0 -35
  33. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/collection_helpers.rb +0 -118
  34. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/collection_radio_buttons.rb +0 -30
  35. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/collection_select.rb +0 -30
  36. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/color_field.rb +0 -26
  37. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/date_field.rb +0 -14
  38. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/date_select.rb +0 -73
  39. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/datetime_field.rb +0 -31
  40. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/datetime_local_field.rb +0 -20
  41. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/datetime_select.rb +0 -10
  42. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/email_field.rb +0 -10
  43. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/file_field.rb +0 -10
  44. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/grouped_collection_select.rb +0 -31
  45. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/hidden_field.rb +0 -10
  46. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/label.rb +0 -80
  47. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/month_field.rb +0 -14
  48. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/number_field.rb +0 -20
  49. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/password_field.rb +0 -14
  50. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/placeholderable.rb +0 -24
  51. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/radio_button.rb +0 -32
  52. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/range_field.rb +0 -10
  53. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/search_field.rb +0 -27
  54. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/select.rb +0 -42
  55. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/tel_field.rb +0 -10
  56. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/text_area.rb +0 -24
  57. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/text_field.rb +0 -33
  58. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/time_field.rb +0 -14
  59. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/time_select.rb +0 -10
  60. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/time_zone_select.rb +0 -22
  61. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/translator.rb +0 -39
  62. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/url_field.rb +0 -10
  63. data/vendor/bundle/ruby/2.6.0/gems/actionview-6.0.3.4/lib/action_view/helpers/tags/week_field.rb +0 -14
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 299f6d4ea4f8354fc95eca5057d85ef469ecf514a9b9caccea05498f3ee7b3db
4
- data.tar.gz: 9c635ae0f8cb03af87e45321f6f139cdab67abea7ad57d5bb304c3bbb5426204
3
+ metadata.gz: ae1333499a79a83bd6a8a0a46673e1b5ef54e589b3e7cf0ec3447d473396b769
4
+ data.tar.gz: 3ca5980f13834a3cdfce5ca580a39259394345ca1c034580b09aa0c0df9662ee
5
5
  SHA512:
6
- metadata.gz: 41043b6945a24d689aefc362b5eed571b0cb378aaffb9b3dcf67f4570fba089b86062341998e7d54ecc53391d74cab0f7e76af6de131a9743976227f47b5c5a8
7
- data.tar.gz: cc491f12651bc85e7fddc1612319882c5b9982fe4dc4bce72d5b4325cbfbf597786a2e06ab8cabbbb1bf2453a515590ec62ddd719e76a4efae1984d6bb77ffa1
6
+ metadata.gz: 0e0d9815b5f9d3a5cdf4bfe06e23e6f8a018639c3871aae42e38e3f97623f0f469d5740bad25edf621b7277b8acdeb095de3fef5e475ea69e7643952cd91048b
7
+ data.tar.gz: 96869827969eedee8b76da2dee964ed2308bbbf5e58c0010a274970559bb890d5be2a6c2d431d5212aac1a6bd140c86c2beacb8978303eaebb09798e9970f5c7
data/Gemfile CHANGED
@@ -14,7 +14,8 @@ gemspec
14
14
  group :development, :test do
15
15
  gem 'acts_as_list'
16
16
  gem 'database_cleaner'
17
- gem 'factory_bot_rails', '6.1.0'
17
+ gem 'factory_bot_rails', '6.2.0'
18
+ gem 'kt-paperclip', '~> 7.0.0'
18
19
  gem 'launchy', '~> 2.5.0'
19
20
  gem 'mysql2'
20
21
  gem 'poltergeist', '~> 1.18.1'
data/Gemfile.lock CHANGED
@@ -1,21 +1,20 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trusty-cms (4.2)
4
+ trusty-cms (4.3.1)
5
5
  RedCloth (= 4.3.2)
6
6
  acts_as_list (>= 0.9.5, < 1.1.0)
7
- acts_as_tree (>= 2.6.1, < 2.9.0)
7
+ acts_as_tree (~> 2.9.1)
8
8
  ckeditor (>= 4.2.2, < 4.3.0)
9
9
  delocalize (>= 0.2, < 2.0)
10
10
  devise
11
11
  execjs (~> 2.7)
12
12
  haml
13
- haml-rails
13
+ haml-rails (~> 2.0)
14
14
  highline (>= 1.7.8, < 2.1.0)
15
15
  kraken-io
16
16
  mini_racer
17
17
  mysql2
18
- paperclip (> 5.2)
19
18
  rack (>= 2.0.1, < 2.3.0)
20
19
  rack-cache (~> 1.7)
21
20
  radius (~> 0.7)
@@ -23,7 +22,7 @@ PATH
23
22
  rake (< 14.0)
24
23
  rdoc (>= 5.1, < 7.0)
25
24
  roadie-rails
26
- sassc-rails
25
+ sass-rails
27
26
  stringex (>= 2.7.1, < 2.9.0)
28
27
  tzinfo (>= 1.2.3, < 2.1.0)
29
28
  uglifier (>= 3.2, < 5.0)
@@ -34,81 +33,81 @@ GEM
34
33
  remote: https://rubygems.org/
35
34
  specs:
36
35
  RedCloth (4.3.2)
37
- actioncable (6.1.1)
38
- actionpack (= 6.1.1)
39
- activesupport (= 6.1.1)
36
+ actioncable (6.1.3.2)
37
+ actionpack (= 6.1.3.2)
38
+ activesupport (= 6.1.3.2)
40
39
  nio4r (~> 2.0)
41
40
  websocket-driver (>= 0.6.1)
42
- actionmailbox (6.1.1)
43
- actionpack (= 6.1.1)
44
- activejob (= 6.1.1)
45
- activerecord (= 6.1.1)
46
- activestorage (= 6.1.1)
47
- activesupport (= 6.1.1)
41
+ actionmailbox (6.1.3.2)
42
+ actionpack (= 6.1.3.2)
43
+ activejob (= 6.1.3.2)
44
+ activerecord (= 6.1.3.2)
45
+ activestorage (= 6.1.3.2)
46
+ activesupport (= 6.1.3.2)
48
47
  mail (>= 2.7.1)
49
- actionmailer (6.1.1)
50
- actionpack (= 6.1.1)
51
- actionview (= 6.1.1)
52
- activejob (= 6.1.1)
53
- activesupport (= 6.1.1)
48
+ actionmailer (6.1.3.2)
49
+ actionpack (= 6.1.3.2)
50
+ actionview (= 6.1.3.2)
51
+ activejob (= 6.1.3.2)
52
+ activesupport (= 6.1.3.2)
54
53
  mail (~> 2.5, >= 2.5.4)
55
54
  rails-dom-testing (~> 2.0)
56
- actionpack (6.1.1)
57
- actionview (= 6.1.1)
58
- activesupport (= 6.1.1)
55
+ actionpack (6.1.3.2)
56
+ actionview (= 6.1.3.2)
57
+ activesupport (= 6.1.3.2)
59
58
  rack (~> 2.0, >= 2.0.9)
60
59
  rack-test (>= 0.6.3)
61
60
  rails-dom-testing (~> 2.0)
62
61
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
63
- actiontext (6.1.1)
64
- actionpack (= 6.1.1)
65
- activerecord (= 6.1.1)
66
- activestorage (= 6.1.1)
67
- activesupport (= 6.1.1)
62
+ actiontext (6.1.3.2)
63
+ actionpack (= 6.1.3.2)
64
+ activerecord (= 6.1.3.2)
65
+ activestorage (= 6.1.3.2)
66
+ activesupport (= 6.1.3.2)
68
67
  nokogiri (>= 1.8.5)
69
- actionview (6.1.1)
70
- activesupport (= 6.1.1)
68
+ actionview (6.1.3.2)
69
+ activesupport (= 6.1.3.2)
71
70
  builder (~> 3.1)
72
71
  erubi (~> 1.4)
73
72
  rails-dom-testing (~> 2.0)
74
73
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
75
- activejob (6.1.1)
76
- activesupport (= 6.1.1)
74
+ activejob (6.1.3.2)
75
+ activesupport (= 6.1.3.2)
77
76
  globalid (>= 0.3.6)
78
- activemodel (6.1.1)
79
- activesupport (= 6.1.1)
80
- activerecord (6.1.1)
81
- activemodel (= 6.1.1)
82
- activesupport (= 6.1.1)
83
- activestorage (6.1.1)
84
- actionpack (= 6.1.1)
85
- activejob (= 6.1.1)
86
- activerecord (= 6.1.1)
87
- activesupport (= 6.1.1)
88
- marcel (~> 0.3.1)
89
- mimemagic (~> 0.3.2)
90
- activesupport (6.1.1)
77
+ activemodel (6.1.3.2)
78
+ activesupport (= 6.1.3.2)
79
+ activerecord (6.1.3.2)
80
+ activemodel (= 6.1.3.2)
81
+ activesupport (= 6.1.3.2)
82
+ activestorage (6.1.3.2)
83
+ actionpack (= 6.1.3.2)
84
+ activejob (= 6.1.3.2)
85
+ activerecord (= 6.1.3.2)
86
+ activesupport (= 6.1.3.2)
87
+ marcel (~> 1.0.0)
88
+ mini_mime (~> 1.0.2)
89
+ activesupport (6.1.3.2)
91
90
  concurrent-ruby (~> 1.0, >= 1.0.2)
92
91
  i18n (>= 1.6, < 2)
93
92
  minitest (>= 5.1)
94
93
  tzinfo (~> 2.0)
95
94
  zeitwerk (~> 2.3)
96
- acts_as_list (1.0.3)
95
+ acts_as_list (1.0.4)
97
96
  activerecord (>= 4.2)
98
- acts_as_tree (2.8.0)
97
+ acts_as_tree (2.9.1)
99
98
  activerecord (>= 3.0.0)
100
99
  addressable (2.7.0)
101
100
  public_suffix (>= 2.0.2, < 5.0)
102
101
  bcrypt (3.1.16)
103
102
  builder (3.2.4)
104
103
  byebug (11.1.3)
105
- capybara (3.34.0)
104
+ capybara (3.35.3)
106
105
  addressable
107
106
  mini_mime (>= 0.1.3)
108
107
  nokogiri (~> 1.8)
109
108
  rack (>= 1.6.0)
110
109
  rack-test (>= 0.6.3)
111
- regexp_parser (~> 1.5)
110
+ regexp_parser (>= 1.5, < 3.0)
112
111
  xpath (~> 3.2)
113
112
  ckeditor (4.2.4)
114
113
  cocaine
@@ -118,30 +117,35 @@ GEM
118
117
  cocaine (0.6.0)
119
118
  terrapin (= 0.6.0)
120
119
  coderay (1.1.3)
121
- concurrent-ruby (1.1.7)
120
+ concurrent-ruby (1.1.9)
122
121
  crass (1.0.6)
123
- css_parser (1.7.1)
122
+ css_parser (1.9.0)
124
123
  addressable
125
- database_cleaner (1.8.5)
124
+ database_cleaner (2.0.1)
125
+ database_cleaner-active_record (~> 2.0.0)
126
+ database_cleaner-active_record (2.0.1)
127
+ activerecord (>= 5.a)
128
+ database_cleaner-core (~> 2.0.0)
129
+ database_cleaner-core (2.0.1)
126
130
  delocalize (1.2.0)
127
131
  rails (>= 2)
128
- devise (4.7.3)
132
+ devise (4.8.0)
129
133
  bcrypt (~> 3.0)
130
134
  orm_adapter (~> 0.1)
131
135
  railties (>= 4.1.0)
132
136
  responders
133
137
  warden (~> 1.2.3)
134
138
  diff-lcs (1.4.4)
135
- docile (1.3.4)
139
+ docile (1.4.0)
136
140
  erubi (1.10.0)
137
141
  erubis (2.7.0)
138
- execjs (2.7.0)
139
- factory_bot (6.1.0)
142
+ execjs (2.8.1)
143
+ factory_bot (6.2.0)
140
144
  activesupport (>= 5.0.0)
141
- factory_bot_rails (6.1.0)
142
- factory_bot (~> 6.1.0)
145
+ factory_bot_rails (6.2.0)
146
+ factory_bot (~> 6.2.0)
143
147
  railties (>= 5.0.0)
144
- ffi (1.14.2)
148
+ ffi (1.15.3)
145
149
  globalid (0.4.2)
146
150
  activesupport (>= 4.2.0)
147
151
  haml (5.2.1)
@@ -162,7 +166,7 @@ GEM
162
166
  httparty (0.18.1)
163
167
  mime-types (~> 3.0)
164
168
  multi_xml (>= 0.5.2)
165
- i18n (1.8.7)
169
+ i18n (1.8.10)
166
170
  concurrent-ruby (~> 1.0)
167
171
  json (2.5.1)
168
172
  kraken-io (0.1.3)
@@ -170,40 +174,36 @@ GEM
170
174
  httparty
171
175
  json
172
176
  multipart-post
177
+ kt-paperclip (7.0.0)
178
+ activemodel (>= 4.2.0)
179
+ activesupport (>= 4.2.0)
180
+ marcel (~> 1.0.1)
181
+ mime-types
182
+ terrapin (~> 0.6.0)
173
183
  launchy (2.5.0)
174
184
  addressable (~> 2.7)
175
- libv8 (8.4.255.0)
176
- loofah (2.8.0)
185
+ libv8-node (15.14.0.1-x86_64-darwin-18)
186
+ loofah (2.10.0)
177
187
  crass (~> 1.0.2)
178
188
  nokogiri (>= 1.5.9)
179
189
  mail (2.7.1)
180
190
  mini_mime (>= 0.1.1)
181
- marcel (0.3.3)
182
- mimemagic (~> 0.3.2)
191
+ marcel (1.0.1)
183
192
  method_source (1.0.0)
184
193
  mime-types (3.3.1)
185
194
  mime-types-data (~> 3.2015)
186
- mime-types-data (3.2020.1104)
187
- mimemagic (0.3.5)
188
- mini_mime (1.0.2)
189
- mini_portile2 (2.5.0)
190
- mini_racer (0.3.1)
191
- libv8 (~> 8.4.255)
192
- minitest (5.14.3)
195
+ mime-types-data (3.2021.0225)
196
+ mini_mime (1.0.3)
197
+ mini_racer (0.4.0)
198
+ libv8-node (~> 15.14.0.0)
199
+ minitest (5.14.4)
193
200
  multi_xml (0.6.0)
194
201
  multipart-post (2.1.1)
195
202
  mysql2 (0.5.3)
196
- nio4r (2.5.4)
197
- nokogiri (1.11.1)
198
- mini_portile2 (~> 2.5.0)
203
+ nio4r (2.5.7)
204
+ nokogiri (1.11.7-x86_64-darwin)
199
205
  racc (~> 1.4)
200
206
  orm_adapter (0.5.0)
201
- paperclip (6.1.0)
202
- activemodel (>= 4.2.0)
203
- activesupport (>= 4.2.0)
204
- mime-types
205
- mimemagic (~> 0.3.0)
206
- terrapin (~> 0.6.0)
207
207
  poltergeist (1.18.1)
208
208
  capybara (>= 2.1, < 4)
209
209
  cliver (~> 0.3.1)
@@ -222,20 +222,20 @@ GEM
222
222
  rack-test (1.1.0)
223
223
  rack (>= 1.0, < 3)
224
224
  radius (0.7.5)
225
- rails (6.1.1)
226
- actioncable (= 6.1.1)
227
- actionmailbox (= 6.1.1)
228
- actionmailer (= 6.1.1)
229
- actionpack (= 6.1.1)
230
- actiontext (= 6.1.1)
231
- actionview (= 6.1.1)
232
- activejob (= 6.1.1)
233
- activemodel (= 6.1.1)
234
- activerecord (= 6.1.1)
235
- activestorage (= 6.1.1)
236
- activesupport (= 6.1.1)
225
+ rails (6.1.3.2)
226
+ actioncable (= 6.1.3.2)
227
+ actionmailbox (= 6.1.3.2)
228
+ actionmailer (= 6.1.3.2)
229
+ actionpack (= 6.1.3.2)
230
+ actiontext (= 6.1.3.2)
231
+ actionview (= 6.1.3.2)
232
+ activejob (= 6.1.3.2)
233
+ activemodel (= 6.1.3.2)
234
+ activerecord (= 6.1.3.2)
235
+ activestorage (= 6.1.3.2)
236
+ activesupport (= 6.1.3.2)
237
237
  bundler (>= 1.15.0)
238
- railties (= 6.1.1)
238
+ railties (= 6.1.3.2)
239
239
  sprockets-rails (>= 2.0.0)
240
240
  rails-dom-testing (2.0.3)
241
241
  activesupport (>= 4.2.0)
@@ -244,15 +244,15 @@ GEM
244
244
  loofah (~> 2.3)
245
245
  rails-observers (0.1.5)
246
246
  activemodel (>= 4.0)
247
- railties (6.1.1)
248
- actionpack (= 6.1.1)
249
- activesupport (= 6.1.1)
247
+ railties (6.1.3.2)
248
+ actionpack (= 6.1.3.2)
249
+ activesupport (= 6.1.3.2)
250
250
  method_source
251
251
  rake (>= 0.8.7)
252
252
  thor (~> 1.0)
253
253
  rake (13.0.3)
254
- rdoc (6.3.0)
255
- regexp_parser (1.8.2)
254
+ rdoc (6.3.2)
255
+ regexp_parser (2.1.1)
256
256
  responders (3.0.1)
257
257
  actionpack (>= 5.0)
258
258
  railties (>= 5.0)
@@ -267,20 +267,22 @@ GEM
267
267
  rspec-expectations (3.10.1)
268
268
  diff-lcs (>= 1.2.0, < 2.0)
269
269
  rspec-support (~> 3.10.0)
270
- rspec-mocks (3.10.1)
270
+ rspec-mocks (3.10.2)
271
271
  diff-lcs (>= 1.2.0, < 2.0)
272
272
  rspec-support (~> 3.10.0)
273
- rspec-rails (4.0.2)
274
- actionpack (>= 4.2)
275
- activesupport (>= 4.2)
276
- railties (>= 4.2)
273
+ rspec-rails (5.0.1)
274
+ actionpack (>= 5.2)
275
+ activesupport (>= 5.2)
276
+ railties (>= 5.2)
277
277
  rspec-core (~> 3.10)
278
278
  rspec-expectations (~> 3.10)
279
279
  rspec-mocks (~> 3.10)
280
280
  rspec-support (~> 3.10)
281
- rspec-support (3.10.1)
282
- ruby_parser (3.15.1)
283
- sexp_processor (~> 4.9)
281
+ rspec-support (3.10.2)
282
+ ruby_parser (3.16.0)
283
+ sexp_processor (~> 4.15, >= 4.15.1)
284
+ sass-rails (6.0.0)
285
+ sassc-rails (~> 2.1, >= 2.1.1)
284
286
  sassc (2.4.0)
285
287
  ffi (~> 1.9)
286
288
  sassc-rails (2.1.2)
@@ -289,13 +291,13 @@ GEM
289
291
  sprockets (> 3.0)
290
292
  sprockets-rails
291
293
  tilt
292
- sexp_processor (4.15.2)
294
+ sexp_processor (4.15.3)
293
295
  simplecov (0.21.2)
294
296
  docile (~> 1.1)
295
297
  simplecov-html (~> 0.11)
296
298
  simplecov_json_formatter (~> 0.1)
297
299
  simplecov-html (0.12.3)
298
- simplecov_json_formatter (0.1.2)
300
+ simplecov_json_formatter (0.1.3)
299
301
  sprockets (4.0.2)
300
302
  concurrent-ruby (~> 1.0)
301
303
  rack (> 1, < 3)
@@ -307,7 +309,7 @@ GEM
307
309
  temple (0.8.2)
308
310
  terrapin (0.6.0)
309
311
  climate_control (>= 0.0.3, < 1.0)
310
- thor (1.0.1)
312
+ thor (1.1.0)
311
313
  tilt (2.0.10)
312
314
  trustygems (0.2.1)
313
315
  rake
@@ -318,7 +320,7 @@ GEM
318
320
  uuidtools (2.2.0)
319
321
  warden (1.2.9)
320
322
  rack (>= 2.0.9)
321
- websocket-driver (0.7.3)
323
+ websocket-driver (0.7.5)
322
324
  websocket-extensions (>= 0.1.0)
323
325
  websocket-extensions (0.1.5)
324
326
  will_paginate (3.3.0)
@@ -327,12 +329,13 @@ GEM
327
329
  zeitwerk (2.4.2)
328
330
 
329
331
  PLATFORMS
330
- ruby
332
+ x86_64-darwin-18
331
333
 
332
334
  DEPENDENCIES
333
335
  acts_as_list
334
336
  database_cleaner
335
- factory_bot_rails (= 6.1.0)
337
+ factory_bot_rails (= 6.2.0)
338
+ kt-paperclip (~> 7.0.0)
336
339
  launchy (~> 2.5.0)
337
340
  mysql2
338
341
  poltergeist (~> 1.18.1)
@@ -344,4 +347,4 @@ DEPENDENCIES
344
347
  trustygems (~> 0.2.0)
345
348
 
346
349
  BUNDLED WITH
347
- 2.1.4
350
+ 2.2.19
data/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # MIT License
2
2
 
3
- Copyright (c) 2006-2009, John W. Long and Sean D. Cribbs.
3
+ Copyright (c) 2006-2021, John W. Long and Sean D. Cribbs.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -0,0 +1,7 @@
1
+ //= link_tree ../../images
2
+ //= link_directory ../../javascripts .js
3
+ //= link_directory ../../stylesheets .css
4
+ //= link admin/assets.css
5
+ //= link admin/assets_admin.js
6
+ //= link admin/assets_admin.js
7
+ //= link admin/custom_file_upload.js
@@ -0,0 +1,7 @@
1
+ $(function () {
2
+ var fileUpload = $('#asset_asset');
3
+ var fileChosen = $('#file-chosen');
4
+ fileUpload.on('change', function() {
5
+ fileChosen.text(this.files[0].name)
6
+ })
7
+ });