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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/hutch/message.rb +5 -1
- data/lib/hutch/version.rb +1 -1
- 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: e6223e5fd8a9f235bf48be6e9483bdff8b576760
|
4
|
+
data.tar.gz: 26ee2809ebcbb1db622d7d97f4df786ef2355a6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 198269f485ddfc27bb93eb2d224cf299429a70df9c4231405ac21c3c9beae97872890199344576b252e9b1d75b115aabcf1ed1ff5d2b5f2eb0b219408709cedf
|
7
|
+
data.tar.gz: 9127a929b25b9ca1330f0da038695abf3efc49f7aa1d78e6f4344f37d6b6a7f88199154374885d000886aed99d2ac0f4e8bd0cddb754ca91e75ac1a471edb87c
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
data/lib/hutch/message.rb
CHANGED
@@ -19,8 +19,12 @@ module Hutch
|
|
19
19
|
attr_reader :body
|
20
20
|
|
21
21
|
def to_s
|
22
|
-
|
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
|
|
data/lib/hutch/version.rb
CHANGED
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.
|
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
|
+
date: 2013-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bunny
|