slack-ruby-bot 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3365b0c48f85bc8a707d27d21ff1e955754e5bcf
|
4
|
+
data.tar.gz: ef53963a3d19a9f70ebfee939121e1dbb6c49a93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fe517f5e5a0a51cf1c1d5d2355b5fe21e58c6f8f0059bc62e2cccdfb932a0b1e8b6d1b177874920e59f502bbc495c447ab106df130b15a09c6d2ea9bb1a17b4
|
7
|
+
data.tar.gz: 08a92f29fc40b4d64d9fc8898eaf8bdf7c6f527ee0d488ae8be76fcb691567097f1412f8094c6876b4022e4a3259b1d6aa0a9f61536a1ec13ab0b2684f502a17
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
### 0.4.1 (7/25/2015)
|
2
|
+
|
3
|
+
* Use a real client in `respond_with_slack_message` expectaions - [@dblock](https://githubcom/dblock).
|
4
|
+
|
1
5
|
### 0.4.0 (7/25/2015)
|
2
6
|
|
3
7
|
* Using [slack-ruby-client](https://github.com/dblock/slack-ruby-client) - [@dblock](https://githubcom/dblock).
|
@@ -4,7 +4,7 @@ RSpec::Matchers.define :respond_with_slack_message do |expected|
|
|
4
4
|
match do |actual|
|
5
5
|
channel, user, message = parse(actual)
|
6
6
|
allow(Giphy).to receive(:random)
|
7
|
-
client =
|
7
|
+
client = app.send(:client)
|
8
8
|
expect(SlackRubyBot::Commands::Base).to receive(:send_client_message).with(client, channel: channel, text: expected)
|
9
9
|
app.send(:message, client, text: message, channel: channel, user: user)
|
10
10
|
true
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slack-ruby-bot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Doubrovkine
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hashie
|