smartkiosk-client 0.1.16 → 0.1.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,6 +10,7 @@ Application.load 'lib/smartkiosk/config/yaml'
10
10
  class Terminal
11
11
  include Redis::Objects
12
12
 
13
+ value :address, :global => true
13
14
  value :actual_state, :global => true
14
15
  value :modified_at, :global => true, :marshal => true
15
16
  value :payment_in_progress, :global => true
@@ -46,6 +46,8 @@ class PingWorker
46
46
  #
47
47
  # PROFILE
48
48
  #
49
+ Terminal.address = response[:address]
50
+
49
51
  unless Terminal.modified_at == response[:profile][:modified_at]
50
52
  Terminal.support_phone = response[:profile][:support_phone]
51
53
  Terminal.modified_at = response[:profile][:modified_at]
@@ -2,6 +2,6 @@ require 'sinatra/base'
2
2
 
3
3
  module Smartkiosk
4
4
  class Client < Sinatra::Base
5
- VERSION = '0.1.16'
5
+ VERSION = '0.1.17'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartkiosk-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.16
4
+ version: 0.1.17
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -629,7 +629,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
629
629
  version: '0'
630
630
  segments:
631
631
  - 0
632
- hash: -2842094525876176643
632
+ hash: 1747450478422884139
633
633
  required_rubygems_version: !ruby/object:Gem::Requirement
634
634
  none: false
635
635
  requirements:
@@ -638,10 +638,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
638
638
  version: '0'
639
639
  segments:
640
640
  - 0
641
- hash: -2842094525876176643
641
+ hash: 1747450478422884139
642
642
  requirements: []
643
643
  rubyforge_project:
644
- rubygems_version: 1.8.24
644
+ rubygems_version: 1.8.23
645
645
  signing_key:
646
646
  specification_version: 3
647
647
  summary: Smartkiosk client application