rollbar_helper 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rollbar_helper.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df95b15b12d0921c2b333e8676d89427cc173127
|
4
|
+
data.tar.gz: fdcdafa2ead440a29523ad6cef30a58f0f98d0f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f9d322c825d367e3e6535f7fd4367671657082e73d70fe0d0a4292313e6a3c6abed868c43843d882d389416a347e4fa282f9993a13a1736c87c7097482ad385
|
7
|
+
data.tar.gz: 6181ed540b397c0429eb2701ac7ce8610db5d3142c4d5799bf3f79225500730241f60d022ce55327ed0556bb6e4701853469be00d39b61d0dc76d986b3938a69
|
data/lib/rollbar_helper.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
class RollbarHelper
|
2
|
-
VERSION = "0.
|
2
|
+
VERSION = "0.2.0"
|
3
3
|
|
4
4
|
class << self
|
5
5
|
|
6
|
-
def error(obj,
|
6
|
+
def error(obj, fingerprint: nil, **data)
|
7
7
|
e = nil
|
8
8
|
|
9
9
|
if obj.is_a?(Exception)
|
@@ -14,9 +14,9 @@ class RollbarHelper
|
|
14
14
|
end
|
15
15
|
|
16
16
|
if fingerprint.present?
|
17
|
-
Rollbar.scope(:fingerprint => fingerprint).error(e,
|
17
|
+
Rollbar.scope(:fingerprint => fingerprint).error(e, data)
|
18
18
|
else
|
19
|
-
Rollbar.error(e,
|
19
|
+
Rollbar.error(e, data)
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rollbar_helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Santiago Herrera
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|