bugsnag 1.2.8 → 1.2.9
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/VERSION +1 -1
- data/bugsnag.gemspec +13 -12
- data/lib/bugsnag/middleware/warden_user.rb +2 -1
- metadata +35 -49
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.9
|
data/bugsnag.gemspec
CHANGED
@@ -4,14 +4,14 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "1.2.
|
7
|
+
s.name = %q{bugsnag}
|
8
|
+
s.version = "1.2.9"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["James Smith"]
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
12
|
+
s.date = %q{2013-01-08}
|
13
|
+
s.description = %q{Ruby notifier for bugsnag.com}
|
14
|
+
s.email = %q{james@bugsnag.com}
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE.txt",
|
17
17
|
"README.md"
|
@@ -56,31 +56,32 @@ Gem::Specification.new do |s|
|
|
56
56
|
"spec/rack_spec.rb",
|
57
57
|
"spec/spec_helper.rb"
|
58
58
|
]
|
59
|
-
s.homepage =
|
59
|
+
s.homepage = %q{http://github.com/bugsnag/bugsnag-ruby}
|
60
60
|
s.licenses = ["MIT"]
|
61
61
|
s.require_paths = ["lib"]
|
62
|
-
s.rubygems_version =
|
63
|
-
s.summary =
|
62
|
+
s.rubygems_version = %q{1.3.6}
|
63
|
+
s.summary = %q{Ruby notifier for bugsnag.com}
|
64
64
|
|
65
65
|
if s.respond_to? :specification_version then
|
66
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
66
67
|
s.specification_version = 3
|
67
68
|
|
68
|
-
if Gem::Version.new(Gem::
|
69
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
69
70
|
s.add_runtime_dependency(%q<multi_json>, ["~> 1.0"])
|
70
|
-
s.add_runtime_dependency(%q<httparty>, ["
|
71
|
+
s.add_runtime_dependency(%q<httparty>, [">= 0.5", "< 1.0"])
|
71
72
|
s.add_development_dependency(%q<rspec>, ["~> 2.11.0"])
|
72
73
|
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
|
73
74
|
s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
|
74
75
|
else
|
75
76
|
s.add_dependency(%q<multi_json>, ["~> 1.0"])
|
76
|
-
s.add_dependency(%q<httparty>, ["
|
77
|
+
s.add_dependency(%q<httparty>, [">= 0.5", "< 1.0"])
|
77
78
|
s.add_dependency(%q<rspec>, ["~> 2.11.0"])
|
78
79
|
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
79
80
|
s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
|
80
81
|
end
|
81
82
|
else
|
82
83
|
s.add_dependency(%q<multi_json>, ["~> 1.0"])
|
83
|
-
s.add_dependency(%q<httparty>, ["
|
84
|
+
s.add_dependency(%q<httparty>, [">= 0.5", "< 1.0"])
|
84
85
|
s.add_dependency(%q<rspec>, ["~> 2.11.0"])
|
85
86
|
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
86
87
|
s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
|
@@ -20,7 +20,8 @@ module Bugsnag::Middleware
|
|
20
20
|
|
21
21
|
# Set the user_id
|
22
22
|
if best_scope
|
23
|
-
|
23
|
+
scope_key = "warden.user.#{best_scope}.key"
|
24
|
+
user_id = session[scope_key][1][0] rescue nil
|
24
25
|
notification.user_id = user_id unless user_id.nil?
|
25
26
|
end
|
26
27
|
|
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bugsnag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
4
|
+
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 1
|
8
7
|
- 2
|
9
|
-
-
|
10
|
-
version: 1.2.
|
8
|
+
- 9
|
9
|
+
version: 1.2.9
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- James Smith
|
@@ -15,92 +14,82 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date: 2013-01-08 00:00:00
|
17
|
+
date: 2013-01-08 00:00:00 -08:00
|
18
|
+
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
|
-
|
22
|
-
|
21
|
+
prerelease: false
|
22
|
+
type: :runtime
|
23
|
+
name: multi_json
|
24
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
23
25
|
requirements:
|
24
26
|
- - ~>
|
25
27
|
- !ruby/object:Gem::Version
|
26
|
-
hash: 15
|
27
28
|
segments:
|
28
29
|
- 1
|
29
30
|
- 0
|
30
31
|
version: "1.0"
|
31
|
-
|
32
|
-
|
32
|
+
requirement: *id001
|
33
|
+
- !ruby/object:Gem::Dependency
|
33
34
|
prerelease: false
|
34
35
|
type: :runtime
|
35
|
-
|
36
|
-
|
37
|
-
none: false
|
36
|
+
name: httparty
|
37
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- - <
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
hash: 15
|
42
|
-
segments:
|
43
|
-
- 1
|
44
|
-
- 0
|
45
|
-
version: "1.0"
|
46
39
|
- - ">="
|
47
40
|
- !ruby/object:Gem::Version
|
48
|
-
hash: 1
|
49
41
|
segments:
|
50
42
|
- 0
|
51
43
|
- 5
|
52
44
|
version: "0.5"
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
45
|
+
- - <
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
segments:
|
48
|
+
- 1
|
49
|
+
- 0
|
50
|
+
version: "1.0"
|
51
|
+
requirement: *id002
|
57
52
|
- !ruby/object:Gem::Dependency
|
58
|
-
|
59
|
-
|
53
|
+
prerelease: false
|
54
|
+
type: :development
|
55
|
+
name: rspec
|
56
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
60
57
|
requirements:
|
61
58
|
- - ~>
|
62
59
|
- !ruby/object:Gem::Version
|
63
|
-
hash: 35
|
64
60
|
segments:
|
65
61
|
- 2
|
66
62
|
- 11
|
67
63
|
- 0
|
68
64
|
version: 2.11.0
|
69
|
-
|
70
|
-
|
65
|
+
requirement: *id003
|
66
|
+
- !ruby/object:Gem::Dependency
|
71
67
|
prerelease: false
|
72
68
|
type: :development
|
73
|
-
|
74
|
-
|
75
|
-
none: false
|
69
|
+
name: rdoc
|
70
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
76
71
|
requirements:
|
77
72
|
- - ~>
|
78
73
|
- !ruby/object:Gem::Version
|
79
|
-
hash: 31
|
80
74
|
segments:
|
81
75
|
- 3
|
82
76
|
- 12
|
83
77
|
version: "3.12"
|
84
|
-
|
85
|
-
|
78
|
+
requirement: *id004
|
79
|
+
- !ruby/object:Gem::Dependency
|
86
80
|
prerelease: false
|
87
81
|
type: :development
|
88
|
-
|
89
|
-
|
90
|
-
none: false
|
82
|
+
name: jeweler
|
83
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
91
84
|
requirements:
|
92
85
|
- - ~>
|
93
86
|
- !ruby/object:Gem::Version
|
94
|
-
hash: 63
|
95
87
|
segments:
|
96
88
|
- 1
|
97
89
|
- 8
|
98
90
|
- 4
|
99
91
|
version: 1.8.4
|
100
|
-
|
101
|
-
name: jeweler
|
102
|
-
prerelease: false
|
103
|
-
type: :development
|
92
|
+
requirement: *id005
|
104
93
|
description: Ruby notifier for bugsnag.com
|
105
94
|
email: james@bugsnag.com
|
106
95
|
executables: []
|
@@ -149,6 +138,7 @@ files:
|
|
149
138
|
- spec/notification_spec.rb
|
150
139
|
- spec/rack_spec.rb
|
151
140
|
- spec/spec_helper.rb
|
141
|
+
has_rdoc: true
|
152
142
|
homepage: http://github.com/bugsnag/bugsnag-ruby
|
153
143
|
licenses:
|
154
144
|
- MIT
|
@@ -158,27 +148,23 @@ rdoc_options: []
|
|
158
148
|
require_paths:
|
159
149
|
- lib
|
160
150
|
required_ruby_version: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
151
|
requirements:
|
163
152
|
- - ">="
|
164
153
|
- !ruby/object:Gem::Version
|
165
|
-
hash: 3
|
166
154
|
segments:
|
167
155
|
- 0
|
168
156
|
version: "0"
|
169
157
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
170
|
-
none: false
|
171
158
|
requirements:
|
172
159
|
- - ">="
|
173
160
|
- !ruby/object:Gem::Version
|
174
|
-
hash: 3
|
175
161
|
segments:
|
176
162
|
- 0
|
177
163
|
version: "0"
|
178
164
|
requirements: []
|
179
165
|
|
180
166
|
rubyforge_project:
|
181
|
-
rubygems_version: 1.
|
167
|
+
rubygems_version: 1.3.6
|
182
168
|
signing_key:
|
183
169
|
specification_version: 3
|
184
170
|
summary: Ruby notifier for bugsnag.com
|