carrierwave-vs 0.0.1 → 0.0.2

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
  SHA1:
3
- metadata.gz: 87ea0653d3a19997679a898e585b6d76b4e6b12e
4
- data.tar.gz: daf180175589eaa159b3b9e8d4b428295fdc8572
3
+ metadata.gz: 4df4a553a3341a6e4367f769c4d5ad86a413dcb5
4
+ data.tar.gz: 2849ecd733c071e7698f37f16b1da29c0d411924
5
5
  SHA512:
6
- metadata.gz: b54f051b7d53e12fd62c39872af23c2e289c4f64118216b38546e4efd4d4cc843b0aea4b3414d93401a01791bcb794e5f5ec4769e70f3877a4c44d80ac484137
7
- data.tar.gz: f8bb5e7e34274e96f00acbe81b36fa1c1920a7a8e70888896d38d36fcb71d8b06e47f5cff4349bc8118965dfd56acbec42fa7156380159413e8d69378e95b737
6
+ metadata.gz: f64f7995d94d59d51a9e386fd6147e98edd81a52facc49402e10a13eb9cbb1a921ffb9cdb39590498771135e888bc348350cc795ad0accf85273dee218feebb7
7
+ data.tar.gz: 05d9001486fe13fd65e11d5097eaaf75d3a36b937d96a5ece1b0f7174aec3ded55aa4ab4e1c08357e789dd19938ced8780841bb84c9a969945034100cc69e7ee
@@ -1,5 +1,5 @@
1
1
  module CarrierWave
2
2
  module VirusScanner
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -3,7 +3,8 @@ require "active_support/concern"
3
3
  module Carrierwave
4
4
  module VirusScanner
5
5
  extend ActiveSupport::Concern
6
- module ClassMethods
6
+
7
+ class_methods do
7
8
  def virus_scan
8
9
  process :virus_scan
9
10
  end
@@ -13,7 +14,6 @@ module Carrierwave
13
14
  response = ::VirusScanner::File.scan_url(url)
14
15
 
15
16
  return true unless response.fetch("status") == "OK"
16
-
17
17
  end
18
18
  end
19
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carrierwave-vs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - BitZesty Ltd.