restful_resource_bugsnag 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6333dd911c12a8cfa0c0ee8e8f43b56b8f4ef24
|
4
|
+
data.tar.gz: 3a370eb4187b80c317f2b028b18d2200435b7f17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afd31d78c74a91f20b20686e5f666a8bb027e3b68e4df1082f518cf1a31f68bde9293e6a51b5aa1b4c1ba2cfed6c5f2d3462f4fa99b540dc62df1162358d7f11
|
7
|
+
data.tar.gz: 52d6554d20403504f230ec515fcf4ea04b9172be9cd914e99f06ebea1879ea4f8b37f2e0d033d1428ff7dd116d31b586f10ee2d327525da770aef6f945112230
|
@@ -8,12 +8,12 @@ module RestfulResourceBugsnag
|
|
8
8
|
exception = notification.exceptions.first
|
9
9
|
|
10
10
|
if exception.is_a?(RestfulResource::HttpClient::HttpError)
|
11
|
-
notification.add_tab(:
|
11
|
+
notification.add_tab(:restful_resource_response, {
|
12
12
|
status: exception.response.status,
|
13
13
|
body: exception.response.body,
|
14
14
|
headers: exception.response.headers
|
15
15
|
})
|
16
|
-
notification.add_tab(:
|
16
|
+
notification.add_tab(:restful_resource_request, {
|
17
17
|
method: exception.request.method,
|
18
18
|
url: exception.request.url,
|
19
19
|
accept: exception.request.accept,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: restful_resource_bugsnag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mwagg
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bugsnag
|