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 +4 -4
- data/.rubocop.yml +1 -1
- data/README.md +14 -0
- data/lib/lita/handlers/statuspage.rb +9 -2
- data/lita-statuspage.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c3b9a68400913c33be126b7e4d10e296201c6a0
|
4
|
+
data.tar.gz: b63d59a3f9b744611d6eb97501ef7353f6669cb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbd7c5b606d4ae7645a76b0fa99717eb0f7696909f6a8d668bcd1387c7ad1b5897fdb6e3087087c6dd1c5536e1d55fa5071976b8e6b02ec85930eef786fa995a
|
7
|
+
data.tar.gz: b93a1ede9b26f3c27cd5cd646f7169fa8a8edbc507b84ff8081679bae6e7e104f11e0c2a56e9117dcb60caec4df44e055c1172314ba721708fcf0626623a583f
|
data/.rubocop.yml
CHANGED
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
|
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
|
|
data/lita-statuspage.gemspec
CHANGED