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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5fc571690441cd31e067186bb4551ba79b9aab9f
4
- data.tar.gz: 00c80d8fb43348d03c3a3ac516b072ee6f01fcab
3
+ metadata.gz: b7b4188cbe4c0ed69f139466b1f6462d1579ae44
4
+ data.tar.gz: e4392c2b9b88dd824059585ad85a9c57121882c5
5
5
  SHA512:
6
- metadata.gz: 65317897f4923471c4e63add4693e0e15eca41a6b7260464b37b82f1697242fc650a4978fd60b607a7b612f1fc6a5ea57f248cd64bf611ea8e3881baf237aa5a
7
- data.tar.gz: 5dc98278c5e5d5e4a988a8b74ba0a64f5b993ca1b9c6b866b2cc688629b990d2a6458575a188d984455df6917d67ee4a1f711eabf4356d6da1e64c84be21c063
6
+ metadata.gz: c0571c628f1a3be1824f26676d71287575b642659415e318c9355bf53fc72a05733264a80256818f6645fe8098e09116d054db05cb66eb08a469f17e76fcb287
7
+ data.tar.gz: b0cc7a909a5007f465f2490b381900bada840d4a4f3b983c921a0fe39b995ab11456a8818e7c068241e294428ec2357b1ebd252c1f5eef065e2a245704574965
data/NEWS.md CHANGED
@@ -1,5 +1,10 @@
1
1
  ## News
2
2
 
3
+ ### 0.1.8 (2015-09-29)
4
+
5
+ * Add support for TAs using the `next`/`drop` commands
6
+ by adding an `assistants` Slack auth group.
7
+
3
8
  ### 0.1.7 (2015-09-25)
4
9
 
5
10
  * Fix bug in "debug next" implementation.
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, restrict_to: [:instructors],
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, restrict_to: [:instructors],
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.' })
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-debug-queue"
3
- spec.version = "0.1.7"
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.7
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-26 00:00:00.000000000 Z
11
+ date: 2015-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lita