honeybadger 1.9.3 → 1.9.4

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## Honeybadger 1.9.4 ##
2
+
3
+ * Fix bug where Faraday was getting a duplicate adapter when building
4
+ client.
5
+
6
+ *Joshua Wood*
7
+
1
8
  ## Honeybadger 1.9.3 ##
2
9
 
3
10
  * Lock gemspec to faraday ~>0.7 to fix yield discrepancy between 0.7 and
data/Gemfile.lock CHANGED
@@ -1,13 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- honeybadger (1.9.3)
4
+ honeybadger (1.9.4)
5
5
  faraday (~> 0.7)
6
6
  json
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
+ addressable (2.3.5)
11
12
  appraisal (0.5.1)
12
13
  bundler
13
14
  rake
@@ -25,13 +26,14 @@ GEM
25
26
  childprocess (0.3.6)
26
27
  ffi (~> 1.0, >= 1.0.6)
27
28
  coderay (1.0.9)
29
+ crack (0.4.1)
30
+ safe_yaml (~> 0.9.0)
28
31
  cucumber (1.2.1)
29
32
  builder (>= 2.1.2)
30
33
  diff-lcs (>= 1.1.3)
31
34
  gherkin (~> 2.11.0)
32
35
  json (>= 1.4.6)
33
36
  diff-lcs (1.2.4)
34
- fakeweb (1.3.0)
35
37
  faraday (0.8.8)
36
38
  multipart-post (~> 1.2.0)
37
39
  ffi (1.2.0)
@@ -98,6 +100,7 @@ GEM
98
100
  rspec-instafail (0.2.4)
99
101
  rspec-mocks (2.14.3)
100
102
  ruby-progressbar (1.2.0)
103
+ safe_yaml (0.9.7)
101
104
  sham_rack (1.3.4)
102
105
  rack
103
106
  sinatra (1.0)
@@ -106,6 +109,9 @@ GEM
106
109
  spoon (0.0.4)
107
110
  ffi
108
111
  thor (0.18.1)
112
+ webmock (1.15.2)
113
+ addressable (>= 2.2.7)
114
+ crack (>= 0.3.2)
109
115
 
110
116
  PLATFORMS
111
117
  java
@@ -116,7 +122,6 @@ DEPENDENCIES
116
122
  aruba
117
123
  capistrano (~> 2.0)
118
124
  cucumber (~> 1.2.1)
119
- fakeweb (~> 1.3.0)
120
125
  fuubar
121
126
  growl
122
127
  guard
@@ -126,3 +131,4 @@ DEPENDENCIES
126
131
  rspec (~> 2.14.0)
127
132
  sham_rack (~> 1.3.0)
128
133
  sinatra
134
+ webmock
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/josh/code/honeybadger-ruby
3
3
  specs:
4
- honeybadger (1.9.2)
4
+ honeybadger (1.9.4)
5
5
  faraday (~> 0.7)
6
6
  json
7
7
 
@@ -17,22 +17,25 @@ GEM
17
17
  cucumber (>= 1.1.1)
18
18
  rspec-expectations (>= 2.7.0)
19
19
  builder (3.2.2)
20
- capistrano (3.0.1)
21
- i18n
22
- rake (>= 10.0.0)
23
- sshkit (>= 0.0.23)
20
+ capistrano (2.15.5)
21
+ highline
22
+ net-scp (>= 1.0.0)
23
+ net-sftp (>= 2.0.0)
24
+ net-ssh (>= 2.0.14)
25
+ net-ssh-gateway (>= 1.1.0)
24
26
  celluloid (0.15.2)
25
27
  timers (~> 1.1.0)
26
28
  childprocess (0.3.9)
27
29
  ffi (~> 1.0, >= 1.0.11)
28
30
  coderay (1.0.9)
31
+ crack (0.4.1)
32
+ safe_yaml (~> 0.9.0)
29
33
  cucumber (1.2.5)
30
34
  builder (>= 2.1.2)
31
35
  diff-lcs (>= 1.1.3)
32
36
  gherkin (~> 2.11.7)
33
37
  multi_json (~> 1.3)
34
38
  diff-lcs (1.2.4)
35
- fakeweb (1.3.0)
36
39
  faraday (0.7.6)
37
40
  addressable (~> 2.2)
38
41
  multipart-post (~> 1.1)
@@ -55,7 +58,7 @@ GEM
55
58
  guard-rspec (4.0.3)
56
59
  guard (>= 2.1.1)
57
60
  rspec (~> 2.14)
58
- i18n (0.6.5)
61
+ highline (1.6.20)
59
62
  json (1.8.1)
60
63
  listen (2.2.0)
61
64
  celluloid (>= 0.15.2)
@@ -67,7 +70,11 @@ GEM
67
70
  multipart-post (1.2.0)
68
71
  net-scp (1.1.2)
69
72
  net-ssh (>= 2.6.5)
73
+ net-sftp (2.1.2)
74
+ net-ssh (>= 2.6.5)
70
75
  net-ssh (2.7.0)
76
+ net-ssh-gateway (1.2.0)
77
+ net-ssh (>= 2.6.5)
71
78
  pry (0.9.12.2)
72
79
  coderay (~> 1.0.5)
73
80
  method_source (~> 0.8)
@@ -89,6 +96,7 @@ GEM
89
96
  rspec-instafail (0.2.4)
90
97
  rspec-mocks (2.14.4)
91
98
  ruby-progressbar (1.2.0)
99
+ safe_yaml (0.9.7)
92
100
  sham_rack (1.3.6)
93
101
  rack
94
102
  sinatra (1.4.4)
@@ -96,16 +104,12 @@ GEM
96
104
  rack-protection (~> 1.4)
97
105
  tilt (~> 1.3, >= 1.3.4)
98
106
  slop (3.4.6)
99
- sshkit (1.1.0)
100
- net-scp
101
- net-ssh
102
- term-ansicolor
103
- term-ansicolor (1.2.2)
104
- tins (~> 0.8)
105
107
  thor (0.18.1)
106
108
  tilt (1.4.1)
107
109
  timers (1.1.0)
108
- tins (0.12.0)
110
+ webmock (1.15.2)
111
+ addressable (>= 2.2.7)
112
+ crack (>= 0.3.2)
109
113
 
110
114
  PLATFORMS
111
115
  ruby
@@ -113,9 +117,8 @@ PLATFORMS
113
117
  DEPENDENCIES
114
118
  appraisal
115
119
  aruba
116
- capistrano
120
+ capistrano (~> 2.0)
117
121
  cucumber (~> 1.2.1)
118
- fakeweb (~> 1.3.0)
119
122
  faraday (~> 0.7.0)
120
123
  fuubar
121
124
  growl
@@ -127,3 +130,4 @@ DEPENDENCIES
127
130
  rspec (~> 2.14.0)
128
131
  sham_rack (~> 1.3.0)
129
132
  sinatra
133
+ webmock
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/josh/code/honeybadger-ruby
3
3
  specs:
4
- honeybadger (1.9.2)
4
+ honeybadger (1.9.4)
5
5
  faraday (~> 0.7)
6
6
  json
7
7
 
@@ -39,13 +39,14 @@ GEM
39
39
  childprocess (0.3.9)
40
40
  ffi (~> 1.0, >= 1.0.11)
41
41
  coderay (1.0.9)
42
+ crack (0.4.1)
43
+ safe_yaml (~> 0.9.0)
42
44
  cucumber (1.2.5)
43
45
  builder (>= 2.1.2)
44
46
  diff-lcs (>= 1.1.3)
45
47
  gherkin (~> 2.11.7)
46
48
  multi_json (~> 1.3)
47
49
  diff-lcs (1.2.4)
48
- fakeweb (1.3.0)
49
50
  faraday (0.7.6)
50
51
  addressable (~> 2.2)
51
52
  multipart-post (~> 1.1)
@@ -111,6 +112,7 @@ GEM
111
112
  rspec-instafail (0.2.4)
112
113
  rspec-mocks (2.14.4)
113
114
  ruby-progressbar (1.2.0)
115
+ safe_yaml (0.9.7)
114
116
  sham_rack (1.3.6)
115
117
  rack
116
118
  sinatra (1.2.9)
@@ -121,6 +123,9 @@ GEM
121
123
  thor (0.18.1)
122
124
  tilt (1.4.1)
123
125
  timers (1.1.0)
126
+ webmock (1.15.2)
127
+ addressable (>= 2.2.7)
128
+ crack (>= 0.3.2)
124
129
 
125
130
  PLATFORMS
126
131
  ruby
@@ -130,7 +135,6 @@ DEPENDENCIES
130
135
  aruba
131
136
  capistrano (~> 2.0)
132
137
  cucumber (~> 1.2.1)
133
- fakeweb (~> 1.3.0)
134
138
  faraday (~> 0.7.0)
135
139
  fuubar
136
140
  growl
@@ -142,3 +146,4 @@ DEPENDENCIES
142
146
  rspec (~> 2.14.0)
143
147
  sham_rack (~> 1.3.0)
144
148
  sinatra
149
+ webmock
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/josh/code/honeybadger-ruby
3
3
  specs:
4
- honeybadger (1.9.2)
4
+ honeybadger (1.9.4)
5
5
  faraday (~> 0.7)
6
6
  json
7
7
 
@@ -60,6 +60,8 @@ GEM
60
60
  childprocess (0.3.9)
61
61
  ffi (~> 1.0, >= 1.0.11)
62
62
  coderay (1.1.0)
63
+ crack (0.4.1)
64
+ safe_yaml (~> 0.9.0)
63
65
  cucumber (1.2.5)
64
66
  builder (>= 2.1.2)
65
67
  diff-lcs (>= 1.1.3)
@@ -68,7 +70,6 @@ GEM
68
70
  diff-lcs (1.2.4)
69
71
  erubis (2.6.6)
70
72
  abstract (>= 1.0.0)
71
- fakeweb (1.3.0)
72
73
  faraday (0.7.6)
73
74
  addressable (~> 2.2)
74
75
  multipart-post (~> 1.1)
@@ -145,6 +146,7 @@ GEM
145
146
  rspec-instafail (0.2.4)
146
147
  rspec-mocks (2.14.4)
147
148
  ruby-progressbar (1.2.0)
149
+ safe_yaml (0.9.7)
148
150
  sham_rack (1.3.6)
149
151
  rack
150
152
  sinatra (1.2.9)
@@ -158,6 +160,9 @@ GEM
158
160
  polyglot
159
161
  polyglot (>= 0.3.1)
160
162
  tzinfo (0.3.38)
163
+ webmock (1.15.2)
164
+ addressable (>= 2.2.7)
165
+ crack (>= 0.3.2)
161
166
 
162
167
  PLATFORMS
163
168
  ruby
@@ -168,7 +173,6 @@ DEPENDENCIES
168
173
  better_errors
169
174
  capistrano (~> 2.0)
170
175
  cucumber (~> 1.2.1)
171
- fakeweb (~> 1.3.0)
172
176
  faraday (~> 0.7.0)
173
177
  fuubar
174
178
  growl
@@ -180,3 +184,4 @@ DEPENDENCIES
180
184
  rspec (~> 2.14.0)
181
185
  sham_rack (~> 1.3.0)
182
186
  sinatra
187
+ webmock
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/josh/code/honeybadger-ruby
3
3
  specs:
4
- honeybadger (1.9.2)
4
+ honeybadger (1.9.4)
5
5
  faraday (~> 0.7)
6
6
  json
7
7
 
@@ -60,6 +60,8 @@ GEM
60
60
  childprocess (0.3.9)
61
61
  ffi (~> 1.0, >= 1.0.11)
62
62
  coderay (1.1.0)
63
+ crack (0.4.1)
64
+ safe_yaml (~> 0.9.0)
63
65
  cucumber (1.2.1)
64
66
  builder (>= 2.1.2)
65
67
  diff-lcs (>= 1.1.3)
@@ -67,7 +69,6 @@ GEM
67
69
  json (>= 1.4.6)
68
70
  diff-lcs (1.2.4)
69
71
  erubis (2.7.0)
70
- fakeweb (1.3.0)
71
72
  faraday (0.7.6)
72
73
  addressable (~> 2.2)
73
74
  multipart-post (~> 1.1)
@@ -151,6 +152,7 @@ GEM
151
152
  rspec-instafail (0.2.4)
152
153
  rspec-mocks (2.14.4)
153
154
  ruby-progressbar (1.2.0)
155
+ safe_yaml (0.9.7)
154
156
  sham_rack (1.3.6)
155
157
  rack
156
158
  sinatra (1.3.3)
@@ -168,6 +170,9 @@ GEM
168
170
  polyglot
169
171
  polyglot (>= 0.3.1)
170
172
  tzinfo (0.3.38)
173
+ webmock (1.15.2)
174
+ addressable (>= 2.2.7)
175
+ crack (>= 0.3.2)
171
176
 
172
177
  PLATFORMS
173
178
  ruby
@@ -178,7 +183,6 @@ DEPENDENCIES
178
183
  better_errors
179
184
  capistrano (~> 2.0)
180
185
  cucumber (~> 1.2.1)
181
- fakeweb (~> 1.3.0)
182
186
  faraday (~> 0.7.0)
183
187
  fuubar
184
188
  growl
@@ -190,3 +194,4 @@ DEPENDENCIES
190
194
  rspec (~> 2.14.0)
191
195
  sham_rack (~> 1.3.0)
192
196
  sinatra
197
+ webmock
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/josh/code/honeybadger-ruby
3
3
  specs:
4
- honeybadger (1.9.2)
4
+ honeybadger (1.9.4)
5
5
  faraday (~> 0.7)
6
6
  json
7
7
 
@@ -59,6 +59,8 @@ GEM
59
59
  childprocess (0.3.9)
60
60
  ffi (~> 1.0, >= 1.0.11)
61
61
  coderay (1.1.0)
62
+ crack (0.4.1)
63
+ safe_yaml (~> 0.9.0)
62
64
  cucumber (1.2.5)
63
65
  builder (>= 2.1.2)
64
66
  diff-lcs (>= 1.1.3)
@@ -66,7 +68,6 @@ GEM
66
68
  multi_json (~> 1.3)
67
69
  diff-lcs (1.2.4)
68
70
  erubis (2.7.0)
69
- fakeweb (1.3.0)
70
71
  faraday (0.7.6)
71
72
  addressable (~> 2.2)
72
73
  multipart-post (~> 1.1)
@@ -149,6 +150,7 @@ GEM
149
150
  rspec-instafail (0.2.4)
150
151
  rspec-mocks (2.14.4)
151
152
  ruby-progressbar (1.2.0)
153
+ safe_yaml (0.9.7)
152
154
  sham_rack (1.3.6)
153
155
  rack
154
156
  sinatra (1.4.4)
@@ -167,6 +169,9 @@ GEM
167
169
  polyglot
168
170
  polyglot (>= 0.3.1)
169
171
  tzinfo (0.3.38)
172
+ webmock (1.15.2)
173
+ addressable (>= 2.2.7)
174
+ crack (>= 0.3.2)
170
175
 
171
176
  PLATFORMS
172
177
  ruby
@@ -177,7 +182,6 @@ DEPENDENCIES
177
182
  better_errors
178
183
  capistrano (~> 2.0)
179
184
  cucumber (~> 1.2.1)
180
- fakeweb (~> 1.3.0)
181
185
  faraday (~> 0.7.0)
182
186
  fuubar
183
187
  growl
@@ -189,3 +193,4 @@ DEPENDENCIES
189
193
  rspec (~> 2.14.0)
190
194
  sham_rack (~> 1.3.0)
191
195
  sinatra
196
+ webmock
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/josh/code/honeybadger-ruby
3
3
  specs:
4
- honeybadger (1.9.2)
4
+ honeybadger (1.9.4)
5
5
  faraday (~> 0.7)
6
6
  json
7
7
 
@@ -57,6 +57,8 @@ GEM
57
57
  childprocess (0.3.9)
58
58
  ffi (~> 1.0, >= 1.0.11)
59
59
  coderay (1.1.0)
60
+ crack (0.4.1)
61
+ safe_yaml (~> 0.9.0)
60
62
  cucumber (1.2.5)
61
63
  builder (>= 2.1.2)
62
64
  diff-lcs (>= 1.1.3)
@@ -64,7 +66,6 @@ GEM
64
66
  multi_json (~> 1.3)
65
67
  diff-lcs (1.2.4)
66
68
  erubis (2.7.0)
67
- fakeweb (1.3.0)
68
69
  faraday (0.7.6)
69
70
  addressable (~> 2.2)
70
71
  multipart-post (~> 1.1)
@@ -138,6 +139,7 @@ GEM
138
139
  rspec-instafail (0.2.4)
139
140
  rspec-mocks (2.14.4)
140
141
  ruby-progressbar (1.2.0)
142
+ safe_yaml (0.9.7)
141
143
  sham_rack (1.3.6)
142
144
  rack
143
145
  sinatra (1.4.4)
@@ -162,6 +164,9 @@ GEM
162
164
  polyglot
163
165
  polyglot (>= 0.3.1)
164
166
  tzinfo (0.3.38)
167
+ webmock (1.15.2)
168
+ addressable (>= 2.2.7)
169
+ crack (>= 0.3.2)
165
170
 
166
171
  PLATFORMS
167
172
  ruby
@@ -172,7 +177,6 @@ DEPENDENCIES
172
177
  better_errors
173
178
  capistrano (~> 2.0)
174
179
  cucumber (~> 1.2.1)
175
- fakeweb (~> 1.3.0)
176
180
  faraday (~> 0.7.0)
177
181
  fuubar
178
182
  growl
@@ -184,3 +188,4 @@ DEPENDENCIES
184
188
  rspec (~> 2.14.0)
185
189
  sham_rack (~> 1.3.0)
186
190
  sinatra
191
+ webmock
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/josh/code/honeybadger-ruby
3
3
  specs:
4
- honeybadger (1.9.2)
4
+ honeybadger (1.9.4)
5
5
  faraday (~> 0.7)
6
6
  json
7
7
 
@@ -17,22 +17,25 @@ GEM
17
17
  cucumber (>= 1.1.1)
18
18
  rspec-expectations (>= 2.7.0)
19
19
  builder (3.2.2)
20
- capistrano (3.0.1)
21
- i18n
22
- rake (>= 10.0.0)
23
- sshkit (>= 0.0.23)
20
+ capistrano (2.15.5)
21
+ highline
22
+ net-scp (>= 1.0.0)
23
+ net-sftp (>= 2.0.0)
24
+ net-ssh (>= 2.0.14)
25
+ net-ssh-gateway (>= 1.1.0)
24
26
  celluloid (0.15.2)
25
27
  timers (~> 1.1.0)
26
28
  childprocess (0.3.9)
27
29
  ffi (~> 1.0, >= 1.0.11)
28
30
  coderay (1.0.9)
31
+ crack (0.4.1)
32
+ safe_yaml (~> 0.9.0)
29
33
  cucumber (1.2.5)
30
34
  builder (>= 2.1.2)
31
35
  diff-lcs (>= 1.1.3)
32
36
  gherkin (~> 2.11.7)
33
37
  multi_json (~> 1.3)
34
38
  diff-lcs (1.2.4)
35
- fakeweb (1.3.0)
36
39
  faraday (0.7.6)
37
40
  addressable (~> 2.2)
38
41
  multipart-post (~> 1.1)
@@ -55,7 +58,7 @@ GEM
55
58
  guard-rspec (4.0.3)
56
59
  guard (>= 2.1.1)
57
60
  rspec (~> 2.14)
58
- i18n (0.6.5)
61
+ highline (1.6.20)
59
62
  json (1.8.1)
60
63
  listen (2.2.0)
61
64
  celluloid (>= 0.15.2)
@@ -67,7 +70,11 @@ GEM
67
70
  multipart-post (1.2.0)
68
71
  net-scp (1.1.2)
69
72
  net-ssh (>= 2.6.5)
73
+ net-sftp (2.1.2)
74
+ net-ssh (>= 2.6.5)
70
75
  net-ssh (2.7.0)
76
+ net-ssh-gateway (1.2.0)
77
+ net-ssh (>= 2.6.5)
71
78
  pry (0.9.12.2)
72
79
  coderay (~> 1.0.5)
73
80
  method_source (~> 0.8)
@@ -89,6 +96,7 @@ GEM
89
96
  rspec-instafail (0.2.4)
90
97
  rspec-mocks (2.14.4)
91
98
  ruby-progressbar (1.2.0)
99
+ safe_yaml (0.9.7)
92
100
  sham_rack (1.3.6)
93
101
  rack
94
102
  sinatra (1.4.4)
@@ -96,16 +104,12 @@ GEM
96
104
  rack-protection (~> 1.4)
97
105
  tilt (~> 1.3, >= 1.3.4)
98
106
  slop (3.4.6)
99
- sshkit (1.1.0)
100
- net-scp
101
- net-ssh
102
- term-ansicolor
103
- term-ansicolor (1.2.2)
104
- tins (~> 0.8)
105
107
  thor (0.18.1)
106
108
  tilt (1.4.1)
107
109
  timers (1.1.0)
108
- tins (0.12.0)
110
+ webmock (1.15.2)
111
+ addressable (>= 2.2.7)
112
+ crack (>= 0.3.2)
109
113
 
110
114
  PLATFORMS
111
115
  ruby
@@ -113,9 +117,8 @@ PLATFORMS
113
117
  DEPENDENCIES
114
118
  appraisal
115
119
  aruba
116
- capistrano
120
+ capistrano (~> 2.0)
117
121
  cucumber (~> 1.2.1)
118
- fakeweb (~> 1.3.0)
119
122
  faraday (~> 0.7.0)
120
123
  fuubar
121
124
  growl
@@ -126,3 +129,4 @@ DEPENDENCIES
126
129
  rspec (~> 2.14.0)
127
130
  sham_rack (~> 1.3.0)
128
131
  sinatra
132
+ webmock
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/josh/code/honeybadger-ruby
3
3
  specs:
4
- honeybadger (1.9.2)
4
+ honeybadger (1.9.4)
5
5
  faraday (~> 0.7)
6
6
  json
7
7
 
@@ -17,22 +17,25 @@ GEM
17
17
  cucumber (>= 1.1.1)
18
18
  rspec-expectations (>= 2.7.0)
19
19
  builder (3.2.2)
20
- capistrano (3.0.1)
21
- i18n
22
- rake (>= 10.0.0)
23
- sshkit (>= 0.0.23)
20
+ capistrano (2.15.5)
21
+ highline
22
+ net-scp (>= 1.0.0)
23
+ net-sftp (>= 2.0.0)
24
+ net-ssh (>= 2.0.14)
25
+ net-ssh-gateway (>= 1.1.0)
24
26
  celluloid (0.15.2)
25
27
  timers (~> 1.1.0)
26
28
  childprocess (0.3.9)
27
29
  ffi (~> 1.0, >= 1.0.11)
28
30
  coderay (1.0.9)
31
+ crack (0.4.1)
32
+ safe_yaml (~> 0.9.0)
29
33
  cucumber (1.2.5)
30
34
  builder (>= 2.1.2)
31
35
  diff-lcs (>= 1.1.3)
32
36
  gherkin (~> 2.11.7)
33
37
  multi_json (~> 1.3)
34
38
  diff-lcs (1.2.4)
35
- fakeweb (1.3.0)
36
39
  faraday (0.7.6)
37
40
  addressable (~> 2.2)
38
41
  multipart-post (~> 1.1)
@@ -55,7 +58,7 @@ GEM
55
58
  guard-rspec (4.0.3)
56
59
  guard (>= 2.1.1)
57
60
  rspec (~> 2.14)
58
- i18n (0.6.5)
61
+ highline (1.6.20)
59
62
  json (1.8.1)
60
63
  listen (2.2.0)
61
64
  celluloid (>= 0.15.2)
@@ -67,7 +70,11 @@ GEM
67
70
  multipart-post (1.2.0)
68
71
  net-scp (1.1.2)
69
72
  net-ssh (>= 2.6.5)
73
+ net-sftp (2.1.2)
74
+ net-ssh (>= 2.6.5)
70
75
  net-ssh (2.7.0)
76
+ net-ssh-gateway (1.2.0)
77
+ net-ssh (>= 2.6.5)
71
78
  pry (0.9.12.2)
72
79
  coderay (~> 1.0.5)
73
80
  method_source (~> 0.8)
@@ -89,6 +96,7 @@ GEM
89
96
  rspec-instafail (0.2.4)
90
97
  rspec-mocks (2.14.4)
91
98
  ruby-progressbar (1.2.0)
99
+ safe_yaml (0.9.7)
92
100
  sham_rack (1.3.6)
93
101
  rack
94
102
  sinatra (1.4.4)
@@ -96,16 +104,12 @@ GEM
96
104
  rack-protection (~> 1.4)
97
105
  tilt (~> 1.3, >= 1.3.4)
98
106
  slop (3.4.6)
99
- sshkit (1.1.0)
100
- net-scp
101
- net-ssh
102
- term-ansicolor
103
- term-ansicolor (1.2.2)
104
- tins (~> 0.8)
105
107
  thor (0.18.1)
106
108
  tilt (1.4.1)
107
109
  timers (1.1.0)
108
- tins (0.12.0)
110
+ webmock (1.15.2)
111
+ addressable (>= 2.2.7)
112
+ crack (>= 0.3.2)
109
113
 
110
114
  PLATFORMS
111
115
  ruby
@@ -113,9 +117,8 @@ PLATFORMS
113
117
  DEPENDENCIES
114
118
  appraisal
115
119
  aruba
116
- capistrano
120
+ capistrano (~> 2.0)
117
121
  cucumber (~> 1.2.1)
118
- fakeweb (~> 1.3.0)
119
122
  faraday (~> 0.7.0)
120
123
  fuubar
121
124
  growl
@@ -126,3 +129,4 @@ DEPENDENCIES
126
129
  rspec (~> 2.14.0)
127
130
  sham_rack (~> 1.3.0)
128
131
  sinatra
132
+ webmock
data/honeybadger.gemspec CHANGED
@@ -4,8 +4,8 @@ Gem::Specification.new do |s|
4
4
  s.rubygems_version = '1.3.5'
5
5
 
6
6
  s.name = 'honeybadger'
7
- s.version = '1.9.3'
8
- s.date = '2013-11-05'
7
+ s.version = '1.9.4'
8
+ s.date = '2013-11-12'
9
9
 
10
10
  s.summary = 'Error reports you can be happy about.'
11
11
  s.description = 'Make managing application errors a more pleasant experience.'
@@ -24,7 +24,6 @@ Gem::Specification.new do |s|
24
24
 
25
25
  s.add_development_dependency('cucumber', '~> 1.2.1')
26
26
  s.add_development_dependency('rspec', '~> 2.14.0')
27
- s.add_development_dependency('fakeweb', '~> 1.3.0')
28
27
  s.add_development_dependency('sham_rack', '~> 1.3.0')
29
28
  s.add_development_dependency('capistrano', '~> 2.0')
30
29
  s.add_development_dependency('rake')
@@ -35,6 +34,7 @@ Gem::Specification.new do |s|
35
34
  s.add_development_dependency('guard-rspec')
36
35
  s.add_development_dependency('fuubar')
37
36
  s.add_development_dependency('growl')
37
+ s.add_development_dependency('webmock')
38
38
 
39
39
  ## Leave this section as-is. It will be automatically generated from the
40
40
  ## contents of your Git repository via the gemspec task. DO NOT REMOVE
data/lib/honeybadger.rb CHANGED
@@ -14,7 +14,7 @@ require 'honeybadger/stats'
14
14
  require 'honeybadger/railtie' if defined?(Rails::Railtie)
15
15
 
16
16
  module Honeybadger
17
- VERSION = '1.9.3'
17
+ VERSION = '1.9.4'
18
18
  LOG_PREFIX = "** [Honeybadger] "
19
19
 
20
20
  HEADERS = {
@@ -120,7 +120,10 @@ module Honeybadger
120
120
 
121
121
  def client
122
122
  @client ||= Faraday.new(:request => request_options, :proxy => proxy_options).tap do |conn|
123
- conn.adapter Faraday.default_adapter
123
+ conn.build do |builder|
124
+ builder.adapter Faraday.default_adapter
125
+ end
126
+
124
127
  conn.url_prefix = "#{protocol}://#{host}:#{port}"
125
128
  conn.headers['User-agent'] = "HB-Ruby #{Honeybadger::VERSION}; #{RUBY_VERSION}; #{RUBY_PLATFORM}"
126
129
  conn.headers['X-API-Key'] = api_key.to_s
@@ -433,6 +433,13 @@ describe Honeybadger::Notice do
433
433
  notice[:request][:context].should be_nil
434
434
  end
435
435
 
436
+ it "allows falsey values in context" do
437
+ Honeybadger.context({ :debuga => true, :debugb => false })
438
+ notice = build_notice
439
+ hash = JSON.parse(notice.to_json)
440
+ expect(hash['request']['context']).to eq({ 'debuga' => true, 'debugb' => false })
441
+ end
442
+
436
443
  it "ensures #to_hash is called on objects that support it" do
437
444
  expect { build_notice(:session => { :object => double(:to_hash => {}) }) }.not_to raise_error
438
445
  end
@@ -3,6 +3,12 @@ require 'spec_helper'
3
3
  describe Honeybadger::Sender do
4
4
  before(:each) { reset_config }
5
5
 
6
+ it "it makes a single request when sending notices" do
7
+ stub_request(:post, /api\.honeybadger\.io/)
8
+ Honeybadger.notify(RuntimeError.new('oops!'))
9
+ assert_requested :post, 'https://api.honeybadger.io/v1/notices/', :times => 1
10
+ end
11
+
6
12
  it "posts to Honeybadger when using an HTTP proxy" do
7
13
  post = double()
8
14
  http = stub_http
@@ -2,9 +2,6 @@ require 'spec_helper'
2
2
  require 'rubygems'
3
3
 
4
4
  require File.expand_path('../../lib/honeybadger_tasks', __FILE__)
5
- require 'fakeweb'
6
-
7
- FakeWeb.allow_net_connect = false
8
5
 
9
6
  describe HoneybadgerTasks do
10
7
  def successful_response(body = "")
data/spec/spec_helper.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'rspec'
2
2
  require 'honeybadger'
3
+ require 'webmock/rspec'
3
4
 
4
5
  # Require files in spec/support/ and its subdirectories.
5
6
  Dir[File.expand_path('../../spec/support/**/*.rb', __FILE__)].each {|f| require f}
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: honeybadger
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.3
4
+ version: 1.9.4
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Joshua Wood
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-11-05 00:00:00.000000000 Z
12
+ date: 2013-11-12 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: faraday
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ~>
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ~>
25
28
  - !ruby/object:Gem::Version
@@ -27,20 +30,23 @@ dependencies:
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: json
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - '>='
35
+ - - ! '>='
32
36
  - !ruby/object:Gem::Version
33
37
  version: '0'
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - '>='
43
+ - - ! '>='
39
44
  - !ruby/object:Gem::Version
40
45
  version: '0'
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: cucumber
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
51
  - - ~>
46
52
  - !ruby/object:Gem::Version
@@ -48,6 +54,7 @@ dependencies:
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
59
  - - ~>
53
60
  - !ruby/object:Gem::Version
@@ -55,6 +62,7 @@ dependencies:
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: rspec
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
67
  - - ~>
60
68
  - !ruby/object:Gem::Version
@@ -62,27 +70,15 @@ dependencies:
62
70
  type: :development
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
75
  - - ~>
67
76
  - !ruby/object:Gem::Version
68
77
  version: 2.14.0
69
- - !ruby/object:Gem::Dependency
70
- name: fakeweb
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ~>
74
- - !ruby/object:Gem::Version
75
- version: 1.3.0
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ~>
81
- - !ruby/object:Gem::Version
82
- version: 1.3.0
83
78
  - !ruby/object:Gem::Dependency
84
79
  name: sham_rack
85
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
86
82
  requirements:
87
83
  - - ~>
88
84
  - !ruby/object:Gem::Version
@@ -90,6 +86,7 @@ dependencies:
90
86
  type: :development
91
87
  prerelease: false
92
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
93
90
  requirements:
94
91
  - - ~>
95
92
  - !ruby/object:Gem::Version
@@ -97,6 +94,7 @@ dependencies:
97
94
  - !ruby/object:Gem::Dependency
98
95
  name: capistrano
99
96
  requirement: !ruby/object:Gem::Requirement
97
+ none: false
100
98
  requirements:
101
99
  - - ~>
102
100
  - !ruby/object:Gem::Version
@@ -104,6 +102,7 @@ dependencies:
104
102
  type: :development
105
103
  prerelease: false
106
104
  version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
107
106
  requirements:
108
107
  - - ~>
109
108
  - !ruby/object:Gem::Version
@@ -111,113 +110,145 @@ dependencies:
111
110
  - !ruby/object:Gem::Dependency
112
111
  name: rake
113
112
  requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
114
  requirements:
115
- - - '>='
115
+ - - ! '>='
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
121
122
  requirements:
122
- - - '>='
123
+ - - ! '>='
123
124
  - !ruby/object:Gem::Version
124
125
  version: '0'
125
126
  - !ruby/object:Gem::Dependency
126
127
  name: sinatra
127
128
  requirement: !ruby/object:Gem::Requirement
129
+ none: false
128
130
  requirements:
129
- - - '>='
131
+ - - ! '>='
130
132
  - !ruby/object:Gem::Version
131
133
  version: '0'
132
134
  type: :development
133
135
  prerelease: false
134
136
  version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
135
138
  requirements:
136
- - - '>='
139
+ - - ! '>='
137
140
  - !ruby/object:Gem::Version
138
141
  version: '0'
139
142
  - !ruby/object:Gem::Dependency
140
143
  name: aruba
141
144
  requirement: !ruby/object:Gem::Requirement
145
+ none: false
142
146
  requirements:
143
- - - '>='
147
+ - - ! '>='
144
148
  - !ruby/object:Gem::Version
145
149
  version: '0'
146
150
  type: :development
147
151
  prerelease: false
148
152
  version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
149
154
  requirements:
150
- - - '>='
155
+ - - ! '>='
151
156
  - !ruby/object:Gem::Version
152
157
  version: '0'
153
158
  - !ruby/object:Gem::Dependency
154
159
  name: appraisal
155
160
  requirement: !ruby/object:Gem::Requirement
161
+ none: false
156
162
  requirements:
157
- - - '>='
163
+ - - ! '>='
158
164
  - !ruby/object:Gem::Version
159
165
  version: '0'
160
166
  type: :development
161
167
  prerelease: false
162
168
  version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
163
170
  requirements:
164
- - - '>='
171
+ - - ! '>='
165
172
  - !ruby/object:Gem::Version
166
173
  version: '0'
167
174
  - !ruby/object:Gem::Dependency
168
175
  name: guard
169
176
  requirement: !ruby/object:Gem::Requirement
177
+ none: false
170
178
  requirements:
171
- - - '>='
179
+ - - ! '>='
172
180
  - !ruby/object:Gem::Version
173
181
  version: '0'
174
182
  type: :development
175
183
  prerelease: false
176
184
  version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
177
186
  requirements:
178
- - - '>='
187
+ - - ! '>='
179
188
  - !ruby/object:Gem::Version
180
189
  version: '0'
181
190
  - !ruby/object:Gem::Dependency
182
191
  name: guard-rspec
183
192
  requirement: !ruby/object:Gem::Requirement
193
+ none: false
184
194
  requirements:
185
- - - '>='
195
+ - - ! '>='
186
196
  - !ruby/object:Gem::Version
187
197
  version: '0'
188
198
  type: :development
189
199
  prerelease: false
190
200
  version_requirements: !ruby/object:Gem::Requirement
201
+ none: false
191
202
  requirements:
192
- - - '>='
203
+ - - ! '>='
193
204
  - !ruby/object:Gem::Version
194
205
  version: '0'
195
206
  - !ruby/object:Gem::Dependency
196
207
  name: fuubar
197
208
  requirement: !ruby/object:Gem::Requirement
209
+ none: false
198
210
  requirements:
199
- - - '>='
211
+ - - ! '>='
200
212
  - !ruby/object:Gem::Version
201
213
  version: '0'
202
214
  type: :development
203
215
  prerelease: false
204
216
  version_requirements: !ruby/object:Gem::Requirement
217
+ none: false
205
218
  requirements:
206
- - - '>='
219
+ - - ! '>='
207
220
  - !ruby/object:Gem::Version
208
221
  version: '0'
209
222
  - !ruby/object:Gem::Dependency
210
223
  name: growl
211
224
  requirement: !ruby/object:Gem::Requirement
225
+ none: false
226
+ requirements:
227
+ - - ! '>='
228
+ - !ruby/object:Gem::Version
229
+ version: '0'
230
+ type: :development
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ none: false
234
+ requirements:
235
+ - - ! '>='
236
+ - !ruby/object:Gem::Version
237
+ version: '0'
238
+ - !ruby/object:Gem::Dependency
239
+ name: webmock
240
+ requirement: !ruby/object:Gem::Requirement
241
+ none: false
212
242
  requirements:
213
- - - '>='
243
+ - - ! '>='
214
244
  - !ruby/object:Gem::Version
215
245
  version: '0'
216
246
  type: :development
217
247
  prerelease: false
218
248
  version_requirements: !ruby/object:Gem::Requirement
249
+ none: false
219
250
  requirements:
220
- - - '>='
251
+ - - ! '>='
221
252
  - !ruby/object:Gem::Version
222
253
  version: '0'
223
254
  description: Make managing application errors a more pleasant experience.
@@ -323,7 +354,6 @@ files:
323
354
  - spec/support/helpers.rb
324
355
  homepage: http://www.honeybadger.io
325
356
  licenses: []
326
- metadata: {}
327
357
  post_install_message:
328
358
  rdoc_options:
329
359
  - --charset=UTF-8
@@ -331,18 +361,23 @@ rdoc_options:
331
361
  require_paths:
332
362
  - lib
333
363
  required_ruby_version: !ruby/object:Gem::Requirement
364
+ none: false
334
365
  requirements:
335
- - - '>='
366
+ - - ! '>='
336
367
  - !ruby/object:Gem::Version
337
368
  version: '0'
369
+ segments:
370
+ - 0
371
+ hash: -2682598340224206533
338
372
  required_rubygems_version: !ruby/object:Gem::Requirement
373
+ none: false
339
374
  requirements:
340
- - - '>='
375
+ - - ! '>='
341
376
  - !ruby/object:Gem::Version
342
377
  version: '0'
343
378
  requirements: []
344
379
  rubyforge_project:
345
- rubygems_version: 2.0.3
380
+ rubygems_version: 1.8.23
346
381
  signing_key:
347
382
  specification_version: 2
348
383
  summary: Error reports you can be happy about.
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 827cbbe6225562ecb48148be88533f2e6b6df16f
4
- data.tar.gz: cf1c9b548fc00b2e70eeafcc9da8fe9416c81f42
5
- SHA512:
6
- metadata.gz: c680138664eb956ce6b212645a92daa54b78601886af22a35e4add00cccb4433050c2a853dbd01139049d27ae6fdf01baae22911a6bb65b29a132323e2817de8
7
- data.tar.gz: 571bb3461c38fcddc426c035692163e8387295cfdad9e62e2d58afc42d8a98655d1b3abc7174f44e9ba5a18e8f6b33e45bc21fef846c9a14969445f9fc358257