lita-statuspage 0.1.0 → 0.1.1

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: 0f12e1170e61e7e7ad6e4b72fe16873083d2162f
4
- data.tar.gz: 2dbfd05ac2b3370142a543fd0415a1852694db6d
3
+ metadata.gz: 2c3b9a68400913c33be126b7e4d10e296201c6a0
4
+ data.tar.gz: b63d59a3f9b744611d6eb97501ef7353f6669cb8
5
5
  SHA512:
6
- metadata.gz: c7a0db84d67ab9c655c0cf4a46a5dfd36d392beb76f59d72d57a615b0f13cfb8a9ffd3c3591933c896afd43254ca5b1570198897b87bf67f1bfce7e039edb643
7
- data.tar.gz: 6ede61840a2aa080797894fbb7638fd4c30594a40375f1f1678c20864fc25fa4a8ff28580e77a2a5800e7403ea9cd7463b7950703caead04a4dd47c9cccd46c4
6
+ metadata.gz: dbd7c5b606d4ae7645a76b0fa99717eb0f7696909f6a8d668bcd1387c7ad1b5897fdb6e3087087c6dd1c5536e1d55fa5071976b8e6b02ec85930eef786fa995a
7
+ data.tar.gz: b93a1ede9b26f3c27cd5cd646f7169fa8a8edbc507b84ff8081679bae6e7e104f11e0c2a56e9117dcb60caec4df44e055c1172314ba721708fcf0626623a583f
@@ -11,7 +11,7 @@ FileName:
11
11
  Enabled: false
12
12
 
13
13
  LineLength:
14
- Max: 120
14
+ Max: 130
15
15
 
16
16
  MethodLength:
17
17
  Max: 30
data/README.md CHANGED
@@ -28,6 +28,20 @@ config.handlers.statuspage.page_id = '_your_page_id_here_'
28
28
 
29
29
  ## Usage
30
30
 
31
+ ### Overview
32
+
33
+ A quick "everything's hit the fan" example of how to use this plugin:
34
+ ```
35
+ Lita > Lita statuspage incident new name:"Site unavailable" message:"We're looking into it now"
36
+ Incident ABC123 created
37
+ Lita > Lita statuspage incident update id:ABC123 message:"The database server has crashed, rebooting now" status:identified impact:critical
38
+ Incident ABC123 updated
39
+ Lita > Lita statuspage incident update id:ABC123 message:"Database server recovered, the site is back" status:resolved
40
+ Incident ABC123 updated
41
+ Lita > Lita statuspage incident list unresolved
42
+ No incidents to list
43
+ ```
44
+
31
45
  ### Incidents
32
46
 
33
47
  #### Create
@@ -6,7 +6,14 @@ module Lita
6
6
  :incident_new,
7
7
  command: true,
8
8
  help: {
9
- 'statuspage incident new (...)' => 'Create a new realtime incident'
9
+ 'statuspage incident new name:"<name>"' => 'Create a new realtime incident',
10
+ ' status:<status>' => '(Optional) One of: investigating|identified|monitoring|resolved ' \
11
+ '(default: investigating)',
12
+ ' message:"<message>"' => '(Optional) The initial message',
13
+ ' twitter:<state>' => '(Optional) Post the new incident to Twitter, one of: ' \
14
+ '(true|t|false|f) (default:false)',
15
+ ' impact:<state>' => '(Optional) Override calculated impact value, one of: ' \
16
+ '(minor|major|critical)'
10
17
  }
11
18
  )
12
19
 
@@ -15,7 +22,7 @@ module Lita
15
22
  :incident_update,
16
23
  command: true,
17
24
  help: {
18
- 'statuspage incident update (...)' => 'Update an incident'
25
+ 'statuspage incident update id:ABC123 (...)' => 'Update an incident (takes same arguments as new)'
19
26
  }
20
27
  )
21
28
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'lita-statuspage'
3
- spec.version = '0.1.0'
3
+ spec.version = '0.1.1'
4
4
  spec.authors = ['Eric Sigler']
5
5
  spec.email = ['me@esigler.com']
6
6
  spec.description = %q{A Lita handler to interact with Statuspage.io}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-statuspage
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
  - Eric Sigler