smartkiosk-client 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- smartkiosk-client (0.0.4)
4
+ smartkiosk-client (0.0.5)
5
5
  activesupport (= 3.2.11)
6
6
  amqp (= 0.9.8)
7
7
  carrierwave (= 0.7.1)
@@ -2,6 +2,6 @@ require 'sinatra/base'
2
2
 
3
3
  module Smartkiosk
4
4
  class Client < Sinatra::Base
5
- VERSION = '0.0.4'
5
+ VERSION = '0.0.5'
6
6
  end
7
7
  end
@@ -0,0 +1,18 @@
1
+ namespace :assets do
2
+ desc 'compile assets'
3
+ task :precompile do
4
+ sprockets = Application.sprockets
5
+ destination = Application.root.join('public/assets')
6
+
7
+ Application.assets_compile.each do |file|
8
+ asset = sprockets[file]
9
+ outfile = destination.join(file)
10
+
11
+ FileUtils.mkdir_p outfile.dirname
12
+
13
+ asset.write_to(outfile)
14
+ asset.write_to("#{outfile}.gz")
15
+ puts "compiled #{file}"
16
+ end
17
+ end
18
+ end
@@ -10,7 +10,7 @@ task :sidekiq do
10
10
  exec('bundle exec sidekiq -q pings -q payments -q orders -q sync -q scheduled -r ./app.rb')
11
11
  end
12
12
 
13
- task :server do
13
+ task :web do
14
14
  require 'eventmachine'
15
15
  require 'thin'
16
16
 
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.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2013-01-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &70099068636800 !ruby/object:Gem::Requirement
16
+ requirement: &70278849234000 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - =
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 10.0.3
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70099068636800
24
+ version_requirements: *70278849234000
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: thin
27
- requirement: &70099068636300 !ruby/object:Gem::Requirement
27
+ requirement: &70278849233420 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - =
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.5.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70099068636300
35
+ version_requirements: *70278849233420
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: sinatra
38
- requirement: &70099068635840 !ruby/object:Gem::Requirement
38
+ requirement: &70278849249160 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - =
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.3.4
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70099068635840
46
+ version_requirements: *70278849249160
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: sinatra-activerecord
49
- requirement: &70099068635380 !ruby/object:Gem::Requirement
49
+ requirement: &70278849248660 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - =
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 1.2.1
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *70099068635380
57
+ version_requirements: *70278849248660
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: sinatra-contrib
60
- requirement: &70099068634920 !ruby/object:Gem::Requirement
60
+ requirement: &70278849248200 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - =
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 1.3.2
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *70099068634920
68
+ version_requirements: *70278849248200
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: haml
71
- requirement: &70099068634460 !ruby/object:Gem::Requirement
71
+ requirement: &70278849247740 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - =
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: 3.1.7
77
77
  type: :runtime
78
78
  prerelease: false
79
- version_requirements: *70099068634460
79
+ version_requirements: *70278849247740
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: sass
82
- requirement: &70099068633980 !ruby/object:Gem::Requirement
82
+ requirement: &70278849247260 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - =
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: 3.2.5
88
88
  type: :runtime
89
89
  prerelease: false
90
- version_requirements: *70099068633980
90
+ version_requirements: *70278849247260
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: sprockets
93
- requirement: &70099068633400 !ruby/object:Gem::Requirement
93
+ requirement: &70278849246760 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - =
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: 2.8.2
99
99
  type: :runtime
100
100
  prerelease: false
101
- version_requirements: *70099068633400
101
+ version_requirements: *70278849246760
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: sprockets-sass
104
- requirement: &70099068632900 !ruby/object:Gem::Requirement
104
+ requirement: &70278849246300 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - =
@@ -109,10 +109,10 @@ dependencies:
109
109
  version: 0.9.1
110
110
  type: :runtime
111
111
  prerelease: false
112
- version_requirements: *70099068632900
112
+ version_requirements: *70278849246300
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: sprockets-helpers
115
- requirement: &70099068632220 !ruby/object:Gem::Requirement
115
+ requirement: &70278849245820 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - =
@@ -120,10 +120,10 @@ dependencies:
120
120
  version: 0.8.0
121
121
  type: :runtime
122
122
  prerelease: false
123
- version_requirements: *70099068632220
123
+ version_requirements: *70278849245820
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: activesupport
126
- requirement: &70099068631740 !ruby/object:Gem::Requirement
126
+ requirement: &70278849245320 !ruby/object:Gem::Requirement
127
127
  none: false
128
128
  requirements:
129
129
  - - =
@@ -131,10 +131,10 @@ dependencies:
131
131
  version: 3.2.11
132
132
  type: :runtime
133
133
  prerelease: false
134
- version_requirements: *70099068631740
134
+ version_requirements: *70278849245320
135
135
  - !ruby/object:Gem::Dependency
136
136
  name: smartkiosk-common
137
- requirement: &70099068631180 !ruby/object:Gem::Requirement
137
+ requirement: &70278849244860 !ruby/object:Gem::Requirement
138
138
  none: false
139
139
  requirements:
140
140
  - - =
@@ -142,10 +142,10 @@ dependencies:
142
142
  version: 0.0.2
143
143
  type: :runtime
144
144
  prerelease: false
145
- version_requirements: *70099068631180
145
+ version_requirements: *70278849244860
146
146
  - !ruby/object:Gem::Dependency
147
147
  name: sqlite3
148
- requirement: &70099068630660 !ruby/object:Gem::Requirement
148
+ requirement: &70278849244400 !ruby/object:Gem::Requirement
149
149
  none: false
150
150
  requirements:
151
151
  - - =
@@ -153,10 +153,10 @@ dependencies:
153
153
  version: 1.3.6
154
154
  type: :runtime
155
155
  prerelease: false
156
- version_requirements: *70099068630660
156
+ version_requirements: *70278849244400
157
157
  - !ruby/object:Gem::Dependency
158
158
  name: pg
159
- requirement: &70099068630160 !ruby/object:Gem::Requirement
159
+ requirement: &70278849243940 !ruby/object:Gem::Requirement
160
160
  none: false
161
161
  requirements:
162
162
  - - =
@@ -164,10 +164,10 @@ dependencies:
164
164
  version: 0.14.1
165
165
  type: :runtime
166
166
  prerelease: false
167
- version_requirements: *70099068630160
167
+ version_requirements: *70278849243940
168
168
  - !ruby/object:Gem::Dependency
169
169
  name: redis
170
- requirement: &70099068646000 !ruby/object:Gem::Requirement
170
+ requirement: &70278849243480 !ruby/object:Gem::Requirement
171
171
  none: false
172
172
  requirements:
173
173
  - - =
@@ -175,10 +175,10 @@ dependencies:
175
175
  version: 3.0.2
176
176
  type: :runtime
177
177
  prerelease: false
178
- version_requirements: *70099068646000
178
+ version_requirements: *70278849243480
179
179
  - !ruby/object:Gem::Dependency
180
180
  name: redis-objects
181
- requirement: &70099068645540 !ruby/object:Gem::Requirement
181
+ requirement: &70278849243020 !ruby/object:Gem::Requirement
182
182
  none: false
183
183
  requirements:
184
184
  - - =
@@ -186,10 +186,10 @@ dependencies:
186
186
  version: 0.6.1
187
187
  type: :runtime
188
188
  prerelease: false
189
- version_requirements: *70099068645540
189
+ version_requirements: *70278849243020
190
190
  - !ruby/object:Gem::Dependency
191
191
  name: carrierwave
192
- requirement: &70099068645060 !ruby/object:Gem::Requirement
192
+ requirement: &70278849242560 !ruby/object:Gem::Requirement
193
193
  none: false
194
194
  requirements:
195
195
  - - =
@@ -197,10 +197,10 @@ dependencies:
197
197
  version: 0.7.1
198
198
  type: :runtime
199
199
  prerelease: false
200
- version_requirements: *70099068645060
200
+ version_requirements: *70278849242560
201
201
  - !ruby/object:Gem::Dependency
202
202
  name: rest-client
203
- requirement: &70099068644540 !ruby/object:Gem::Requirement
203
+ requirement: &70278849242100 !ruby/object:Gem::Requirement
204
204
  none: false
205
205
  requirements:
206
206
  - - =
@@ -208,10 +208,10 @@ dependencies:
208
208
  version: 1.6.7
209
209
  type: :runtime
210
210
  prerelease: false
211
- version_requirements: *70099068644540
211
+ version_requirements: *70278849242100
212
212
  - !ruby/object:Gem::Dependency
213
213
  name: recursive-open-struct
214
- requirement: &70099068643960 !ruby/object:Gem::Requirement
214
+ requirement: &70278849241640 !ruby/object:Gem::Requirement
215
215
  none: false
216
216
  requirements:
217
217
  - - =
@@ -219,10 +219,10 @@ dependencies:
219
219
  version: 0.2.1
220
220
  type: :runtime
221
221
  prerelease: false
222
- version_requirements: *70099068643960
222
+ version_requirements: *70278849241640
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: liquid
225
- requirement: &70099068643360 !ruby/object:Gem::Requirement
225
+ requirement: &70278849241160 !ruby/object:Gem::Requirement
226
226
  none: false
227
227
  requirements:
228
228
  - - =
@@ -230,10 +230,10 @@ dependencies:
230
230
  version: 2.4.1
231
231
  type: :runtime
232
232
  prerelease: false
233
- version_requirements: *70099068643360
233
+ version_requirements: *70278849241160
234
234
  - !ruby/object:Gem::Dependency
235
235
  name: file-tail
236
- requirement: &70099068642800 !ruby/object:Gem::Requirement
236
+ requirement: &70278849257020 !ruby/object:Gem::Requirement
237
237
  none: false
238
238
  requirements:
239
239
  - - =
@@ -241,10 +241,10 @@ dependencies:
241
241
  version: 1.0.12
242
242
  type: :runtime
243
243
  prerelease: false
244
- version_requirements: *70099068642800
244
+ version_requirements: *70278849257020
245
245
  - !ruby/object:Gem::Dependency
246
246
  name: rubyzip
247
- requirement: &70099068642240 !ruby/object:Gem::Requirement
247
+ requirement: &70278849256420 !ruby/object:Gem::Requirement
248
248
  none: false
249
249
  requirements:
250
250
  - - =
@@ -252,10 +252,10 @@ dependencies:
252
252
  version: 0.9.9
253
253
  type: :runtime
254
254
  prerelease: false
255
- version_requirements: *70099068642240
255
+ version_requirements: *70278849256420
256
256
  - !ruby/object:Gem::Dependency
257
257
  name: pry
258
- requirement: &70099068641720 !ruby/object:Gem::Requirement
258
+ requirement: &70278849255960 !ruby/object:Gem::Requirement
259
259
  none: false
260
260
  requirements:
261
261
  - - =
@@ -263,10 +263,10 @@ dependencies:
263
263
  version: 0.9.10
264
264
  type: :runtime
265
265
  prerelease: false
266
- version_requirements: *70099068641720
266
+ version_requirements: *70278849255960
267
267
  - !ruby/object:Gem::Dependency
268
268
  name: smartware
269
- requirement: &70099068641220 !ruby/object:Gem::Requirement
269
+ requirement: &70278849255500 !ruby/object:Gem::Requirement
270
270
  none: false
271
271
  requirements:
272
272
  - - =
@@ -274,10 +274,10 @@ dependencies:
274
274
  version: 0.2.8
275
275
  type: :runtime
276
276
  prerelease: false
277
- version_requirements: *70099068641220
277
+ version_requirements: *70278849255500
278
278
  - !ruby/object:Gem::Dependency
279
279
  name: smartguard
280
- requirement: &70099068640740 !ruby/object:Gem::Requirement
280
+ requirement: &70278849255040 !ruby/object:Gem::Requirement
281
281
  none: false
282
282
  requirements:
283
283
  - - =
@@ -285,10 +285,10 @@ dependencies:
285
285
  version: 0.3.8
286
286
  type: :runtime
287
287
  prerelease: false
288
- version_requirements: *70099068640740
288
+ version_requirements: *70278849255040
289
289
  - !ruby/object:Gem::Dependency
290
290
  name: amqp
291
- requirement: &70099068640220 !ruby/object:Gem::Requirement
291
+ requirement: &70278849254580 !ruby/object:Gem::Requirement
292
292
  none: false
293
293
  requirements:
294
294
  - - =
@@ -296,10 +296,10 @@ dependencies:
296
296
  version: 0.9.8
297
297
  type: :runtime
298
298
  prerelease: false
299
- version_requirements: *70099068640220
299
+ version_requirements: *70278849254580
300
300
  - !ruby/object:Gem::Dependency
301
301
  name: sidekiq
302
- requirement: &70099068639740 !ruby/object:Gem::Requirement
302
+ requirement: &70278849254120 !ruby/object:Gem::Requirement
303
303
  none: false
304
304
  requirements:
305
305
  - - =
@@ -307,10 +307,10 @@ dependencies:
307
307
  version: 2.6.5
308
308
  type: :runtime
309
309
  prerelease: false
310
- version_requirements: *70099068639740
310
+ version_requirements: *70278849254120
311
311
  - !ruby/object:Gem::Dependency
312
312
  name: slim
313
- requirement: &70099068639240 !ruby/object:Gem::Requirement
313
+ requirement: &70278849253660 !ruby/object:Gem::Requirement
314
314
  none: false
315
315
  requirements:
316
316
  - - =
@@ -318,10 +318,10 @@ dependencies:
318
318
  version: 1.3.4
319
319
  type: :runtime
320
320
  prerelease: false
321
- version_requirements: *70099068639240
321
+ version_requirements: *70278849253660
322
322
  - !ruby/object:Gem::Dependency
323
323
  name: rufus-scheduler
324
- requirement: &70099068638660 !ruby/object:Gem::Requirement
324
+ requirement: &70278849253120 !ruby/object:Gem::Requirement
325
325
  none: false
326
326
  requirements:
327
327
  - - =
@@ -329,7 +329,7 @@ dependencies:
329
329
  version: 2.0.17
330
330
  type: :runtime
331
331
  prerelease: false
332
- version_requirements: *70099068638660
332
+ version_requirements: *70278849253120
333
333
  description: Smartkiosk client application
334
334
  email:
335
335
  - boris@roundlake.ru
@@ -402,11 +402,11 @@ files:
402
402
  - lib/smartkiosk/config/chunk.rb
403
403
  - lib/smartkiosk/config/yaml.rb
404
404
  - lib/smartkiosk/sidekiq.rb
405
+ - lib/tasks/assets.rb
405
406
  - lib/tasks/db.rb
406
407
  - lib/tasks/pack.rb
407
408
  - lib/tasks/scheduler.rb
408
409
  - lib/tasks/services.rb
409
- - server.rb
410
410
  - smartkiosk-client.gemspec
411
411
  - tmp/pids/.gitkeep
412
412
  - tmp/pids/sidekiq.pid
@@ -425,7 +425,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
425
425
  version: '0'
426
426
  segments:
427
427
  - 0
428
- hash: 202952696954286297
428
+ hash: 2794867919003330409
429
429
  required_rubygems_version: !ruby/object:Gem::Requirement
430
430
  none: false
431
431
  requirements:
@@ -434,7 +434,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
434
434
  version: '0'
435
435
  segments:
436
436
  - 0
437
- hash: 202952696954286297
437
+ hash: 2794867919003330409
438
438
  requirements: []
439
439
  rubyforge_project:
440
440
  rubygems_version: 1.8.15
data/server.rb DELETED
@@ -1,11 +0,0 @@
1
- require "rubygems"
2
- require "bundler/setup"
3
-
4
- require "eventmachine"
5
- require "thin"
6
-
7
- require_relative "config/boot"
8
-
9
- EventMachine.run do
10
- Smartkiosk::Client.run! :port => 3000
11
- end