office_clerk 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (259) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +73 -0
  3. data/.rubocop.yml +6 -0
  4. data/.travis.yml +9 -0
  5. data/Gemfile +63 -0
  6. data/Gemfile.lock +367 -0
  7. data/Guardfile +28 -0
  8. data/README.md +44 -0
  9. data/Rakefile +6 -0
  10. data/app/assets/images/admin/baskets-2.jpg +0 -0
  11. data/app/assets/images/admin/baskets.jpg +0 -0
  12. data/app/assets/images/admin/categories-2.jpg +0 -0
  13. data/app/assets/images/admin/categories.jpg +0 -0
  14. data/app/assets/images/admin/clerks-2.jpg +0 -0
  15. data/app/assets/images/admin/clerks.jpg +0 -0
  16. data/app/assets/images/admin/orders-2.jpg +0 -0
  17. data/app/assets/images/admin/orders.jpg +0 -0
  18. data/app/assets/images/admin/products-2.jpg +0 -0
  19. data/app/assets/images/admin/products.jpg +0 -0
  20. data/app/assets/images/admin/purchases-2.jpg +0 -0
  21. data/app/assets/images/admin/purchases.jpg +0 -0
  22. data/app/assets/images/admin/suppliers-2.jpg +0 -0
  23. data/app/assets/images/admin/suppliers.jpg +0 -0
  24. data/app/assets/images/alpha.png +0 -0
  25. data/app/assets/images/down-icon.png +0 -0
  26. data/app/assets/images/header.gif +0 -0
  27. data/app/assets/images/hihih.jpg +0 -0
  28. data/app/assets/images/hue.png +0 -0
  29. data/app/assets/images/koe.jpg +0 -0
  30. data/app/assets/images/missing.png +0 -0
  31. data/app/assets/images/saturation.png +0 -0
  32. data/app/assets/images/shop/basket.jpg +0 -0
  33. data/app/assets/images/shop/farfalla-logo.jpg +0 -0
  34. data/app/assets/images/shop/header.gif +0 -0
  35. data/app/assets/images/shop/header.jpg +0 -0
  36. data/app/assets/images/shop/header.png +0 -0
  37. data/app/assets/images/shop/kansi.jpg +0 -0
  38. data/app/assets/images/shop/kansi.png +0 -0
  39. data/app/assets/images/shop/logo.png +0 -0
  40. data/app/assets/images/shop/menu-gourmet.jpg +0 -0
  41. data/app/assets/images/shop/menu-hius.jpg +0 -0
  42. data/app/assets/images/shop/menu-huonetuoksu.jpg +0 -0
  43. data/app/assets/images/shop/menu-info.jpg +0 -0
  44. data/app/assets/images/shop/menu-kasvo.jpg +0 -0
  45. data/app/assets/images/shop/menu-laukut.jpg +0 -0
  46. data/app/assets/images/shop/menu-luomu.jpg +0 -0
  47. data/app/assets/images/shop/menu-men.jpg +0 -0
  48. data/app/assets/images/shop/menu-oljy.jpg +0 -0
  49. data/app/assets/images/shop/menu-tuoksu1.jpg +0 -0
  50. data/app/assets/images/shop/menu-vaatteet.jpg +0 -0
  51. data/app/assets/images/shop/menu-valaisin.jpg +0 -0
  52. data/app/assets/images/shop/menu-vartalo.jpg +0 -0
  53. data/app/assets/images/shop/spacer.gif +0 -0
  54. data/app/assets/images/shop/tausta.jpg +0 -0
  55. data/app/assets/images/shop/tervetuloa.gif +0 -0
  56. data/app/assets/images/shop/valk.png +0 -0
  57. data/app/assets/images/shop/valk3.png +0 -0
  58. data/app/assets/images/shop/violetti-lev.jpg +0 -0
  59. data/app/assets/images/shop/violetti.jpg +0 -0
  60. data/app/assets/images/ui-anim_basic_16x16.gif +0 -0
  61. data/app/assets/images/up-icon.png +0 -0
  62. data/app/assets/javascripts/admin.js +29 -0
  63. data/app/assets/javascripts/shop.js +30 -0
  64. data/app/assets/stylesheets/admin.css.scss +129 -0
  65. data/app/assets/stylesheets/shop-receipt.css.scss +80 -0
  66. data/app/assets/stylesheets/shop.css.scss +403 -0
  67. data/app/controllers/admin_controller.rb +23 -0
  68. data/app/controllers/application_controller.rb +41 -0
  69. data/app/controllers/baskets_controller.rb +176 -0
  70. data/app/controllers/categories_controller.rb +69 -0
  71. data/app/controllers/clerks_controller.rb +64 -0
  72. data/app/controllers/orders_controller.rb +57 -0
  73. data/app/controllers/products_controller.rb +126 -0
  74. data/app/controllers/purchases_controller.rb +72 -0
  75. data/app/controllers/sessions_controller.rb +46 -0
  76. data/app/controllers/shop_controller.rb +90 -0
  77. data/app/controllers/suppliers_controller.rb +63 -0
  78. data/app/helpers/admin_helper.rb +28 -0
  79. data/app/helpers/application_helper.rb +25 -0
  80. data/app/helpers/baskets_helper.rb +4 -0
  81. data/app/helpers/categories_helper.rb +4 -0
  82. data/app/helpers/orders_helper.rb +4 -0
  83. data/app/helpers/products_helper.rb +4 -0
  84. data/app/helpers/purchases_helper.rb +4 -0
  85. data/app/helpers/shop_helper.rb +17 -0
  86. data/app/helpers/suppliers_helper.rb +4 -0
  87. data/app/mailers/.keep +0 -0
  88. data/app/models/basket.rb +114 -0
  89. data/app/models/category.rb +27 -0
  90. data/app/models/clerk.rb +46 -0
  91. data/app/models/item.rb +26 -0
  92. data/app/models/order.rb +72 -0
  93. data/app/models/product.rb +100 -0
  94. data/app/models/purchase.rb +26 -0
  95. data/app/models/supplier.rb +15 -0
  96. data/app/views/addresses/_form_fields.html.haml +4 -0
  97. data/app/views/addresses/show.html.haml +23 -0
  98. data/app/views/baskets/_small.html.haml +25 -0
  99. data/app/views/baskets/edit.html.haml +74 -0
  100. data/app/views/baskets/index.html.haml +55 -0
  101. data/app/views/baskets/show.html.haml +18 -0
  102. data/app/views/categories/_treeview.html.haml +8 -0
  103. data/app/views/categories/_triple.html.haml +12 -0
  104. data/app/views/categories/edit.html.haml +36 -0
  105. data/app/views/categories/index.html.haml +49 -0
  106. data/app/views/categories/show.html.haml +30 -0
  107. data/app/views/clerks/edit.html.haml +20 -0
  108. data/app/views/clerks/index.html.haml +37 -0
  109. data/app/views/clerks/show.html.haml +19 -0
  110. data/app/views/layouts/_admin_menu.html.haml +14 -0
  111. data/app/views/layouts/_google.haml +8 -0
  112. data/app/views/layouts/_messages.html.haml +5 -0
  113. data/app/views/layouts/admin.html.haml +42 -0
  114. data/app/views/layouts/shop.html.haml +96 -0
  115. data/app/views/orders/edit.html.haml +25 -0
  116. data/app/views/orders/index.html.haml +93 -0
  117. data/app/views/orders/show.html.haml +37 -0
  118. data/app/views/products/_line.html.haml +25 -0
  119. data/app/views/products/_name.html.haml +4 -0
  120. data/app/views/products/_online.html.haml +2 -0
  121. data/app/views/products/_triple.html.haml +12 -0
  122. data/app/views/products/edit.html.haml +42 -0
  123. data/app/views/products/index.html.haml +86 -0
  124. data/app/views/products/show.html.haml +94 -0
  125. data/app/views/purchases/edit.html.haml +9 -0
  126. data/app/views/purchases/index.html.haml +52 -0
  127. data/app/views/purchases/show.html.haml +32 -0
  128. data/app/views/sessions/new.html.haml +10 -0
  129. data/app/views/sessions/new_clerk.html.haml +22 -0
  130. data/app/views/shop/_groups.html.haml +8 -0
  131. data/app/views/shop/_menu.html.haml +5 -0
  132. data/app/views/shop/_sub.html.haml +0 -0
  133. data/app/views/shop/checkout.haml +142 -0
  134. data/app/views/shop/group.html.haml +9 -0
  135. data/app/views/shop/main_group.html.haml +9 -0
  136. data/app/views/shop/order.haml +104 -0
  137. data/app/views/shop/product.html.haml +67 -0
  138. data/app/views/shop/product_list.html.haml +50 -0
  139. data/app/views/shop/saved_search.html +6 -0
  140. data/app/views/shop/sub_group.html.haml +19 -0
  141. data/app/views/shop/tuotteista.html.haml +40 -0
  142. data/app/views/shop/welcome.html.haml +103 -0
  143. data/app/views/suppliers/edit.html.haml +10 -0
  144. data/app/views/suppliers/index.html.haml +40 -0
  145. data/app/views/suppliers/show.html.haml +27 -0
  146. data/bin/bundle +3 -0
  147. data/bin/rails +8 -0
  148. data/bin/rake +8 -0
  149. data/bin/rspec +7 -0
  150. data/bin/spring +18 -0
  151. data/config.ru +7 -0
  152. data/config/application.example.yml +13 -0
  153. data/config/application.rb +59 -0
  154. data/config/application.yml +13 -0
  155. data/config/boot.rb +7 -0
  156. data/config/database.yml +25 -0
  157. data/config/environment.rb +6 -0
  158. data/config/environments/development.rb +31 -0
  159. data/config/environments/production.rb +80 -0
  160. data/config/environments/test.rb +36 -0
  161. data/config/i18n-tasks.yml +11 -0
  162. data/config/initializers/attack.rb +32 -0
  163. data/config/initializers/backtrace_silencers.rb +7 -0
  164. data/config/initializers/filter_parameter_logging.rb +4 -0
  165. data/config/initializers/inflections.rb +16 -0
  166. data/config/initializers/migrate.rb +6 -0
  167. data/config/initializers/mime_types.rb +6 -0
  168. data/config/initializers/secret_token.rb +12 -0
  169. data/config/initializers/session_store.rb +3 -0
  170. data/config/initializers/simple_form.rb +149 -0
  171. data/config/initializers/simple_form_bootstrap.rb +48 -0
  172. data/config/initializers/wrap_parameters.rb +14 -0
  173. data/config/locales/config.yml +23 -0
  174. data/config/locales/en.yml +183 -0
  175. data/config/locales/fi.yml +211 -0
  176. data/config/routes.rb +108 -0
  177. data/db/migrate/20131224171442_clerks.rb +15 -0
  178. data/db/migrate/20131226110406_suppliers.rb +9 -0
  179. data/db/migrate/20131226143612_categories.rb +18 -0
  180. data/db/migrate/20131226143747_items.rb +14 -0
  181. data/db/migrate/20131226144134_orders.rb +21 -0
  182. data/db/migrate/20131226144316_baskets.rb +12 -0
  183. data/db/migrate/20131226151151_purchases.rb +11 -0
  184. data/db/migrate/20131226151332_products.rb +27 -0
  185. data/db/schema.rb +138 -0
  186. data/db/seeds.rb +4 -0
  187. data/lib/assets/.keep +0 -0
  188. data/lib/office_clerk.rb +20 -0
  189. data/lib/office_clerk/shipping_method.rb +35 -0
  190. data/lib/tasks/.keep +0 -0
  191. data/lib/tasks/import.rake +33 -0
  192. data/lib/templates/haml/scaffold/_form.html.haml +8 -0
  193. data/office_clerk.gemspec +46 -0
  194. data/public/404.html +58 -0
  195. data/public/422.html +58 -0
  196. data/public/500.html +57 -0
  197. data/public/favicon.ico +0 -0
  198. data/public/humans.txt +20 -0
  199. data/public/robots.txt +5 -0
  200. data/spec/controllers/baskets_controller_spec.rb +112 -0
  201. data/spec/controllers/categories_controller_spec.rb +133 -0
  202. data/spec/controllers/clerks_controller_spec.rb +70 -0
  203. data/spec/controllers/orders_controller_spec.rb +105 -0
  204. data/spec/controllers/products_controller_spec.rb +138 -0
  205. data/spec/controllers/purchases_controller_spec.rb +123 -0
  206. data/spec/controllers/sessions_controller_spec.rb +18 -0
  207. data/spec/controllers/suppliers_controller_spec.rb +137 -0
  208. data/spec/factories/addresses.rb +11 -0
  209. data/spec/factories/baskets.rb +15 -0
  210. data/spec/factories/categories.rb +8 -0
  211. data/spec/factories/clerks.rb +15 -0
  212. data/spec/factories/items.rb +19 -0
  213. data/spec/factories/orders.rb +9 -0
  214. data/spec/factories/products.rb +10 -0
  215. data/spec/factories/purchases.rb +10 -0
  216. data/spec/factories/suppliers.rb +7 -0
  217. data/spec/features/baskets/buttons_spec.rb +35 -0
  218. data/spec/features/baskets/edit_spec.rb +50 -0
  219. data/spec/features/baskets/index_spec.rb +12 -0
  220. data/spec/features/baskets/search_spec.rb +33 -0
  221. data/spec/features/baskets/show_spec.rb +21 -0
  222. data/spec/features/categories_spec.rb +21 -0
  223. data/spec/features/clerks_spec.rb +21 -0
  224. data/spec/features/orders_spec.rb +14 -0
  225. data/spec/features/products/index_spec.rb +30 -0
  226. data/spec/features/products/new_spec.rb +20 -0
  227. data/spec/features/purchases_spec.rb +14 -0
  228. data/spec/features/shops_spec.rb +18 -0
  229. data/spec/features/suppliers_spec.rb +18 -0
  230. data/spec/models/baskets/inventory_spec.rb +34 -0
  231. data/spec/models/baskets/items_spec.rb +37 -0
  232. data/spec/models/baskets/products_spec.rb +31 -0
  233. data/spec/models/category_spec.rb +18 -0
  234. data/spec/models/clerk/email_spec.rb +69 -0
  235. data/spec/models/clerk/password_spec.rb +83 -0
  236. data/spec/models/item_spec.rb +33 -0
  237. data/spec/models/locale_spec.rb +17 -0
  238. data/spec/models/order_spec.rb +19 -0
  239. data/spec/models/product_spec.rb +29 -0
  240. data/spec/models/purchase_spec.rb +8 -0
  241. data/spec/models/supplier_spec.rb +8 -0
  242. data/spec/routing/baskets_routing_spec.rb +35 -0
  243. data/spec/routing/categories_routing_spec.rb +35 -0
  244. data/spec/routing/orders_routing_spec.rb +35 -0
  245. data/spec/routing/products_routing_spec.rb +35 -0
  246. data/spec/routing/purchases_routing_spec.rb +35 -0
  247. data/spec/routing/suppliers_routing_spec.rb +35 -0
  248. data/spec/spec_helper.rb +74 -0
  249. data/spec/support/request_helper.rb +31 -0
  250. data/test/fixtures/baskets.yml +41993 -0
  251. data/test/fixtures/categories.yml +638 -0
  252. data/test/fixtures/clerks.yml +694 -0
  253. data/test/fixtures/items.yml +83651 -0
  254. data/test/fixtures/orders.yml +58918 -0
  255. data/test/fixtures/products.yml +110904 -0
  256. data/test/fixtures/purchases.yml +1755 -0
  257. data/test/fixtures/suppliers.yml +341 -0
  258. data/todo +8 -0
  259. metadata +607 -0
@@ -0,0 +1,341 @@
1
+ ---
2
+ Supplier_1:
3
+ id: 8
4
+ supplier_name: AlbertL
5
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
6
+ created_at: 2014-01-28 21:15:58.572945000 Z
7
+ updated_at: 2014-01-28 21:15:58.572945000 Z
8
+ Supplier_2:
9
+ id: 12
10
+ supplier_name: AnRa
11
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
12
+ created_at: 2014-01-28 21:15:58.988037000 Z
13
+ updated_at: 2014-01-28 21:15:58.988037000 Z
14
+ Supplier_3:
15
+ id: 14
16
+ supplier_name: Arco
17
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
18
+ created_at: 2014-01-28 21:15:59.261576000 Z
19
+ updated_at: 2014-01-28 21:15:59.261576000 Z
20
+ Supplier_4:
21
+ id: 17
22
+ supplier_name: Azalia Moda
23
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
24
+ created_at: 2014-01-28 21:16:00.173415000 Z
25
+ updated_at: 2014-01-28 21:16:00.173415000 Z
26
+ Supplier_5:
27
+ id: 9
28
+ supplier_name: Bel Arte
29
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
30
+ created_at: 2014-01-28 21:15:58.662414000 Z
31
+ updated_at: 2014-01-28 21:15:58.662414000 Z
32
+ Supplier_6:
33
+ id: 10
34
+ supplier_name: Bell Arte
35
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
36
+ created_at: 2014-01-28 21:15:58.775483000 Z
37
+ updated_at: 2014-01-28 21:15:58.775483000 Z
38
+ Supplier_7:
39
+ id: 13
40
+ supplier_name: Belly Mode
41
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
42
+ created_at: 2014-01-28 21:15:59.169490000 Z
43
+ updated_at: 2014-01-28 21:15:59.169490000 Z
44
+ Supplier_8:
45
+ id: 20
46
+ supplier_name: Belly Moden
47
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
48
+ created_at: 2014-01-28 21:16:00.521921000 Z
49
+ updated_at: 2014-01-28 21:16:00.521921000 Z
50
+ Supplier_9:
51
+ id: 46
52
+ supplier_name: Boltze
53
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
54
+ created_at: 2014-01-28 21:16:13.249972000 Z
55
+ updated_at: 2014-01-28 21:16:13.249972000 Z
56
+ Supplier_10:
57
+ id: 30
58
+ supplier_name: Café-Tasse
59
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
60
+ created_at: 2014-01-28 21:16:03.105520000 Z
61
+ updated_at: 2014-01-28 21:16:03.105520000 Z
62
+ Supplier_11:
63
+ id: 22
64
+ supplier_name: Chatochak
65
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
66
+ created_at: 2014-01-28 21:16:01.158844000 Z
67
+ updated_at: 2014-01-28 21:16:01.158844000 Z
68
+ Supplier_12:
69
+ id: 56
70
+ supplier_name: Cor Mulder
71
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess
72
+ name: ''
73
+ street: ''
74
+ city: ''
75
+ phone: ''
76
+ created_at: 2014-05-26 16:03:13.407318000 Z
77
+ updated_at: 2014-05-26 16:03:13.415770000 Z
78
+ Supplier_13:
79
+ id: 1
80
+ supplier_name: D&B
81
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
82
+ created_at: 2014-01-28 21:15:57.241330000 Z
83
+ updated_at: 2014-01-28 21:15:57.241330000 Z
84
+ Supplier_14:
85
+ id: 15
86
+ supplier_name: Darach
87
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
88
+ created_at: 2014-01-28 21:15:59.463730000 Z
89
+ updated_at: 2014-01-28 21:15:59.463730000 Z
90
+ Supplier_15:
91
+ id: 45
92
+ supplier_name: Envirosax
93
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
94
+ created_at: 2014-01-28 21:16:11.669750000 Z
95
+ updated_at: 2014-01-28 21:16:11.669750000 Z
96
+ Supplier_16:
97
+ id: 41
98
+ supplier_name: Extradesign Frank Mayer
99
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
100
+ created_at: 2014-01-28 21:16:09.165503000 Z
101
+ updated_at: 2014-01-28 21:16:09.165503000 Z
102
+ Supplier_17:
103
+ id: 54
104
+ supplier_name: Fairy
105
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
106
+ created_at: 2014-01-28 21:16:38.034767000 Z
107
+ updated_at: 2014-01-28 21:16:38.034767000 Z
108
+ Supplier_18:
109
+ id: 2
110
+ supplier_name: Farfalla
111
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
112
+ created_at: 2014-01-28 21:15:57.280990000 Z
113
+ updated_at: 2014-01-28 21:15:57.280990000 Z
114
+ Supplier_19:
115
+ id: 16
116
+ supplier_name: Feuer & Glas
117
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
118
+ created_at: 2014-01-28 21:16:00.039623000 Z
119
+ updated_at: 2014-01-28 21:16:00.039623000 Z
120
+ Supplier_20:
121
+ id: 24
122
+ supplier_name: FeuerGlas
123
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
124
+ created_at: 2014-01-28 21:16:01.879714000 Z
125
+ updated_at: 2014-01-28 21:16:01.879714000 Z
126
+ Supplier_21:
127
+ id: 23
128
+ supplier_name: Frosch & Rabe
129
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
130
+ created_at: 2014-01-28 21:16:01.378903000 Z
131
+ updated_at: 2014-01-28 21:16:01.378903000 Z
132
+ Supplier_22:
133
+ id: 4
134
+ supplier_name: Goodwill
135
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
136
+ created_at: 2014-01-28 21:15:57.609804000 Z
137
+ updated_at: 2014-01-28 21:15:57.609804000 Z
138
+ Supplier_23:
139
+ id: 27
140
+ supplier_name: Hata
141
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
142
+ created_at: 2014-01-28 21:16:02.881223000 Z
143
+ updated_at: 2014-01-28 21:16:02.881223000 Z
144
+ Supplier_24:
145
+ id: 6
146
+ supplier_name: Himalaya
147
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
148
+ created_at: 2014-01-28 21:15:58.243113000 Z
149
+ updated_at: 2014-01-28 21:15:58.243113000 Z
150
+ Supplier_25:
151
+ id: 39
152
+ supplier_name: Intia
153
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
154
+ created_at: 2014-01-28 21:16:08.331674000 Z
155
+ updated_at: 2014-01-28 21:16:08.331674000 Z
156
+ Supplier_26:
157
+ id: 48
158
+ supplier_name: Ipuro
159
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
160
+ created_at: 2014-01-28 21:16:18.324526000 Z
161
+ updated_at: 2014-01-28 21:16:18.324526000 Z
162
+ Supplier_27:
163
+ id: 29
164
+ supplier_name: Jameson & Tailor
165
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
166
+ created_at: 2014-01-28 21:16:03.065052000 Z
167
+ updated_at: 2014-01-28 21:16:03.065052000 Z
168
+ Supplier_28:
169
+ id: 7
170
+ supplier_name: Jameson&Tailor
171
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
172
+ created_at: 2014-01-28 21:15:58.441271000 Z
173
+ updated_at: 2014-01-28 21:15:58.441271000 Z
174
+ Supplier_29:
175
+ id: 5
176
+ supplier_name: Jameson&Taylor
177
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
178
+ created_at: 2014-01-28 21:15:57.671785000 Z
179
+ updated_at: 2014-01-28 21:15:57.671785000 Z
180
+ Supplier_30:
181
+ id: 36
182
+ supplier_name: KasoKana
183
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
184
+ created_at: 2014-01-28 21:16:05.184496000 Z
185
+ updated_at: 2014-01-28 21:16:05.184496000 Z
186
+ Supplier_31:
187
+ id: 35
188
+ supplier_name: Kaszer
189
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
190
+ created_at: 2014-01-28 21:16:04.859249000 Z
191
+ updated_at: 2014-01-28 21:16:04.859249000 Z
192
+ Supplier_32:
193
+ id: 18
194
+ supplier_name: Khaosan
195
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
196
+ created_at: 2014-01-28 21:16:00.226320000 Z
197
+ updated_at: 2014-01-28 21:16:00.226320000 Z
198
+ Supplier_33:
199
+ id: 44
200
+ supplier_name: Klippan
201
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
202
+ created_at: 2014-01-28 21:16:10.506529000 Z
203
+ updated_at: 2014-01-28 21:16:10.506529000 Z
204
+ Supplier_34:
205
+ id: 37
206
+ supplier_name: Legian
207
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
208
+ created_at: 2014-01-28 21:16:06.300774000 Z
209
+ updated_at: 2014-01-28 21:16:06.300774000 Z
210
+ Supplier_35:
211
+ id: 43
212
+ supplier_name: Lollia
213
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
214
+ created_at: 2014-01-28 21:16:10.474547000 Z
215
+ updated_at: 2014-01-28 21:16:10.474547000 Z
216
+ Supplier_36:
217
+ id: 32
218
+ supplier_name: Loqi
219
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
220
+ created_at: 2014-01-28 21:16:03.427532000 Z
221
+ updated_at: 2014-01-28 21:16:03.427532000 Z
222
+ Supplier_37:
223
+ id: 31
224
+ supplier_name: Lotao
225
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
226
+ created_at: 2014-01-28 21:16:03.115165000 Z
227
+ updated_at: 2014-01-28 21:16:03.115165000 Z
228
+ Supplier_38:
229
+ id: 42
230
+ supplier_name: Lovely
231
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
232
+ created_at: 2014-01-28 21:16:09.183316000 Z
233
+ updated_at: 2014-01-28 21:16:09.183316000 Z
234
+ Supplier_39:
235
+ id: 47
236
+ supplier_name: NatureScent
237
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
238
+ created_at: 2014-01-28 21:16:14.647809000 Z
239
+ updated_at: 2014-01-28 21:16:14.647809000 Z
240
+ Supplier_40:
241
+ id: 25
242
+ supplier_name: NoName
243
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
244
+ created_at: 2014-01-28 21:16:01.889551000 Z
245
+ updated_at: 2014-01-28 21:16:01.889551000 Z
246
+ Supplier_41:
247
+ id: 55
248
+ supplier_name: Orient Import
249
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
250
+ created_at: 2014-01-28 21:16:45.803286000 Z
251
+ updated_at: 2014-01-28 21:16:45.803286000 Z
252
+ Supplier_42:
253
+ id: 21
254
+ supplier_name: PE Florence
255
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
256
+ created_at: 2014-01-28 21:16:00.690513000 Z
257
+ updated_at: 2014-01-28 21:16:00.690513000 Z
258
+ Supplier_43:
259
+ id: 53
260
+ supplier_name: Pajoma
261
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
262
+ created_at: 2014-01-28 21:16:25.922802000 Z
263
+ updated_at: 2014-01-28 21:16:25.922802000 Z
264
+ Supplier_44:
265
+ id: 34
266
+ supplier_name: Putumamayo
267
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
268
+ created_at: 2014-01-28 21:16:03.999158000 Z
269
+ updated_at: 2014-01-28 21:16:03.999158000 Z
270
+ Supplier_45:
271
+ id: 33
272
+ supplier_name: Putumayo
273
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
274
+ created_at: 2014-01-28 21:16:03.982017000 Z
275
+ updated_at: 2014-01-28 21:16:03.982017000 Z
276
+ Supplier_46:
277
+ id: 50
278
+ supplier_name: Qubu Mirror
279
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
280
+ created_at: 2014-01-28 21:16:22.306955000 Z
281
+ updated_at: 2014-01-28 21:16:22.306955000 Z
282
+ Supplier_47:
283
+ id: 38
284
+ supplier_name: Rainbow Silver
285
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
286
+ created_at: 2014-01-28 21:16:07.863958000 Z
287
+ updated_at: 2014-01-28 21:16:07.863958000 Z
288
+ Supplier_48:
289
+ id: 52
290
+ supplier_name: Seyko
291
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
292
+ created_at: 2014-01-28 21:16:24.955805000 Z
293
+ updated_at: 2014-01-28 21:16:24.955805000 Z
294
+ Supplier_49:
295
+ id: 40
296
+ supplier_name: Suka Suka
297
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
298
+ created_at: 2014-01-28 21:16:08.908621000 Z
299
+ updated_at: 2014-01-28 21:16:08.908621000 Z
300
+ Supplier_50:
301
+ id: 3
302
+ supplier_name: Sybra
303
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
304
+ created_at: 2014-01-28 21:15:57.459440000 Z
305
+ updated_at: 2014-01-28 21:15:57.459440000 Z
306
+ Supplier_51:
307
+ id: 28
308
+ supplier_name: Tegalalang
309
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
310
+ created_at: 2014-01-28 21:16:02.898732000 Z
311
+ updated_at: 2014-01-28 21:16:02.898732000 Z
312
+ Supplier_52:
313
+ id: 51
314
+ supplier_name: Tegallalang
315
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
316
+ created_at: 2014-01-28 21:16:24.345785000 Z
317
+ updated_at: 2014-01-28 21:16:24.345785000 Z
318
+ Supplier_53:
319
+ id: 49
320
+ supplier_name: Treshna Bali
321
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
322
+ created_at: 2014-01-28 21:16:19.802273000 Z
323
+ updated_at: 2014-01-28 21:16:19.802273000 Z
324
+ Supplier_54:
325
+ id: 11
326
+ supplier_name: YamYam
327
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
328
+ created_at: 2014-01-28 21:15:58.969236000 Z
329
+ updated_at: 2014-01-28 21:15:58.969236000 Z
330
+ Supplier_55:
331
+ id: 26
332
+ supplier_name: farfalla
333
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
334
+ created_at: 2014-01-28 21:16:02.288026000 Z
335
+ updated_at: 2014-01-28 21:16:02.288026000 Z
336
+ Supplier_56:
337
+ id: 19
338
+ supplier_name: none
339
+ address: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}
340
+ created_at: 2014-01-28 21:16:00.491258000 Z
341
+ updated_at: 2014-01-28 21:16:00.491258000 Z
data/todo ADDED
@@ -0,0 +1,8 @@
1
+ old order prices are without alv
2
+ sorting links dont work
3
+ product search by supplier + category
4
+ remove properties after import
5
+ product "full_name" in views
6
+ order vat
7
+ remove vat from basket
8
+ delete / add (ero värit)
metadata ADDED
@@ -0,0 +1,607 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: office_clerk
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Torsten Rüger
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-11-06 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 4.0.1
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 4.0.1
27
+ - !ruby/object:Gem::Dependency
28
+ name: sass-rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: haml
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: jquery-rails
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: jquery-ui-rails
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: kramdown
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: will_paginate
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: simple_form
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: prawn
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: will_paginate-bootstrap
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: bootstrap-sass
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: 3.1.0
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: 3.1.0
167
+ - !ruby/object:Gem::Dependency
168
+ name: bootstrap_form
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :runtime
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: paperclip
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ type: :runtime
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ - !ruby/object:Gem::Dependency
196
+ name: turbolinks
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ type: :runtime
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
209
+ - !ruby/object:Gem::Dependency
210
+ name: rails-i18n
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '0'
216
+ type: :runtime
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
223
+ - !ruby/object:Gem::Dependency
224
+ name: barby
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - ">="
228
+ - !ruby/object:Gem::Version
229
+ version: '0'
230
+ type: :runtime
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - ">="
235
+ - !ruby/object:Gem::Version
236
+ version: '0'
237
+ - !ruby/object:Gem::Dependency
238
+ name: chunky_png
239
+ requirement: !ruby/object:Gem::Requirement
240
+ requirements:
241
+ - - ">="
242
+ - !ruby/object:Gem::Version
243
+ version: '0'
244
+ type: :runtime
245
+ prerelease: false
246
+ version_requirements: !ruby/object:Gem::Requirement
247
+ requirements:
248
+ - - ">="
249
+ - !ruby/object:Gem::Version
250
+ version: '0'
251
+ - !ruby/object:Gem::Dependency
252
+ name: bcrypt-ruby
253
+ requirement: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - ">="
256
+ - !ruby/object:Gem::Version
257
+ version: '0'
258
+ type: :runtime
259
+ prerelease: false
260
+ version_requirements: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - ">="
263
+ - !ruby/object:Gem::Version
264
+ version: '0'
265
+ description: Backend of rubyclerks
266
+ email:
267
+ - torsten@villataika.fi
268
+ executables: []
269
+ extensions: []
270
+ extra_rdoc_files: []
271
+ files:
272
+ - ".gitignore"
273
+ - ".rubocop.yml"
274
+ - ".travis.yml"
275
+ - Gemfile
276
+ - Gemfile.lock
277
+ - Guardfile
278
+ - README.md
279
+ - Rakefile
280
+ - app/assets/images/admin/baskets-2.jpg
281
+ - app/assets/images/admin/baskets.jpg
282
+ - app/assets/images/admin/categories-2.jpg
283
+ - app/assets/images/admin/categories.jpg
284
+ - app/assets/images/admin/clerks-2.jpg
285
+ - app/assets/images/admin/clerks.jpg
286
+ - app/assets/images/admin/orders-2.jpg
287
+ - app/assets/images/admin/orders.jpg
288
+ - app/assets/images/admin/products-2.jpg
289
+ - app/assets/images/admin/products.jpg
290
+ - app/assets/images/admin/purchases-2.jpg
291
+ - app/assets/images/admin/purchases.jpg
292
+ - app/assets/images/admin/suppliers-2.jpg
293
+ - app/assets/images/admin/suppliers.jpg
294
+ - app/assets/images/alpha.png
295
+ - app/assets/images/down-icon.png
296
+ - app/assets/images/header.gif
297
+ - app/assets/images/hihih.jpg
298
+ - app/assets/images/hue.png
299
+ - app/assets/images/koe.jpg
300
+ - app/assets/images/missing.png
301
+ - app/assets/images/saturation.png
302
+ - app/assets/images/shop/basket.jpg
303
+ - app/assets/images/shop/farfalla-logo.jpg
304
+ - app/assets/images/shop/header.gif
305
+ - app/assets/images/shop/header.jpg
306
+ - app/assets/images/shop/header.png
307
+ - app/assets/images/shop/kansi.jpg
308
+ - app/assets/images/shop/kansi.png
309
+ - app/assets/images/shop/logo.png
310
+ - app/assets/images/shop/menu-gourmet.jpg
311
+ - app/assets/images/shop/menu-hius.jpg
312
+ - app/assets/images/shop/menu-huonetuoksu.jpg
313
+ - app/assets/images/shop/menu-info.jpg
314
+ - app/assets/images/shop/menu-kasvo.jpg
315
+ - app/assets/images/shop/menu-laukut.jpg
316
+ - app/assets/images/shop/menu-luomu.jpg
317
+ - app/assets/images/shop/menu-men.jpg
318
+ - app/assets/images/shop/menu-oljy.jpg
319
+ - app/assets/images/shop/menu-tuoksu1.jpg
320
+ - app/assets/images/shop/menu-vaatteet.jpg
321
+ - app/assets/images/shop/menu-valaisin.jpg
322
+ - app/assets/images/shop/menu-vartalo.jpg
323
+ - app/assets/images/shop/spacer.gif
324
+ - app/assets/images/shop/tausta.jpg
325
+ - app/assets/images/shop/tervetuloa.gif
326
+ - app/assets/images/shop/valk.png
327
+ - app/assets/images/shop/valk3.png
328
+ - app/assets/images/shop/violetti-lev.jpg
329
+ - app/assets/images/shop/violetti.jpg
330
+ - app/assets/images/ui-anim_basic_16x16.gif
331
+ - app/assets/images/up-icon.png
332
+ - app/assets/javascripts/admin.js
333
+ - app/assets/javascripts/shop.js
334
+ - app/assets/stylesheets/admin.css.scss
335
+ - app/assets/stylesheets/shop-receipt.css.scss
336
+ - app/assets/stylesheets/shop.css.scss
337
+ - app/controllers/admin_controller.rb
338
+ - app/controllers/application_controller.rb
339
+ - app/controllers/baskets_controller.rb
340
+ - app/controllers/categories_controller.rb
341
+ - app/controllers/clerks_controller.rb
342
+ - app/controllers/orders_controller.rb
343
+ - app/controllers/products_controller.rb
344
+ - app/controllers/purchases_controller.rb
345
+ - app/controllers/sessions_controller.rb
346
+ - app/controllers/shop_controller.rb
347
+ - app/controllers/suppliers_controller.rb
348
+ - app/helpers/admin_helper.rb
349
+ - app/helpers/application_helper.rb
350
+ - app/helpers/baskets_helper.rb
351
+ - app/helpers/categories_helper.rb
352
+ - app/helpers/orders_helper.rb
353
+ - app/helpers/products_helper.rb
354
+ - app/helpers/purchases_helper.rb
355
+ - app/helpers/shop_helper.rb
356
+ - app/helpers/suppliers_helper.rb
357
+ - app/mailers/.keep
358
+ - app/models/basket.rb
359
+ - app/models/category.rb
360
+ - app/models/clerk.rb
361
+ - app/models/item.rb
362
+ - app/models/order.rb
363
+ - app/models/product.rb
364
+ - app/models/purchase.rb
365
+ - app/models/supplier.rb
366
+ - app/views/addresses/_form_fields.html.haml
367
+ - app/views/addresses/show.html.haml
368
+ - app/views/baskets/_small.html.haml
369
+ - app/views/baskets/edit.html.haml
370
+ - app/views/baskets/index.html.haml
371
+ - app/views/baskets/show.html.haml
372
+ - app/views/categories/_treeview.html.haml
373
+ - app/views/categories/_triple.html.haml
374
+ - app/views/categories/edit.html.haml
375
+ - app/views/categories/index.html.haml
376
+ - app/views/categories/show.html.haml
377
+ - app/views/clerks/edit.html.haml
378
+ - app/views/clerks/index.html.haml
379
+ - app/views/clerks/show.html.haml
380
+ - app/views/layouts/_admin_menu.html.haml
381
+ - app/views/layouts/_google.haml
382
+ - app/views/layouts/_messages.html.haml
383
+ - app/views/layouts/admin.html.haml
384
+ - app/views/layouts/shop.html.haml
385
+ - app/views/orders/edit.html.haml
386
+ - app/views/orders/index.html.haml
387
+ - app/views/orders/show.html.haml
388
+ - app/views/products/_line.html.haml
389
+ - app/views/products/_name.html.haml
390
+ - app/views/products/_online.html.haml
391
+ - app/views/products/_triple.html.haml
392
+ - app/views/products/edit.html.haml
393
+ - app/views/products/index.html.haml
394
+ - app/views/products/show.html.haml
395
+ - app/views/purchases/edit.html.haml
396
+ - app/views/purchases/index.html.haml
397
+ - app/views/purchases/show.html.haml
398
+ - app/views/sessions/new.html.haml
399
+ - app/views/sessions/new_clerk.html.haml
400
+ - app/views/shop/_groups.html.haml
401
+ - app/views/shop/_menu.html.haml
402
+ - app/views/shop/_sub.html.haml
403
+ - app/views/shop/checkout.haml
404
+ - app/views/shop/group.html.haml
405
+ - app/views/shop/main_group.html.haml
406
+ - app/views/shop/order.haml
407
+ - app/views/shop/product.html.haml
408
+ - app/views/shop/product_list.html.haml
409
+ - app/views/shop/saved_search.html
410
+ - app/views/shop/sub_group.html.haml
411
+ - app/views/shop/tuotteista.html.haml
412
+ - app/views/shop/welcome.html.haml
413
+ - app/views/suppliers/edit.html.haml
414
+ - app/views/suppliers/index.html.haml
415
+ - app/views/suppliers/show.html.haml
416
+ - bin/bundle
417
+ - bin/rails
418
+ - bin/rake
419
+ - bin/rspec
420
+ - bin/spring
421
+ - config.ru
422
+ - config/application.example.yml
423
+ - config/application.rb
424
+ - config/application.yml
425
+ - config/boot.rb
426
+ - config/database.yml
427
+ - config/environment.rb
428
+ - config/environments/development.rb
429
+ - config/environments/production.rb
430
+ - config/environments/test.rb
431
+ - config/i18n-tasks.yml
432
+ - config/initializers/attack.rb
433
+ - config/initializers/backtrace_silencers.rb
434
+ - config/initializers/filter_parameter_logging.rb
435
+ - config/initializers/inflections.rb
436
+ - config/initializers/migrate.rb
437
+ - config/initializers/mime_types.rb
438
+ - config/initializers/secret_token.rb
439
+ - config/initializers/session_store.rb
440
+ - config/initializers/simple_form.rb
441
+ - config/initializers/simple_form_bootstrap.rb
442
+ - config/initializers/wrap_parameters.rb
443
+ - config/locales/config.yml
444
+ - config/locales/en.yml
445
+ - config/locales/fi.yml
446
+ - config/routes.rb
447
+ - db/migrate/20131224171442_clerks.rb
448
+ - db/migrate/20131226110406_suppliers.rb
449
+ - db/migrate/20131226143612_categories.rb
450
+ - db/migrate/20131226143747_items.rb
451
+ - db/migrate/20131226144134_orders.rb
452
+ - db/migrate/20131226144316_baskets.rb
453
+ - db/migrate/20131226151151_purchases.rb
454
+ - db/migrate/20131226151332_products.rb
455
+ - db/schema.rb
456
+ - db/seeds.rb
457
+ - lib/assets/.keep
458
+ - lib/office_clerk.rb
459
+ - lib/office_clerk/shipping_method.rb
460
+ - lib/tasks/.keep
461
+ - lib/tasks/import.rake
462
+ - lib/templates/haml/scaffold/_form.html.haml
463
+ - office_clerk.gemspec
464
+ - public/404.html
465
+ - public/422.html
466
+ - public/500.html
467
+ - public/favicon.ico
468
+ - public/humans.txt
469
+ - public/images/missing/list.png
470
+ - public/images/missing/product.png
471
+ - public/images/missing/thumb.png
472
+ - public/robots.txt
473
+ - spec/controllers/baskets_controller_spec.rb
474
+ - spec/controllers/categories_controller_spec.rb
475
+ - spec/controllers/clerks_controller_spec.rb
476
+ - spec/controllers/orders_controller_spec.rb
477
+ - spec/controllers/products_controller_spec.rb
478
+ - spec/controllers/purchases_controller_spec.rb
479
+ - spec/controllers/sessions_controller_spec.rb
480
+ - spec/controllers/suppliers_controller_spec.rb
481
+ - spec/factories/addresses.rb
482
+ - spec/factories/baskets.rb
483
+ - spec/factories/categories.rb
484
+ - spec/factories/clerks.rb
485
+ - spec/factories/items.rb
486
+ - spec/factories/orders.rb
487
+ - spec/factories/products.rb
488
+ - spec/factories/purchases.rb
489
+ - spec/factories/suppliers.rb
490
+ - spec/features/baskets/buttons_spec.rb
491
+ - spec/features/baskets/edit_spec.rb
492
+ - spec/features/baskets/index_spec.rb
493
+ - spec/features/baskets/search_spec.rb
494
+ - spec/features/baskets/show_spec.rb
495
+ - spec/features/categories_spec.rb
496
+ - spec/features/clerks_spec.rb
497
+ - spec/features/orders_spec.rb
498
+ - spec/features/products/index_spec.rb
499
+ - spec/features/products/new_spec.rb
500
+ - spec/features/purchases_spec.rb
501
+ - spec/features/shops_spec.rb
502
+ - spec/features/suppliers_spec.rb
503
+ - spec/models/baskets/inventory_spec.rb
504
+ - spec/models/baskets/items_spec.rb
505
+ - spec/models/baskets/products_spec.rb
506
+ - spec/models/category_spec.rb
507
+ - spec/models/clerk/email_spec.rb
508
+ - spec/models/clerk/password_spec.rb
509
+ - spec/models/item_spec.rb
510
+ - spec/models/locale_spec.rb
511
+ - spec/models/order_spec.rb
512
+ - spec/models/product_spec.rb
513
+ - spec/models/purchase_spec.rb
514
+ - spec/models/supplier_spec.rb
515
+ - spec/routing/baskets_routing_spec.rb
516
+ - spec/routing/categories_routing_spec.rb
517
+ - spec/routing/orders_routing_spec.rb
518
+ - spec/routing/products_routing_spec.rb
519
+ - spec/routing/purchases_routing_spec.rb
520
+ - spec/routing/suppliers_routing_spec.rb
521
+ - spec/spec_helper.rb
522
+ - spec/support/request_helper.rb
523
+ - test/fixtures/baskets.yml
524
+ - test/fixtures/categories.yml
525
+ - test/fixtures/clerks.yml
526
+ - test/fixtures/items.yml
527
+ - test/fixtures/orders.yml
528
+ - test/fixtures/products.yml
529
+ - test/fixtures/purchases.yml
530
+ - test/fixtures/suppliers.yml
531
+ - todo
532
+ homepage: https://github.com/ruby_clerks/office_clerk
533
+ licenses:
534
+ - MIT
535
+ metadata: {}
536
+ post_install_message:
537
+ rdoc_options: []
538
+ require_paths:
539
+ - lib
540
+ required_ruby_version: !ruby/object:Gem::Requirement
541
+ requirements:
542
+ - - ">="
543
+ - !ruby/object:Gem::Version
544
+ version: 1.9.3
545
+ required_rubygems_version: !ruby/object:Gem::Requirement
546
+ requirements:
547
+ - - ">="
548
+ - !ruby/object:Gem::Version
549
+ version: '0'
550
+ requirements:
551
+ - none
552
+ rubyforge_project:
553
+ rubygems_version: 2.2.2
554
+ signing_key:
555
+ specification_version: 4
556
+ summary: Backend of rubyclerks
557
+ test_files:
558
+ - spec/controllers/baskets_controller_spec.rb
559
+ - spec/controllers/categories_controller_spec.rb
560
+ - spec/controllers/clerks_controller_spec.rb
561
+ - spec/controllers/orders_controller_spec.rb
562
+ - spec/controllers/products_controller_spec.rb
563
+ - spec/controllers/purchases_controller_spec.rb
564
+ - spec/controllers/sessions_controller_spec.rb
565
+ - spec/controllers/suppliers_controller_spec.rb
566
+ - spec/factories/addresses.rb
567
+ - spec/factories/baskets.rb
568
+ - spec/factories/categories.rb
569
+ - spec/factories/clerks.rb
570
+ - spec/factories/items.rb
571
+ - spec/factories/orders.rb
572
+ - spec/factories/products.rb
573
+ - spec/factories/purchases.rb
574
+ - spec/factories/suppliers.rb
575
+ - spec/features/baskets/buttons_spec.rb
576
+ - spec/features/baskets/edit_spec.rb
577
+ - spec/features/baskets/index_spec.rb
578
+ - spec/features/baskets/search_spec.rb
579
+ - spec/features/baskets/show_spec.rb
580
+ - spec/features/categories_spec.rb
581
+ - spec/features/clerks_spec.rb
582
+ - spec/features/orders_spec.rb
583
+ - spec/features/products/index_spec.rb
584
+ - spec/features/products/new_spec.rb
585
+ - spec/features/purchases_spec.rb
586
+ - spec/features/shops_spec.rb
587
+ - spec/features/suppliers_spec.rb
588
+ - spec/models/baskets/inventory_spec.rb
589
+ - spec/models/baskets/items_spec.rb
590
+ - spec/models/baskets/products_spec.rb
591
+ - spec/models/category_spec.rb
592
+ - spec/models/clerk/email_spec.rb
593
+ - spec/models/clerk/password_spec.rb
594
+ - spec/models/item_spec.rb
595
+ - spec/models/locale_spec.rb
596
+ - spec/models/order_spec.rb
597
+ - spec/models/product_spec.rb
598
+ - spec/models/purchase_spec.rb
599
+ - spec/models/supplier_spec.rb
600
+ - spec/routing/baskets_routing_spec.rb
601
+ - spec/routing/categories_routing_spec.rb
602
+ - spec/routing/orders_routing_spec.rb
603
+ - spec/routing/products_routing_spec.rb
604
+ - spec/routing/purchases_routing_spec.rb
605
+ - spec/routing/suppliers_routing_spec.rb
606
+ - spec/spec_helper.rb
607
+ - spec/support/request_helper.rb