lita-debug-queue 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/NEWS.md +5 -0
- data/README.md +2 -0
- data/lib/lita/handlers/debug_queue.rb +4 -2
- data/lita-debug-queue.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b7b4188cbe4c0ed69f139466b1f6462d1579ae44
|
|
4
|
+
data.tar.gz: e4392c2b9b88dd824059585ad85a9c57121882c5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c0571c628f1a3be1824f26676d71287575b642659415e318c9355bf53fc72a05733264a80256818f6645fe8098e09116d054db05cb66eb08a469f17e76fcb287
|
|
7
|
+
data.tar.gz: b0cc7a909a5007f465f2490b381900bada840d4a4f3b983c921a0fe39b995ab11456a8818e7c068241e294428ec2357b1ebd252c1f5eef065e2a245704574965
|
data/NEWS.md
CHANGED
data/README.md
CHANGED
|
@@ -18,6 +18,8 @@ gem "lita-debug-queue"
|
|
|
18
18
|
lita-debug-queue expects two things to be present for correct operation:
|
|
19
19
|
|
|
20
20
|
1. An `:instructors` authorization group containing admin users.
|
|
21
|
+
If you want TAs to also be able to modify (but not clear) the
|
|
22
|
+
queue you should add them to an `:assistants` group.
|
|
21
23
|
2. A `classrooms` config option containing a Hash that maps instructor mention names to classroom channels.
|
|
22
24
|
|
|
23
25
|
## Usage
|
|
@@ -11,9 +11,11 @@ module Lita
|
|
|
11
11
|
help: { 'debug queue' => 'Show the current queue for your class.' })
|
|
12
12
|
route(/^debug count$/, :count, command: true,
|
|
13
13
|
help: { 'debug count' => 'Count the number of people waiting for help.' })
|
|
14
|
-
route(/^debug next$/, :next, command: true,
|
|
14
|
+
route(/^debug next$/, :next, command: true,
|
|
15
|
+
restrict_to: [:instructors, :assistants],
|
|
15
16
|
help: { 'debug next' => 'Notify the next student to be helped.' })
|
|
16
|
-
route(/^debug drop\s+(.+)$/, :drop, command: true,
|
|
17
|
+
route(/^debug drop\s+(.+)$/, :drop, command: true,
|
|
18
|
+
restrict_to: [:instructors, :assistants],
|
|
17
19
|
help: { 'debug drop NAME' => 'Remove the student with NAME from the queue.' })
|
|
18
20
|
route(/^debug clear$/, :clear, command: true, restrict_to: [:instructors],
|
|
19
21
|
help: { 'debug clear' => 'Empty the queue.' })
|
data/lita-debug-queue.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |spec|
|
|
2
2
|
spec.name = "lita-debug-queue"
|
|
3
|
-
spec.version = "0.1.
|
|
3
|
+
spec.version = "0.1.8"
|
|
4
4
|
spec.authors = ["Brit Butler"]
|
|
5
5
|
spec.email = ["brit@kingcons.io"]
|
|
6
6
|
spec.description = "Queue tracking of users who need debugging help with per-channel management"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lita-debug-queue
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brit Butler
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-09-
|
|
11
|
+
date: 2015-09-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: lita
|