ruboty-slack 0.1.11 → 0.1.12

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: 2b9e85a4974d626f43cbc09e4157014590a8689a
4
- data.tar.gz: 2b833a7e45b1bdfac74ee8b4ed54d377942f7af8
3
+ metadata.gz: a55c2e2bc10c877d10e8627b5d867e1a9844d205
4
+ data.tar.gz: c13d572e7a78ca7441dc688202c9ad1df81d058a
5
5
  SHA512:
6
- metadata.gz: 063281dc682cbca0b6ecd8dc28fca3aaf1a028bc39cb11fecd4698b031c072686be7dc5f94b2b1a7a72edb134b16aa5dc6a4ed775e21d90fdb0740687cc6446b
7
- data.tar.gz: f49babf34de6beb75dbec83b4035d75427a624dceb1e2d39a32d14a8702109781d95e68958ba79c42d96036d774d8c31a43142a1c9cc751458b08dbb7f500de5
6
+ metadata.gz: bec4820bb65298494c8d653639bbb8dfe7a068966964aebb2b57f52ae091f50ee677c28af8325550ab6aa4ababdcf123e121094167dccf23e421950bf51a07f7
7
+ data.tar.gz: 3c464ec724195e31b5da01cb397279ce9bf98f2359ae19118ea901bc06bbb46e57fe6747da84b64138dc90d6d0176e41a48521cc2512744a2d9e7ceabc4bd132
@@ -1,3 +1,6 @@
1
+ ## 0.1.12
2
+ * Support the latest problem of Slack XMPP Gateway about groupchat with resource name
3
+
1
4
  ## 0.1.11
2
5
  * Add missing comma
3
6
 
@@ -18,7 +18,7 @@ module Ruboty
18
18
  client.say(
19
19
  body: message[:code] ? "```\n#{message[:body]}\n```" : message[:body],
20
20
  from: message[:from],
21
- to: message[:original][:type] == "chat" ? message[:to] + "/resource" : message[:to],
21
+ to: message[:original][:type] == "chat" ? message[:to] + "/resource" : message[:to].split("/", 2).first,
22
22
  type: message[:original][:type],
23
23
  )
24
24
  end
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module Slack
3
- VERSION = "0.1.11"
3
+ VERSION = "0.1.12"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-slack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-02 00:00:00.000000000 Z
11
+ date: 2015-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruboty