lita-team 2.2.0 → 2.2.1
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/README.md +1 -0
- data/lib/lita/handlers/clear_team.rb +1 -1
- data/lita-team.gemspec +1 -1
- data/spec/lita/handlers/clear_team_spec.rb +8 -0
- 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: 002e9cb8e95d3b86ffb165a5219113ca13c4c4fc
|
|
4
|
+
data.tar.gz: e7b6b3a71ead845d4da5a6776118e4d3f4120509
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 033ac4d2e3cffb23cb79aa632ddbdea2abcb1087996e0d6816a3a1bc261e2c22c7ab9847c95a4f33c24b7fa0974cac3821ed64a1ac4750fb50938d830f1df20f
|
|
7
|
+
data.tar.gz: d071e4ad024101d8881f6856b7b8aa45fbc3107e77760c26218506a1e235fae9ac16861f729f8f8d8388bfef02a7cb2b404a996a90632f0e9c8f57ec7e10963f
|
data/README.md
CHANGED
|
@@ -39,5 +39,6 @@ Lita: <name> team list - list the people in the team
|
|
|
39
39
|
Lita: <name> team show - list the people in the team
|
|
40
40
|
Lita: <name> team set limit <value> - update team members limit
|
|
41
41
|
Lita: <name> team set location <value> - update team location
|
|
42
|
+
Lita: <name> team set time <value> - update team time
|
|
42
43
|
Lita: <name> team set icon <value> - update team icon
|
|
43
44
|
```
|
data/lita-team.gemspec
CHANGED
|
@@ -11,6 +11,14 @@ describe Lita::Handlers::ClearTeam,
|
|
|
11
11
|
expect(replies.last).to eq("testing team cleared")
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
it "Doesn't remove the members of a team when the route doesn't match" do
|
|
15
|
+
send_command "create testing team"
|
|
16
|
+
send_command "testing team add john"
|
|
17
|
+
send_command "testing team clear someting"
|
|
18
|
+
expect(replies[0]).to eq("testing team created, add some people to it")
|
|
19
|
+
expect(replies[1]).to be_nil
|
|
20
|
+
end
|
|
21
|
+
|
|
14
22
|
context "team does not exist" do
|
|
15
23
|
it "shows a message" do
|
|
16
24
|
send_command "testing team clear"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lita-team
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.2.
|
|
4
|
+
version: 2.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Edgar Ortega
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-04-
|
|
11
|
+
date: 2016-04-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: lita
|