access_logging 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/access_logging/controller.rb +1 -1
  2. metadata +9 -11
@@ -46,6 +46,6 @@ module AccessLogging::Controller
46
46
  AccessLog.log_request current_anyone, request, model: object, verb: verb
47
47
  rescue => e
48
48
  # in production, don't kill the request just because logging failed
49
- raise e if Rails.env.development?
49
+ raise e if Rails.env.development? || Rails.env.test?
50
50
  end
51
51
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: access_logging
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-06-29 00:00:00.000000000 -04:00
13
- default_executable:
12
+ date: 2011-11-29 00:00:00.000000000Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: rails
17
- requirement: &2157446640 !ruby/object:Gem::Requirement
16
+ requirement: &70220242243000 !ruby/object:Gem::Requirement
18
17
  none: false
19
18
  requirements:
20
19
  - - ~>
@@ -22,10 +21,10 @@ dependencies:
22
21
  version: '3'
23
22
  type: :runtime
24
23
  prerelease: false
25
- version_requirements: *2157446640
24
+ version_requirements: *70220242243000
26
25
  - !ruby/object:Gem::Dependency
27
26
  name: date_range_scopes
28
- requirement: &2157446240 !ruby/object:Gem::Requirement
27
+ requirement: &70220242242600 !ruby/object:Gem::Requirement
29
28
  none: false
30
29
  requirements:
31
30
  - - ! '>='
@@ -33,10 +32,10 @@ dependencies:
33
32
  version: '0'
34
33
  type: :runtime
35
34
  prerelease: false
36
- version_requirements: *2157446240
35
+ version_requirements: *70220242242600
37
36
  - !ruby/object:Gem::Dependency
38
37
  name: sqlite3
39
- requirement: &2157445780 !ruby/object:Gem::Requirement
38
+ requirement: &70220242242140 !ruby/object:Gem::Requirement
40
39
  none: false
41
40
  requirements:
42
41
  - - ! '>='
@@ -44,7 +43,7 @@ dependencies:
44
43
  version: '0'
45
44
  type: :development
46
45
  prerelease: false
47
- version_requirements: *2157445780
46
+ version_requirements: *70220242242140
48
47
  description: Log access to models through your controllers.
49
48
  email: nick.ragaz@gmail.com
50
49
  executables: []
@@ -57,7 +56,6 @@ files:
57
56
  - MIT-LICENSE
58
57
  - Rakefile
59
58
  - README.md
60
- has_rdoc: true
61
59
  homepage: http://github.com/nragaz/access_logging
62
60
  licenses: []
63
61
  post_install_message:
@@ -78,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
76
  version: '0'
79
77
  requirements: []
80
78
  rubyforge_project:
81
- rubygems_version: 1.6.2
79
+ rubygems_version: 1.8.10
82
80
  signing_key:
83
81
  specification_version: 3
84
82
  summary: Log access to models through your controllers.