hutch 0.4.3 → 0.4.4

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
  SHA1:
3
- metadata.gz: 2f9ad8cb419eef5f17a94e131cebca6079d592f5
4
- data.tar.gz: c9141f486b82d63196c65e66ffed0bd0c1c5045b
3
+ metadata.gz: e6223e5fd8a9f235bf48be6e9483bdff8b576760
4
+ data.tar.gz: 26ee2809ebcbb1db622d7d97f4df786ef2355a6d
5
5
  SHA512:
6
- metadata.gz: 1bff38603112e3bf05e2422f2f3549caf9910ed38988a7251896ca3130acf8cd692f94c71bf144bf07b41710e87777920dba7fc39c911bac67b5d05f808fa5c0
7
- data.tar.gz: 2c56b1398742852bc4658068e4b943a52b38284f8d47bc3b5e887b06cb1e5065c486787bd9689a480a594db556bed1ef6f115645e9b80a6eef2c99d7b0112152
6
+ metadata.gz: 198269f485ddfc27bb93eb2d224cf299429a70df9c4231405ac21c3c9beae97872890199344576b252e9b1d75b115aabcf1ed1ff5d2b5f2eb0b219408709cedf
7
+ data.tar.gz: 9127a929b25b9ca1330f0da038695abf3efc49f7aa1d78e6f4344f37d6b6a7f88199154374885d000886aed99d2ac0f4e8bd0cddb754ca91e75ac1a471edb87c
@@ -1,3 +1,11 @@
1
+ ## 0.4.4 - October 12, 2013
2
+
3
+ - Friendlier Message#inspect, doesn't spew out detailed bunny info.
4
+
5
+ ## 0.4.3 - October 11, 2013
6
+
7
+ - More autoloading tweaks, all internal modules are now autoloaded.
8
+
1
9
  ## 0.4.2 - October 11, 2013
2
10
 
3
11
  - Autoload the Broker module, which was missed in the previous release.
@@ -19,8 +19,12 @@ module Hutch
19
19
  attr_reader :body
20
20
 
21
21
  def to_s
22
- "#<Message #{body.map { |k,v| "#{k}: #{v.inspect}" }.join(', ')}>"
22
+ attrs = { :@body => body.to_s, message_id: message_id,
23
+ timestamp: timestamp, routing_key: routing_key }
24
+ "#<Message #{attrs.map { |k,v| "#{k}=#{v.inspect}" }.join(', ')}>"
23
25
  end
26
+
27
+ alias_method :inspect, :to_s
24
28
  end
25
29
  end
26
30
 
@@ -1,4 +1,4 @@
1
1
  module Hutch
2
- VERSION = '0.4.3'.freeze
2
+ VERSION = '0.4.4'.freeze
3
3
  end
4
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hutch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Harry Marr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-11 00:00:00.000000000 Z
11
+ date: 2013-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bunny