catscan 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -37,9 +37,6 @@ module Catscan
37
37
  rescue => ex
38
38
  puts "Error!"
39
39
 
40
- # NOTE Re-raise exception for spec purposes
41
- raise if Rails.env.test?
42
-
43
40
  ActiveSupport::Notifications.instrument("log.scan",
44
41
  :klass_name => klass_name,
45
42
  :entity => entity.present? ? "#{entity}" : nil,
@@ -49,6 +46,8 @@ module Catscan
49
46
  :error_class => "#{ex.class}",
50
47
  :error_backtrace => "#{ex.backtrace}"
51
48
  )
49
+
50
+ raise
52
51
  end
53
52
 
54
53
  end
@@ -1,3 +1,3 @@
1
1
  module Catscan
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: catscan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-12-04 00:00:00.000000000 Z
12
+ date: 2013-12-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -195,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
195
195
  version: '0'
196
196
  segments:
197
197
  - 0
198
- hash: 2842060969617341904
198
+ hash: -4287045043791540618
199
199
  requirements: []
200
200
  rubyforge_project:
201
201
  rubygems_version: 1.8.23