stayind-order 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +3 -0
  3. data/Rakefile +38 -0
  4. data/app/controllers/order/Order.iml +12 -0
  5. data/app/controllers/order/orders_controller.rb +28 -0
  6. data/app/views/order/orders/_footer.html.erb +16 -0
  7. data/app/views/order/orders/category.html.erb +8 -0
  8. data/app/views/order/orders/category.html.erb~ +8 -0
  9. data/app/views/order/orders/index.html.erb +11 -0
  10. data/app/views/order/orders/one_order.html.erb +9 -0
  11. data/app/views/order/orders/order.html.erb +24 -0
  12. data/app/views/order/orders/orders.html.erb +18 -0
  13. data/app/views/order/orders/place.html.erb +29 -0
  14. data/app/views/order/orders/place.html.erb~ +29 -0
  15. data/app/views/order/orders/product.html.erb +5 -0
  16. data/app/views/order/orders/product_order.html.erb +17 -0
  17. data/app/views/order/orders/product_order.html.erb~ +17 -0
  18. data/config/Config.iml +12 -0
  19. data/config/locales/en.yml +15 -0
  20. data/config/locales/pl.yml +15 -0
  21. data/config/routes.rb +17 -0
  22. data/config/routes.rb~ +10 -0
  23. data/lib/Lib.iml +12 -0
  24. data/lib/order/engine.rb +7 -0
  25. data/lib/order/engine.rb~ +7 -0
  26. data/lib/order/version.rb +3 -0
  27. data/lib/order.rb +29 -0
  28. data/lib/order.rb~ +16 -0
  29. data/lib/tasks/order_tasks.rake +4 -0
  30. data/test/Test.iml +22 -0
  31. data/test/dummy/README.rdoc +261 -0
  32. data/test/dummy/Rakefile +7 -0
  33. data/test/dummy/app/assets/javascripts/application.js +15 -0
  34. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  35. data/test/dummy/app/controllers/application_controller.rb +3 -0
  36. data/test/dummy/app/helpers/application_helper.rb +2 -0
  37. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  38. data/test/dummy/config/application.rb +59 -0
  39. data/test/dummy/config/boot.rb +10 -0
  40. data/test/dummy/config/database.yml +25 -0
  41. data/test/dummy/config/environment.rb +5 -0
  42. data/test/dummy/config/environments/development.rb +37 -0
  43. data/test/dummy/config/environments/production.rb +67 -0
  44. data/test/dummy/config/environments/test.rb +37 -0
  45. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  46. data/test/dummy/config/initializers/inflections.rb +15 -0
  47. data/test/dummy/config/initializers/mime_types.rb +5 -0
  48. data/test/dummy/config/initializers/secret_token.rb +7 -0
  49. data/test/dummy/config/initializers/session_store.rb +8 -0
  50. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  51. data/test/dummy/config/locales/en.yml +5 -0
  52. data/test/dummy/config/routes.rb +58 -0
  53. data/test/dummy/config.ru +4 -0
  54. data/test/dummy/db/development.sqlite3 +0 -0
  55. data/test/dummy/db/test.sqlite3 +0 -0
  56. data/test/dummy/log/development.log +27 -0
  57. data/test/dummy/log/test.log +3 -0
  58. data/test/dummy/public/404.html +26 -0
  59. data/test/dummy/public/422.html +26 -0
  60. data/test/dummy/public/500.html +25 -0
  61. data/test/dummy/public/favicon.ico +0 -0
  62. data/test/dummy/script/rails +6 -0
  63. data/test/order_test.rb +7 -0
  64. data/test/test_helper.rb +16 -0
  65. data/vendor/assets/javascripts/si.order.js +214 -0
  66. metadata +177 -0
@@ -0,0 +1,58 @@
1
+ Dummy::Application.routes.draw do
2
+ # The priority is based upon order of creation:
3
+ # first created -> highest priority.
4
+
5
+ # Sample of regular route:
6
+ # match 'products/:id' => 'catalog#view'
7
+ # Keep in mind you can assign values other than :controller and :action
8
+
9
+ # Sample of named route:
10
+ # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
11
+ # This route can be invoked with purchase_url(:id => product.id)
12
+
13
+ # Sample resource route (maps HTTP verbs to controller actions automatically):
14
+ # resources :products
15
+
16
+ # Sample resource route with options:
17
+ # resources :products do
18
+ # member do
19
+ # get 'short'
20
+ # post 'toggle'
21
+ # end
22
+ #
23
+ # collection do
24
+ # get 'sold'
25
+ # end
26
+ # end
27
+
28
+ # Sample resource route with sub-resources:
29
+ # resources :products do
30
+ # resources :comments, :sales
31
+ # resource :seller
32
+ # end
33
+
34
+ # Sample resource route with more complex sub-resources
35
+ # resources :products do
36
+ # resources :comments
37
+ # resources :sales do
38
+ # get 'recent', :on => :collection
39
+ # end
40
+ # end
41
+
42
+ # Sample resource route within a namespace:
43
+ # namespace :admin do
44
+ # # Directs /admin/products/* to Admin::ProductsController
45
+ # # (app/controllers/admin/products_controller.rb)
46
+ # resources :products
47
+ # end
48
+
49
+ # You can have the root of your site routed with "root"
50
+ # just remember to delete public/index.html.
51
+ # root :to => 'welcome#index'
52
+
53
+ # See how all your routes lay out with "rake routes"
54
+
55
+ # This is a legacy wild controller route that's not recommended for RESTful applications.
56
+ # Note: This route will make all actions in every controller accessible via GET requests.
57
+ # match ':controller(/:action(/:id))(.:format)'
58
+ end
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Dummy::Application
File without changes
File without changes
@@ -0,0 +1,27 @@
1
+
2
+
3
+ Started GET "/" for 127.0.0.1 at 2012-07-28 15:36:35 +0200
4
+ Connecting to database specified by database.yml
5
+
6
+ ActionController::RoutingError (No route matches [GET] "/"):
7
+ actionpack (3.2.7) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
8
+ actionpack (3.2.7) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
9
+ railties (3.2.7) lib/rails/rack/logger.rb:26:in `call_app'
10
+ railties (3.2.7) lib/rails/rack/logger.rb:16:in `call'
11
+ actionpack (3.2.7) lib/action_dispatch/middleware/request_id.rb:22:in `call'
12
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
13
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
14
+ activesupport (3.2.7) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
15
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
16
+ actionpack (3.2.7) lib/action_dispatch/middleware/static.rb:62:in `call'
17
+ railties (3.2.7) lib/rails/engine.rb:479:in `call'
18
+ railties (3.2.7) lib/rails/application.rb:220:in `call'
19
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
20
+ railties (3.2.7) lib/rails/rack/log_tailer.rb:17:in `call'
21
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
22
+ /home/wojtek/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
23
+ /home/wojtek/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
24
+ /home/wojtek/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
25
+
26
+
27
+ Rendered /home/wojtek/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.7/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (4.3ms)
@@ -0,0 +1,3 @@
1
+ Connecting to database specified by database.yml
2
+  (0.4ms) begin transaction
3
+  (0.1ms) rollback transaction
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/404.html -->
21
+ <div class="dialog">
22
+ <h1>The page you were looking for doesn't exist.</h1>
23
+ <p>You may have mistyped the address or the page may have moved.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/422.html -->
21
+ <div class="dialog">
22
+ <h1>The change you wanted was rejected.</h1>
23
+ <p>Maybe you tried to change something you didn't have access to.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,25 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/500.html -->
21
+ <div class="dialog">
22
+ <h1>We're sorry, but something went wrong.</h1>
23
+ </div>
24
+ </body>
25
+ </html>
File without changes
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class OrderTest < ActiveSupport::TestCase
4
+ test "truth" do
5
+ assert_kind_of Module, Order
6
+ end
7
+ end
@@ -0,0 +1,16 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+ #ENV["RAILS_ROOT"] = File.expand_path("../dummy", __FILE__)
4
+
5
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
6
+ require "rails/test_help"
7
+
8
+ Rails.backtrace_cleaner.remove_silencers!
9
+
10
+ # Load support files
11
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
12
+
13
+ # Load fixtures from the engine
14
+ if ActiveSupport::TestCase.method_defined?(:fixture_path=)
15
+ ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
16
+ end
@@ -0,0 +1,214 @@
1
+ Si.views.order_index = function () {
2
+ var tpl = Si.loadTemplate(Routes.order_tpl_path()),
3
+ category_tpl = Si.loadTemplate(Routes.order_category_tpl_path()),
4
+ product_tpl = Si.loadTemplate(Routes.order_product_tpl_path());
5
+
6
+ var Categories = Si.collections.ProductCategory;
7
+ var Products = Si.collections.Product;
8
+
9
+ var cats = '';
10
+
11
+ Categories.each(function(cat) {
12
+ var products = Products.where({_category: cat.id });
13
+
14
+ var prods = '';
15
+ _.each(products, function(prod) {
16
+ prods += _.template(product_tpl, prod.toJSON());
17
+ });
18
+
19
+ cats += _.template(category_tpl, _.extend(cat.toJSON(), { products: prods }));
20
+ });
21
+
22
+ var fulfilled = _.template(tpl, { categories: cats });
23
+
24
+ return {
25
+ el: $(fulfilled),
26
+
27
+ init: function(urlObj, options) {
28
+ var self = this;
29
+ }
30
+ }
31
+ };
32
+
33
+ Si.views.place = function (url) {
34
+ var Products = Si.collections.Product;
35
+ var User = Si.collections.User.first();
36
+
37
+ var orders = Si.collections.Order.where({'status': 'building'});
38
+
39
+ var current;
40
+ if(orders.length > 0) {
41
+ current = orders[0];
42
+ } else {
43
+ current = new Si.models.Order({
44
+ id: new Date().getTime(), //TODO: remove that
45
+ _user: User.id,
46
+ status: 'building',
47
+ created: (new Date()).toString(),
48
+ products: {}
49
+ });
50
+ Si.collections.Order.add(current);
51
+ }
52
+
53
+ var id = url.hash.replace( /.*product=/, "" );
54
+
55
+ if(id) {
56
+ var products = current.get("products");
57
+ if(!_.has(products, id)) {
58
+ var product = Products.get(id);
59
+ products[id] = {
60
+ id: id,
61
+ quantity: 1,
62
+ price: product.get("price"),
63
+ value: product.get("price")
64
+ };
65
+ } else {
66
+ products[id].quantity += 1;
67
+ products[id].value = products[id].quantity*products[id].price;
68
+ }
69
+ }
70
+
71
+ current.set("products", products);
72
+
73
+ console.log("current", current);
74
+
75
+ var tpl = Si.loadTemplate(Routes.order_place_tpl_path()),
76
+ productOrder_tpl = Si.loadTemplate(Routes.order_product_order_tpl_path());
77
+
78
+ var prods = "";
79
+ var total = 0;
80
+
81
+ _.each(current.get("products"), function(product, id) {
82
+ console.log("product", product);
83
+ prods += _.template(productOrder_tpl, _.extend(product, { editable: true }));
84
+ total += product.value;
85
+ });
86
+
87
+ current.set("value", total);
88
+
89
+ var fulfilled = _.template(tpl, {
90
+ productOrders: prods,
91
+ total: total
92
+ });
93
+
94
+ return {
95
+ el: $(fulfilled),
96
+
97
+ init: function(urlObj, options) {
98
+ var self = this;
99
+
100
+ $(".product-qunatity").trigger('create');
101
+
102
+ this.el.bind("pageshow", function() {
103
+ $(".product-qunatity").bind("change", function(event) {
104
+ var id = $(this).jqmData("product-id");
105
+ products[id].quantity = parseInt($(this).val());
106
+
107
+ var old = products[id].value;
108
+
109
+ products[id].value = products[id].quantity*products[id].price;
110
+ $("#" + id).find(".value").html(products[id].value.toFixed(2));
111
+
112
+ var delta = products[id].value - old;
113
+
114
+ var total = current.get("value") + delta;
115
+ current.set("value", total);
116
+
117
+ $("#totalPrice").html(total.toFixed(2));
118
+
119
+ console.log(total);
120
+ });
121
+ $("#order-button").click(function() {
122
+ var that = this;
123
+ $(this).addClass( "ui-disabled" );
124
+
125
+ var products = _.values(current.get("products"));
126
+
127
+ current.set("products", products);
128
+
129
+ console.log(current.toJSON());
130
+ Si.socket.emit('orderNew', current.toJSON(), function (data) {
131
+ if(data) {
132
+ current.set("status", "pending");
133
+ current.save();
134
+ } else {
135
+ console.log('failed');
136
+ }
137
+ $(that).removeClass( "ui-disabled" );
138
+ $.mobile.changePage( Routes.order_orders_page_path() );
139
+ });
140
+ });
141
+
142
+ });
143
+
144
+ this.el.find('#order-navbar .ui-btn-active').removeClass('ui-btn-active');
145
+ this.el.find('.new-order-link').addClass('ui-btn-active');
146
+ }
147
+ }
148
+ };
149
+
150
+ Si.views.orders = function (url) {
151
+ var tpl = Si.loadTemplate(Routes.order_orders_tpl_path());
152
+ var order_tpl = Si.loadTemplate(Routes.order_one_order_tpl_path());
153
+
154
+ var orders = Si.collections.Order;
155
+
156
+ var partial = '';
157
+ orders.each(function(order) {
158
+ var data = {
159
+ id: order.get("id"),
160
+ date: Si.utils.formatDate(order.get("created")),
161
+ status: order.get("status"),
162
+ value: order.get("value")
163
+ };
164
+ partial += _.template(order_tpl, data);
165
+ });
166
+
167
+
168
+ var fulfilled = _.template(tpl, {
169
+ orders: partial
170
+ });
171
+
172
+ return {
173
+ el: $(fulfilled),
174
+
175
+ init: function(urlObj, options) {
176
+ var self = this;
177
+
178
+ this.el.find('#order-navbar .ui-btn-active').removeClass('ui-btn-active');
179
+ this.el.find('.your-orders-link').addClass('ui-btn-active');
180
+ }
181
+ }
182
+ };
183
+
184
+ Si.views.order = function (url) {
185
+ var tpl = Si.loadTemplate(Routes.order_order_tpl_path()),
186
+ productOrder_tpl = Si.loadTemplate(Routes.order_product_order_tpl_path());
187
+
188
+ var id = url.hash.replace( /.*order=/, "" );
189
+ var order = Si.collections.Order.get(id);
190
+
191
+ var prods = "";
192
+ var total = 0;
193
+
194
+ var editable = (order.get("status") == 'building') ? true : false;
195
+
196
+ _.each(order.get("products"), function(product, id) {
197
+ prods += _.template(productOrder_tpl, _.extend(product, { editable: editable } ));
198
+ total += product.value;
199
+ });
200
+
201
+ var fulfilled = _.template(tpl, {
202
+ date: Si.utils.formatDate(order.get("created")),
203
+ productOrders: prods,
204
+ total: total
205
+ });
206
+
207
+ return {
208
+ el: $(fulfilled),
209
+
210
+ init: function(urlObj, options) {
211
+ var self = this;
212
+ }
213
+ }
214
+ };
metadata ADDED
@@ -0,0 +1,177 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: stayind-order
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - StayInd
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-01-13 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 3.2.6
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 3.2.6
30
+ - !ruby/object:Gem::Dependency
31
+ name: sqlite3
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ description: ! 'StayInd: Guest''s orders handling module for StayInd App'
47
+ email:
48
+ - contact@stayind.com
49
+ executables: []
50
+ extensions: []
51
+ extra_rdoc_files: []
52
+ files:
53
+ - app/controllers/order/Order.iml
54
+ - app/controllers/order/orders_controller.rb
55
+ - app/views/order/orders/place.html.erb~
56
+ - app/views/order/orders/orders.html.erb
57
+ - app/views/order/orders/product_order.html.erb~
58
+ - app/views/order/orders/product_order.html.erb
59
+ - app/views/order/orders/_footer.html.erb
60
+ - app/views/order/orders/place.html.erb
61
+ - app/views/order/orders/one_order.html.erb
62
+ - app/views/order/orders/index.html.erb
63
+ - app/views/order/orders/category.html.erb~
64
+ - app/views/order/orders/category.html.erb
65
+ - app/views/order/orders/order.html.erb
66
+ - app/views/order/orders/product.html.erb
67
+ - config/routes.rb~
68
+ - config/routes.rb
69
+ - config/Config.iml
70
+ - config/locales/en.yml
71
+ - config/locales/pl.yml
72
+ - lib/order.rb~
73
+ - lib/order.rb
74
+ - lib/order/engine.rb
75
+ - lib/order/version.rb
76
+ - lib/order/engine.rb~
77
+ - lib/Lib.iml
78
+ - lib/tasks/order_tasks.rake
79
+ - vendor/assets/javascripts/si.order.js
80
+ - MIT-LICENSE
81
+ - Rakefile
82
+ - README.rdoc
83
+ - test/test_helper.rb
84
+ - test/dummy/public/500.html
85
+ - test/dummy/public/422.html
86
+ - test/dummy/public/favicon.ico
87
+ - test/dummy/public/404.html
88
+ - test/dummy/README.rdoc
89
+ - test/dummy/Rakefile
90
+ - test/dummy/config.ru
91
+ - test/dummy/app/controllers/application_controller.rb
92
+ - test/dummy/app/helpers/application_helper.rb
93
+ - test/dummy/app/views/layouts/application.html.erb
94
+ - test/dummy/app/assets/javascripts/application.js
95
+ - test/dummy/app/assets/stylesheets/application.css
96
+ - test/dummy/log/test.log
97
+ - test/dummy/log/development.log
98
+ - test/dummy/script/rails
99
+ - test/dummy/config/initializers/inflections.rb
100
+ - test/dummy/config/initializers/secret_token.rb
101
+ - test/dummy/config/initializers/session_store.rb
102
+ - test/dummy/config/initializers/mime_types.rb
103
+ - test/dummy/config/initializers/wrap_parameters.rb
104
+ - test/dummy/config/initializers/backtrace_silencers.rb
105
+ - test/dummy/config/database.yml
106
+ - test/dummy/config/routes.rb
107
+ - test/dummy/config/environments/development.rb
108
+ - test/dummy/config/environments/test.rb
109
+ - test/dummy/config/environments/production.rb
110
+ - test/dummy/config/environment.rb
111
+ - test/dummy/config/application.rb
112
+ - test/dummy/config/locales/en.yml
113
+ - test/dummy/config/boot.rb
114
+ - test/dummy/db/test.sqlite3
115
+ - test/dummy/db/development.sqlite3
116
+ - test/Test.iml
117
+ - test/order_test.rb
118
+ homepage: http://stayind.com
119
+ licenses: []
120
+ post_install_message:
121
+ rdoc_options: []
122
+ require_paths:
123
+ - lib
124
+ required_ruby_version: !ruby/object:Gem::Requirement
125
+ none: false
126
+ requirements:
127
+ - - ! '>='
128
+ - !ruby/object:Gem::Version
129
+ version: '0'
130
+ required_rubygems_version: !ruby/object:Gem::Requirement
131
+ none: false
132
+ requirements:
133
+ - - ! '>='
134
+ - !ruby/object:Gem::Version
135
+ version: '0'
136
+ requirements: []
137
+ rubyforge_project:
138
+ rubygems_version: 1.8.24
139
+ signing_key:
140
+ specification_version: 3
141
+ summary: ! 'StayInd: Order Module'
142
+ test_files:
143
+ - test/test_helper.rb
144
+ - test/dummy/public/500.html
145
+ - test/dummy/public/422.html
146
+ - test/dummy/public/favicon.ico
147
+ - test/dummy/public/404.html
148
+ - test/dummy/README.rdoc
149
+ - test/dummy/Rakefile
150
+ - test/dummy/config.ru
151
+ - test/dummy/app/controllers/application_controller.rb
152
+ - test/dummy/app/helpers/application_helper.rb
153
+ - test/dummy/app/views/layouts/application.html.erb
154
+ - test/dummy/app/assets/javascripts/application.js
155
+ - test/dummy/app/assets/stylesheets/application.css
156
+ - test/dummy/log/test.log
157
+ - test/dummy/log/development.log
158
+ - test/dummy/script/rails
159
+ - test/dummy/config/initializers/inflections.rb
160
+ - test/dummy/config/initializers/secret_token.rb
161
+ - test/dummy/config/initializers/session_store.rb
162
+ - test/dummy/config/initializers/mime_types.rb
163
+ - test/dummy/config/initializers/wrap_parameters.rb
164
+ - test/dummy/config/initializers/backtrace_silencers.rb
165
+ - test/dummy/config/database.yml
166
+ - test/dummy/config/routes.rb
167
+ - test/dummy/config/environments/development.rb
168
+ - test/dummy/config/environments/test.rb
169
+ - test/dummy/config/environments/production.rb
170
+ - test/dummy/config/environment.rb
171
+ - test/dummy/config/application.rb
172
+ - test/dummy/config/locales/en.yml
173
+ - test/dummy/config/boot.rb
174
+ - test/dummy/db/test.sqlite3
175
+ - test/dummy/db/development.sqlite3
176
+ - test/Test.iml
177
+ - test/order_test.rb