vigilion-rails 1.0.5 → 2.0.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
- SHA1:
3
- metadata.gz: 030cd5e7acf47517d4ba8cd6591ca79bf70ee4ef
4
- data.tar.gz: 40f90192edc37e5369746b426248273d5bcfe1fb
2
+ SHA256:
3
+ metadata.gz: 0bf77784d940566822b109c78453d6e5243ac2e56b494b4d312adf1111dc9849
4
+ data.tar.gz: 977d2425983190e51677445c79575ffa6b8f7617f6144f88664b2d769ace052a
5
5
  SHA512:
6
- metadata.gz: 9b88fbc2edbe296a9d07c4d4564183e517e447137c14d5b9687a5ff8eab3afc12ccb64a2f5fcf34b4fee3f008965d439e71a20fdefc355cb7b1022e336e78dbb
7
- data.tar.gz: fef625a67c47a85aac8adbcdbdd3a216dbbc981fa656f6dddf61cb495c97e6c2fd2bece514b3332014a3c51595e5eaf2020e29e7345fecc3ac505d7eb8d50c83
6
+ metadata.gz: 4e328f50bb9f3189817baa85a3b4613b5f14234c8549cdf74ceb9c2f8da2fec7693a902f52d941c15f448b1e9329921c31b74bd6cd152a16d66ba2c8f0791f78
7
+ data.tar.gz: 7c8ba6df3708e9f075da925ca93b33510d2cc3876f8948568cc0fcf1967a5694ef0b3ab4e55ce98c6b29dc524c9a7f160288324c642287c644bac4860309b0c0
@@ -1,5 +1,6 @@
1
1
  class Vigilion::VigilionController < ActionController::Base
2
- skip_before_filter :verify_authenticity_token
2
+ skip_before_action :verify_authenticity_token, raise: false
3
+
3
4
  before_action :verify_api_auth
4
5
 
5
6
  def callback
@@ -1,3 +1,3 @@
1
1
  module VigilionRails
2
- VERSION = "1.0.5"
2
+ VERSION = "2.0.0"
3
3
  end
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: 1.0.5
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bit Zesty Ltd
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-26 00:00:00.000000000 Z
11
+ date: 2018-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -172,58 +172,58 @@ required_rubygems_version: !ruby/object:Gem::Requirement
172
172
  version: '0'
173
173
  requirements: []
174
174
  rubyforge_project:
175
- rubygems_version: 2.6.13
175
+ rubygems_version: 2.7.6
176
176
  signing_key:
177
177
  specification_version: 4
178
178
  summary: Rails engine for Vigilion Anti-Virus & Malware file scanning service.
179
179
  test_files:
180
- - spec/dummy/app/assets/javascripts/application.js
181
- - spec/dummy/app/assets/stylesheets/application.css
182
- - spec/dummy/app/controllers/application_controller.rb
183
- - spec/dummy/app/helpers/application_helper.rb
184
- - spec/dummy/app/models/agnostic_document.rb
180
+ - spec/vigilion_rails_helper.rb
181
+ - spec/spec_helper.rb
182
+ - spec/dummy/app/uploaders/attachment_uploader.rb
185
183
  - spec/dummy/app/models/carrierwave_document.rb
186
- - spec/dummy/app/models/dragonfly_document.rb
184
+ - spec/dummy/app/models/agnostic_document.rb
187
185
  - spec/dummy/app/models/paperclip_document.rb
188
- - spec/dummy/app/uploaders/attachment_uploader.rb
186
+ - spec/dummy/app/models/dragonfly_document.rb
187
+ - spec/dummy/app/controllers/application_controller.rb
189
188
  - spec/dummy/app/views/layouts/application.html.erb
190
- - spec/dummy/bin/bundle
191
- - spec/dummy/bin/rails
189
+ - spec/dummy/app/assets/javascripts/application.js
190
+ - spec/dummy/app/assets/stylesheets/application.css
191
+ - spec/dummy/app/helpers/application_helper.rb
192
192
  - spec/dummy/bin/rake
193
193
  - spec/dummy/bin/setup
194
- - spec/dummy/config/application.rb
195
- - spec/dummy/config/boot.rb
196
- - spec/dummy/config/database.yml
197
- - spec/dummy/config/environment.rb
198
- - spec/dummy/config/environments/development.rb
194
+ - spec/dummy/bin/bundle
195
+ - spec/dummy/bin/rails
196
+ - spec/dummy/config/secrets.yml
197
+ - spec/dummy/config/routes.rb
198
+ - spec/dummy/config/locales/en.yml
199
199
  - spec/dummy/config/environments/production.rb
200
+ - spec/dummy/config/environments/development.rb
200
201
  - spec/dummy/config/environments/test.rb
201
- - spec/dummy/config/initializers/assets.rb
202
+ - spec/dummy/config/environment.rb
203
+ - spec/dummy/config/application.rb
204
+ - spec/dummy/config/database.yml
205
+ - spec/dummy/config/boot.rb
202
206
  - spec/dummy/config/initializers/backtrace_silencers.rb
203
- - spec/dummy/config/initializers/cookies_serializer.rb
204
- - spec/dummy/config/initializers/filter_parameter_logging.rb
205
- - spec/dummy/config/initializers/inflections.rb
206
207
  - spec/dummy/config/initializers/mime_types.rb
208
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
207
209
  - spec/dummy/config/initializers/session_store.rb
208
210
  - spec/dummy/config/initializers/wrap_parameters.rb
209
- - spec/dummy/config/locales/en.yml
210
- - spec/dummy/config/routes.rb
211
- - spec/dummy/config/secrets.yml
211
+ - spec/dummy/config/initializers/assets.rb
212
+ - spec/dummy/config/initializers/cookies_serializer.rb
213
+ - spec/dummy/config/initializers/inflections.rb
212
214
  - spec/dummy/config.ru
213
- - spec/dummy/db/migrate/20150616144220_create_carrierwave_documents.rb
214
- - spec/dummy/db/migrate/20150616144227_create_paperclip_documents.rb
215
- - spec/dummy/db/migrate/20150616144235_create_dragonfly_documents.rb
216
- - spec/dummy/db/migrate/20150616144544_create_agnostic_documents.rb
217
- - spec/dummy/db/schema.rb
218
- - spec/dummy/public/404.html
215
+ - spec/dummy/Rakefile
216
+ - spec/dummy/public/favicon.ico
219
217
  - spec/dummy/public/422.html
220
218
  - spec/dummy/public/500.html
221
- - spec/dummy/public/favicon.ico
222
- - spec/dummy/Rakefile
219
+ - spec/dummy/public/404.html
220
+ - spec/dummy/db/schema.rb
221
+ - spec/dummy/db/migrate/20150616144235_create_dragonfly_documents.rb
222
+ - spec/dummy/db/migrate/20150616144544_create_agnostic_documents.rb
223
+ - spec/dummy/db/migrate/20150616144227_create_paperclip_documents.rb
224
+ - spec/dummy/db/migrate/20150616144220_create_carrierwave_documents.rb
223
225
  - spec/dummy/README.rdoc
224
226
  - spec/helper_methods.rb
225
- - spec/lib/integrations/local_integration_spec.rb
226
227
  - spec/lib/vigilion_rails_spec.rb
228
+ - spec/lib/integrations/local_integration_spec.rb
227
229
  - spec/routing/vigilion_routing_spec.rb
228
- - spec/spec_helper.rb
229
- - spec/vigilion_rails_helper.rb