march_hare 2.3.0-java → 2.4.0-java

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: a62cd6766c3f98048cf58bfbf303b2702c801678
4
- data.tar.gz: d02cccd64d98ee45a4ed842cb02873d508b3c1a9
3
+ metadata.gz: 82c92c56c3adf263af23af587c70d5ce91d3b171
4
+ data.tar.gz: 0298791f0deeeab7b0c02b3594677f3041fb0114
5
5
  SHA512:
6
- metadata.gz: 109d827d6592930e2f5490f0994f0560f1edcc84fec94ceb9479b10a884a5f9afd263fd53f17a23c28e099ec855385e189b788c2c7769f146cea0d36a4084bbe
7
- data.tar.gz: 61196e97a7901247c01419b5bd77f36bf0a6c25d5babcea3ad213fd53be4702f8fb76990c9420fc25a709b1a13ff46f2b86d6d1eb81f4088bf67959f23ed8bb4
6
+ metadata.gz: 7003b472edb275a6ab1e5251a5a70d87dbf1fe47fbeb644818c5b69a392ce1e7c7780798440f5a4e65b42d37792edc8af9fb0f2d0e657772f8900f8dc0ba78a4
7
+ data.tar.gz: b6ad3b68c2efa9019828258cd78eb631699023bfa9dfe115b30f7792a8dd5cb1cce76243dcfdde6c43781116028db0673573991730038c1668c9dd4eab404b70
@@ -75,9 +75,9 @@ module MarchHare
75
75
  def publish(body, opts = {})
76
76
  options = {:routing_key => '', :mandatory => false}.merge(opts)
77
77
  @channel.basic_publish(@name,
78
- options[:routing_key],
79
- options[:mandatory],
80
- options.fetch(:properties, Hash.new),
78
+ options.delete(:routing_key),
79
+ options.delete(:mandatory),
80
+ options.fetch(:properties, options),
81
81
  body.to_java_bytes)
82
82
  end
83
83
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module MarchHare
4
- VERSION = "2.3.0"
4
+ VERSION = "2.4.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: march_hare
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.4.0
5
5
  platform: java
6
6
  authors:
7
7
  - Theo Hultberg
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-06-30 00:00:00.000000000 Z
12
+ date: 2014-07-09 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: RabbitMQ client for JRuby built around the official RabbitMQ Java client
15
15
  email: