lita-talk 0.1.3 → 0.1.4

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: f6ce1aff92356db9df8a3e6fb54cc42c8a6f86f0
4
- data.tar.gz: 6c7c8321c39a6ecf5c0cf6a4fb0bb8c1c7aaeb06
3
+ metadata.gz: a3857b5a96e64788e9c74bf411ad9019e8afe190
4
+ data.tar.gz: 5e9218d0299585ac17f30eb3f8224ffdc57ded72
5
5
  SHA512:
6
- metadata.gz: 29187f95a63d2a05930cb3b8ec96ff09c7a94ebbe2d7087756856ddc4fa780d5ad1c27de6460b0fcf238c040a7a74aea06bfbb3d6453ebc6ecf36773dff5fe58
7
- data.tar.gz: 27c78ae68a8165e842a7b639750aa8a14be4ab5c6a68cc3f1078a764bbb122f5f3346bb5d5a553a8494b8803aa42702eb2d1b74acb3e4aa4a686af027e47019e
6
+ metadata.gz: e334c1f7e9754061945586bd5b0537192b88774729671aa0a3040d8268a67a89bcddc84f659798e849744d5437ba7f2cfdb13022a82144f11b574bae69edc611
7
+ data.tar.gz: 94f5dd0dad4c9c4a206a14e23d0774c7cee09ab2007b4a8b1af9e789f458a552343763aa81ac0edc6a888e86e7951b7d949718dd4a8777c8fca8ebf9cf4bd784
@@ -36,7 +36,11 @@ module Lita
36
36
  end
37
37
 
38
38
  def context_key(response)
39
- "lita-talk:#{response.message.source.room}"
39
+ if Lita.config.robot.adapter == :twitter
40
+ "lita-talk:#{response.message.user.id}"
41
+ else
42
+ "lita-talk:#{response.message.source.room}"
43
+ end
40
44
  end
41
45
 
42
46
  def params(context)
data/lita-talk.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-talk"
3
- spec.version = "0.1.3"
3
+ spec.version = "0.1.4"
4
4
  spec.authors = ["fukayatsu"]
5
5
  spec.email = ["fukayatsu@gmail.com"]
6
6
  spec.description = "Talk with you if given message didn't match any other handlers."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-talk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - fukayatsu