lita 4.0.3 → 4.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lita/robot.rb +1 -1
- data/lib/lita/version.rb +1 -1
- data/spec/lita/robot_spec.rb +12 -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: 1b2fd77c82dffdb6d152eb1376f3868be921d97b
|
4
|
+
data.tar.gz: 4bef398d354e621af17bbff01fee340c4eb98d71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa9adeded2fa7941d30bd875e5540603eddae8e210bd86a61eec4ef1778972122678ce952c873d28e0bdb9cb2348e9074f76c71dd58fa58f5cb1812edac80126
|
7
|
+
data.tar.gz: 1d1ac3b548b681b8c22fd0804eb306fe10f23756629a15b215a71e3e276f82855c41108fb57a1247aa57090435e1ec4e375f10fd6b6a4100864a13c79601e296
|
data/lib/lita/robot.rb
CHANGED
data/lib/lita/version.rb
CHANGED
data/spec/lita/robot_spec.rb
CHANGED
@@ -10,6 +10,18 @@ describe Lita::Robot, lita: true do
|
|
10
10
|
subject
|
11
11
|
end
|
12
12
|
|
13
|
+
it "can have its name changed" do
|
14
|
+
subject.name = "Bongo"
|
15
|
+
|
16
|
+
expect(subject.name).to eq("Bongo")
|
17
|
+
end
|
18
|
+
|
19
|
+
it "can have its mention name changed" do
|
20
|
+
subject.mention_name = "wongo"
|
21
|
+
|
22
|
+
expect(subject.mention_name).to eq("wongo")
|
23
|
+
end
|
24
|
+
|
13
25
|
context "with registered handlers" do
|
14
26
|
let(:handler1) { Class.new(Lita::Handler) { namespace :test } }
|
15
27
|
let(:handler2) { Class.new(Lita::Handler) { namespace :test } }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lita
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jimmy Cuadra
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|