smartkiosk-client 0.1.19 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,6 +6,7 @@ require 'redis/objects'
6
6
  require 'file-tail'
7
7
 
8
8
  Application.load 'lib/smartkiosk/config/yaml'
9
+ Application.load 'lib/smartkiosk/client/version'
9
10
 
10
11
  class Terminal
11
12
  include Redis::Objects
@@ -89,10 +90,6 @@ class Terminal
89
90
  self.state == 'active'
90
91
  end
91
92
 
92
- def self.version
93
- '0.1'
94
- end
95
-
96
93
  def self.ip
97
94
  orig, Socket.do_not_reverse_lookup = Socket.do_not_reverse_lookup, true
98
95
 
@@ -164,7 +161,7 @@ class Terminal
164
161
  :model => Smartware.card_reader.model,
165
162
  :version => Smartware.card_reader.version
166
163
  },
167
- :version => Terminal.version
164
+ :version => Smartkiosk::Client::VERSION
168
165
  }
169
166
  end
170
167
  end
@@ -2,6 +2,6 @@ require 'sinatra/base'
2
2
 
3
3
  module Smartkiosk
4
4
  class Client < Sinatra::Base
5
- VERSION = '0.1.19'
5
+ VERSION = '0.2'
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.19
4
+ version: '0.2'
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: 340182350966152371
632
+ hash: 4563940041754481045
633
633
  required_rubygems_version: !ruby/object:Gem::Requirement
634
634
  none: false
635
635
  requirements:
@@ -638,7 +638,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
638
638
  version: '0'
639
639
  segments:
640
640
  - 0
641
- hash: 340182350966152371
641
+ hash: 4563940041754481045
642
642
  requirements: []
643
643
  rubyforge_project:
644
644
  rubygems_version: 1.8.23