lita-locker 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/lita-locker.gemspec +1 -1
- data/locales/en.yml +7 -7
- 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: 70b559ef8d1386aeed3494ce3457136d7ab67c2a
|
4
|
+
data.tar.gz: b36e662f929049b22ed1f021bab7e759c1d045c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 949add8a59be4f7b589f473f13839507bfa5931263aa1ab6df45f78bf69e865d18c99909dbdc8da7c8e0028cb3c149c94fe6c1c8fe694bce0d9228300674e675
|
7
|
+
data.tar.gz: c59ecc9cd585c9deb66ab2ec95bfe45c93c5414f95946fe57cfe9c25dda60e2a6a2cfee56d80ef0230c7ba10aa00273fc4ac3dee254b4f22eac86c4dd5c11030
|
data/README.md
CHANGED
@@ -38,14 +38,15 @@ locker status web - Show the current state of web
|
|
38
38
|
|
39
39
|
### Locking, Unlocking, State
|
40
40
|
```
|
41
|
-
lock <label>
|
42
|
-
unlock <label>
|
43
|
-
steal <label>
|
41
|
+
lock <label> - A basic reservation, with no time limit. Can have # comments afterwards.
|
42
|
+
unlock <label> - Remove a reservation. This can only be done by whomever made the request. Can have # comments afterwards.
|
43
|
+
steal <label> - Force removal of a reservation. This can be done by anyone. Can have # comments afterwards.
|
44
|
+
locker give <label> to <user> - Transfer ownership of a lock to another user. This can only be done by the lock's current owner. Can have # comments afterwards.
|
44
45
|
```
|
45
46
|
|
46
47
|
### Queueing
|
47
48
|
```
|
48
|
-
lock <label>
|
49
|
+
lock <label> - If <label> is already locked, adds you to a FIFO queue of pending reservations for <label>
|
49
50
|
locker dequeue <label> - Remove yourself from the queue for <label>
|
50
51
|
```
|
51
52
|
|
data/lita-locker.gemspec
CHANGED
data/locales/en.yml
CHANGED
@@ -24,22 +24,22 @@ en:
|
|
24
24
|
desc: Remove yourself from the queue for a label
|
25
25
|
lock:
|
26
26
|
syntax: lock <subject>
|
27
|
-
desc: Make something unavailable to others. Can have # comments afterwards.
|
27
|
+
desc: "Make something unavailable to others. Can have # comments afterwards."
|
28
28
|
unlock:
|
29
29
|
syntax: unlock <subject>
|
30
|
-
desc: Make something available to others. Can have # comments afterwards.
|
30
|
+
desc: "Make something available to others. Can have # comments afterwards."
|
31
31
|
observe:
|
32
32
|
syntax: locker observe <subject>
|
33
|
-
desc: Get a notification when something becomes available. Can have # comments afterwards
|
33
|
+
desc: "Get a notification when something becomes available. Can have # comments afterwards."
|
34
34
|
unobserve:
|
35
35
|
syntax: locker unobserve <subject>
|
36
|
-
desc: Stop getting notifications when something becomes available. Can have # comments afterwards
|
36
|
+
desc: "Stop getting notifications when something becomes available. Can have # comments afterwards."
|
37
37
|
steal:
|
38
38
|
syntax: steal <subject>
|
39
|
-
desc: Force removal of a reservation. Can have # comments afterwards.
|
39
|
+
desc: "Force removal of a reservation. Can have # comments afterwards."
|
40
40
|
give:
|
41
|
-
syntax: give <subject> to <username>
|
42
|
-
desc: Transfer ownership of a lock to another user. Can have # comments afterwards.
|
41
|
+
syntax: locker give <subject> to <username>
|
42
|
+
desc: "Transfer ownership of a lock to another user. Can have # comments afterwards."
|
43
43
|
status:
|
44
44
|
syntax: locker status <label or resource>
|
45
45
|
desc: Show the current state of <label or resource>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lita-locker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Sigler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lita
|