airbrake_user_attributes 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,7 +11,7 @@ module Airbrake
11
11
  # Return empty hash if there are no users.
12
12
  user = User.first
13
13
  end
14
- return {} unless user
14
+ return {} unless user && user.respond_to?(:attributes)
15
15
 
16
16
  # Removes auth-related fields
17
17
  attributes = user.attributes.reject do |k, v|
@@ -1,3 +1,3 @@
1
1
  module AirbrakeUserAttributes
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: airbrake_user_attributes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
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: 2012-05-29 00:00:00.000000000 Z
12
+ date: 2012-06-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -205,7 +205,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
205
205
  version: '0'
206
206
  segments:
207
207
  - 0
208
- hash: -63685505612795067
208
+ hash: 2985756114231812327
209
209
  required_rubygems_version: !ruby/object:Gem::Requirement
210
210
  none: false
211
211
  requirements:
@@ -214,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
214
214
  version: '0'
215
215
  segments:
216
216
  - 0
217
- hash: -63685505612795067
217
+ hash: 2985756114231812327
218
218
  requirements: []
219
219
  rubyforge_project:
220
220
  rubygems_version: 1.8.24