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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd2cc59c60a1bfbd2bb360c422ae876c8f7fe793
4
- data.tar.gz: 3067148dc5343586474d85a68cdf9b6bc30927fa
3
+ metadata.gz: 002e9cb8e95d3b86ffb165a5219113ca13c4c4fc
4
+ data.tar.gz: e7b6b3a71ead845d4da5a6776118e4d3f4120509
5
5
  SHA512:
6
- metadata.gz: b2acaf9f3ab6c907674e0a0d800026ac4b279a0055c316b26a7cef8f3cf8ef10cdef384a6fa59a139edaf6c21d840a8e558424e354ad23c7bf2b0c34ca18c3b8
7
- data.tar.gz: 7aa5151c4337ad4c8a77d9a4760ee292482fa0513c16b351fa17317481f99548948bf5f4901c5d074832279c60c088acfc6417c23939dd8c82c6e4e181a883cd
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
  ```
@@ -5,7 +5,7 @@ module Lita
5
5
  template_root File.expand_path("../../../../templates", __FILE__)
6
6
 
7
7
  route(
8
- /(\S*) team (clear|empty)/i,
8
+ /(\S*) team (clear|empty)$/i,
9
9
  :clear,
10
10
  command: true,
11
11
  help: {
data/lita-team.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-team"
3
- spec.version = "2.2.0"
3
+ spec.version = "2.2.1"
4
4
  spec.authors = ["Edgar Ortega"]
5
5
  spec.email = ["edgarortegaramirez@gmail.com"]
6
6
  spec.description = "create and manage the members of a team with Lita"
@@ -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.0
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-01 00:00:00.000000000 Z
11
+ date: 2016-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lita