vigilion-rails 2.1.0 → 2.2.0

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: 0e28eecf1be1c320c56bc57e6e0080378e382c5c3127e8c284c5d88e6104874f
4
- data.tar.gz: cb9397a3587a938946028cb22de9ec7bdd902721a18d4db62bfa7e51ad89bf66
3
+ metadata.gz: e1f3ee39ebf2b55e3545ba4a2ea9c656e9b48d297e50250342a5a981d4d4aed3
4
+ data.tar.gz: 171c41bb2480b4a084051822bc0116a3e20af7d275e7a4c89c46f6c3eccb0f41
5
5
  SHA512:
6
- metadata.gz: 9a8e14038c7b7662d85eced0feb075f12586ab1e0e5da24bad96e9922acfd3dbe8ccf38d5c9439dbd8de60832864da3d2eb04faec608b1fa97a863ed19be4808
7
- data.tar.gz: e66a916139d8e823ba930f488565cd34a73bea263b0d4108c3f1a8b5b11c59a89609d0d2f4649ea0be1545e906999dd23311e9b07d431e831d36e67259e48a47
6
+ metadata.gz: dc908eb63faff594fa229f73c54ae067591715f4a494f5836666a9fd956f1c328fc5c247fb5a394d20e17d51afc17e3c2ab056b2dc320a1a66bbc9bbb4b79e5e
7
+ data.tar.gz: b0bd0272236fd4fed6be07ab447a1cee92422d6aa17ec6a7988f0b8e32ebf65685428b071aef49e28cce132b5b61781d351af0e653b3f4546b75ab1f1d5b1ffb
@@ -1,3 +1,3 @@
1
1
  module VigilionRails
2
- VERSION = "2.1.0"
2
+ VERSION = "2.2.0"
3
3
  end
@@ -38,7 +38,7 @@ module VigilionRails
38
38
  end
39
39
 
40
40
  after_initialize :remember_#{column}_url
41
- after_commit :check_scan_#{column}
41
+ after_commit :check_scan_#{column}, on: [:create, :update]
42
42
 
43
43
  def remember_#{column}_url
44
44
  @#{column}_old_url = #{column}.try(:url) unless new_record?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vigilion-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bit Zesty Ltd
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-13 00:00:00.000000000 Z
11
+ date: 2023-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -160,8 +160,6 @@ files:
160
160
  - spec/dummy/db/migrate/20150616144235_create_dragonfly_documents.rb
161
161
  - spec/dummy/db/migrate/20150616144544_create_agnostic_documents.rb
162
162
  - spec/dummy/db/schema.rb
163
- - spec/dummy/db/test.sqlite3
164
- - spec/dummy/log/test.log
165
163
  - spec/dummy/public/404.html
166
164
  - spec/dummy/public/422.html
167
165
  - spec/dummy/public/500.html
@@ -177,7 +175,7 @@ homepage: https://github.com/vigilion/vigilion-rails
177
175
  licenses:
178
176
  - MIT
179
177
  metadata: {}
180
- post_install_message:
178
+ post_install_message:
181
179
  rdoc_options: []
182
180
  require_paths:
183
181
  - lib
@@ -192,63 +190,61 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
190
  - !ruby/object:Gem::Version
193
191
  version: '0'
194
192
  requirements: []
195
- rubygems_version: 3.1.2
196
- signing_key:
193
+ rubygems_version: 3.0.3.1
194
+ signing_key:
197
195
  specification_version: 4
198
196
  summary: Rails engine for Vigilion Anti-Virus & Malware file scanning service.
199
197
  test_files:
198
+ - spec/routing/vigilion_routing_spec.rb
199
+ - spec/helper_methods.rb
200
+ - spec/lib/vigilion_rails_spec.rb
201
+ - spec/lib/integrations/local_integration_spec.rb
200
202
  - spec/vigilion_rails_helper.rb
201
- - spec/spec_helper.rb
202
- - spec/dummy/app/uploaders/attachment_uploader.rb
203
- - spec/dummy/app/models/carrierwave_document.rb
204
- - spec/dummy/app/models/agnostic_document.rb
205
- - spec/dummy/app/models/paperclip_document.rb
206
- - spec/dummy/app/models/dragonfly_document.rb
207
- - spec/dummy/app/controllers/application_controller.rb
208
- - spec/dummy/app/views/layouts/application.html.erb
209
- - spec/dummy/app/assets/config/manifest.js
210
- - spec/dummy/app/assets/javascripts/application.js
211
- - spec/dummy/app/assets/stylesheets/application.css
212
- - spec/dummy/app/helpers/application_helper.rb
213
- - spec/dummy/bin/rake
203
+ - spec/dummy/Rakefile
204
+ - spec/dummy/README.rdoc
214
205
  - spec/dummy/bin/setup
206
+ - spec/dummy/bin/rake
215
207
  - spec/dummy/bin/bundle
216
208
  - spec/dummy/bin/rails
217
- - spec/dummy/config/secrets.yml
218
- - spec/dummy/config/routes.rb
219
- - spec/dummy/config/locales/en.yml
220
- - spec/dummy/config/environments/production.rb
221
- - spec/dummy/config/environments/development.rb
222
- - spec/dummy/config/environments/test.rb
223
- - spec/dummy/config/environment.rb
224
209
  - spec/dummy/config/application.rb
225
- - spec/dummy/config/database.yml
226
210
  - spec/dummy/config/boot.rb
227
- - spec/dummy/config/initializers/backtrace_silencers.rb
211
+ - spec/dummy/config/secrets.yml
212
+ - spec/dummy/config/locales/en.yml
213
+ - spec/dummy/config/initializers/vigilion.rb
228
214
  - spec/dummy/config/initializers/mime_types.rb
229
- - spec/dummy/config/initializers/filter_parameter_logging.rb
230
- - spec/dummy/config/initializers/session_store.rb
231
215
  - spec/dummy/config/initializers/wrap_parameters.rb
216
+ - spec/dummy/config/initializers/inflections.rb
217
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
232
218
  - spec/dummy/config/initializers/assets.rb
219
+ - spec/dummy/config/initializers/backtrace_silencers.rb
220
+ - spec/dummy/config/initializers/session_store.rb
233
221
  - spec/dummy/config/initializers/cookies_serializer.rb
234
- - spec/dummy/config/initializers/vigilion.rb
235
- - spec/dummy/config/initializers/inflections.rb
222
+ - spec/dummy/config/database.yml
223
+ - spec/dummy/config/routes.rb
224
+ - spec/dummy/config/environments/production.rb
225
+ - spec/dummy/config/environments/development.rb
226
+ - spec/dummy/config/environments/test.rb
227
+ - spec/dummy/config/environment.rb
228
+ - spec/dummy/app/views/layouts/application.html.erb
229
+ - spec/dummy/app/assets/javascripts/application.js
230
+ - spec/dummy/app/assets/config/manifest.js
231
+ - spec/dummy/app/assets/stylesheets/application.css
232
+ - spec/dummy/app/models/dragonfly_document.rb
233
+ - spec/dummy/app/models/carrierwave_document.rb
234
+ - spec/dummy/app/models/agnostic_document.rb
235
+ - spec/dummy/app/models/paperclip_document.rb
236
+ - spec/dummy/app/controllers/application_controller.rb
237
+ - spec/dummy/app/uploaders/attachment_uploader.rb
238
+ - spec/dummy/app/helpers/application_helper.rb
236
239
  - spec/dummy/config.ru
237
- - spec/dummy/Rakefile
238
- - spec/dummy/public/favicon.ico
239
- - spec/dummy/public/422.html
240
- - spec/dummy/public/500.html
241
- - spec/dummy/public/404.html
242
240
  - spec/dummy/db/schema.rb
243
- - spec/dummy/db/test.sqlite3
244
241
  - spec/dummy/db/migrate/20150616144235_create_dragonfly_documents.rb
245
- - spec/dummy/db/migrate/20150616144544_create_agnostic_documents.rb
246
242
  - spec/dummy/db/migrate/20150616144227_create_paperclip_documents.rb
243
+ - spec/dummy/db/migrate/20150616144544_create_agnostic_documents.rb
247
244
  - spec/dummy/db/migrate/20150616144220_create_carrierwave_documents.rb
248
- - spec/dummy/log/test.log
249
- - spec/dummy/README.rdoc
250
- - spec/helper_methods.rb
251
- - spec/lib/vigilion_rails_spec.rb
252
- - spec/lib/integrations/local_integration_spec.rb
253
- - spec/routing/vigilion_routing_spec.rb
245
+ - spec/dummy/public/404.html
246
+ - spec/dummy/public/500.html
247
+ - spec/dummy/public/favicon.ico
248
+ - spec/dummy/public/422.html
249
+ - spec/spec_helper.rb
254
250
  - spec/jobs/vigilion_rails/vigilion_scan_job_spec.rb
Binary file