smartware 0.1.21 → 0.1.22

Sign up to get free protection for your applications and to get access to all the features.
@@ -49,7 +49,6 @@ module Smartware
49
49
  def self.poll_status!
50
50
  t = Thread.new do
51
51
  loop do
52
- @status = {}
53
52
  @status[:signal_level] = @device.signal_level
54
53
  sleep 1
55
54
  @status[:model] = @device.model
@@ -58,7 +57,7 @@ module Smartware
58
57
  sleep 3
59
58
  balance = @device.ussd("*100#")
60
59
  @status[:balance] = balance if balance
61
- sleep 1
60
+ sleep 10
62
61
  end
63
62
  end
64
63
  end
@@ -1,3 +1,3 @@
1
1
  module Smartware
2
- VERSION = "0.1.21"
2
+ VERSION = "0.1.22"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartware
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.21
4
+ version: 0.1.22
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: