hot_bunnies 1.2.1-java → 1.2.2-java

Sign up to get free protection for your applications and to get access to all the features.
@@ -25,8 +25,8 @@ module HotBunnies
25
25
  end
26
26
 
27
27
  def predefined?
28
- (@name == "") || (@name =~ /^amq\.(.+)/)
29
- end # predefined?
28
+ @name.empty? || @name.start_with?("amq.")
29
+ end
30
30
 
31
31
  def declare!
32
32
  unless predefined?
@@ -58,7 +58,7 @@ module HotBunnies
58
58
  app_id(props[:app_id]).
59
59
  cluster_id(props[:cluster_id]).
60
60
  build
61
- end # build_properties_from(props)
61
+ end
62
62
 
63
63
  end
64
64
  end
@@ -97,6 +97,8 @@ module HotBunnies
97
97
  end
98
98
 
99
99
  class Headers
100
+ attr_reader :channel, :consumer_tag, :envelope, :properties
101
+
100
102
  def initialize(channel, consumer_tag, envelope, properties)
101
103
  @channel = channel
102
104
  @consumer_tag = consumer_tag
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module HotBunnies
4
- VERSION = '1.2.1'
4
+ VERSION = '1.2.2'
5
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: hot_bunnies
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.2.1
5
+ version: 1.2.2
6
6
  platform: java
7
7
  authors:
8
8
  - Theo Hultberg
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2011-10-10 00:00:00.000000000 +04:00
13
+ date: 2011-10-16 00:00:00.000000000 +04:00
14
14
  default_executable:
15
15
  dependencies: []
16
16
  description: A object oriented interface to RabbitMQ that uses the Java driver under the hood