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: d3d7872ab2b68fdc72e14cf52cbcf37201d8b92c
4
- data.tar.gz: 94a228decdfacb81a8058a0ae5979a1cb1019fcb
3
+ metadata.gz: 3365b0c48f85bc8a707d27d21ff1e955754e5bcf
4
+ data.tar.gz: ef53963a3d19a9f70ebfee939121e1dbb6c49a93
5
5
  SHA512:
6
- metadata.gz: 0b28a955dfcc42e289fe74b885035fd456f75d10fcf20d7fef5dc69cb69ed0ac1c8afbab962e3bea835f541131b946e51d75d8514becb18ed83dd81c23850f42
7
- data.tar.gz: d3f659a40cd9ee1bda675f020700eefc0a8bcd49bc5a4944992aac4e6636806eb835df6a320023fa73ef4582d626d4aac00efa2ffc1c4a595914525472638722
6
+ metadata.gz: 4fe517f5e5a0a51cf1c1d5d2355b5fe21e58c6f8f0059bc62e2cccdfb932a0b1e8b6d1b177874920e59f502bbc495c447ab106df130b15a09c6d2ea9bb1a17b4
7
+ data.tar.gz: 08a92f29fc40b4d64d9fc8898eaf8bdf7c6f527ee0d488ae8be76fcb691567097f1412f8094c6876b4022e4a3259b1d6aa0a9f61536a1ec13ab0b2684f502a17
@@ -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 = double(Slack::RealTime::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
@@ -1,3 +1,3 @@
1
1
  module SlackRubyBot
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  end
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.0
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-25 00:00:00.000000000 Z
11
+ date: 2015-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hashie