ruboty-good-night 0.0.1 → 0.1.0

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: edfe8f2f9545fc074d8112c01319bc2972fae04b
4
- data.tar.gz: fa51dca07c1780fccc00e5e9138774672a1af904
3
+ metadata.gz: 8c3f67f253e9770f47fdc72f01403ddb332bdb66
4
+ data.tar.gz: fe45f783437dfa43700318096ef6b20c23ff71e9
5
5
  SHA512:
6
- metadata.gz: ebf9b5473d6da017427da6656fa855845bc00e88f7d9467c002caabf51bb4c3933101f252de0f82bb115ecdc7a86c85a5598b41fc9f706179b13c979c03d8082
7
- data.tar.gz: c3dcbccb8543f778607aa7e25de3f7fd99032bb86715a7efa5211381f85843edf43497e2021a0c686856ce7337c27d581008932f6d56204af9c9a3c82c2c2045
6
+ metadata.gz: 5f3d7272bcdb086e5fb802959c6d699bec16012a3cfc27cbc92b985ba97a5eafc9d84d7e9628cc9df0ce63e6d40a38945223e268f1ab0ea3d6086c95d1be9a09
7
+ data.tar.gz: 3245ecfa306550873e95e56693070b0a35835d0c4b940211f9d4033a486903e4cd48b10a54b32344bc04da5b29db889526bd2067e82fca68466b89fc2c6ca786
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module GoodNight
3
- VERSION = "0.0.1"
3
+ VERSION = "0.1.0"
4
4
  end
5
5
  end
@@ -8,6 +8,7 @@ module Ruboty
8
8
  def initialize(*args)
9
9
  super
10
10
  if room
11
+ room.reply('おはようございます')
11
12
  trap_message(room)
12
13
  end
13
14
  end
@@ -20,7 +21,7 @@ module Ruboty
20
21
  private
21
22
 
22
23
  def save(message)
23
- room = message
24
+ robot.brain.data[BRAIN_NAMESPACE] = message
24
25
  trap_message(message)
25
26
  end
26
27
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-good-night
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - adorechic
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-12-08 00:00:00.000000000 Z
11
+ date: 2015-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler