tamashii-agent 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tamashii/agent/lcd.rb +2 -2
- data/lib/tamashii/agent/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: 5fd9d5c6f30e60812fe77bb31c1c4f867bbdf5ac
|
4
|
+
data.tar.gz: 6c2b99fe269bb5592d7277b42fafdaf9ff788aa4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d3809a9b2b9d9d9a8cc562f0b20f2dc20f1ea6d0409cb971057da8c504e8684d233c944ae02abb546ee1242a5d3257dc4d80c420fd1b6d94494fded47b3ec3c
|
7
|
+
data.tar.gz: 22efd47ced899ab7a920325ff033d3382c3db2375993bbdb09556c79440040924d355c825bd31f003918452e0ad3178fd98477873fb3a5f28eacd4faa941b7d9
|
data/lib/tamashii/agent/lcd.rb
CHANGED
@@ -59,14 +59,14 @@ module Tamashii
|
|
59
59
|
sleep Config.lcd_animation_delay
|
60
60
|
animation_show_text
|
61
61
|
break if @stop_animation
|
62
|
-
sleep
|
62
|
+
sleep Config.lcd_animation_delay if @pos == 0 || @pos == @max_pos
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
66
|
def stop_animation
|
67
67
|
@stop_animation = true
|
68
68
|
if @animation_thread
|
69
|
-
@animation_thread.join(
|
69
|
+
@animation_thread.join(Config.lcd_animation_delay * 3)
|
70
70
|
@animation_thread.exit
|
71
71
|
@animation_thread = nil
|
72
72
|
end
|