magic_pipe 0.4.1 → 0.4.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2b377025dade4955b364113048fc5f7683f54852b9fb6475781d0b831aa74d54
4
- data.tar.gz: a1f4148fb76a1d3d168dad8d4d6f92a92037b4cbf5fcb2e6ba684240fedac826
3
+ metadata.gz: 7db32924a745b33d03d263f2dbd841d5d9a7526ffef2181170bd9495f2ae563f
4
+ data.tar.gz: 2f9e4b01a791a7a10b50f99a7935eaddbe5487708d3c7242a8511e51b3f206a7
5
5
  SHA512:
6
- metadata.gz: 0d1ee87b41f8ab84d988b2984492d8a8cb6193d131f032e17ab9bbfe2978c43e74f5242c41f21c9d368c20162298fa3c25915ccd42aa686b3e7dabad84126b23
7
- data.tar.gz: 2a177dd292d1fc20990e3db9bae37b11f5c77bfc2abe3a1492b466b8002088371f2b0fdacf07c9256a56fde245622b871936f25741983ba714603f90eb2da7ed
6
+ metadata.gz: 0c0e499ef701248453aa674deef19fc154a145b7aad8f32c675d89146847c189e0895d3a64f6bcf1e01b87421b90001f2dbc9972ed9413220a908312096466ae
7
+ data.tar.gz: 7bfac603133396dc523d50d5ac24afcb53318feae56f98f3eeab4373b8b4195655c3a4bd1f89e6bbd93d5b7e0d8fa2a9c9790802ac6554ae94089583cfa491d9
@@ -1,5 +1,9 @@
1
1
  # MagicPipe Changelog
2
2
 
3
+ ## v0.4.2
4
+
5
+ Fix: ensure that the custom errors return the correct message for `#to_s` in addition to `#message`. This makes error tracking on tools like NewRelic easier.
6
+
3
7
  ## v0.4.1
4
8
 
5
9
  When the `Https` adapter raises a delivery error, also report info about the HTTP failure.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- magic_pipe (0.4.1)
4
+ magic_pipe (0.4.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -10,6 +10,7 @@ module MagicPipe
10
10
  @message = "Can't resolve class name '#{class_name}' (#{context})"
11
11
  end
12
12
  attr_reader :message
13
+ alias_method :to_s, :message
13
14
  end
14
15
 
15
16
  module Transports
@@ -18,6 +19,7 @@ module MagicPipe
18
19
  @message = "#{transport_klass} couldn't submit message (#{message})"
19
20
  end
20
21
  attr_reader :message
22
+ alias_method :to_s, :message
21
23
  end
22
24
 
23
25
  class NotImplementedError < SubmitFailedError
@@ -1,3 +1,3 @@
1
1
  module MagicPipe
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magic_pipe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tommaso Pavese
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-11-06 00:00:00.000000000 Z
11
+ date: 2018-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler