vigilion-rails 1.0.1 → 1.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: 4c113e911ffb4f4d4109078474e6160f935f5fc0
4
- data.tar.gz: 407ed62877a80d6dfb86123034eec223651b98ef
3
+ metadata.gz: 0e1a0f0c23941969cea448837278a687c09bb371
4
+ data.tar.gz: 8a7d712f006f44e2f0c6d8be9a84030e24c6afaf
5
5
  SHA512:
6
- metadata.gz: cc0bee071e4ef04a2e2e704a26e7592690e9e41bf4a7ccad56cc6e73b55079f7a029c445f2f538e7fc04f36e0c20f35827d51219e2e0712b501afb8bf3691d84
7
- data.tar.gz: 3982060ca63b5b4a2d97b5fd1c77e9452ae03d5166f133dd46c73d25ca59b3fc28e994b626b9556bb11af740c1997364423f77bb354d642417f5da18a934cbdf
6
+ metadata.gz: 7b54ba5bbf26c2da29a79b2550dc13ebbbbbda165e7d0050cb9e6ffa97b0cf9394b66965d3741770d42ca5534fc39f13b2249036c1864ec3aa52019afdba220a
7
+ data.tar.gz: 71d9a9efe97084685e00d805e296f7e985c774435bfbe0acf848785e3c66197e255d0afa866765dcfdb4fdb57f6b6e1aabae7ade0ef8e475a9ef65ee8abd9fbb
data/Rakefile CHANGED
@@ -23,11 +23,10 @@ Bundler::GemHelper.install_tasks
23
23
 
24
24
  require "rake/testtask"
25
25
 
26
- Rake::TestTask.new(:test) do |t|
27
- t.libs << "lib"
28
- t.libs << "test"
29
- t.pattern = "test/**/*_test.rb"
30
- t.verbose = false
31
- end
26
+ begin
27
+ require 'rspec/core/rake_task'
28
+ RSpec::Core::RakeTask.new(:spec)
32
29
 
33
- task default: :test
30
+ task default: :spec
31
+ rescue LoadError
32
+ end
@@ -32,7 +32,7 @@ module VigilionRails
32
32
  end
33
33
 
34
34
  after_initialize :remember_#{column}_url
35
- after_save :check_scan_#{column}
35
+ after_commit :check_scan_#{column}
36
36
 
37
37
  def remember_#{column}_url
38
38
  @#{column}_old_url = #{column}.try(:url) unless new_record?
@@ -10,4 +10,4 @@ module VigilionRails
10
10
  end
11
11
  end
12
12
  end
13
- end
13
+ end
@@ -1,3 +1,3 @@
1
1
  module VigilionRails
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
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.1
4
+ version: 1.0.2
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: 2016-06-07 00:00:00.000000000 Z
11
+ date: 2016-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -172,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
172
172
  version: '0'
173
173
  requirements: []
174
174
  rubyforge_project:
175
- rubygems_version: 2.4.5
175
+ rubygems_version: 2.4.5.1
176
176
  signing_key:
177
177
  specification_version: 4
178
178
  summary: Rails engine for Vigilion Anti-Virus & Malware file scanning service.