yogi_berra 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/yogi_berra/data.rb +1 -1
- data/lib/yogi_berra/version.rb +1 -1
- data/lib/yogi_berra.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZGQ1OGI0M2Q5NjE5YWZhMTUzNmFlOGZiYjE2NThmYmUyMWU3MzY5OA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDZlNWEzZGYzNzU1YmIyMzY2YzM4OWY0MjNkZGEzMjk4NWFiOWZkYw==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NDkzNWZmYTk5NjA0YTFiODU1NmEwYzNkNGJhNjFmNDE4NDdlNTQwOGVlNDI4
|
10
|
+
MmM2YmNlZjRkNjQzYmZlNzMzYjQ1YmI0MjkzY2M1YWEyYzJhMzgwYjI4OTY2
|
11
|
+
ZTI5NGVjYTc3NzBmYjIzMDFhNzkzODlhNjA0NzU2YmRhNzJjMzY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YzUyMmM1MWMxMjY0OTgwNzUwNzAzMzQyNWFhMjRhMGM1ZjlmNjY2ODU2MDc5
|
14
|
+
YzFlNGNlMTYwY2M0NTQ1MzM3YWNhYTMyOGIwYThhYTI3NmJhMDNiOThmZWVl
|
15
|
+
MjA3NzIyZWI1YTNkOGE3OTQ0MTM3ZmI0Njk3NzRmZjBlOTgyMDk=
|
data/lib/yogi_berra/data.rb
CHANGED
@@ -14,7 +14,7 @@ module YogiBerra
|
|
14
14
|
|
15
15
|
def self.parse_exception(notice)
|
16
16
|
data_hash = {
|
17
|
-
:error_class => "#{notice.class}",
|
17
|
+
:error_class => "#{notice.exception.class}",
|
18
18
|
:project => YogiBerra::Catcher.settings["project"],
|
19
19
|
:error_message => notice.respond_to?(:error_message) ? notice.error_message : notice.message
|
20
20
|
}
|
data/lib/yogi_berra/version.rb
CHANGED
data/lib/yogi_berra.rb
CHANGED
@@ -17,8 +17,8 @@ module YogiBerra
|
|
17
17
|
# @see YogiBerra.exceptionize
|
18
18
|
# @params exception
|
19
19
|
# @params environment
|
20
|
-
# @params
|
21
|
-
def exceptionize(exception, environment, opts = {})
|
20
|
+
# @params opts
|
21
|
+
def exceptionize(exception, environment = nil, opts = {})
|
22
22
|
notice = build_notice_for(exception, opts)
|
23
23
|
if YogiBerra::Catcher.connection
|
24
24
|
YogiBerra::Data.store!(notice, environment)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yogi_berra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Earl Krauss
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|