smartkiosk-server 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (254) hide show
  1. data/.gitignore +32 -0
  2. data/.rspec +1 -0
  3. data/Capfile +4 -0
  4. data/Gemfile +71 -0
  5. data/Gemfile.lock +439 -0
  6. data/Guardfile +25 -0
  7. data/LICENSE +287 -0
  8. data/README.md +13 -0
  9. data/Rakefile +5 -0
  10. data/app/acquirers/cards_mkb_acquirer.rb +87 -0
  11. data/app/acquirers/cash_acquirer.rb +22 -0
  12. data/app/admin/agents.rb +108 -0
  13. data/app/admin/collections.rb +62 -0
  14. data/app/admin/commissions.rb +87 -0
  15. data/app/admin/gateways.rb +183 -0
  16. data/app/admin/limits.rb +82 -0
  17. data/app/admin/payments.rb +246 -0
  18. data/app/admin/provider_groups.rb +60 -0
  19. data/app/admin/provider_profiles.rb +11 -0
  20. data/app/admin/provider_receipt_templates.rb +82 -0
  21. data/app/admin/providers.rb +201 -0
  22. data/app/admin/rebates.rb +83 -0
  23. data/app/admin/report_results.rb +66 -0
  24. data/app/admin/report_templates.rb +209 -0
  25. data/app/admin/reports.rb +158 -0
  26. data/app/admin/revisions.rb +120 -0
  27. data/app/admin/system_receipt_templates.rb +76 -0
  28. data/app/admin/terminal_builds.rb +39 -0
  29. data/app/admin/terminal_profiles.rb +123 -0
  30. data/app/admin/terminals.rb +388 -0
  31. data/app/admin/users.rb +117 -0
  32. data/app/admin/versions.rb +131 -0
  33. data/app/admin/welcome.rb +64 -0
  34. data/app/assets/fonts/PT_Sans-Web-Bold.eot +0 -0
  35. data/app/assets/fonts/PT_Sans-Web-Bold.svg +6386 -0
  36. data/app/assets/fonts/PT_Sans-Web-Bold.ttf +0 -0
  37. data/app/assets/fonts/PT_Sans-Web-Bold.woff +0 -0
  38. data/app/assets/fonts/PT_Sans-Web-Regular.eot +0 -0
  39. data/app/assets/fonts/PT_Sans-Web-Regular.svg +5650 -0
  40. data/app/assets/fonts/PT_Sans-Web-Regular.ttf +0 -0
  41. data/app/assets/fonts/PT_Sans-Web-Regular.woff +0 -0
  42. data/app/assets/images/chosen-sprite.png +0 -0
  43. data/app/assets/javascripts/active_admin/chosen.js.erb.coffee +12 -0
  44. data/app/assets/javascripts/active_admin/qtip.js.coffee +22 -0
  45. data/app/assets/javascripts/active_admin/sortable_forms.js.coffee +14 -0
  46. data/app/assets/javascripts/active_admin.js.coffee +9 -0
  47. data/app/assets/javascripts/application.js +15 -0
  48. data/app/assets/javascripts/report_templates.js.coffee +10 -0
  49. data/app/assets/javascripts/terminals.js.coffee +12 -0
  50. data/app/assets/stylesheets/active_admin/PIE.css.scss +18 -0
  51. data/app/assets/stylesheets/active_admin/filter_numeric_range.css.scss +14 -0
  52. data/app/assets/stylesheets/active_admin/selectable_check_boxes.css.scss +12 -0
  53. data/app/assets/stylesheets/active_admin/sortable_forms.css.scss +11 -0
  54. data/app/assets/stylesheets/active_admin.css.scss +705 -0
  55. data/app/assets/stylesheets/fonts.css.scss +14 -0
  56. data/app/assets/stylesheets/provider_groups.css.scss +12 -0
  57. data/app/assets/stylesheets/provider_receipt_templates.css.scss +12 -0
  58. data/app/assets/stylesheets/terminals.css.scss +9 -0
  59. data/app/controllers/application_controller.rb +12 -0
  60. data/app/controllers/collections_controller.rb +10 -0
  61. data/app/controllers/payments_controller.rb +73 -0
  62. data/app/controllers/system_receipt_templates_controller.rb +10 -0
  63. data/app/controllers/terminal_builds_controller.rb +5 -0
  64. data/app/controllers/terminal_orders_controller.rb +25 -0
  65. data/app/controllers/terminal_pings_controller.rb +45 -0
  66. data/app/controllers/welcome_controller.rb +5 -0
  67. data/app/helpers/active_admin/report_templates_helper.rb +56 -0
  68. data/app/helpers/active_admin/views_helper.rb +20 -0
  69. data/app/helpers/application_helper.rb +2 -0
  70. data/app/mailers/.gitkeep +0 -0
  71. data/app/models/.gitkeep +0 -0
  72. data/app/models/ability.rb +30 -0
  73. data/app/models/agent.rb +24 -0
  74. data/app/models/collection.rb +65 -0
  75. data/app/models/commission.rb +77 -0
  76. data/app/models/commission_section.rb +75 -0
  77. data/app/models/gateway.rb +99 -0
  78. data/app/models/gateway_attachment.rb +9 -0
  79. data/app/models/gateway_setting.rb +7 -0
  80. data/app/models/gateway_switch.rb +7 -0
  81. data/app/models/limit.rb +77 -0
  82. data/app/models/limit_section.rb +58 -0
  83. data/app/models/payment.rb +322 -0
  84. data/app/models/provider.rb +59 -0
  85. data/app/models/provider_field.rb +7 -0
  86. data/app/models/provider_gateway.rb +47 -0
  87. data/app/models/provider_group.rb +45 -0
  88. data/app/models/provider_profile.rb +9 -0
  89. data/app/models/provider_rebate.rb +69 -0
  90. data/app/models/provider_receipt_template.rb +85 -0
  91. data/app/models/rebate.rb +84 -0
  92. data/app/models/report.rb +71 -0
  93. data/app/models/report_result.rb +11 -0
  94. data/app/models/report_template.rb +56 -0
  95. data/app/models/revision.rb +104 -0
  96. data/app/models/role.rb +48 -0
  97. data/app/models/system_receipt_template.rb +13 -0
  98. data/app/models/terminal.rb +126 -0
  99. data/app/models/terminal_build.rb +62 -0
  100. data/app/models/terminal_order.rb +42 -0
  101. data/app/models/terminal_ping.rb +120 -0
  102. data/app/models/terminal_profile.rb +51 -0
  103. data/app/models/terminal_profile_promotion.rb +18 -0
  104. data/app/models/terminal_profile_provider.rb +11 -0
  105. data/app/models/terminal_profile_provider_group.rb +19 -0
  106. data/app/models/user.rb +38 -0
  107. data/app/models/user_role.rb +45 -0
  108. data/app/reports/agents_report.rb +81 -0
  109. data/app/reports/collections_report.rb +151 -0
  110. data/app/reports/payments_report.rb +189 -0
  111. data/app/reports/terminals_report.rb +123 -0
  112. data/app/uploaders/file_uploader.rb +53 -0
  113. data/app/uploaders/icon_uploader.rb +15 -0
  114. data/app/uploaders/zip_uploader.rb +53 -0
  115. data/app/views/admin/gateways/providers.html.arb +10 -0
  116. data/app/views/admin/revisions/payments.html.arb +28 -0
  117. data/app/views/admin/terminal_profiles/_tree.html.haml +35 -0
  118. data/app/views/admin/terminal_profiles/sort.html.haml +21 -0
  119. data/app/views/admin/terminals/pings.html.arb +55 -0
  120. data/app/views/admin/terminals/upgrade_build.html.arb +30 -0
  121. data/app/views/layouts/application.html.erb +1 -0
  122. data/app/views/welcome/index.html.erb +25 -0
  123. data/app/workers/pay_worker.rb +11 -0
  124. data/app/workers/report_worker.rb +7 -0
  125. data/app/workers/revise_worker.rb +7 -0
  126. data/config/acquiring.yml +13 -0
  127. data/config/application.rb +75 -0
  128. data/config/boot.rb +6 -0
  129. data/config/database.yml +17 -0
  130. data/config/deploy/roundlake-passenger.rb +3 -0
  131. data/config/deploy/roundlake-trinidad.rb +3 -0
  132. data/config/deploy.rb +37 -0
  133. data/config/environment.rb +5 -0
  134. data/config/environments/development.rb +39 -0
  135. data/config/environments/production.rb +67 -0
  136. data/config/environments/test.rb +37 -0
  137. data/config/initializers/active_admin.rb +31 -0
  138. data/config/initializers/backtrace_silencers.rb +7 -0
  139. data/config/initializers/devise.rb +232 -0
  140. data/config/initializers/inflections.rb +15 -0
  141. data/config/initializers/mime_types.rb +5 -0
  142. data/config/initializers/money.rb +6 -0
  143. data/config/initializers/redis.rb +4 -0
  144. data/config/initializers/secret_token.rb +7 -0
  145. data/config/initializers/session_store.rb +8 -0
  146. data/config/initializers/setup_rack.rb +1 -0
  147. data/config/initializers/wrap_parameters.rb +14 -0
  148. data/config/locales/active_admin.ru.yml +71 -0
  149. data/config/locales/activerecord.ru.yml +645 -0
  150. data/config/locales/devise.ru.yml +57 -0
  151. data/config/locales/ru.yml +33 -0
  152. data/config/locales/smartkiosk.gateways.ru.yml +241 -0
  153. data/config/locales/smartkiosk.hardware.ru.yml +38 -0
  154. data/config/locales/smartkiosk.reports.ru.yml +56 -0
  155. data/config/locales/smartkiosk.ru.yml +163 -0
  156. data/config/nginx.conf +9 -0
  157. data/config/redis.yml +9 -0
  158. data/config/routes.rb +48 -0
  159. data/config/schedule.rb +13 -0
  160. data/config/sidekiq.yml +5 -0
  161. data/config/trinidad.yml +6 -0
  162. data/config.ru +4 -0
  163. data/db/migrate/20120825083035_create_terminals.rb +47 -0
  164. data/db/migrate/20120825083305_create_payments.rb +51 -0
  165. data/db/migrate/20120827062618_devise_create_users.rb +50 -0
  166. data/db/migrate/20120827132621_create_admin_notes.rb +17 -0
  167. data/db/migrate/20120827132622_move_admin_notes_to_comments.rb +25 -0
  168. data/db/migrate/20120903193346_create_providers.rb +24 -0
  169. data/db/migrate/20120922075345_create_collections.rb +26 -0
  170. data/db/migrate/20120922080440_create_agents.rb +29 -0
  171. data/db/migrate/20120922081104_create_commissions.rb +10 -0
  172. data/db/migrate/20120927035841_create_gateways.rb +13 -0
  173. data/db/migrate/20120927040626_create_provider_gateways.rb +13 -0
  174. data/db/migrate/20120927091849_create_limits.rb +10 -0
  175. data/db/migrate/20120927164647_create_roles.rb +14 -0
  176. data/db/migrate/20121003131522_create_report_templates.rb +18 -0
  177. data/db/migrate/20121007135652_create_reports.rb +13 -0
  178. data/db/migrate/20121008073905_create_report_results.rb +10 -0
  179. data/db/migrate/20121017114538_create_gateway_settings.rb +12 -0
  180. data/db/migrate/20121017114556_create_gateway_attachments.rb +10 -0
  181. data/db/migrate/20121019132606_create_revisions.rb +19 -0
  182. data/db/migrate/20121023073501_create_gateway_switches.rb +10 -0
  183. data/db/migrate/20121112142743_create_terminal_orders.rb +13 -0
  184. data/db/migrate/20121118191553_create_versions.rb +19 -0
  185. data/db/migrate/20121125093414_create_system_receipt_templates.rb +9 -0
  186. data/db/migrate/20121127192257_create_terminal_builds.rb +10 -0
  187. data/db/migrate/20121212053441_create_rebates.rb +15 -0
  188. data/db/migrate/20121216143855_create_provider_receipt_templates.rb +9 -0
  189. data/db/migrate/20130101091100_create_terminal_profiles.rb +13 -0
  190. data/db/migrate/20130101091734_create_provider_rebates.rb +21 -0
  191. data/db/migrate/20130102164447_create_limit_sections.rb +14 -0
  192. data/db/migrate/20130102164503_create_commission_sections.rb +17 -0
  193. data/db/migrate/20130102171743_create_provider_profiles.rb +10 -0
  194. data/db/migrate/20130103152507_create_provider_fields.rb +17 -0
  195. data/db/migrate/20130103154526_create_provider_groups.rb +10 -0
  196. data/db/migrate/20130104063628_create_terminal_profile_providers.rb +11 -0
  197. data/db/migrate/20130104090957_create_terminal_profile_provider_groups.rb +11 -0
  198. data/db/migrate/20130108091644_create_terminal_profile_promotions.rb +10 -0
  199. data/db/schema.rb +489 -0
  200. data/db/seeds/receipt_templates/payment.txt +19 -0
  201. data/db/seeds/receipt_templates/system/balance.txt +13 -0
  202. data/db/seeds/receipt_templates/system/collection.txt +17 -0
  203. data/db/seeds/receipt_templates/system/touchtest.txt +15 -0
  204. data/db/seeds.rb +18 -0
  205. data/doc/README_FOR_APP +2 -0
  206. data/init.rb +1 -0
  207. data/lib/active_admin/cancan_integration.rb +81 -0
  208. data/lib/active_admin/form_builder_fix.rb +76 -0
  209. data/lib/active_admin/inputs/filter_date_range_input_fix.rb +24 -0
  210. data/lib/active_admin/inputs/filter_multiple_select_input.rb +18 -0
  211. data/lib/active_admin/inputs/filter_numeric_range_input.rb +31 -0
  212. data/lib/active_admin/resource_controller_fix.rb +23 -0
  213. data/lib/active_admin/views/pages/base_fix.rb +13 -0
  214. data/lib/assets/.gitkeep +0 -0
  215. data/lib/blueprints.rb +79 -0
  216. data/lib/date_expander.rb +38 -0
  217. data/lib/dav4rack/build_resource.rb +59 -0
  218. data/lib/formtastic/inputs/selectable_check_boxes.rb +39 -0
  219. data/lib/paper_trail/version_fix.rb +3 -0
  220. data/lib/report_builder.rb +88 -0
  221. data/lib/seeder.rb +103 -0
  222. data/lib/smartkiosk/server/version.rb +5 -0
  223. data/lib/smartkiosk/server.rb +35 -0
  224. data/lib/string_file.rb +12 -0
  225. data/lib/tasks/.gitkeep +0 -0
  226. data/lib/tasks/db.rake +27 -0
  227. data/lib/tasks/dump.rake +53 -0
  228. data/lib/tasks/matrioshka.rake +16 -0
  229. data/log/.gitkeep +0 -0
  230. data/log/gateways/.gitkeep +0 -0
  231. data/public/404.html +26 -0
  232. data/public/422.html +26 -0
  233. data/public/500.html +25 -0
  234. data/public/robots.txt +5 -0
  235. data/script/rails +6 -0
  236. data/smartkiosk-server.gemspec +23 -0
  237. data/spec/controllers/collections_controller_spec.rb +32 -0
  238. data/spec/controllers/payments_controller_spec.rb +123 -0
  239. data/spec/controllers/system_receipt_templates_controller_spec.rb +5 -0
  240. data/spec/controllers/terminal_builds_controller_spec.rb +5 -0
  241. data/spec/controllers/terminal_orders_controller_spec.rb +32 -0
  242. data/spec/controllers/terminal_pings_controller_spec.rb +31 -0
  243. data/spec/spec_helper.rb +66 -0
  244. data/vendor/assets/javascripts/.gitkeep +0 -0
  245. data/vendor/assets/javascripts/chosen.jquery.js +1026 -0
  246. data/vendor/assets/javascripts/datepicker-ru.jquery.js +21 -0
  247. data/vendor/assets/javascripts/nestedSortable.jquery.js +429 -0
  248. data/vendor/assets/javascripts/qtip.jquery.js +3403 -0
  249. data/vendor/assets/stylesheets/.gitkeep +0 -0
  250. data/vendor/assets/stylesheets/chosen.jquery.css +397 -0
  251. data/vendor/assets/stylesheets/modules/PIE.htc +96 -0
  252. data/vendor/assets/stylesheets/qtip.jquery.css.scss +604 -0
  253. data/vendor/plugins/.gitkeep +0 -0
  254. metadata +333 -0
data/.gitignore ADDED
@@ -0,0 +1,32 @@
1
+ # See http://help.github.com/ignore-files/ for more about ignoring files.
2
+ #
3
+ # If you find yourself ignoring temporary files generated by your text editor
4
+ # or operating system, you probably want to add a global ignore instead:
5
+ # git config --global core.excludesfile ~/.gitignore_global
6
+
7
+ .DS_Store
8
+
9
+ # Ignore bundler config
10
+ /.bundle
11
+ /.idea
12
+ /.rbx
13
+ /vendor/bundle
14
+ /vendor/certificates/*.cer
15
+ /vendor/certificates/*.key
16
+ /vendor/certificates/*.pem
17
+
18
+ /public/uploads
19
+ /public/builds
20
+ /public/assets
21
+
22
+ # Ignore the default SQLite database.
23
+ /db/*.sqlite3*
24
+
25
+ # Ignore all logfiles and tempfiles.
26
+ /log/*.log
27
+ /log/*.log.*
28
+ /log/gateways/*.log
29
+ /tmp
30
+
31
+ # Ignore JRuby JDBC bindings
32
+ .rvmrc
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --tty --color --drb
data/Capfile ADDED
@@ -0,0 +1,4 @@
1
+ load 'deploy'
2
+ load 'deploy/assets'
3
+ Dir['vendor/gems/*/recipes/*.rb','vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
4
+ load 'config/deploy'
data/Gemfile ADDED
@@ -0,0 +1,71 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'matrioshka'
4
+
5
+ gem 'trinidad', :require => nil, :platform => :jruby
6
+ gem 'thin', :require => nil, :platform => :ruby
7
+
8
+ gem 'rails', '3.2.11'
9
+ gem 'sinatra', :require => nil
10
+ gem 'jruby-openssl', :platform => :jruby
11
+
12
+ gem 'activeadmin'
13
+ gem 'activeadmin-cancan'
14
+ gem 'meta_search', '>= 1.1.0'
15
+ gem 'russian', '~> 0.6.0'
16
+ gem 'dav4rack', '0.2.11'
17
+
18
+
19
+ gem 'sqlite3', :platform => :ruby
20
+ gem 'pg', :platform => :ruby
21
+ gem 'activerecord-jdbcpostgresql-adapter', :platform => :jruby
22
+ gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby
23
+ gem 'redis-objects', :require => 'redis/objects'
24
+ gem 'redis-objects-rmap'
25
+ gem 'active_attr'
26
+
27
+ gem 'payzilla', :git => 'git@github.com:smartkiosk/payzilla.git'
28
+
29
+ gem 'haml'
30
+ gem 'coffee-filter'
31
+ gem 'slim'
32
+ gem 'liquid'
33
+ gem 'jquery-rails'
34
+
35
+ gem 'money'
36
+ gem 'stateflow'
37
+ gem 'carrierwave'
38
+ gem 'rmagick', :platform => 'ruby'
39
+ gem 'rmagick4j', :platform => 'jruby'
40
+ gem 'paper_trail'
41
+ gem 'axlsx'
42
+ gem 'rubyzip'
43
+
44
+ gem 'capistrano'
45
+ gem 'sidekiq'
46
+ gem 'clockwork'
47
+
48
+ gem 'rspec-rails'
49
+ gem 'rspec-routes_coverage'
50
+ gem 'spork-rails'
51
+ gem 'guard-spork', :git => 'https://github.com/guard/guard-spork.git'
52
+ gem 'guard-rspec'
53
+ gem 'pry'
54
+ gem 'rspec-rails'
55
+ gem 'ffaker'
56
+ gem 'machinist'
57
+ gem 'database_cleaner'
58
+
59
+ group :assets do
60
+ gem 'sass-rails', '~> 3.2.3'
61
+ gem 'coffee-rails', '~> 3.2.1'
62
+ gem 'uglifier', '>= 1.0.3'
63
+ end
64
+
65
+ group :development do
66
+ gem 'better_errors'
67
+ gem 'binding_of_caller', :platform => :ruby
68
+ gem 'i18n_yaml_sorter'
69
+ end
70
+
71
+ gem 'iso8583-mkb', :git => 'git://github.com/smartkiosk/iso8583-mkb.git'
data/Gemfile.lock ADDED
@@ -0,0 +1,439 @@
1
+ GIT
2
+ remote: git://github.com/smartkiosk/iso8583-mkb.git
3
+ revision: dbeffaa276e763ddff20651a87e930e360f88640
4
+ specs:
5
+ iso8583-mkb (0.0.1)
6
+ eventmachine
7
+ iso8583
8
+
9
+ GIT
10
+ remote: git@github.com:smartkiosk/payzilla.git
11
+ revision: df21479aeac3c1c92cb9a09e160cdcfa4d152502
12
+ specs:
13
+ payzilla (0.0.1)
14
+ crack
15
+ cyberplat_pki
16
+ gpgme-ffi
17
+ gyoku
18
+ json
19
+ rake
20
+ rest-client
21
+ savon
22
+ webmoney (= 0.0.15.pre)
23
+
24
+ GIT
25
+ remote: https://github.com/guard/guard-spork.git
26
+ revision: dbaa8531850347474d5a7ee626a9a2a64f7e653c
27
+ specs:
28
+ guard-spork (1.4.1)
29
+ childprocess (>= 0.2.3)
30
+ guard (>= 1.1)
31
+ spork (>= 0.8.4)
32
+
33
+ GEM
34
+ remote: https://rubygems.org/
35
+ specs:
36
+ actionmailer (3.2.11)
37
+ actionpack (= 3.2.11)
38
+ mail (~> 2.4.4)
39
+ actionpack (3.2.11)
40
+ activemodel (= 3.2.11)
41
+ activesupport (= 3.2.11)
42
+ builder (~> 3.0.0)
43
+ erubis (~> 2.7.0)
44
+ journey (~> 1.0.4)
45
+ rack (~> 1.4.0)
46
+ rack-cache (~> 1.2)
47
+ rack-test (~> 0.6.1)
48
+ sprockets (~> 2.2.1)
49
+ active_attr (0.7.0)
50
+ activemodel (>= 3.0.2, < 4.1)
51
+ activesupport (>= 3.0.2, < 4.1)
52
+ activeadmin (0.5.1)
53
+ arbre (>= 1.0.1)
54
+ bourbon (>= 1.0.0)
55
+ devise (>= 1.1.2)
56
+ fastercsv
57
+ formtastic (>= 2.0.0)
58
+ inherited_resources (>= 1.3.1)
59
+ jquery-rails (>= 1.0.0)
60
+ kaminari (>= 0.13.0)
61
+ meta_search (>= 0.9.2)
62
+ rails (>= 3.0.0)
63
+ sass (>= 3.1.0)
64
+ activeadmin-cancan (0.1.4)
65
+ activeadmin (>= 0.4.0)
66
+ cancan (>= 1.6.2)
67
+ rails (>= 3.0)
68
+ activemodel (3.2.11)
69
+ activesupport (= 3.2.11)
70
+ builder (~> 3.0.0)
71
+ activerecord (3.2.11)
72
+ activemodel (= 3.2.11)
73
+ activesupport (= 3.2.11)
74
+ arel (~> 3.0.2)
75
+ tzinfo (~> 0.3.29)
76
+ activerecord-jdbc-adapter (1.2.5)
77
+ activerecord-jdbcpostgresql-adapter (1.2.5)
78
+ activerecord-jdbc-adapter (~> 1.2.5)
79
+ jdbc-postgres (>= 9.1, < 9.3)
80
+ activerecord-jdbcsqlite3-adapter (1.2.5)
81
+ activerecord-jdbc-adapter (~> 1.2.5)
82
+ jdbc-sqlite3 (~> 3.7.2)
83
+ activeresource (3.2.11)
84
+ activemodel (= 3.2.11)
85
+ activesupport (= 3.2.11)
86
+ activesupport (3.2.11)
87
+ i18n (~> 0.6)
88
+ multi_json (~> 1.0)
89
+ akami (1.2.0)
90
+ gyoku (>= 0.4.0)
91
+ nokogiri (>= 1.4.0)
92
+ arbre (1.0.1)
93
+ activesupport (>= 3.0.0)
94
+ arel (3.0.2)
95
+ axlsx (1.3.4)
96
+ htmlentities (~> 4.3.1)
97
+ nokogiri (>= 1.4.1)
98
+ rubyzip (>= 0.9.5)
99
+ bcrypt-ruby (3.0.1)
100
+ bcrypt-ruby (3.0.1-java)
101
+ better_errors (0.3.2)
102
+ coderay (>= 1.0.0)
103
+ erubis (>= 2.7.0)
104
+ binding_of_caller (0.6.8)
105
+ bouncy-castle-java (1.5.0146.1)
106
+ bourbon (3.0.1)
107
+ sass (>= 3.2.0)
108
+ thor
109
+ builder (3.0.4)
110
+ cancan (1.6.8)
111
+ capistrano (2.14.1)
112
+ highline
113
+ net-scp (>= 1.0.0)
114
+ net-sftp (>= 2.0.0)
115
+ net-ssh (>= 2.0.14)
116
+ net-ssh-gateway (>= 1.1.0)
117
+ carrierwave (0.8.0)
118
+ activemodel (>= 3.2.0)
119
+ activesupport (>= 3.2.0)
120
+ celluloid (0.12.4)
121
+ facter (>= 1.6.12)
122
+ timers (>= 1.0.0)
123
+ childprocess (0.3.6)
124
+ ffi (~> 1.0, >= 1.0.6)
125
+ clockwork (0.4.1)
126
+ tzinfo
127
+ coderay (1.0.8)
128
+ coffee-filter (0.1.1)
129
+ coffee-script (>= 2.2.0)
130
+ haml (>= 3.0.18)
131
+ coffee-rails (3.2.2)
132
+ coffee-script (>= 2.2.0)
133
+ railties (~> 3.2.0)
134
+ coffee-script (2.2.0)
135
+ coffee-script-source
136
+ execjs
137
+ coffee-script-source (1.4.0)
138
+ colored (1.2)
139
+ connection_pool (1.0.0)
140
+ crack (0.3.2)
141
+ crypt (1.1.4)
142
+ cyberplat_pki (2.0.5)
143
+ crypt
144
+ digest-crc
145
+ daemons (1.1.9)
146
+ database_cleaner (0.9.1)
147
+ dav4rack (0.2.11)
148
+ nokogiri (>= 1.4.2)
149
+ rack (>= 1.1.0)
150
+ uuidtools (~> 2.1.1)
151
+ devise (2.2.1)
152
+ bcrypt-ruby (~> 3.0)
153
+ orm_adapter (~> 0.1)
154
+ railties (~> 3.1)
155
+ warden (~> 1.2.1)
156
+ diff-lcs (1.1.3)
157
+ digest-crc (0.3.0)
158
+ erubis (2.7.0)
159
+ eventmachine (1.0.0)
160
+ execjs (1.4.0)
161
+ multi_json (~> 1.0)
162
+ facter (1.6.17)
163
+ fastercsv (1.5.5)
164
+ ffaker (1.15.0)
165
+ ffi (1.2.1)
166
+ ffi (1.2.1-java)
167
+ formtastic (2.2.1)
168
+ actionpack (>= 3.0)
169
+ gpgme-ffi (3.0.6)
170
+ ffi (~> 1.2.0)
171
+ guard (1.6.1)
172
+ listen (>= 0.6.0)
173
+ lumberjack (>= 1.0.2)
174
+ pry (>= 0.9.10)
175
+ thor (>= 0.14.6)
176
+ guard-rspec (2.3.3)
177
+ guard (>= 1.1)
178
+ rspec (~> 2.11)
179
+ gyoku (1.0.0)
180
+ builder (>= 2.1.2)
181
+ haml (3.1.7)
182
+ has_scope (0.5.1)
183
+ highline (1.6.15)
184
+ hike (1.2.1)
185
+ htmlentities (4.3.1)
186
+ httpi (2.0.0)
187
+ rack
188
+ i18n (0.6.1)
189
+ i18n_yaml_sorter (0.2.0)
190
+ inherited_resources (1.3.1)
191
+ has_scope (~> 0.5.0)
192
+ responders (~> 0.6)
193
+ iso8583 (0.1.4)
194
+ jdbc-postgres (9.2.1002)
195
+ jdbc-sqlite3 (3.7.2)
196
+ journey (1.0.4)
197
+ jquery-rails (2.1.4)
198
+ railties (>= 3.0, < 5.0)
199
+ thor (>= 0.14, < 2.0)
200
+ jruby-openssl (0.8.2)
201
+ bouncy-castle-java (>= 1.5.0146.1)
202
+ jruby-rack (1.1.13.1)
203
+ json (1.7.6)
204
+ json (1.7.6-java)
205
+ kaminari (0.14.1)
206
+ actionpack (>= 3.0.0)
207
+ activesupport (>= 3.0.0)
208
+ liquid (2.4.1)
209
+ listen (0.7.2)
210
+ lumberjack (1.0.2)
211
+ machinist (2.0)
212
+ mail (2.4.4)
213
+ i18n (>= 0.4.0)
214
+ mime-types (~> 1.16)
215
+ treetop (~> 1.4.8)
216
+ matrioshka (0.1.3)
217
+ meta_search (1.1.3)
218
+ actionpack (~> 3.1)
219
+ activerecord (~> 3.1)
220
+ activesupport (~> 3.1)
221
+ polyamorous (~> 0.5.0)
222
+ method_source (0.8.1)
223
+ mime-types (1.19)
224
+ money (5.1.0)
225
+ i18n (~> 0.6.0)
226
+ multi_json (1.5.0)
227
+ net-scp (1.0.4)
228
+ net-ssh (>= 1.99.1)
229
+ net-sftp (2.0.5)
230
+ net-ssh (>= 2.0.9)
231
+ net-ssh (2.6.3)
232
+ net-ssh-gateway (1.1.0)
233
+ net-ssh (>= 1.99.1)
234
+ nokogiri (1.5.6)
235
+ nokogiri (1.5.6-java)
236
+ nori (2.0.3)
237
+ orm_adapter (0.4.0)
238
+ paper_trail (2.7.0)
239
+ activerecord (~> 3.0)
240
+ railties (~> 3.0)
241
+ pg (0.14.1)
242
+ polyamorous (0.5.0)
243
+ activerecord (~> 3.0)
244
+ polyglot (0.3.3)
245
+ pry (0.9.10)
246
+ coderay (~> 1.0.5)
247
+ method_source (~> 0.8)
248
+ slop (~> 3.3.1)
249
+ pry (0.9.10-java)
250
+ coderay (~> 1.0.5)
251
+ method_source (~> 0.8)
252
+ slop (~> 3.3.1)
253
+ spoon (~> 0.0)
254
+ rack (1.4.4)
255
+ rack-cache (1.2)
256
+ rack (>= 0.4)
257
+ rack-protection (1.3.2)
258
+ rack
259
+ rack-ssl (1.3.2)
260
+ rack
261
+ rack-test (0.6.2)
262
+ rack (>= 1.0)
263
+ rails (3.2.11)
264
+ actionmailer (= 3.2.11)
265
+ actionpack (= 3.2.11)
266
+ activerecord (= 3.2.11)
267
+ activeresource (= 3.2.11)
268
+ activesupport (= 3.2.11)
269
+ bundler (~> 1.0)
270
+ railties (= 3.2.11)
271
+ railties (3.2.11)
272
+ actionpack (= 3.2.11)
273
+ activesupport (= 3.2.11)
274
+ rack-ssl (~> 1.3.2)
275
+ rake (>= 0.8.7)
276
+ rdoc (~> 3.4)
277
+ thor (>= 0.14.6, < 2.0)
278
+ rake (10.0.3)
279
+ rdoc (3.12)
280
+ json (~> 1.4)
281
+ redis (3.0.2)
282
+ redis-namespace (1.2.1)
283
+ redis (~> 3.0.0)
284
+ redis-objects (0.6.1)
285
+ redis (>= 3.0.2)
286
+ redis-objects-rmap (0.1.1)
287
+ activesupport
288
+ redis-objects
289
+ responders (0.9.3)
290
+ railties (~> 3.1)
291
+ rest-client (1.6.7)
292
+ mime-types (>= 1.16)
293
+ rmagick (2.13.1)
294
+ rmagick4j (0.3.7)
295
+ rspec (2.12.0)
296
+ rspec-core (~> 2.12.0)
297
+ rspec-expectations (~> 2.12.0)
298
+ rspec-mocks (~> 2.12.0)
299
+ rspec-core (2.12.2)
300
+ rspec-expectations (2.12.1)
301
+ diff-lcs (~> 1.1.3)
302
+ rspec-mocks (2.12.1)
303
+ rspec-rails (2.12.2)
304
+ actionpack (>= 3.0)
305
+ activesupport (>= 3.0)
306
+ railties (>= 3.0)
307
+ rspec-core (~> 2.12.0)
308
+ rspec-expectations (~> 2.12.0)
309
+ rspec-mocks (~> 2.12.0)
310
+ rspec-routes_coverage (0.1.6)
311
+ actionpack
312
+ colored
313
+ rspec-rails
314
+ rubyzip (0.9.9)
315
+ russian (0.6.0)
316
+ i18n (>= 0.5.0)
317
+ sass (3.2.5)
318
+ sass-rails (3.2.6)
319
+ railties (~> 3.2.0)
320
+ sass (>= 3.1.10)
321
+ tilt (~> 1.3)
322
+ savon (2.0.2)
323
+ akami (~> 1.2.0)
324
+ builder (>= 2.1.2)
325
+ gyoku (~> 1.0.0)
326
+ httpi (~> 2.0.0)
327
+ nokogiri (>= 1.4.0)
328
+ nori (~> 2.0.0)
329
+ wasabi (~> 3.0.0)
330
+ sidekiq (2.6.4)
331
+ celluloid (~> 0.12.0)
332
+ connection_pool (~> 1.0)
333
+ multi_json (~> 1)
334
+ redis (~> 3)
335
+ redis-namespace
336
+ sinatra (1.3.3)
337
+ rack (~> 1.3, >= 1.3.6)
338
+ rack-protection (~> 1.2)
339
+ tilt (~> 1.3, >= 1.3.3)
340
+ slim (1.3.6)
341
+ temple (~> 0.5.5)
342
+ tilt (~> 1.3.3)
343
+ slop (3.3.3)
344
+ spoon (0.0.1)
345
+ spork (1.0.0rc3)
346
+ spork-rails (3.2.1)
347
+ rails (>= 3.0.0, < 3.3.0)
348
+ spork (>= 1.0rc0)
349
+ sprockets (2.2.2)
350
+ hike (~> 1.2)
351
+ multi_json (~> 1.0)
352
+ rack (~> 1.0)
353
+ tilt (~> 1.1, != 1.3.0)
354
+ sqlite3 (1.3.7)
355
+ stateflow (0.4.2)
356
+ temple (0.5.5)
357
+ thin (1.5.0)
358
+ daemons (>= 1.0.9)
359
+ eventmachine (>= 0.12.6)
360
+ rack (>= 1.0.0)
361
+ thor (0.16.0)
362
+ tilt (1.3.3)
363
+ timers (1.0.2)
364
+ treetop (1.4.12)
365
+ polyglot
366
+ polyglot (>= 0.3.1)
367
+ trinidad (1.4.4)
368
+ jruby-rack (>= 1.1.10)
369
+ trinidad_jars (>= 1.1.0)
370
+ trinidad_jars (1.2.0)
371
+ tzinfo (0.3.35)
372
+ uglifier (1.3.0)
373
+ execjs (>= 0.3.0)
374
+ multi_json (~> 1.0, >= 1.0.2)
375
+ uuidtools (2.1.3)
376
+ warden (1.2.1)
377
+ rack (>= 1.0)
378
+ wasabi (3.0.0)
379
+ httpi (~> 2.0)
380
+ nokogiri (>= 1.4.0)
381
+ webmoney (0.0.15.pre)
382
+ nokogiri
383
+
384
+ PLATFORMS
385
+ java
386
+ ruby
387
+
388
+ DEPENDENCIES
389
+ active_attr
390
+ activeadmin
391
+ activeadmin-cancan
392
+ activerecord-jdbcpostgresql-adapter
393
+ activerecord-jdbcsqlite3-adapter
394
+ axlsx
395
+ better_errors
396
+ binding_of_caller
397
+ capistrano
398
+ carrierwave
399
+ clockwork
400
+ coffee-filter
401
+ coffee-rails (~> 3.2.1)
402
+ database_cleaner
403
+ dav4rack (= 0.2.11)
404
+ ffaker
405
+ guard-rspec
406
+ guard-spork!
407
+ haml
408
+ i18n_yaml_sorter
409
+ iso8583-mkb!
410
+ jquery-rails
411
+ jruby-openssl
412
+ liquid
413
+ machinist
414
+ matrioshka
415
+ meta_search (>= 1.1.0)
416
+ money
417
+ paper_trail
418
+ payzilla!
419
+ pg
420
+ pry
421
+ rails (= 3.2.11)
422
+ redis-objects
423
+ redis-objects-rmap
424
+ rmagick
425
+ rmagick4j
426
+ rspec-rails
427
+ rspec-routes_coverage
428
+ rubyzip
429
+ russian (~> 0.6.0)
430
+ sass-rails (~> 3.2.3)
431
+ sidekiq
432
+ sinatra
433
+ slim
434
+ spork-rails
435
+ sqlite3
436
+ stateflow
437
+ thin
438
+ trinidad
439
+ uglifier (>= 1.0.3)
data/Guardfile ADDED
@@ -0,0 +1,25 @@
1
+ # A sample Guardfile
2
+ # More info at https://github.com/guard/guard#readme
3
+
4
+ guard 'spork', :notification => false, :rspec_env => { 'RAILS_ENV' => 'test' } do
5
+ watch('config/application.rb')
6
+ watch('config/environment.rb')
7
+ watch(%r{^config/environments/.+\.rb$})
8
+ watch(%r{^config/initializers/.+\.rb$})
9
+ watch('Gemfile')
10
+ watch('Gemfile.lock')
11
+ watch('spec/spec_helper.rb') { :rspec }
12
+ watch('test/test_helper.rb') { :test_unit }
13
+ watch(%r{features/support/}) { :cucumber }
14
+ end
15
+
16
+ guard 'rspec', :notification => false, :cli => "--color --drb", :version => 2, :all_after_pass => false do
17
+ watch(%r{^spec/.+_spec\.rb$})
18
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
19
+ watch('spec/spec_helper.rb') { "spec" }
20
+
21
+ # Rails example
22
+ watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
23
+ watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| ["spec/controllers/#{m[1]}_spec.rb"] }
24
+ watch('app/controllers/application_controller.rb') { "spec/controllers" }
25
+ end