ruboty-good-night 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ruboty/good_night/adapt_callback.rb +2 -2
- data/lib/ruboty/good_night/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1dffb89b8d304027efd4ceecf045273ab00fdf3
|
4
|
+
data.tar.gz: 40f856c23ab62c7f9c5354d701bef2ed89cf2537
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82932318a6ed28d1fda023198ce00284f26614a66f21c647a3666671f978ce2da28245e0048ba1f6dd19f51a0723c78a3f6b6bd1a05c6b819dee4425c4fb160c
|
7
|
+
data.tar.gz: d4086059f06b80cfeaef36aae8eac96d68f3b7af6a06cbc90149d0fffb590915a03081e6cef0cfe7eebb4f62591ba0b3a64979b10567368a3044c4c8f459e030
|
@@ -6,13 +6,13 @@ module Ruboty
|
|
6
6
|
def adapt
|
7
7
|
super
|
8
8
|
|
9
|
-
if
|
9
|
+
if brain.data[BRAIN_NAMESPACE]
|
10
10
|
room.reply('おはようございます')
|
11
11
|
end
|
12
12
|
end
|
13
13
|
|
14
14
|
def room
|
15
|
-
Ruboty::Message.new(
|
15
|
+
Ruboty::Message.new(brain.data[BRAIN_NAMESPACE].merge(robot: self))
|
16
16
|
end
|
17
17
|
end
|
18
18
|
end
|