amqp-tools 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/amqp-tools.gemspec CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "amqp-tools"
6
- s.version = "0.0.2"
6
+ s.version = "0.0.3"
7
7
  s.date = Date.today.to_s
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.authors = ["Paul Asmuth"]
@@ -1,5 +1,8 @@
1
- #!/bin/bash
1
+ #!/usr/bin/env ruby
2
+ exec "cat #{$0} | tail -n+4 | /bin/bash"
3
+ __END__
2
4
 
5
+ #!/bin/bash
3
6
  # This scripts sends a JSON message containing system health
4
7
  # information to an AMQP broker.
5
8
  #
@@ -18,6 +21,7 @@
18
21
  # "disk_usage": "43%"
19
22
  # }
20
23
 
24
+
21
25
  if [[ $# -lt 1 ]]; then
22
26
  echo "usage: $0 [amqp-send options]"
23
27
  exit 1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amqp-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2013-02-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: amqp
16
- requirement: &13890980 !ruby/object:Gem::Requirement
16
+ requirement: &10489820 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 0.8.9
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *13890980
24
+ version_requirements: *10489820
25
25
  description: command line tools for AMQP/RabbitMQ
26
26
  email:
27
27
  - paul@paulasmuth.com