ruboty-hitozuma 0.0.1 → 0.0.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: b4122005ad5f03bb6a7cf1ff570f0fe866617a5a
4
- data.tar.gz: d40a2e3143489023b5e91a19e33ed24d5963c79e
3
+ metadata.gz: 328ccd830e9df96e1995534c2674aabb96680e40
4
+ data.tar.gz: d71308ae71964ede9e8ca610af2eed9055634a5c
5
5
  SHA512:
6
- metadata.gz: 18b7b011de05a2b10bdcc873d49ec21049d0c88a691dc85fcf4f853416f4c6a3f841e84b12ffa2d259350d1503daace73f723469ecf684fb8374b94c202ad6a3
7
- data.tar.gz: be89c944d0ffa0ada11232cb50a3101d134f02aae863d9ebc3fe3a0f3407f4be4cee019390e8ee8716e2d62d72eecb2c4366f36df811e6a615c065be36cc8d9f
6
+ metadata.gz: 7b88af088cda682705cf71e29d91f8445a44bad07d5a029c913af437081959863d88b7b004e82e67e8723cbd503e7318eb2d3c966ae07c08edc4717220d7ad70
7
+ data.tar.gz: 1a9feda6a5aa623d1804b909c526bbadf9fdbf06c74e82fef1cc6212b8aa9109b2fa55f62ba0995ea12f40a7fffb34e6aeb3336c6db3c6b17133ccc459a1f1e8
@@ -8,7 +8,7 @@ module Ruboty
8
8
  def magi(message)
9
9
  if rand(100) == 0
10
10
  answer = (rand(10) != 0) ? "はい" : "いいえ"
11
- from = message.from
11
+ from = message.from_name
12
12
  return if from == message.robot.name
13
13
  if from
14
14
  message.reply("@#{message.from}: #{answer}")
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module Hitozuma
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-hitozuma
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshiori SHOJI