hare 1.0.2 → 1.0.3

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.
Files changed (3) hide show
  1. data/lib/hare/runner.rb +1 -1
  2. data/lib/hare/version.rb +1 -1
  3. metadata +4 -4
data/lib/hare/runner.rb CHANGED
@@ -110,7 +110,7 @@ module Hare
110
110
  exch = b.exchange(eopts[:name], :type => eopts[:type])
111
111
 
112
112
  if @options[:publish]
113
- exch.publish(@arguments[0], :key => amqp[:key])
113
+ exch.publish(@arguments[0].rstrip + "\n", :key => amqp[:key])
114
114
  else
115
115
  q = b.queue(amqp[:queue])
116
116
  q.bind(exch, :key => amqp[:key])
data/lib/hare/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Hare
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hare
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-14 00:00:00.000000000Z
12
+ date: 2011-11-24 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bunny
16
- requirement: &84422010 !ruby/object:Gem::Requirement
16
+ requirement: &74244340 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 0.7.8
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *84422010
24
+ version_requirements: *74244340
25
25
  description: The one pain-point I have had with AMQP is the lack of a series of command
26
26
  line tools for smoke-testing components or sending my own messages through a queue.
27
27
  Hare can be toggled either to produce messages, or to sit and listen/report for