lita-irc 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lita/adapters/irc.rb +1 -1
- data/lita-irc.gemspec +1 -1
- data/spec/lita/adapters/irc_spec.rb +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d880c7473143e247954e162e35574007985cf8c8
|
4
|
+
data.tar.gz: 7afdc7d8379ee1c9ed296b0683dbf77c6daacfcb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bfc7801a52fa3717e74a07ed9dc165e277636a1e9aa7c0ab6069b920a5ada27ae96b873962a9bfb61869d09920766cc7e4bdbdfe6ecad886dd30bdbce84e714
|
7
|
+
data.tar.gz: 158464d21561dd9fd11e67e4d083a1cd072f17404e262eec96cd3a457f0a1c54717d86c6d672c532bec4d208561f1240621c60f4d8417b88cdedbba4ca353f7c
|
data/lib/lita/adapters/irc.rb
CHANGED
data/lita-irc.gemspec
CHANGED
@@ -72,8 +72,8 @@ describe Lita::Adapters::IRC, lita: true do
|
|
72
72
|
source = instance_double("Lita::Source", room: "#foo", private_message?: false)
|
73
73
|
channel = instance_double("Cinch::Channel")
|
74
74
|
allow(Cinch::Channel).to receive(:new).with("#foo", subject.cinch).and_return(channel)
|
75
|
-
expect(channel).to receive(:
|
76
|
-
expect(channel).to receive(:
|
75
|
+
expect(channel).to receive(:send).with("Hello!")
|
76
|
+
expect(channel).to receive(:send).with("How are you?")
|
77
77
|
subject.send_messages(source, ["Hello!", "How are you?"])
|
78
78
|
end
|
79
79
|
|
@@ -90,8 +90,8 @@ describe Lita::Adapters::IRC, lita: true do
|
|
90
90
|
source = instance_double("Lita::Source", user: user, private_message?: true)
|
91
91
|
user = instance_double("Cinch::User")
|
92
92
|
allow(Cinch::User).to receive(:new).with("Carl", subject.cinch).and_return(user)
|
93
|
-
expect(user).to receive(:
|
94
|
-
expect(user).to receive(:
|
93
|
+
expect(user).to receive(:send).with("Hello!")
|
94
|
+
expect(user).to receive(:send).with("How are you?")
|
95
95
|
subject.send_messages(source, ["Hello!", "How are you?"])
|
96
96
|
end
|
97
97
|
|