maintainer 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/bin/maintainer +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 06e3729c4804dccc312c4c4d3c04270aa53c53fe
4
- data.tar.gz: 5d787af7962385c6d51f9df46e181e785be4f090
3
+ metadata.gz: d35e2a1657a6463105aad4b126e1e04e81afd0c7
4
+ data.tar.gz: c6d74e6602046ecf046d6e4947557c74dac7abb4
5
5
  SHA512:
6
- metadata.gz: dac2d0e0a1bfee4c3357577c600db21671c408009ca2715f8ee610a05ab9da62a3796ecb9eec381eab7ba31e7440b80e13ffc034372c28379e5963c6fbacf9be
7
- data.tar.gz: 311df766fb361395d4678bdbfee14259ebe079dc90c566291a6736df9bee93ad3b5a27ad4d2e0ab31408e4a451059072679773b5d1c94432ab2bcd3aa1251234
6
+ metadata.gz: d21cf8b19bd0f7c6cedf2d12f76dae42d0fe234df66ff835ecf4b619f456a1a264c3cf278316614fc0bbc3af7f82f653b61a944612cdcd69a4ef721d8bb62ee8
7
+ data.tar.gz: af0dc12bbccde28d34467a05567549382025154a945cae2a80f9ccef65e53a64e8b573828a0b5963694f9698e54ccbf26ef6c5a8940bcfe70c37ad3abb2a0691
data/README.md CHANGED
@@ -26,9 +26,9 @@ active, :description Maintenance is active, :metric nil, :tags nil,
26
26
  ### Ending maintenance
27
27
 
28
28
  ```
29
- maintainer --host riemann.example.com --event-state nil
29
+ maintainer --host riemann.example.com --event-state inactive
30
30
  {:host server.example.com, :service maintenance-mode, :state
31
- nil, :description Maintenance is active, :metric nil, :tags nil,
31
+ inactive, :description Maintenance is inactive, :metric nil, :tags nil,
32
32
  :time 1457278567, :ttl Infinity}
33
33
  ```
34
34
 
data/bin/maintainer CHANGED
@@ -16,7 +16,7 @@ class Maintainer
16
16
  report(:service => options[:event_service],
17
17
  :state => options[:event_state],
18
18
  :ttl => options[:ttl],
19
- :description => "Maintenance is active")
19
+ :description => "Maintenance is #{options[:event_state]}")
20
20
  end
21
21
 
22
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maintainer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Turnbull