slacks 0.4.1 → 0.4.2

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: a5e7974456bcf8b2223d479d8492de45cc981488
4
- data.tar.gz: 181de06bcf402d462617b5c714eaaefc512b4d70
3
+ metadata.gz: 4655b64b95738df424e627dd671d219ee46c55e3
4
+ data.tar.gz: d5f1d21638a975aeb802d17a2b00d814b14579f3
5
5
  SHA512:
6
- metadata.gz: 35ed271357e6211130b5e62fa8680fc5e53e543e7cbe2617eeca7b27418ded2a1be9fb368c9ba1876241303241c99c167aa31af2d1e774c63ace1da034414be2
7
- data.tar.gz: 255a781429d7f2a0d17cfdd6b7bf3fa01ccccadde1380fcff98e9b61337fe3f75417336d79bb143a70c8e6215a56368a55d60431695985c44c6ca76e1cc82d46
6
+ metadata.gz: 5742d45eb577916616ddba1bbe6b2b231ddb501a0795320aa4de58049a037f2f3b16101f4199093c068c4deebcb970f732a752ed050a2213926b422b3eaf5804
7
+ data.tar.gz: a1df56de686279475cb65b2fb7b14afe49afe01b407f654eeafa48f3efb109c928d55289ce0e0aacab4e030590ea8241eab1d48d8bc950719704fe1a847ecdc2
@@ -173,20 +173,20 @@ module Slacks
173
173
  "is_im" => true,
174
174
  "name" => user.username }
175
175
  when /^G/
176
- Slacks::Channel.new self, groups_by_id.fetch(id) do
176
+ Slacks::Channel.new(self, groups_by_id.fetch(id) do
177
177
  raise ArgumentError, "Unable to find a group with the ID #{id.inspect}"
178
- end
178
+ end)
179
179
  else
180
- Slacks::Channel.new self, channels_by_id.fetch(id) do
180
+ Slacks::Channel.new(self, channels_by_id.fetch(id) do
181
181
  raise ArgumentError, "Unable to find a channel with the ID #{id.inspect}"
182
- end
182
+ end)
183
183
  end
184
184
  end
185
185
 
186
186
  def find_user(id)
187
- Slacks::User.new self, users_by_id.fetch(id) do
187
+ Slacks::User.new(self, users_by_id.fetch(id) do
188
188
  raise ArgumentError, "Unable to find a user with the ID #{id.inspect}"
189
- end
189
+ end)
190
190
  end
191
191
 
192
192
  def find_user_by_nickname(nickname)
@@ -1,3 +1,3 @@
1
1
  module Slacks
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slacks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Lail
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-21 00:00:00.000000000 Z
11
+ date: 2016-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: websocket-driver