smartware 0.3 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -39,7 +39,7 @@ module Smartware
39
39
  @device.escrow = method :escrow
40
40
  @device.stacked = method :stacked
41
41
  @device.returned = method :returned
42
- @device.status = method :status
42
+ @device.status = method :status_changed
43
43
 
44
44
  @limit = nil
45
45
  @banknotes = {}
@@ -125,7 +125,7 @@ module Smartware
125
125
  Smartware::Logging.logger.debug "cash acceptor: bill returned, #{value}"
126
126
  end
127
127
 
128
- def status(error)
128
+ def status_changed(error)
129
129
  update_status do
130
130
  @status[:error] = error
131
131
  @status[:model] = @device.model
@@ -1,3 +1,3 @@
1
1
  module Smartware
2
- VERSION = "0.3"
2
+ VERSION = "0.3.1"
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.3'
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: