ruboty-good-night 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: e1dffb89b8d304027efd4ceecf045273ab00fdf3
4
- data.tar.gz: 40f856c23ab62c7f9c5354d701bef2ed89cf2537
3
+ metadata.gz: f6efae2eeb14a700e724b4670b4fae6c6b384f7c
4
+ data.tar.gz: e0335fb513291891bfc2215c2ab37a996c3f1860
5
5
  SHA512:
6
- metadata.gz: 82932318a6ed28d1fda023198ce00284f26614a66f21c647a3666671f978ce2da28245e0048ba1f6dd19f51a0723c78a3f6b6bd1a05c6b819dee4425c4fb160c
7
- data.tar.gz: d4086059f06b80cfeaef36aae8eac96d68f3b7af6a06cbc90149d0fffb590915a03081e6cef0cfe7eebb4f62591ba0b3a64979b10567368a3044c4c8f459e030
6
+ metadata.gz: 2cf763ee72e9ebe8193eb2b2a140248be5b8597d63af693e35c562bda66d5e152a3f7adce8c78a19074570bdf3488906e45441c566934fb90a80fbd86229d130
7
+ data.tar.gz: 2377a508412f5b11463a5c992b2b4e2c04620cc17d3d54a7d63cdfa06eb1aee7576ad466747b6e14649f523e6bf67bdb51efa7f79042a2a447bec734eab7fd72
@@ -4,11 +4,14 @@ module Ruboty
4
4
  BRAIN_NAMESPACE = 'ruboty-goodnight'
5
5
 
6
6
  def adapt
7
- super
8
-
9
7
  if brain.data[BRAIN_NAMESPACE]
10
- room.reply('おはようございます')
8
+ Thread.new {
9
+ sleep 10
10
+ room.reply('おはようございます')
11
+ }
11
12
  end
13
+
14
+ super
12
15
  end
13
16
 
14
17
  def room
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module GoodNight
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
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.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - adorechic