mailgun_catcher 0.4.0 → 0.5.0

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
  SHA256:
3
- metadata.gz: d4950b0b8430f9797b020c74c2a62fc5c7db17f6a39c520f32b895bd451d239a
4
- data.tar.gz: ac0f4b782594fc1026f0b6aa945f43411e1acbd5f9ebc0caf38ac6b88488cc85
3
+ metadata.gz: 72996a9954d2d973e56fe1572535207f150fe23a4f69fa92edd9d72c4d81c866
4
+ data.tar.gz: a71ee0b5c51e276d045370510caa1ffb967e68538ed31636fca5f4f27c0b74c0
5
5
  SHA512:
6
- metadata.gz: 18b6c9916a4ad74d1597a6282f8ac05c7539b893bbb53d5f485e1230e151950dc93a8b884fccacdc4f11c1c705e41f485cd697f5a9ad3e3a38a060f2b44edede
7
- data.tar.gz: e4547b571e43c57de17ae9a33b0a381944b6a0adf42fb89e927d84cb4d5983e233f4c8db1c3cf5d1e008a0a45169d781ed4851dc31435404f8fe15f234dfff05
6
+ metadata.gz: 182ddabb4857b6223b360b2b03d92f1888a723bef5dcf198b97ce30f4281dd02cb6d832ffa2287e4b720482b2e04c58684dd3a762e249b1bed61d2f8bf4171c6
7
+ data.tar.gz: 14ede4ceb20f545d54461faff56fb3162a23958ee81e8e5dc7cde95970b1c8f2d98b6d4f701fa769e8792ae3f6268d517779226c509d715b4d0c39b424dd7e94
@@ -14,6 +14,10 @@ module MailgunCatcher
14
14
  "[#{severity}] [#{reason}] #{recipient}: #{delivery_status}"
15
15
  end
16
16
 
17
+ def grouping_error_message
18
+ "[#{severity}] [#{reason}] #{recipient}"
19
+ end
20
+
17
21
  def event_data
18
22
  params.fetch('event-data', {})
19
23
  end
@@ -16,7 +16,7 @@ module MailgunCatcher
16
16
  end
17
17
 
18
18
  def bugsnag_grouping_hash
19
- event.error_message
19
+ event.grouping_error_message
20
20
  end
21
21
  end
22
22
  end
@@ -1,3 +1,3 @@
1
1
  module MailgunCatcher
2
- VERSION = '0.4.0'
2
+ VERSION = '0.5.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailgun_catcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stjepan Hadjić
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-05 00:00:00.000000000 Z
11
+ date: 2019-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bugsnag