tamashii-agent 0.2.7 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fcc65b8a798b3b32a4c0e4beb3f694a63b02e2f8
4
- data.tar.gz: 3d35b65bd94bef0cf5a118d790c023e93d3a9eff
3
+ metadata.gz: 5fd9d5c6f30e60812fe77bb31c1c4f867bbdf5ac
4
+ data.tar.gz: 6c2b99fe269bb5592d7277b42fafdaf9ff788aa4
5
5
  SHA512:
6
- metadata.gz: 9ba2d2285b63a61ad5f7cb172bab5d4563ae7b55c71852eabcf61b66baeb56d668886a4f3e3b14536b8a3bfd5a735c7c08136c1ab57b6de9d955f0d975ef338a
7
- data.tar.gz: 1f405b76004e0288cf7d5320e93f002e7ef136956dbdc59d2ef30f407fe544ecbf637fdaf4ff51ac2057535f4f49ae3b5dded32e9818afa2aa4af37df405ed4b
6
+ metadata.gz: 3d3809a9b2b9d9d9a8cc562f0b20f2dc20f1ea6d0409cb971057da8c504e8684d233c944ae02abb546ee1242a5d3257dc4d80c420fd1b6d94494fded47b3ec3c
7
+ data.tar.gz: 22efd47ced899ab7a920325ff033d3382c3db2375993bbdb09556c79440040924d355c825bd31f003918452e0ad3178fd98477873fb3a5f28eacd4faa941b7d9
@@ -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 1 if @pos == 0 || @pos == @max_pos
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(1)
69
+ @animation_thread.join(Config.lcd_animation_delay * 3)
70
70
  @animation_thread.exit
71
71
  @animation_thread = nil
72
72
  end
@@ -1,5 +1,5 @@
1
1
  module Tamashii
2
2
  module Agent
3
- VERSION = "0.2.7"
3
+ VERSION = "0.2.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tamashii-agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - 蒼時弦也