lita-debug-queue 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +10 -0
- data/NEWS.md +6 -0
- data/README.md +17 -2
- data/lib/lita/handlers/debug_queue.rb +2 -2
- data/lib/lita/handlers/room_queue.rb +2 -0
- data/lita-debug-queue.gemspec +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57927997433eda06171f21c9677ec7a23d625644
|
4
|
+
data.tar.gz: bb3f16bf5d54e7377e28cdf85f1a556bc38402fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54fac78753732e5a4da461cfbba7c21378526ab0fcc64bdcad3892a306595a4c09d3f480caf825a2e8c1cb8b465b329751a4161ba3a016d80f8f171f0cca3c50
|
7
|
+
data.tar.gz: 40333ea1c1166b87c7b623819b52ba1f5f8cbbd7b46971653c715c5bd1a30b615c78330e975f553d45995f54bf9dd59d0a9ea51379f98439367aa12f99e21e7a
|
data/.travis.yml
ADDED
data/NEWS.md
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
# lita-debug-queue
|
2
2
|
|
3
|
-
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/lita-debug-queue.svg)](http://badge.fury.io/rb/lita-debug-queue)
|
4
|
+
[![Build Status](https://travis-ci.org/kingcons/lita-debug-queue.svg?branch=master)](http://travis-ci.org/kingcons/lita-debug-queue)
|
5
|
+
|
6
|
+
A queue for tracking users who need debugging help with per-channel management.
|
4
7
|
|
5
8
|
## Installation
|
6
9
|
|
@@ -19,4 +22,16 @@ lita-debug-queue expects two things to be present for correct operation:
|
|
19
22
|
|
20
23
|
## Usage
|
21
24
|
|
22
|
-
|
25
|
+
All usage is based on commands so statements must be directed `@ironbot: foo` or sent as a DM.
|
26
|
+
|
27
|
+
### General Commands
|
28
|
+
|
29
|
+
* `debug me` - Put your name in the queue for debugging help.
|
30
|
+
* `debug nvm` - Remove your name from the queue for debugging help.
|
31
|
+
* `debug queue` - Show the current queue for your class.
|
32
|
+
* `debug count` - Count the number of people waiting for help.
|
33
|
+
|
34
|
+
### Instructor Commands
|
35
|
+
* `debug next` - Notify the next student to be helped.
|
36
|
+
* `debug drop NAME` - Remove the student with NAME from the queue.
|
37
|
+
* `debug clear` - Empty the queue.
|
@@ -42,12 +42,12 @@ module Lita
|
|
42
42
|
|
43
43
|
def show(response)
|
44
44
|
return unless check_room!(response)
|
45
|
-
response.reply("Queue for #{@room} => #{@room.queue}")
|
45
|
+
response.reply("Queue for #{@room.name} => #{@room.queue}")
|
46
46
|
end
|
47
47
|
|
48
48
|
def count(response)
|
49
49
|
return unless check_room!(response)
|
50
|
-
response.reply("Hackers seeking fresh eyes: #{@room.count}")
|
50
|
+
response.reply("Hackers seeking fresh eyes: #{@room.count} in #{@room.name}")
|
51
51
|
end
|
52
52
|
|
53
53
|
def next(response)
|
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.4"
|
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.4
|
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-
|
11
|
+
date: 2015-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lita
|
@@ -102,6 +102,7 @@ extensions: []
|
|
102
102
|
extra_rdoc_files: []
|
103
103
|
files:
|
104
104
|
- ".gitignore"
|
105
|
+
- ".travis.yml"
|
105
106
|
- Gemfile
|
106
107
|
- LICENSE
|
107
108
|
- NEWS.md
|