smartkiosk-client 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +5 -0
- data/Gemfile.lock +176 -0
- data/Rakefile +4 -0
- data/app/controllers/banners.rb +14 -0
- data/app/controllers/collections.rb +10 -0
- data/app/controllers/config.rb +23 -0
- data/app/controllers/payments.rb +30 -0
- data/app/controllers/receipts.rb +13 -0
- data/app/controllers/terminal.rb +104 -0
- data/app/models/admin.rb +3 -0
- data/app/models/banner.rb +5 -0
- data/app/models/collection.rb +53 -0
- data/app/models/customer.rb +3 -0
- data/app/models/group.rb +37 -0
- data/app/models/order.rb +25 -0
- data/app/models/payment.rb +80 -0
- data/app/models/phone_range.rb +3 -0
- data/app/models/promotion.rb +11 -0
- data/app/models/provider.rb +42 -0
- data/app/models/receipt.rb +21 -0
- data/app/models/receipt_template.rb +5 -0
- data/app/models/terminal.rb +152 -0
- data/app/uploaders/icon_uploader.rb +9 -0
- data/app/views/banners.haml +50 -0
- data/app/workers/orders/acknowledge_worker.rb +22 -0
- data/app/workers/orders/complete_worker.rb +20 -0
- data/app/workers/orders/disable_worker.rb +16 -0
- data/app/workers/orders/enable_worker.rb +16 -0
- data/app/workers/orders/reboot_worker.rb +18 -0
- data/app/workers/orders/reload_worker.rb +18 -0
- data/app/workers/orders/upgrade_worker.rb +108 -0
- data/app/workers/payments/check_worker.rb +35 -0
- data/app/workers/payments/collect_worker.rb +23 -0
- data/app/workers/payments/pay_worker.rb +21 -0
- data/app/workers/ping_worker.rb +180 -0
- data/app/workers/startup_worker.rb +11 -0
- data/app/workers/sync/icons_worker.rb +20 -0
- data/app/workers/sync/receipt_templates_worker.rb +27 -0
- data/config/boot.rb +104 -0
- data/config/services/application.yml +4 -0
- data/config/services/database.yml +17 -0
- data/config/services/database.yml.sample +33 -0
- data/config/services/smartware.yml +28 -0
- data/config/services/smartware.yml.sample +13 -0
- data/config/sidekiq.yml +12 -0
- data/db/development.sqlite3 +0 -0
- data/db/migrate/20121230080152_create_customers.rb +8 -0
- data/db/migrate/20121230080159_create_admins.rb +11 -0
- data/db/migrate/20130106150707_create_orders.rb +14 -0
- data/db/migrate/20130106155321_create_providers.rb +19 -0
- data/db/migrate/20130106160834_create_groups.rb +11 -0
- data/db/migrate/20130106181512_create_receipt_templates.rb +9 -0
- data/db/migrate/20130106181548_create_payments.rb +26 -0
- data/db/migrate/20130106181729_create_collections.rb +10 -0
- data/db/migrate/20130106181803_create_receipts.rb +15 -0
- data/db/migrate/20130106181844_create_phone_ranges.rb +14 -0
- data/db/migrate/20130108110546_create_promotions.rb +9 -0
- data/db/migrate/20130110025256_create_banners.rb +12 -0
- data/init.rb +1 -0
- data/lib/pinger.rb +22 -0
- data/lib/sidekiq.rb +20 -0
- data/lib/smartkiosk/client/version.rb +7 -0
- data/lib/smartkiosk/client.rb +1 -0
- data/lib/smartkiosk/config/chunk.rb +7 -0
- data/lib/smartkiosk/config/yaml.rb +26 -0
- data/lib/tasks/db.rb +15 -0
- data/lib/tasks/pack.rb +27 -0
- data/lib/tasks/scheduler.rb +27 -0
- data/lib/tasks/services.rb +20 -0
- data/server.rb +11 -0
- data/smartkiosk-client.gemspec +55 -0
- data/tmp/pids/.gitkeep +0 -0
- data/tmp/pids/sidekiq.pid +1 -0
- data/vendor/assets/javascripts/jquery.js +9555 -0
- metadata +444 -0
@@ -0,0 +1,55 @@
|
|
1
|
+
lib = File.expand_path('../lib', __FILE__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require 'smartkiosk/client/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |gem|
|
6
|
+
gem.name = 'smartkiosk-client'
|
7
|
+
gem.version = Smartkiosk::Client::VERSION
|
8
|
+
gem.authors = ['Boris Staal']
|
9
|
+
gem.email = ['boris@roundlake.ru']
|
10
|
+
gem.description = %q{Smartkiosk client application}
|
11
|
+
gem.summary = gem.description
|
12
|
+
gem.homepage = 'https://github.com/smartkiosk/smartkiosk-client'
|
13
|
+
gem.files = `git ls-files`.split($/)
|
14
|
+
|
15
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
16
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
17
|
+
gem.require_paths = ['lib']
|
18
|
+
|
19
|
+
gem.add_dependency 'rake', '10.0.3'
|
20
|
+
gem.add_dependency 'thin', '1.5.0'
|
21
|
+
gem.add_dependency 'sinatra', '1.3.4'
|
22
|
+
gem.add_dependency 'sinatra-activerecord', '1.2.1'
|
23
|
+
gem.add_dependency 'sinatra-contrib', '1.3.2'
|
24
|
+
gem.add_dependency 'haml', '3.1.7'
|
25
|
+
gem.add_dependency 'sass', '3.2.5'
|
26
|
+
gem.add_dependency 'sprockets', '2.8.2'
|
27
|
+
gem.add_dependency 'sprockets-sass', '0.9.1'
|
28
|
+
gem.add_dependency 'sprockets-helpers', '0.8.0'
|
29
|
+
|
30
|
+
gem.add_dependency 'activesupport', '3.2.11'
|
31
|
+
gem.add_dependency 'smartkiosk-common', '0.0.2'
|
32
|
+
|
33
|
+
gem.add_dependency 'sqlite3', '1.3.6'
|
34
|
+
gem.add_dependency 'pg', '0.14.1'
|
35
|
+
gem.add_dependency 'redis', '3.0.2'
|
36
|
+
gem.add_dependency 'redis-objects', '0.6.1'
|
37
|
+
gem.add_dependency 'carrierwave', '0.7.1'
|
38
|
+
|
39
|
+
gem.add_dependency 'rest-client', '1.6.7'
|
40
|
+
gem.add_dependency 'recursive-open-struct', '0.2.1'
|
41
|
+
|
42
|
+
gem.add_dependency 'liquid', '2.4.1'
|
43
|
+
gem.add_dependency 'file-tail', '1.0.12'
|
44
|
+
|
45
|
+
gem.add_dependency 'rubyzip', '0.9.9'
|
46
|
+
gem.add_dependency 'pry', '0.9.10'
|
47
|
+
|
48
|
+
gem.add_dependency 'smartware', '0.2.8'
|
49
|
+
gem.add_dependency 'smartguard', '0.3.8'
|
50
|
+
gem.add_dependency 'amqp', '0.9.8'
|
51
|
+
|
52
|
+
gem.add_dependency 'sidekiq', '2.6.5'
|
53
|
+
gem.add_dependency 'slim', '1.3.4'
|
54
|
+
gem.add_dependency 'rufus-scheduler', '2.0.17'
|
55
|
+
end
|
data/tmp/pids/.gitkeep
ADDED
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
58171
|