stashboard_notifier 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -5,6 +5,12 @@ Command line executable for sending messages to a Stashboard instance
5
5
 
6
6
  Uses the stashboard gem to send messages.
7
7
 
8
+ ## WARNING
9
+
10
+ **This is very much alpha software, and doesn't have any proper tests or anything
11
+ much of substance to it. I may clean up any crufty bits, and add test coverage
12
+ if I get round to it.**
13
+
8
14
  ## Intended uses
9
15
 
10
16
  This is intended for integration with a tool like Nagios, which can be
@@ -41,3 +47,4 @@ A skeleton config file can be generated by running:
41
47
  Then this file should be edited to add your relevant details.
42
48
 
43
49
  Subsequently, you won't need to provide any of these details.
50
+
@@ -107,8 +107,8 @@ command :events do |c|
107
107
  raise "Must specify a status"
108
108
  end
109
109
 
110
- if args.size != 3
111
- raise "Too many arguments"
110
+ if args.empty?
111
+ raise "Missing status message"
112
112
  end
113
113
 
114
114
  stashboard = get_stashboard(global_options)
@@ -1,3 +1,3 @@
1
1
  module StashboardNotifier
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stashboard_notifier
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Samuel Mulube
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-27 00:00:00 +00:00
18
+ date: 2011-05-06 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency