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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a61ebdc206859125a209aad164de9fe06d6a32b2
4
- data.tar.gz: a04d724fd4f74bde902f50fdb9a7d70b104470bc
3
+ metadata.gz: e1dffb89b8d304027efd4ceecf045273ab00fdf3
4
+ data.tar.gz: 40f856c23ab62c7f9c5354d701bef2ed89cf2537
5
5
  SHA512:
6
- metadata.gz: 687135a00f4fabaf27bc6e5f0266ae835a65e55afa2bcc4beee239a407d3fe83d95a57fd7dea5da60713c1f7f7d3934fa1cec10358920c9022108a70dee24b07
7
- data.tar.gz: 1fadd08f4fa47ce1b277056c32ea3dd507acf52ae576d86c312bec7b470d8f39dc71dc339c894b28ce76c66bbb2132a671173f30618a14c8c43e1a984f43ea76
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 robot.brain.data[BRAIN_NAMESPACE]
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(robot.brain.data[BRAIN_NAMESPACE].merge(robot: robot))
15
+ Ruboty::Message.new(brain.data[BRAIN_NAMESPACE].merge(robot: self))
16
16
  end
17
17
  end
18
18
  end
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module GoodNight
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-good-night
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - adorechic