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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rollbar_helper.rb +4 -4
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a011b3bbc7e959be87adf48f88b781ab9e021a2b
4
- data.tar.gz: f489c6144819621100c00455288e35a88ac8e655
3
+ metadata.gz: df95b15b12d0921c2b333e8676d89427cc173127
4
+ data.tar.gz: fdcdafa2ead440a29523ad6cef30a58f0f98d0f0
5
5
  SHA512:
6
- metadata.gz: 363d66edf3321a2acca22d077d8da93503d08ca188be5a1ea42cb186ffd18f156b976b7e8ad96c943cae29ebbf55b1128c79a279da406c1a73666c6fecf20252
7
- data.tar.gz: 9ea534ba65da917b50d6315fb4d0f75bc8282fd4fc42cde701c137f69fcd0cd3ef10d73e5f2d6855088052f1cdd51f9e7df859d1fd8ceb25dd995413ac536990
6
+ metadata.gz: 4f9d322c825d367e3e6535f7fd4367671657082e73d70fe0d0a4292313e6a3c6abed868c43843d882d389416a347e4fa282f9993a13a1736c87c7097482ad385
7
+ data.tar.gz: 6181ed540b397c0429eb2701ac7ce8610db5d3142c4d5799bf3f79225500730241f60d022ce55327ed0556bb6e4701853469be00d39b61d0dc76d986b3938a69
@@ -1,9 +1,9 @@
1
1
  class RollbarHelper
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
 
4
4
  class << self
5
5
 
6
- def error(obj, extra = {}, fingerprint: nil)
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, **extra)
17
+ Rollbar.scope(:fingerprint => fingerprint).error(e, data)
18
18
  else
19
- Rollbar.error(e, **extra)
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.1.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-05-25 00:00:00.000000000 Z
11
+ date: 2018-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler