MyCommerceapi 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4055) hide show
  1. data/Gemfile +37 -0
  2. data/INSTALL +23 -0
  3. data/README.md +130 -0
  4. data/Rakefile +154 -0
  5. data/api/Gemfile +36 -0
  6. data/api/Gemfile.lock +252 -0
  7. data/api/LICENSE +26 -0
  8. data/api/README.md +16 -0
  9. data/api/Rakefile +53 -0
  10. data/api/app/controllers/admin/users_controller_decorator.rb +19 -0
  11. data/api/app/controllers/api/adjustments_controller.rb +13 -0
  12. data/api/app/controllers/api/base_controller.rb +183 -0
  13. data/api/app/controllers/api/checkout1_controller.rb +89 -0
  14. data/api/app/controllers/api/countries_controller.rb +3 -0
  15. data/api/app/controllers/api/images_controller.rb +15 -0
  16. data/api/app/controllers/api/inventory_units_controller.rb +19 -0
  17. data/api/app/controllers/api/line_items_controller.rb +37 -0
  18. data/api/app/controllers/api/mail_methods_controller.rb +10 -0
  19. data/api/app/controllers/api/option_types_controller.rb +24 -0
  20. data/api/app/controllers/api/orders_controller.rb +51 -0
  21. data/api/app/controllers/api/overview_controller.rb +132 -0
  22. data/api/app/controllers/api/payment_methods_controller.rb +24 -0
  23. data/api/app/controllers/api/payments_controller.rb +3 -0
  24. data/api/app/controllers/api/product_groups_controller.rb +14 -0
  25. data/api/app/controllers/api/products_controller.rb +14 -0
  26. data/api/app/controllers/api/promotions_controller.rb +14 -0
  27. data/api/app/controllers/api/properties_controller.rb +26 -0
  28. data/api/app/controllers/api/prototypes_controller.rb +24 -0
  29. data/api/app/controllers/api/reports_controller.rb +8 -0
  30. data/api/app/controllers/api/shipments_controller.rb +37 -0
  31. data/api/app/controllers/api/shipping_categories_controller.rb +13 -0
  32. data/api/app/controllers/api/shipping_methods_controller.rb +24 -0
  33. data/api/app/controllers/api/states_controller.rb +8 -0
  34. data/api/app/controllers/api/tax_categories_controller.rb +24 -0
  35. data/api/app/controllers/api/tax_rates_controller.rb +24 -0
  36. data/api/app/controllers/api/taxonomies_controller.rb +12 -0
  37. data/api/app/controllers/api/taxons_controller.rb +17 -0
  38. data/api/app/controllers/api/users_controller.rb +3 -0
  39. data/api/app/controllers/api/variants_controller.rb +24 -0
  40. data/api/app/controllers/api/zones_controller.rb +24 -0
  41. data/api/app/models/line_item_decorator.rb +7 -0
  42. data/api/app/models/order_decorator.rb +5 -0
  43. data/api/app/models/shipment_decorator.rb +5 -0
  44. data/api/app/models/user_decorator.rb +22 -0
  45. data/api/app/views/admin/users/_api_fields.html.erb +16 -0
  46. data/api/config/cucumber.yml +10 -0
  47. data/api/config/locales/en.yml +16 -0
  48. data/api/config/routes.rb +143 -0
  49. data/api/db/migrate/20100107141738_add_api_key_to_users.rb +9 -0
  50. data/api/features/countries.feature +16 -0
  51. data/api/features/inventory_units.feature +19 -0
  52. data/api/features/line_items.feature +19 -0
  53. data/api/features/orders.feature +18 -0
  54. data/api/features/orders_description.feature +15 -0
  55. data/api/features/products.feature +29 -0
  56. data/api/features/shipment.feature +18 -0
  57. data/api/features/states.feature +16 -0
  58. data/api/features/step_definitions/api_steps.rb +31 -0
  59. data/api/features/step_definitions/orders_steps.rb +176 -0
  60. data/api/features/support/env.rb +23 -0
  61. data/api/features/support/factories.rb +0 -0
  62. data/api/features/support/hooks.rb +0 -0
  63. data/api/features/support/paths.rb +35 -0
  64. data/api/features/users.feature +19 -0
  65. data/api/lib/spree_api.rb +16 -0
  66. data/api/lib/spree_api_hooks.rb +3 -0
  67. data/api/lib/tasks/install.rake +23 -0
  68. data/api/rfcommerce_api.gemspec +26 -0
  69. data/api/spec/controllers/api/spree_base_controller_spec.rb +53 -0
  70. data/api/spec/models/user_spec.rb +27 -0
  71. data/api/spec/spec_helper.rb +29 -0
  72. data/api/spec/test_app/Gemfile +36 -0
  73. data/api/spec/test_app/Rakefile +7 -0
  74. data/api/spec/test_app/app/controllers/application_controller.rb +3 -0
  75. data/api/spec/test_app/app/helpers/application_helper.rb +2 -0
  76. data/api/spec/test_app/app/views/layouts/application.html.erb +14 -0
  77. data/api/spec/test_app/config.ru +4 -0
  78. data/api/spec/test_app/config/application.rb +42 -0
  79. data/api/spec/test_app/config/boot.rb +6 -0
  80. data/api/spec/test_app/config/database.yml +17 -0
  81. data/api/spec/test_app/config/environment.rb +5 -0
  82. data/api/spec/test_app/config/environments/cucumber.rb +38 -0
  83. data/api/spec/test_app/config/environments/development.rb +26 -0
  84. data/api/spec/test_app/config/environments/production.rb +49 -0
  85. data/api/spec/test_app/config/environments/test.rb +35 -0
  86. data/api/spec/test_app/config/initializers/backtrace_silencers.rb +7 -0
  87. data/api/spec/test_app/config/initializers/inflections.rb +10 -0
  88. data/api/spec/test_app/config/initializers/mime_types.rb +5 -0
  89. data/api/spec/test_app/config/initializers/secret_token.rb +7 -0
  90. data/api/spec/test_app/config/initializers/session_store.rb +8 -0
  91. data/api/spec/test_app/config/locales/en.yml +5 -0
  92. data/api/spec/test_app/config/routes.rb +58 -0
  93. data/api/spec/test_app/db/cucumber.sqlite3 +0 -0
  94. data/api/spec/test_app/db/default/countries.yml +1583 -0
  95. data/api/spec/test_app/db/default/roles.yml +7 -0
  96. data/api/spec/test_app/db/default/states.yml +256 -0
  97. data/api/spec/test_app/db/default/zone_members.yml +169 -0
  98. data/api/spec/test_app/db/default/zones.yml +13 -0
  99. data/api/spec/test_app/db/migrate/20090823005402_spree_zero_nine_zero.rb +442 -0
  100. data/api/spec/test_app/db/migrate/20090904192342_create_indexes_for_inventory_units.rb +12 -0
  101. data/api/spec/test_app/db/migrate/20090923100315_add_count_on_hand_to_variants_and_products.rb +36 -0
  102. data/api/spec/test_app/db/migrate/20091007134354_change_taxons_to_nested_set.rb +40 -0
  103. data/api/spec/test_app/db/migrate/20091008091614_move_to_configurable_gateways.rb +55 -0
  104. data/api/spec/test_app/db/migrate/20091012120519_product_groups_and_scopes.rb +25 -0
  105. data/api/spec/test_app/db/migrate/20091015110842_add_open_id_authentication_tables.rb +20 -0
  106. data/api/spec/test_app/db/migrate/20091015153048_add_openid_field_to_users.rb +19 -0
  107. data/api/spec/test_app/db/migrate/20091016174634_change_preference_value_type.rb +10 -0
  108. data/api/spec/test_app/db/migrate/20091017175558_create_billing_integrations.rb +16 -0
  109. data/api/spec/test_app/db/migrate/20091021133257_charge_refactoring.rb +35 -0
  110. data/api/spec/test_app/db/migrate/20091104151730_add_some_indexes.rb +21 -0
  111. data/api/spec/test_app/db/migrate/20091126190904_checkout_state_machine.rb +13 -0
  112. data/api/spec/test_app/db/migrate/20091209153045_state_for_shipments.rb +9 -0
  113. data/api/spec/test_app/db/migrate/20091209202200_make_state_events_polymorphic.rb +12 -0
  114. data/api/spec/test_app/db/migrate/20091211203813_ship_address_id_for_checkouts.rb +9 -0
  115. data/api/spec/test_app/db/migrate/20091212161118_shipping_method_id_for_checkouts.rb +9 -0
  116. data/api/spec/test_app/db/migrate/20091213222815_creditcard_last_four_digits.rb +19 -0
  117. data/api/spec/test_app/db/migrate/20091214183826_populate_legacy_shipment_state.rb +19 -0
  118. data/api/spec/test_app/db/migrate/20100105090147_add_cost_price.rb +9 -0
  119. data/api/spec/test_app/db/migrate/20100105132138_shipment_id_for_inventory_units.rb +21 -0
  120. data/api/spec/test_app/db/migrate/20100107141738_add_api_key_to_users.rb +9 -0
  121. data/api/spec/test_app/db/migrate/20100111205525_cim_fields_for_creditcards.rb +11 -0
  122. data/api/spec/test_app/db/migrate/20100112151511_create_return_authorizations.rb +16 -0
  123. data/api/spec/test_app/db/migrate/20100113090919_add_return_authorization_to_inventory_units.rb +9 -0
  124. data/api/spec/test_app/db/migrate/20100113203104_create_trackers.rb +14 -0
  125. data/api/spec/test_app/db/migrate/20100121160010_creditcard_id_for_creditcard_txns.rb +9 -0
  126. data/api/spec/test_app/db/migrate/20100121183934_original_creditcard_txn_id_for_creditcard_txns.rb +9 -0
  127. data/api/spec/test_app/db/migrate/20100125145351_add_test_mode_to_billing_integration.rb +11 -0
  128. data/api/spec/test_app/db/migrate/20100126103714_create_products_product_groups.rb +12 -0
  129. data/api/spec/test_app/db/migrate/20100209025806_create_payment_methods.rb +20 -0
  130. data/api/spec/test_app/db/migrate/20100209144531_polymorphic_payments.rb +29 -0
  131. data/api/spec/test_app/db/migrate/20100213103131_change_payments_payment_method_to_belongs_to.rb +11 -0
  132. data/api/spec/test_app/db/migrate/20100214212536_assign_creditcard_txns_to_payment.rb +16 -0
  133. data/api/spec/test_app/db/migrate/20100223170312_sti_for_transactions.rb +14 -0
  134. data/api/spec/test_app/db/migrate/20100223183812_drop_billing_integrations.rb +16 -0
  135. data/api/spec/test_app/db/migrate/20100224153127_deleted_at_for_payment_methods.rb +13 -0
  136. data/api/spec/test_app/db/migrate/20100301163454_add_adjustments_index.rb +10 -0
  137. data/api/spec/test_app/db/migrate/20100306153445_fix_by_popularity.rb +8 -0
  138. data/api/spec/test_app/db/migrate/20100317120946_add_alt_text_to_images.rb +9 -0
  139. data/api/spec/test_app/db/migrate/20100427121301_add_display_to_payment_methods.rb +9 -0
  140. data/api/spec/test_app/db/migrate/20100504142133_add_addresses_checkouts_indexes.rb +16 -0
  141. data/api/spec/test_app/db/migrate/20100506180619_add_icon_to_taxons.rb +18 -0
  142. data/api/spec/test_app/db/migrate/20100506185838_add_description_to_taxons.rb +11 -0
  143. data/api/spec/test_app/db/migrate/20100528155333_index_for_shipments_number.rb +9 -0
  144. data/api/spec/test_app/db/migrate/20100528185820_add_index_on_users_persistence_token.rb +9 -0
  145. data/api/spec/test_app/db/migrate/20100605152042_add_default_to_tax_categories.rb +9 -0
  146. data/api/spec/test_app/db/migrate/20100624110730_add_display_to_shipping_methods.rb +9 -0
  147. data/api/spec/test_app/db/migrate/20100624123336_rename_payment_method_display.rb +9 -0
  148. data/api/spec/test_app/db/migrate/20100624175547_rename_preferences_field.rb +8 -0
  149. data/api/spec/test_app/db/migrate/20100811163637_add_guest_flag.rb +13 -0
  150. data/api/spec/test_app/db/migrate/20100811205836_drop_order_token.rb +11 -0
  151. data/api/spec/test_app/db/migrate/20100812162326_payments_state_and_assigned_to_order_only.rb +11 -0
  152. data/api/spec/test_app/db/migrate/20100813023502_create_address_keys_for_order.rb +15 -0
  153. data/api/spec/test_app/db/migrate/20100813185745_payment_total_for_orders.rb +9 -0
  154. data/api/spec/test_app/db/migrate/20100816212146_shipping_method_id_for_orders.rb +9 -0
  155. data/api/spec/test_app/db/migrate/20100817152723_add_shipment_and_payment_state.rb +15 -0
  156. data/api/spec/test_app/db/migrate/20100819170125_refactor_adjustments.rb +19 -0
  157. data/api/spec/test_app/db/migrate/20100820135707_response_code_and_avs_response_for_payments.rb +11 -0
  158. data/api/spec/test_app/db/migrate/20100901171814_change_guest_flag_to_anonymous.rb +13 -0
  159. data/api/spec/test_app/db/migrate/20100903203949_email_for_orders.rb +9 -0
  160. data/api/spec/test_app/db/migrate/20100923162011_create_mail_methods.rb +12 -0
  161. data/api/spec/test_app/db/migrate/20100929151905_rename_frozen_to_locked.rb +8 -0
  162. data/api/spec/test_app/db/migrate/20101008190536_move_special_instructions_to_orders.rb +11 -0
  163. data/api/spec/test_app/db/migrate/20101026184700_create_log_entries.rb +15 -0
  164. data/api/spec/test_app/db/migrate/20101026184714_migrate_transactions_to_payment_state.rb +94 -0
  165. data/api/spec/test_app/db/migrate/20101026184746_delete_in_progress_orders.rb +18 -0
  166. data/api/spec/test_app/db/migrate/20101026184808_migrate_checkout_to_orders.rb +27 -0
  167. data/api/spec/test_app/db/migrate/20101026184833_migrate_adjustments.rb +9 -0
  168. data/api/spec/test_app/db/migrate/20101026184855_remove_shipped_state.rb +14 -0
  169. data/api/spec/test_app/db/migrate/20101026184916_prevent_nil_payment_total.rb +8 -0
  170. data/api/spec/test_app/db/migrate/20101026184932_prevent_nil_email.rb +9 -0
  171. data/api/spec/test_app/db/migrate/20101026184950_rename_columns_for_devise.rb +39 -0
  172. data/api/spec/test_app/db/migrate/20101026184959_generate_anonymous_users.rb +14 -0
  173. data/api/spec/test_app/db/migrate/20101026185022_update_order_state.rb +8 -0
  174. data/api/spec/test_app/db/migrate/20101026192225_cleanup_legacy_tables.rb +11 -0
  175. data/api/spec/test_app/db/migrate/20101028151745_remove_number_and_cvv_from_credicard.rb +9 -0
  176. data/api/spec/test_app/db/migrate/20101103212716_drop_anonymous_field_for_user.rb +8 -0
  177. data/api/spec/test_app/db/migrate/20101111133551_renamed_rma_cancelled_state.rb +10 -0
  178. data/api/spec/test_app/db/migrate/20101117031806_fix_problematic_index_names.rb +13 -0
  179. data/api/spec/test_app/db/migrate/20101214150824_convert_user_remember_field.rb +11 -0
  180. data/api/spec/test_app/db/migrate/20101217012656_create_tokenized_permissions.rb +18 -0
  181. data/api/spec/test_app/db/migrate/20101219201531_tokens_for_legacy_orders.rb +12 -0
  182. data/api/spec/test_app/db/migrate/20101223215658_add_position_to_variants.rb +9 -0
  183. data/api/spec/test_app/db/migrate/20110110130847_add_next_state_to_state_events.rb +9 -0
  184. data/api/spec/test_app/db/migrate/20110111122537_add_position_to_option_types.rb +9 -0
  185. data/api/spec/test_app/db/migrate/20110314192118_remove_trailing_slashes_in_taxon_permalinks.rb +17 -0
  186. data/api/spec/test_app/db/sample/users.rb +53 -0
  187. data/api/spec/test_app/db/schema.rb +542 -0
  188. data/api/spec/test_app/db/seeds.rb +3 -0
  189. data/api/spec/test_app/db/test.sqlite3 +0 -0
  190. data/api/spec/test_app/log/cucumber.log +1601 -0
  191. data/api/spec/test_app/log/development.log +0 -0
  192. data/api/spec/test_app/log/production.log +0 -0
  193. data/api/spec/test_app/log/server.log +0 -0
  194. data/api/spec/test_app/log/test.log +1601 -0
  195. data/api/spec/test_app/public/404.html +26 -0
  196. data/api/spec/test_app/public/422.html +26 -0
  197. data/api/spec/test_app/public/500.html +26 -0
  198. data/api/spec/test_app/public/favicon.ico +0 -0
  199. data/api/spec/test_app/public/images/add-to-cart.png +0 -0
  200. data/api/spec/test_app/public/images/admin/bg/active-tab.png +0 -0
  201. data/api/spec/test_app/public/images/admin/bg/admin_tab_back.png +0 -0
  202. data/api/spec/test_app/public/images/admin/bg/admin_tab_selected_back.png +0 -0
  203. data/api/spec/test_app/public/images/admin/bg/content-back-blue.png +0 -0
  204. data/api/spec/test_app/public/images/admin/bg/content-back-green.png +0 -0
  205. data/api/spec/test_app/public/images/admin/bg/content-back.png +0 -0
  206. data/api/spec/test_app/public/images/admin/bg/flash-error.png +0 -0
  207. data/api/spec/test_app/public/images/admin/bg/flash-notice.png +0 -0
  208. data/api/spec/test_app/public/images/admin/bg/green-stripes.gif +0 -0
  209. data/api/spec/test_app/public/images/admin/bg/green-stripes.png +0 -0
  210. data/api/spec/test_app/public/images/admin/bg/grid_header_back.png +0 -0
  211. data/api/spec/test_app/public/images/admin/bg/grid_header_back_green.png +0 -0
  212. data/api/spec/test_app/public/images/admin/bg/header-bg.png +0 -0
  213. data/api/spec/test_app/public/images/admin/bg/header.png +0 -0
  214. data/api/spec/test_app/public/images/admin/bg/header_bg.jpg +0 -0
  215. data/api/spec/test_app/public/images/admin/bg/menu-current.png +0 -0
  216. data/api/spec/test_app/public/images/admin/bg/red-stripes.gif +0 -0
  217. data/api/spec/test_app/public/images/admin/bg/red-stripes.png +0 -0
  218. data/api/spec/test_app/public/images/admin/bg/spree_50.png +0 -0
  219. data/api/spec/test_app/public/images/admin/bg/subnav-divider.png +0 -0
  220. data/api/spec/test_app/public/images/admin/bg/subnav.png +0 -0
  221. data/api/spec/test_app/public/images/admin/bg/tab-back.png +0 -0
  222. data/api/spec/test_app/public/images/admin/buttons/blue/left_01.png +0 -0
  223. data/api/spec/test_app/public/images/admin/buttons/blue/right_01.png +0 -0
  224. data/api/spec/test_app/public/images/admin/buttons/drag-handle-green.png +0 -0
  225. data/api/spec/test_app/public/images/admin/buttons/green/left_01.png +0 -0
  226. data/api/spec/test_app/public/images/admin/buttons/green/right_01.png +0 -0
  227. data/api/spec/test_app/public/images/admin/buttons/left_01.png +0 -0
  228. data/api/spec/test_app/public/images/admin/buttons/left_01_small.png +0 -0
  229. data/api/spec/test_app/public/images/admin/buttons/orange/left_03.png +0 -0
  230. data/api/spec/test_app/public/images/admin/buttons/orange/right_03.png +0 -0
  231. data/api/spec/test_app/public/images/admin/buttons/right_01.png +0 -0
  232. data/api/spec/test_app/public/images/admin/buttons/right_01_small.png +0 -0
  233. data/api/spec/test_app/public/images/admin/icons/16x16/1.png +0 -0
  234. data/api/spec/test_app/public/images/admin/icons/16x16/10.png +0 -0
  235. data/api/spec/test_app/public/images/admin/icons/16x16/2.png +0 -0
  236. data/api/spec/test_app/public/images/admin/icons/16x16/3.png +0 -0
  237. data/api/spec/test_app/public/images/admin/icons/16x16/4.png +0 -0
  238. data/api/spec/test_app/public/images/admin/icons/16x16/5.png +0 -0
  239. data/api/spec/test_app/public/images/admin/icons/16x16/6.png +0 -0
  240. data/api/spec/test_app/public/images/admin/icons/16x16/7.png +0 -0
  241. data/api/spec/test_app/public/images/admin/icons/16x16/8.png +0 -0
  242. data/api/spec/test_app/public/images/admin/icons/16x16/9.png +0 -0
  243. data/api/spec/test_app/public/images/admin/icons/32x32/1.png +0 -0
  244. data/api/spec/test_app/public/images/admin/icons/32x32/10.png +0 -0
  245. data/api/spec/test_app/public/images/admin/icons/32x32/11.png +0 -0
  246. data/api/spec/test_app/public/images/admin/icons/32x32/2.png +0 -0
  247. data/api/spec/test_app/public/images/admin/icons/32x32/3.png +0 -0
  248. data/api/spec/test_app/public/images/admin/icons/32x32/4.png +0 -0
  249. data/api/spec/test_app/public/images/admin/icons/32x32/5.png +0 -0
  250. data/api/spec/test_app/public/images/admin/icons/32x32/6.png +0 -0
  251. data/api/spec/test_app/public/images/admin/icons/32x32/7.png +0 -0
  252. data/api/spec/test_app/public/images/admin/icons/32x32/8.png +0 -0
  253. data/api/spec/test_app/public/images/admin/icons/32x32/9.png +0 -0
  254. data/api/spec/test_app/public/images/admin/icons/accept.png +0 -0
  255. data/api/spec/test_app/public/images/admin/icons/add.gif +0 -0
  256. data/api/spec/test_app/public/images/admin/icons/add.png +0 -0
  257. data/api/spec/test_app/public/images/admin/icons/arrow-down.gif +0 -0
  258. data/api/spec/test_app/public/images/admin/icons/cross.png +0 -0
  259. data/api/spec/test_app/public/images/admin/icons/delete.gif +0 -0
  260. data/api/spec/test_app/public/images/admin/icons/delete.png +0 -0
  261. data/api/spec/test_app/public/images/admin/icons/drag.gif +0 -0
  262. data/api/spec/test_app/public/images/admin/icons/edit.gif +0 -0
  263. data/api/spec/test_app/public/images/admin/icons/edit.png +0 -0
  264. data/api/spec/test_app/public/images/admin/icons/email.png +0 -0
  265. data/api/spec/test_app/public/images/admin/icons/error.png +0 -0
  266. data/api/spec/test_app/public/images/admin/icons/exclamation.png +0 -0
  267. data/api/spec/test_app/public/images/admin/icons/feed.png +0 -0
  268. data/api/spec/test_app/public/images/admin/icons/pdf.png +0 -0
  269. data/api/spec/test_app/public/images/admin/icons/reorder.gif +0 -0
  270. data/api/spec/test_app/public/images/admin/icons/search.gif +0 -0
  271. data/api/spec/test_app/public/images/admin/icons/send-email.png +0 -0
  272. data/api/spec/test_app/public/images/admin/icons/stop.png +0 -0
  273. data/api/spec/test_app/public/images/admin/icons/tick.png +0 -0
  274. data/api/spec/test_app/public/images/admin/icons/up.gif +0 -0
  275. data/api/spec/test_app/public/images/admin/icons/xls.png +0 -0
  276. data/api/spec/test_app/public/images/admin/tabs/off-left.png +0 -0
  277. data/api/spec/test_app/public/images/admin/tabs/off-right.png +0 -0
  278. data/api/spec/test_app/public/images/admin/tabs/on-left.png +0 -0
  279. data/api/spec/test_app/public/images/admin/tabs/on-right.png +0 -0
  280. data/api/spec/test_app/public/images/ajax_loader.gif +0 -0
  281. data/api/spec/test_app/public/images/amex_cid.gif +0 -0
  282. data/api/spec/test_app/public/images/bg-button-hover.png +0 -0
  283. data/api/spec/test_app/public/images/bg-button-pressed.png +0 -0
  284. data/api/spec/test_app/public/images/bg-button.gif +0 -0
  285. data/api/spec/test_app/public/images/bg-button.png +0 -0
  286. data/api/spec/test_app/public/images/blue/left_01.png +0 -0
  287. data/api/spec/test_app/public/images/blue/right_01.png +0 -0
  288. data/api/spec/test_app/public/images/body-back.png +0 -0
  289. data/api/spec/test_app/public/images/bottom_shine.png +0 -0
  290. data/api/spec/test_app/public/images/breadcrumb.gif +0 -0
  291. data/api/spec/test_app/public/images/button-dark-hover.png +0 -0
  292. data/api/spec/test_app/public/images/button-dark.png +0 -0
  293. data/api/spec/test_app/public/images/buttons/bg-button-hover.png +0 -0
  294. data/api/spec/test_app/public/images/buttons/bg-button-pressed.png +0 -0
  295. data/api/spec/test_app/public/images/buttons/bg-button.gif +0 -0
  296. data/api/spec/test_app/public/images/buttons/bg-button.png +0 -0
  297. data/api/spec/test_app/public/images/buttons/blue/left_01.png +0 -0
  298. data/api/spec/test_app/public/images/buttons/blue/right_01.png +0 -0
  299. data/api/spec/test_app/public/images/buttons/button-dark-hover.png +0 -0
  300. data/api/spec/test_app/public/images/buttons/button-dark.png +0 -0
  301. data/api/spec/test_app/public/images/buttons/drag-handle-green.png +0 -0
  302. data/api/spec/test_app/public/images/buttons/green/left_01.png +0 -0
  303. data/api/spec/test_app/public/images/buttons/green/right_01.png +0 -0
  304. data/api/spec/test_app/public/images/buttons/left_01.png +0 -0
  305. data/api/spec/test_app/public/images/buttons/left_01_small.png +0 -0
  306. data/api/spec/test_app/public/images/buttons/orange/left_03.png +0 -0
  307. data/api/spec/test_app/public/images/buttons/orange/right_03.png +0 -0
  308. data/api/spec/test_app/public/images/buttons/right_01.png +0 -0
  309. data/api/spec/test_app/public/images/buttons/right_01_small.png +0 -0
  310. data/api/spec/test_app/public/images/buttons/sxsw-ribbon-v1.png +0 -0
  311. data/api/spec/test_app/public/images/buttons/top-shine.png +0 -0
  312. data/api/spec/test_app/public/images/calendar_date_select/calendar.gif +0 -0
  313. data/api/spec/test_app/public/images/cart-empty.png +0 -0
  314. data/api/spec/test_app/public/images/cart-empty_x32.png +0 -0
  315. data/api/spec/test_app/public/images/cart-full.png +0 -0
  316. data/api/spec/test_app/public/images/cart-full_x32.png +0 -0
  317. data/api/spec/test_app/public/images/checkout.png +0 -0
  318. data/api/spec/test_app/public/images/creditcard.gif +0 -0
  319. data/api/spec/test_app/public/images/datepicker/backstripes.gif +0 -0
  320. data/api/spec/test_app/public/images/datepicker/bg_header.jpg +0 -0
  321. data/api/spec/test_app/public/images/datepicker/bullet1.gif +0 -0
  322. data/api/spec/test_app/public/images/datepicker/bullet2.gif +0 -0
  323. data/api/spec/test_app/public/images/datepicker/cal.gif +0 -0
  324. data/api/spec/test_app/public/images/datepicker/gradient-e5e5e5-ffffff.gif +0 -0
  325. data/api/spec/test_app/public/images/discover_cid.gif +0 -0
  326. data/api/spec/test_app/public/images/drag-handle-green.png +0 -0
  327. data/api/spec/test_app/public/images/favicon.ico +0 -0
  328. data/api/spec/test_app/public/images/green/left_01.png +0 -0
  329. data/api/spec/test_app/public/images/green/right_01.png +0 -0
  330. data/api/spec/test_app/public/images/grid.png +0 -0
  331. data/api/spec/test_app/public/images/left_01.png +0 -0
  332. data/api/spec/test_app/public/images/left_01_small.png +0 -0
  333. data/api/spec/test_app/public/images/master_cid.jpg +0 -0
  334. data/api/spec/test_app/public/images/menu-current.png +0 -0
  335. data/api/spec/test_app/public/images/menu-hover.png +0 -0
  336. data/api/spec/test_app/public/images/noimage/mini.jpg +0 -0
  337. data/api/spec/test_app/public/images/noimage/product.jpg +0 -0
  338. data/api/spec/test_app/public/images/noimage/small.jpg +0 -0
  339. data/api/spec/test_app/public/images/openid-inputicon.gif +0 -0
  340. data/api/spec/test_app/public/images/orange/left_03.png +0 -0
  341. data/api/spec/test_app/public/images/orange/right_03.png +0 -0
  342. data/api/spec/test_app/public/images/progress.gif +0 -0
  343. data/api/spec/test_app/public/images/reorder.jpg +0 -0
  344. data/api/spec/test_app/public/images/right_01.png +0 -0
  345. data/api/spec/test_app/public/images/right_01_small.png +0 -0
  346. data/api/spec/test_app/public/images/separator.png +0 -0
  347. data/api/spec/test_app/public/images/shadow-top.png +0 -0
  348. data/api/spec/test_app/public/images/shadow_top.png +0 -0
  349. data/api/spec/test_app/public/images/spinner.gif +0 -0
  350. data/api/spec/test_app/public/images/spree.jpg +0 -0
  351. data/api/spec/test_app/public/images/spree/progress.gif +0 -0
  352. data/api/spec/test_app/public/images/spree/spinner.gif +0 -0
  353. data/api/spec/test_app/public/images/spree/spree.jpg +0 -0
  354. data/api/spec/test_app/public/images/step-progress/completed-completed.gif +0 -0
  355. data/api/spec/test_app/public/images/step-progress/completed-current.gif +0 -0
  356. data/api/spec/test_app/public/images/step-progress/completed-first.gif +0 -0
  357. data/api/spec/test_app/public/images/step-progress/current-first.gif +0 -0
  358. data/api/spec/test_app/public/images/step-progress/current-incomplete.gif +0 -0
  359. data/api/spec/test_app/public/images/step-progress/current-right.gif +0 -0
  360. data/api/spec/test_app/public/images/step-progress/incomplete-incomplete.gif +0 -0
  361. data/api/spec/test_app/public/images/step-progress/incomplete-right.gif +0 -0
  362. data/api/spec/test_app/public/images/steps/1.png +0 -0
  363. data/api/spec/test_app/public/images/steps/1_small.png +0 -0
  364. data/api/spec/test_app/public/images/steps/2.png +0 -0
  365. data/api/spec/test_app/public/images/steps/2_small.png +0 -0
  366. data/api/spec/test_app/public/images/steps/3.png +0 -0
  367. data/api/spec/test_app/public/images/steps/3_small.png +0 -0
  368. data/api/spec/test_app/public/images/steps/4.png +0 -0
  369. data/api/spec/test_app/public/images/steps/4_small.png +0 -0
  370. data/api/spec/test_app/public/images/steps/5.png +0 -0
  371. data/api/spec/test_app/public/images/steps/5_small.png +0 -0
  372. data/api/spec/test_app/public/images/steps/6.png +0 -0
  373. data/api/spec/test_app/public/images/steps/6_small.png +0 -0
  374. data/api/spec/test_app/public/images/sxsw-ribbon-v1.png +0 -0
  375. data/api/spec/test_app/public/images/tab_bottom.gif +0 -0
  376. data/api/spec/test_app/public/images/tile-header.png +0 -0
  377. data/api/spec/test_app/public/images/tile-slider.png +0 -0
  378. data/api/spec/test_app/public/images/top-shine.png +0 -0
  379. data/api/spec/test_app/public/images/tree-nav-icons/bullet.gif +0 -0
  380. data/api/spec/test_app/public/images/tree-nav-icons/minus.gif +0 -0
  381. data/api/spec/test_app/public/images/tree-nav-icons/plus.gif +0 -0
  382. data/api/spec/test_app/public/images/tree-nav-icons/treeview-loading.gif +0 -0
  383. data/api/spec/test_app/public/images/tree-nav-icons/treeview-sprite.gif +0 -0
  384. data/api/spec/test_app/public/images/update.png +0 -0
  385. data/api/spec/test_app/public/images/visa_cid.gif +0 -0
  386. data/api/spec/test_app/public/images/wrapper-back-2.png +0 -0
  387. data/api/spec/test_app/public/images/wrapper-back.png +0 -0
  388. data/api/spec/test_app/public/images/yui-menubaritem_submenuindicator.png +0 -0
  389. data/api/spec/test_app/public/images/yui-menubaritem_submenuindicator_disabled.png +0 -0
  390. data/api/spec/test_app/public/images/yui-menuitem_checkbox.png +0 -0
  391. data/api/spec/test_app/public/images/yui-menuitem_checkbox_disabled.png +0 -0
  392. data/api/spec/test_app/public/images/yui-menuitem_submenuindicator.png +0 -0
  393. data/api/spec/test_app/public/images/yui-menuitem_submenuindicator_disabled.png +0 -0
  394. data/api/spec/test_app/public/images/yui-sprite.png +0 -0
  395. data/api/spec/test_app/public/javascripts/additional-methods.js +236 -0
  396. data/api/spec/test_app/public/javascripts/admin.js +232 -0
  397. data/api/spec/test_app/public/javascripts/admin/address_states.js +25 -0
  398. data/api/spec/test_app/public/javascripts/admin/checkouts/edit.js +130 -0
  399. data/api/spec/test_app/public/javascripts/admin/orders/edit.js +23 -0
  400. data/api/spec/test_app/public/javascripts/admin/orders/edit_form.js +16 -0
  401. data/api/spec/test_app/public/javascripts/admin/payments/new.js +9 -0
  402. data/api/spec/test_app/public/javascripts/admin/unobtrusive_handlers.js +43 -0
  403. data/api/spec/test_app/public/javascripts/application.js +12 -0
  404. data/api/spec/test_app/public/javascripts/calculator.js +15 -0
  405. data/api/spec/test_app/public/javascripts/checkout.js +75 -0
  406. data/api/spec/test_app/public/javascripts/datepicker.js +1445 -0
  407. data/api/spec/test_app/public/javascripts/gateway.js +13 -0
  408. data/api/spec/test_app/public/javascripts/jquery-1.4.2.min.js +154 -0
  409. data/api/spec/test_app/public/javascripts/jquery-ui.js +188 -0
  410. data/api/spec/test_app/public/javascripts/jquery.alerts/images/help.gif +0 -0
  411. data/api/spec/test_app/public/javascripts/jquery.alerts/images/important.gif +0 -0
  412. data/api/spec/test_app/public/javascripts/jquery.alerts/images/info.gif +0 -0
  413. data/api/spec/test_app/public/javascripts/jquery.alerts/images/title.gif +0 -0
  414. data/api/spec/test_app/public/javascripts/jquery.alerts/jquery.alerts.css +57 -0
  415. data/api/spec/test_app/public/javascripts/jquery.alerts/jquery.alerts.js +235 -0
  416. data/api/spec/test_app/public/javascripts/jquery.alerts/jquery.alerts.spree.css +30 -0
  417. data/api/spec/test_app/public/javascripts/jquery.autocomplete.min.js +13 -0
  418. data/api/spec/test_app/public/javascripts/jquery.cookie.js +96 -0
  419. data/api/spec/test_app/public/javascripts/jquery.delayedobserver.js +35 -0
  420. data/api/spec/test_app/public/javascripts/jquery.suggest.js +276 -0
  421. data/api/spec/test_app/public/javascripts/jquery.template.js +255 -0
  422. data/api/spec/test_app/public/javascripts/jquery.tokeninput.js +618 -0
  423. data/api/spec/test_app/public/javascripts/jquery.validate.min.js +16 -0
  424. data/api/spec/test_app/public/javascripts/jsTree/jquery.jstree.js +3510 -0
  425. data/api/spec/test_app/public/javascripts/jsTree/themes/apple/bg.jpg +0 -0
  426. data/api/spec/test_app/public/javascripts/jsTree/themes/apple/d.png +0 -0
  427. data/api/spec/test_app/public/javascripts/jsTree/themes/apple/dot_for_ie.gif +0 -0
  428. data/api/spec/test_app/public/javascripts/jsTree/themes/apple/style.css +60 -0
  429. data/api/spec/test_app/public/javascripts/jsTree/themes/apple/throbber.gif +0 -0
  430. data/api/spec/test_app/public/javascripts/lang/af.js +40 -0
  431. data/api/spec/test_app/public/javascripts/lang/ar.js +50 -0
  432. data/api/spec/test_app/public/javascripts/lang/de.js +40 -0
  433. data/api/spec/test_app/public/javascripts/lang/du.js +40 -0
  434. data/api/spec/test_app/public/javascripts/lang/en.js +42 -0
  435. data/api/spec/test_app/public/javascripts/lang/es.js +41 -0
  436. data/api/spec/test_app/public/javascripts/lang/fi.js +40 -0
  437. data/api/spec/test_app/public/javascripts/lang/fr.js +44 -0
  438. data/api/spec/test_app/public/javascripts/lang/gr.js +40 -0
  439. data/api/spec/test_app/public/javascripts/lang/he.js +49 -0
  440. data/api/spec/test_app/public/javascripts/lang/it.js +13 -0
  441. data/api/spec/test_app/public/javascripts/lang/nl.js +40 -0
  442. data/api/spec/test_app/public/javascripts/lang/no.js +40 -0
  443. data/api/spec/test_app/public/javascripts/lang/pt.js +50 -0
  444. data/api/spec/test_app/public/javascripts/lang/ro.js +40 -0
  445. data/api/spec/test_app/public/javascripts/lang/ru.js +40 -0
  446. data/api/spec/test_app/public/javascripts/lang/sp.js +40 -0
  447. data/api/spec/test_app/public/javascripts/lang/sv.js +41 -0
  448. data/api/spec/test_app/public/javascripts/lang/ua.js +40 -0
  449. data/api/spec/test_app/public/javascripts/localization/messages_cn.js +24 -0
  450. data/api/spec/test_app/public/javascripts/localization/messages_cs.js +23 -0
  451. data/api/spec/test_app/public/javascripts/localization/messages_da.js +21 -0
  452. data/api/spec/test_app/public/javascripts/localization/messages_de.js +21 -0
  453. data/api/spec/test_app/public/javascripts/localization/messages_es.js +24 -0
  454. data/api/spec/test_app/public/javascripts/localization/messages_fr.js +23 -0
  455. data/api/spec/test_app/public/javascripts/localization/messages_hu.js +21 -0
  456. data/api/spec/test_app/public/javascripts/localization/messages_it.js +26 -0
  457. data/api/spec/test_app/public/javascripts/localization/messages_kk.js +23 -0
  458. data/api/spec/test_app/public/javascripts/localization/messages_nl.js +23 -0
  459. data/api/spec/test_app/public/javascripts/localization/messages_no.js +23 -0
  460. data/api/spec/test_app/public/javascripts/localization/messages_pl.js +23 -0
  461. data/api/spec/test_app/public/javascripts/localization/messages_ptbr.js +30 -0
  462. data/api/spec/test_app/public/javascripts/localization/messages_ro.js +24 -0
  463. data/api/spec/test_app/public/javascripts/localization/messages_ru.js +23 -0
  464. data/api/spec/test_app/public/javascripts/localization/messages_se.js +23 -0
  465. data/api/spec/test_app/public/javascripts/localization/messages_sk.js +21 -0
  466. data/api/spec/test_app/public/javascripts/localization/messages_tr.js +24 -0
  467. data/api/spec/test_app/public/javascripts/localization/messages_tw.js +24 -0
  468. data/api/spec/test_app/public/javascripts/localization/messages_ua.js +24 -0
  469. data/api/spec/test_app/public/javascripts/nested-attribute.js +26 -0
  470. data/api/spec/test_app/public/javascripts/open_id.js +15 -0
  471. data/api/spec/test_app/public/javascripts/product.js +49 -0
  472. data/api/spec/test_app/public/javascripts/rails.js +127 -0
  473. data/api/spec/test_app/public/javascripts/taxonomy.js +201 -0
  474. data/api/spec/test_app/public/javascripts/zone.js +39 -0
  475. data/api/spec/test_app/public/robots.txt +5 -0
  476. data/api/spec/test_app/public/stylesheets/admin/admin-forms.css +154 -0
  477. data/api/spec/test_app/public/stylesheets/admin/admin-reset.css +69 -0
  478. data/api/spec/test_app/public/stylesheets/admin/admin-tables.css +39 -0
  479. data/api/spec/test_app/public/stylesheets/admin/admin-typography.css +117 -0
  480. data/api/spec/test_app/public/stylesheets/admin/admin.css +614 -0
  481. data/api/spec/test_app/public/stylesheets/admin/autocomplete.css +73 -0
  482. data/api/spec/test_app/public/stylesheets/admin/dashboard.css +143 -0
  483. data/api/spec/test_app/public/stylesheets/admin/edit_checkouts.css +57 -0
  484. data/api/spec/test_app/public/stylesheets/admin/grids.css +314 -0
  485. data/api/spec/test_app/public/stylesheets/admin/reset-fonts-grids-2-6-0.css +7 -0
  486. data/api/spec/test_app/public/stylesheets/admin/token-input.css +109 -0
  487. data/api/spec/test_app/public/stylesheets/admin/yui-includes.css +14 -0
  488. data/api/spec/test_app/public/stylesheets/datepicker.css +263 -0
  489. data/api/spec/test_app/public/stylesheets/jquery.autocomplete.css +48 -0
  490. data/api/spec/test_app/public/stylesheets/screen.css +916 -0
  491. data/api/spec/test_app/script/rails +6 -0
  492. data/auth/Gemfile +35 -0
  493. data/auth/Gemfile.lock +244 -0
  494. data/auth/LICENSE +26 -0
  495. data/auth/README.md +36 -0
  496. data/auth/Rakefile +54 -0
  497. data/auth/app/controllers/admin_controller_decorator.rb +7 -0
  498. data/auth/app/controllers/admin_orders_controller_decorator.rb +15 -0
  499. data/auth/app/controllers/admin_resource_controller_decorator.rb +3 -0
  500. data/auth/app/controllers/checkout_controller_decorator.rb +42 -0
  501. data/auth/app/controllers/orders_controller_decorator.rb +17 -0
  502. data/auth/app/controllers/resource_controller_decorator.rb +25 -0
  503. data/auth/app/controllers/spree/base_controller_decorator.rb +49 -0
  504. data/auth/app/controllers/user_passwords_controller.rb +20 -0
  505. data/auth/app/controllers/user_registrations_controller.rb +64 -0
  506. data/auth/app/controllers/user_sessions_controller.rb +81 -0
  507. data/auth/app/controllers/users_controller.rb +54 -0
  508. data/auth/app/helpers/users_helper.rb +13 -0
  509. data/auth/app/models/ability.rb +64 -0
  510. data/auth/app/models/order_decorator.rb +12 -0
  511. data/auth/app/models/spree_auth_configuration.rb +4 -0
  512. data/auth/app/models/spree_current_order_decorator.rb +14 -0
  513. data/auth/app/models/tokenized_permission.rb +3 -0
  514. data/auth/app/models/user.rb +85 -0
  515. data/auth/app/models/user_mailer.rb +13 -0
  516. data/auth/app/views/checkout/registration.html.erb +20 -0
  517. data/auth/app/views/layouts/admin/_login_nav.html.erb +8 -0
  518. data/auth/app/views/shared/_flashes.html.erb +9 -0
  519. data/auth/app/views/shared/_login.html.erb +20 -0
  520. data/auth/app/views/shared/_login_bar.html.erb +6 -0
  521. data/auth/app/views/shared/_user_form.html.erb +17 -0
  522. data/auth/app/views/shared/unauthorized.html.erb +0 -0
  523. data/auth/app/views/user_mailer/reset_password_instructions.text.erb +10 -0
  524. data/auth/app/views/user_passwords/edit.html.erb +15 -0
  525. data/auth/app/views/user_passwords/new.html.erb +13 -0
  526. data/auth/app/views/user_registrations/new.html.erb +23 -0
  527. data/auth/app/views/user_sessions/authorization_failure.html.erb +4 -0
  528. data/auth/app/views/user_sessions/new.html.erb +13 -0
  529. data/auth/app/views/users/edit.html.erb +11 -0
  530. data/auth/app/views/users/show.html.erb +50 -0
  531. data/auth/config.ru +4 -0
  532. data/auth/config/cucumber.yml +10 -0
  533. data/auth/config/initializers/devise.rb +136 -0
  534. data/auth/config/locales/en.yml +46 -0
  535. data/auth/config/routes.rb +28 -0
  536. data/auth/db/migrate/20101026184950_rename_columns_for_devise.rb +39 -0
  537. data/auth/db/migrate/20101214150824_convert_user_remember_field.rb +11 -0
  538. data/auth/db/migrate/20101217012656_create_tokenized_permissions.rb +18 -0
  539. data/auth/db/migrate/20101219201531_tokens_for_legacy_orders.rb +12 -0
  540. data/auth/db/sample/users.rb +53 -0
  541. data/auth/features/account.feature +37 -0
  542. data/auth/features/admin_permissions.feature +22 -0
  543. data/auth/features/checkout.feature +171 -0
  544. data/auth/features/order.feature +14 -0
  545. data/auth/features/password_reset.feature +19 -0
  546. data/auth/features/sign_in.feature +34 -0
  547. data/auth/features/sign_out.feature +11 -0
  548. data/auth/features/sign_up.feature +20 -0
  549. data/auth/features/support/env.rb +4 -0
  550. data/auth/features/support/paths.rb +49 -0
  551. data/auth/features/user.feature +33 -0
  552. data/auth/lib/spree/auth/config.rb +22 -0
  553. data/auth/lib/spree/token_resource.rb +23 -0
  554. data/auth/lib/spree_auth.rb +29 -0
  555. data/auth/lib/spree_auth_hooks.rb +6 -0
  556. data/auth/lib/tasks/auth.rake +8 -0
  557. data/auth/lib/tasks/install.rake +23 -0
  558. data/auth/rfcommerce_auth.gemspec +28 -0
  559. data/auth/spec/controllers/admin_base_controller_spec.rb +19 -0
  560. data/auth/spec/controllers/checkout_controller_spec.rb +180 -0
  561. data/auth/spec/controllers/orders_controller_spec.rb +145 -0
  562. data/auth/spec/controllers/user_sessions_controller_spec.rb +32 -0
  563. data/auth/spec/controllers/users_controller_spec.rb +55 -0
  564. data/auth/spec/lib/token_resource_spec.rb +34 -0
  565. data/auth/spec/models/ability_spec.rb +186 -0
  566. data/auth/spec/models/order_spec.rb +45 -0
  567. data/auth/spec/models/user_spec.rb +47 -0
  568. data/auth/spec/spec_helper.rb +29 -0
  569. data/auth/spec/test_app/Gemfile +35 -0
  570. data/auth/spec/test_app/Rakefile +7 -0
  571. data/auth/spec/test_app/app/controllers/application_controller.rb +3 -0
  572. data/auth/spec/test_app/app/helpers/application_helper.rb +2 -0
  573. data/auth/spec/test_app/app/views/layouts/application.html.erb +14 -0
  574. data/auth/spec/test_app/config.ru +4 -0
  575. data/auth/spec/test_app/config/application.rb +42 -0
  576. data/auth/spec/test_app/config/boot.rb +6 -0
  577. data/auth/spec/test_app/config/database.yml +17 -0
  578. data/auth/spec/test_app/config/environment.rb +5 -0
  579. data/auth/spec/test_app/config/environments/cucumber.rb +38 -0
  580. data/auth/spec/test_app/config/environments/development.rb +26 -0
  581. data/auth/spec/test_app/config/environments/production.rb +49 -0
  582. data/auth/spec/test_app/config/environments/test.rb +35 -0
  583. data/auth/spec/test_app/config/initializers/backtrace_silencers.rb +7 -0
  584. data/auth/spec/test_app/config/initializers/inflections.rb +10 -0
  585. data/auth/spec/test_app/config/initializers/mime_types.rb +5 -0
  586. data/auth/spec/test_app/config/initializers/secret_token.rb +7 -0
  587. data/auth/spec/test_app/config/initializers/session_store.rb +8 -0
  588. data/auth/spec/test_app/config/locales/en.yml +5 -0
  589. data/auth/spec/test_app/config/routes.rb +58 -0
  590. data/auth/spec/test_app/db/cucumber.sqlite3 +0 -0
  591. data/auth/spec/test_app/db/default/countries.yml +1583 -0
  592. data/auth/spec/test_app/db/default/roles.yml +7 -0
  593. data/auth/spec/test_app/db/default/states.yml +256 -0
  594. data/auth/spec/test_app/db/default/zone_members.yml +169 -0
  595. data/auth/spec/test_app/db/default/zones.yml +13 -0
  596. data/auth/spec/test_app/db/migrate/20090823005402_spree_zero_nine_zero.rb +442 -0
  597. data/auth/spec/test_app/db/migrate/20090904192342_create_indexes_for_inventory_units.rb +12 -0
  598. data/auth/spec/test_app/db/migrate/20090923100315_add_count_on_hand_to_variants_and_products.rb +36 -0
  599. data/auth/spec/test_app/db/migrate/20091007134354_change_taxons_to_nested_set.rb +40 -0
  600. data/auth/spec/test_app/db/migrate/20091008091614_move_to_configurable_gateways.rb +55 -0
  601. data/auth/spec/test_app/db/migrate/20091012120519_product_groups_and_scopes.rb +25 -0
  602. data/auth/spec/test_app/db/migrate/20091015110842_add_open_id_authentication_tables.rb +20 -0
  603. data/auth/spec/test_app/db/migrate/20091015153048_add_openid_field_to_users.rb +19 -0
  604. data/auth/spec/test_app/db/migrate/20091016174634_change_preference_value_type.rb +10 -0
  605. data/auth/spec/test_app/db/migrate/20091017175558_create_billing_integrations.rb +16 -0
  606. data/auth/spec/test_app/db/migrate/20091021133257_charge_refactoring.rb +35 -0
  607. data/auth/spec/test_app/db/migrate/20091104151730_add_some_indexes.rb +21 -0
  608. data/auth/spec/test_app/db/migrate/20091126190904_checkout_state_machine.rb +13 -0
  609. data/auth/spec/test_app/db/migrate/20091209153045_state_for_shipments.rb +9 -0
  610. data/auth/spec/test_app/db/migrate/20091209202200_make_state_events_polymorphic.rb +12 -0
  611. data/auth/spec/test_app/db/migrate/20091211203813_ship_address_id_for_checkouts.rb +9 -0
  612. data/auth/spec/test_app/db/migrate/20091212161118_shipping_method_id_for_checkouts.rb +9 -0
  613. data/auth/spec/test_app/db/migrate/20091213222815_creditcard_last_four_digits.rb +19 -0
  614. data/auth/spec/test_app/db/migrate/20091214183826_populate_legacy_shipment_state.rb +19 -0
  615. data/auth/spec/test_app/db/migrate/20100105090147_add_cost_price.rb +9 -0
  616. data/auth/spec/test_app/db/migrate/20100105132138_shipment_id_for_inventory_units.rb +21 -0
  617. data/auth/spec/test_app/db/migrate/20100111205525_cim_fields_for_creditcards.rb +11 -0
  618. data/auth/spec/test_app/db/migrate/20100112151511_create_return_authorizations.rb +16 -0
  619. data/auth/spec/test_app/db/migrate/20100113090919_add_return_authorization_to_inventory_units.rb +9 -0
  620. data/auth/spec/test_app/db/migrate/20100113203104_create_trackers.rb +14 -0
  621. data/auth/spec/test_app/db/migrate/20100121160010_creditcard_id_for_creditcard_txns.rb +9 -0
  622. data/auth/spec/test_app/db/migrate/20100121183934_original_creditcard_txn_id_for_creditcard_txns.rb +9 -0
  623. data/auth/spec/test_app/db/migrate/20100125145351_add_test_mode_to_billing_integration.rb +11 -0
  624. data/auth/spec/test_app/db/migrate/20100126103714_create_products_product_groups.rb +12 -0
  625. data/auth/spec/test_app/db/migrate/20100209025806_create_payment_methods.rb +20 -0
  626. data/auth/spec/test_app/db/migrate/20100209144531_polymorphic_payments.rb +29 -0
  627. data/auth/spec/test_app/db/migrate/20100213103131_change_payments_payment_method_to_belongs_to.rb +11 -0
  628. data/auth/spec/test_app/db/migrate/20100214212536_assign_creditcard_txns_to_payment.rb +16 -0
  629. data/auth/spec/test_app/db/migrate/20100223170312_sti_for_transactions.rb +14 -0
  630. data/auth/spec/test_app/db/migrate/20100223183812_drop_billing_integrations.rb +16 -0
  631. data/auth/spec/test_app/db/migrate/20100224153127_deleted_at_for_payment_methods.rb +13 -0
  632. data/auth/spec/test_app/db/migrate/20100301163454_add_adjustments_index.rb +10 -0
  633. data/auth/spec/test_app/db/migrate/20100306153445_fix_by_popularity.rb +8 -0
  634. data/auth/spec/test_app/db/migrate/20100317120946_add_alt_text_to_images.rb +9 -0
  635. data/auth/spec/test_app/db/migrate/20100427121301_add_display_to_payment_methods.rb +9 -0
  636. data/auth/spec/test_app/db/migrate/20100504142133_add_addresses_checkouts_indexes.rb +16 -0
  637. data/auth/spec/test_app/db/migrate/20100506180619_add_icon_to_taxons.rb +18 -0
  638. data/auth/spec/test_app/db/migrate/20100506185838_add_description_to_taxons.rb +11 -0
  639. data/auth/spec/test_app/db/migrate/20100528155333_index_for_shipments_number.rb +9 -0
  640. data/auth/spec/test_app/db/migrate/20100528185820_add_index_on_users_persistence_token.rb +9 -0
  641. data/auth/spec/test_app/db/migrate/20100605152042_add_default_to_tax_categories.rb +9 -0
  642. data/auth/spec/test_app/db/migrate/20100624110730_add_display_to_shipping_methods.rb +9 -0
  643. data/auth/spec/test_app/db/migrate/20100624123336_rename_payment_method_display.rb +9 -0
  644. data/auth/spec/test_app/db/migrate/20100624175547_rename_preferences_field.rb +8 -0
  645. data/auth/spec/test_app/db/migrate/20100811163637_add_guest_flag.rb +13 -0
  646. data/auth/spec/test_app/db/migrate/20100811205836_drop_order_token.rb +11 -0
  647. data/auth/spec/test_app/db/migrate/20100812162326_payments_state_and_assigned_to_order_only.rb +11 -0
  648. data/auth/spec/test_app/db/migrate/20100813023502_create_address_keys_for_order.rb +15 -0
  649. data/auth/spec/test_app/db/migrate/20100813185745_payment_total_for_orders.rb +9 -0
  650. data/auth/spec/test_app/db/migrate/20100816212146_shipping_method_id_for_orders.rb +9 -0
  651. data/auth/spec/test_app/db/migrate/20100817152723_add_shipment_and_payment_state.rb +15 -0
  652. data/auth/spec/test_app/db/migrate/20100819170125_refactor_adjustments.rb +19 -0
  653. data/auth/spec/test_app/db/migrate/20100820135707_response_code_and_avs_response_for_payments.rb +11 -0
  654. data/auth/spec/test_app/db/migrate/20100901171814_change_guest_flag_to_anonymous.rb +13 -0
  655. data/auth/spec/test_app/db/migrate/20100903203949_email_for_orders.rb +9 -0
  656. data/auth/spec/test_app/db/migrate/20100923162011_create_mail_methods.rb +12 -0
  657. data/auth/spec/test_app/db/migrate/20100929151905_rename_frozen_to_locked.rb +8 -0
  658. data/auth/spec/test_app/db/migrate/20101008190536_move_special_instructions_to_orders.rb +11 -0
  659. data/auth/spec/test_app/db/migrate/20101026184700_create_log_entries.rb +15 -0
  660. data/auth/spec/test_app/db/migrate/20101026184714_migrate_transactions_to_payment_state.rb +94 -0
  661. data/auth/spec/test_app/db/migrate/20101026184746_delete_in_progress_orders.rb +18 -0
  662. data/auth/spec/test_app/db/migrate/20101026184808_migrate_checkout_to_orders.rb +27 -0
  663. data/auth/spec/test_app/db/migrate/20101026184833_migrate_adjustments.rb +9 -0
  664. data/auth/spec/test_app/db/migrate/20101026184855_remove_shipped_state.rb +14 -0
  665. data/auth/spec/test_app/db/migrate/20101026184916_prevent_nil_payment_total.rb +8 -0
  666. data/auth/spec/test_app/db/migrate/20101026184932_prevent_nil_email.rb +9 -0
  667. data/auth/spec/test_app/db/migrate/20101026184950_rename_columns_for_devise.rb +39 -0
  668. data/auth/spec/test_app/db/migrate/20101026184959_generate_anonymous_users.rb +14 -0
  669. data/auth/spec/test_app/db/migrate/20101026185022_update_order_state.rb +8 -0
  670. data/auth/spec/test_app/db/migrate/20101026192225_cleanup_legacy_tables.rb +11 -0
  671. data/auth/spec/test_app/db/migrate/20101028151745_remove_number_and_cvv_from_credicard.rb +9 -0
  672. data/auth/spec/test_app/db/migrate/20101103212716_drop_anonymous_field_for_user.rb +8 -0
  673. data/auth/spec/test_app/db/migrate/20101111133551_renamed_rma_cancelled_state.rb +10 -0
  674. data/auth/spec/test_app/db/migrate/20101117031806_fix_problematic_index_names.rb +13 -0
  675. data/auth/spec/test_app/db/migrate/20101214150824_convert_user_remember_field.rb +11 -0
  676. data/auth/spec/test_app/db/migrate/20101217012656_create_tokenized_permissions.rb +18 -0
  677. data/auth/spec/test_app/db/migrate/20101219201531_tokens_for_legacy_orders.rb +12 -0
  678. data/auth/spec/test_app/db/migrate/20101223215658_add_position_to_variants.rb +9 -0
  679. data/auth/spec/test_app/db/migrate/20110110130847_add_next_state_to_state_events.rb +9 -0
  680. data/auth/spec/test_app/db/migrate/20110111122537_add_position_to_option_types.rb +9 -0
  681. data/auth/spec/test_app/db/migrate/20110314192118_remove_trailing_slashes_in_taxon_permalinks.rb +17 -0
  682. data/auth/spec/test_app/db/sample/users.rb +61 -0
  683. data/auth/spec/test_app/db/schema.rb +542 -0
  684. data/auth/spec/test_app/db/seeds.rb +3 -0
  685. data/auth/spec/test_app/db/test.sqlite3 +0 -0
  686. data/auth/spec/test_app/log/cucumber.log +1599 -0
  687. data/auth/spec/test_app/log/development.log +0 -0
  688. data/auth/spec/test_app/log/production.log +0 -0
  689. data/auth/spec/test_app/log/server.log +0 -0
  690. data/auth/spec/test_app/log/test.log +1599 -0
  691. data/auth/spec/test_app/public/404.html +26 -0
  692. data/auth/spec/test_app/public/422.html +26 -0
  693. data/auth/spec/test_app/public/500.html +26 -0
  694. data/auth/spec/test_app/public/favicon.ico +0 -0
  695. data/auth/spec/test_app/public/images/add-to-cart.png +0 -0
  696. data/auth/spec/test_app/public/images/admin/bg/active-tab.png +0 -0
  697. data/auth/spec/test_app/public/images/admin/bg/admin_tab_back.png +0 -0
  698. data/auth/spec/test_app/public/images/admin/bg/admin_tab_selected_back.png +0 -0
  699. data/auth/spec/test_app/public/images/admin/bg/content-back-blue.png +0 -0
  700. data/auth/spec/test_app/public/images/admin/bg/content-back-green.png +0 -0
  701. data/auth/spec/test_app/public/images/admin/bg/content-back.png +0 -0
  702. data/auth/spec/test_app/public/images/admin/bg/flash-error.png +0 -0
  703. data/auth/spec/test_app/public/images/admin/bg/flash-notice.png +0 -0
  704. data/auth/spec/test_app/public/images/admin/bg/green-stripes.gif +0 -0
  705. data/auth/spec/test_app/public/images/admin/bg/green-stripes.png +0 -0
  706. data/auth/spec/test_app/public/images/admin/bg/grid_header_back.png +0 -0
  707. data/auth/spec/test_app/public/images/admin/bg/grid_header_back_green.png +0 -0
  708. data/auth/spec/test_app/public/images/admin/bg/header-bg.png +0 -0
  709. data/auth/spec/test_app/public/images/admin/bg/header.png +0 -0
  710. data/auth/spec/test_app/public/images/admin/bg/header_bg.jpg +0 -0
  711. data/auth/spec/test_app/public/images/admin/bg/menu-current.png +0 -0
  712. data/auth/spec/test_app/public/images/admin/bg/red-stripes.gif +0 -0
  713. data/auth/spec/test_app/public/images/admin/bg/red-stripes.png +0 -0
  714. data/auth/spec/test_app/public/images/admin/bg/spree_50.png +0 -0
  715. data/auth/spec/test_app/public/images/admin/bg/subnav-divider.png +0 -0
  716. data/auth/spec/test_app/public/images/admin/bg/subnav.png +0 -0
  717. data/auth/spec/test_app/public/images/admin/bg/tab-back.png +0 -0
  718. data/auth/spec/test_app/public/images/admin/buttons/blue/left_01.png +0 -0
  719. data/auth/spec/test_app/public/images/admin/buttons/blue/right_01.png +0 -0
  720. data/auth/spec/test_app/public/images/admin/buttons/drag-handle-green.png +0 -0
  721. data/auth/spec/test_app/public/images/admin/buttons/green/left_01.png +0 -0
  722. data/auth/spec/test_app/public/images/admin/buttons/green/right_01.png +0 -0
  723. data/auth/spec/test_app/public/images/admin/buttons/left_01.png +0 -0
  724. data/auth/spec/test_app/public/images/admin/buttons/left_01_small.png +0 -0
  725. data/auth/spec/test_app/public/images/admin/buttons/orange/left_03.png +0 -0
  726. data/auth/spec/test_app/public/images/admin/buttons/orange/right_03.png +0 -0
  727. data/auth/spec/test_app/public/images/admin/buttons/right_01.png +0 -0
  728. data/auth/spec/test_app/public/images/admin/buttons/right_01_small.png +0 -0
  729. data/auth/spec/test_app/public/images/admin/icons/16x16/1.png +0 -0
  730. data/auth/spec/test_app/public/images/admin/icons/16x16/10.png +0 -0
  731. data/auth/spec/test_app/public/images/admin/icons/16x16/2.png +0 -0
  732. data/auth/spec/test_app/public/images/admin/icons/16x16/3.png +0 -0
  733. data/auth/spec/test_app/public/images/admin/icons/16x16/4.png +0 -0
  734. data/auth/spec/test_app/public/images/admin/icons/16x16/5.png +0 -0
  735. data/auth/spec/test_app/public/images/admin/icons/16x16/6.png +0 -0
  736. data/auth/spec/test_app/public/images/admin/icons/16x16/7.png +0 -0
  737. data/auth/spec/test_app/public/images/admin/icons/16x16/8.png +0 -0
  738. data/auth/spec/test_app/public/images/admin/icons/16x16/9.png +0 -0
  739. data/auth/spec/test_app/public/images/admin/icons/32x32/1.png +0 -0
  740. data/auth/spec/test_app/public/images/admin/icons/32x32/10.png +0 -0
  741. data/auth/spec/test_app/public/images/admin/icons/32x32/11.png +0 -0
  742. data/auth/spec/test_app/public/images/admin/icons/32x32/2.png +0 -0
  743. data/auth/spec/test_app/public/images/admin/icons/32x32/3.png +0 -0
  744. data/auth/spec/test_app/public/images/admin/icons/32x32/4.png +0 -0
  745. data/auth/spec/test_app/public/images/admin/icons/32x32/5.png +0 -0
  746. data/auth/spec/test_app/public/images/admin/icons/32x32/6.png +0 -0
  747. data/auth/spec/test_app/public/images/admin/icons/32x32/7.png +0 -0
  748. data/auth/spec/test_app/public/images/admin/icons/32x32/8.png +0 -0
  749. data/auth/spec/test_app/public/images/admin/icons/32x32/9.png +0 -0
  750. data/auth/spec/test_app/public/images/admin/icons/accept.png +0 -0
  751. data/auth/spec/test_app/public/images/admin/icons/add.gif +0 -0
  752. data/auth/spec/test_app/public/images/admin/icons/add.png +0 -0
  753. data/auth/spec/test_app/public/images/admin/icons/arrow-down.gif +0 -0
  754. data/auth/spec/test_app/public/images/admin/icons/cross.png +0 -0
  755. data/auth/spec/test_app/public/images/admin/icons/delete.gif +0 -0
  756. data/auth/spec/test_app/public/images/admin/icons/delete.png +0 -0
  757. data/auth/spec/test_app/public/images/admin/icons/drag.gif +0 -0
  758. data/auth/spec/test_app/public/images/admin/icons/edit.gif +0 -0
  759. data/auth/spec/test_app/public/images/admin/icons/edit.png +0 -0
  760. data/auth/spec/test_app/public/images/admin/icons/email.png +0 -0
  761. data/auth/spec/test_app/public/images/admin/icons/error.png +0 -0
  762. data/auth/spec/test_app/public/images/admin/icons/exclamation.png +0 -0
  763. data/auth/spec/test_app/public/images/admin/icons/feed.png +0 -0
  764. data/auth/spec/test_app/public/images/admin/icons/pdf.png +0 -0
  765. data/auth/spec/test_app/public/images/admin/icons/reorder.gif +0 -0
  766. data/auth/spec/test_app/public/images/admin/icons/search.gif +0 -0
  767. data/auth/spec/test_app/public/images/admin/icons/send-email.png +0 -0
  768. data/auth/spec/test_app/public/images/admin/icons/stop.png +0 -0
  769. data/auth/spec/test_app/public/images/admin/icons/tick.png +0 -0
  770. data/auth/spec/test_app/public/images/admin/icons/up.gif +0 -0
  771. data/auth/spec/test_app/public/images/admin/icons/xls.png +0 -0
  772. data/auth/spec/test_app/public/images/admin/tabs/off-left.png +0 -0
  773. data/auth/spec/test_app/public/images/admin/tabs/off-right.png +0 -0
  774. data/auth/spec/test_app/public/images/admin/tabs/on-left.png +0 -0
  775. data/auth/spec/test_app/public/images/admin/tabs/on-right.png +0 -0
  776. data/auth/spec/test_app/public/images/ajax_loader.gif +0 -0
  777. data/auth/spec/test_app/public/images/amex_cid.gif +0 -0
  778. data/auth/spec/test_app/public/images/bg-button-hover.png +0 -0
  779. data/auth/spec/test_app/public/images/bg-button-pressed.png +0 -0
  780. data/auth/spec/test_app/public/images/bg-button.gif +0 -0
  781. data/auth/spec/test_app/public/images/bg-button.png +0 -0
  782. data/auth/spec/test_app/public/images/blue/left_01.png +0 -0
  783. data/auth/spec/test_app/public/images/blue/right_01.png +0 -0
  784. data/auth/spec/test_app/public/images/body-back.png +0 -0
  785. data/auth/spec/test_app/public/images/bottom_shine.png +0 -0
  786. data/auth/spec/test_app/public/images/breadcrumb.gif +0 -0
  787. data/auth/spec/test_app/public/images/button-dark-hover.png +0 -0
  788. data/auth/spec/test_app/public/images/button-dark.png +0 -0
  789. data/auth/spec/test_app/public/images/buttons/bg-button-hover.png +0 -0
  790. data/auth/spec/test_app/public/images/buttons/bg-button-pressed.png +0 -0
  791. data/auth/spec/test_app/public/images/buttons/bg-button.gif +0 -0
  792. data/auth/spec/test_app/public/images/buttons/bg-button.png +0 -0
  793. data/auth/spec/test_app/public/images/buttons/blue/left_01.png +0 -0
  794. data/auth/spec/test_app/public/images/buttons/blue/right_01.png +0 -0
  795. data/auth/spec/test_app/public/images/buttons/button-dark-hover.png +0 -0
  796. data/auth/spec/test_app/public/images/buttons/button-dark.png +0 -0
  797. data/auth/spec/test_app/public/images/buttons/drag-handle-green.png +0 -0
  798. data/auth/spec/test_app/public/images/buttons/green/left_01.png +0 -0
  799. data/auth/spec/test_app/public/images/buttons/green/right_01.png +0 -0
  800. data/auth/spec/test_app/public/images/buttons/left_01.png +0 -0
  801. data/auth/spec/test_app/public/images/buttons/left_01_small.png +0 -0
  802. data/auth/spec/test_app/public/images/buttons/orange/left_03.png +0 -0
  803. data/auth/spec/test_app/public/images/buttons/orange/right_03.png +0 -0
  804. data/auth/spec/test_app/public/images/buttons/right_01.png +0 -0
  805. data/auth/spec/test_app/public/images/buttons/right_01_small.png +0 -0
  806. data/auth/spec/test_app/public/images/buttons/sxsw-ribbon-v1.png +0 -0
  807. data/auth/spec/test_app/public/images/buttons/top-shine.png +0 -0
  808. data/auth/spec/test_app/public/images/calendar_date_select/calendar.gif +0 -0
  809. data/auth/spec/test_app/public/images/cart-empty.png +0 -0
  810. data/auth/spec/test_app/public/images/cart-empty_x32.png +0 -0
  811. data/auth/spec/test_app/public/images/cart-full.png +0 -0
  812. data/auth/spec/test_app/public/images/cart-full_x32.png +0 -0
  813. data/auth/spec/test_app/public/images/checkout.png +0 -0
  814. data/auth/spec/test_app/public/images/creditcard.gif +0 -0
  815. data/auth/spec/test_app/public/images/datepicker/backstripes.gif +0 -0
  816. data/auth/spec/test_app/public/images/datepicker/bg_header.jpg +0 -0
  817. data/auth/spec/test_app/public/images/datepicker/bullet1.gif +0 -0
  818. data/auth/spec/test_app/public/images/datepicker/bullet2.gif +0 -0
  819. data/auth/spec/test_app/public/images/datepicker/cal.gif +0 -0
  820. data/auth/spec/test_app/public/images/datepicker/gradient-e5e5e5-ffffff.gif +0 -0
  821. data/auth/spec/test_app/public/images/discover_cid.gif +0 -0
  822. data/auth/spec/test_app/public/images/drag-handle-green.png +0 -0
  823. data/auth/spec/test_app/public/images/favicon.ico +0 -0
  824. data/auth/spec/test_app/public/images/green/left_01.png +0 -0
  825. data/auth/spec/test_app/public/images/green/right_01.png +0 -0
  826. data/auth/spec/test_app/public/images/grid.png +0 -0
  827. data/auth/spec/test_app/public/images/left_01.png +0 -0
  828. data/auth/spec/test_app/public/images/left_01_small.png +0 -0
  829. data/auth/spec/test_app/public/images/master_cid.jpg +0 -0
  830. data/auth/spec/test_app/public/images/menu-current.png +0 -0
  831. data/auth/spec/test_app/public/images/menu-hover.png +0 -0
  832. data/auth/spec/test_app/public/images/noimage/mini.jpg +0 -0
  833. data/auth/spec/test_app/public/images/noimage/product.jpg +0 -0
  834. data/auth/spec/test_app/public/images/noimage/small.jpg +0 -0
  835. data/auth/spec/test_app/public/images/openid-inputicon.gif +0 -0
  836. data/auth/spec/test_app/public/images/orange/left_03.png +0 -0
  837. data/auth/spec/test_app/public/images/orange/right_03.png +0 -0
  838. data/auth/spec/test_app/public/images/progress.gif +0 -0
  839. data/auth/spec/test_app/public/images/reorder.jpg +0 -0
  840. data/auth/spec/test_app/public/images/right_01.png +0 -0
  841. data/auth/spec/test_app/public/images/right_01_small.png +0 -0
  842. data/auth/spec/test_app/public/images/separator.png +0 -0
  843. data/auth/spec/test_app/public/images/shadow-top.png +0 -0
  844. data/auth/spec/test_app/public/images/shadow_top.png +0 -0
  845. data/auth/spec/test_app/public/images/spinner.gif +0 -0
  846. data/auth/spec/test_app/public/images/spree.jpg +0 -0
  847. data/auth/spec/test_app/public/images/spree/progress.gif +0 -0
  848. data/auth/spec/test_app/public/images/spree/spinner.gif +0 -0
  849. data/auth/spec/test_app/public/images/spree/spree.jpg +0 -0
  850. data/auth/spec/test_app/public/images/step-progress/completed-completed.gif +0 -0
  851. data/auth/spec/test_app/public/images/step-progress/completed-current.gif +0 -0
  852. data/auth/spec/test_app/public/images/step-progress/completed-first.gif +0 -0
  853. data/auth/spec/test_app/public/images/step-progress/current-first.gif +0 -0
  854. data/auth/spec/test_app/public/images/step-progress/current-incomplete.gif +0 -0
  855. data/auth/spec/test_app/public/images/step-progress/current-right.gif +0 -0
  856. data/auth/spec/test_app/public/images/step-progress/incomplete-incomplete.gif +0 -0
  857. data/auth/spec/test_app/public/images/step-progress/incomplete-right.gif +0 -0
  858. data/auth/spec/test_app/public/images/steps/1.png +0 -0
  859. data/auth/spec/test_app/public/images/steps/1_small.png +0 -0
  860. data/auth/spec/test_app/public/images/steps/2.png +0 -0
  861. data/auth/spec/test_app/public/images/steps/2_small.png +0 -0
  862. data/auth/spec/test_app/public/images/steps/3.png +0 -0
  863. data/auth/spec/test_app/public/images/steps/3_small.png +0 -0
  864. data/auth/spec/test_app/public/images/steps/4.png +0 -0
  865. data/auth/spec/test_app/public/images/steps/4_small.png +0 -0
  866. data/auth/spec/test_app/public/images/steps/5.png +0 -0
  867. data/auth/spec/test_app/public/images/steps/5_small.png +0 -0
  868. data/auth/spec/test_app/public/images/steps/6.png +0 -0
  869. data/auth/spec/test_app/public/images/steps/6_small.png +0 -0
  870. data/auth/spec/test_app/public/images/sxsw-ribbon-v1.png +0 -0
  871. data/auth/spec/test_app/public/images/tab_bottom.gif +0 -0
  872. data/auth/spec/test_app/public/images/tile-header.png +0 -0
  873. data/auth/spec/test_app/public/images/tile-slider.png +0 -0
  874. data/auth/spec/test_app/public/images/top-shine.png +0 -0
  875. data/auth/spec/test_app/public/images/tree-nav-icons/bullet.gif +0 -0
  876. data/auth/spec/test_app/public/images/tree-nav-icons/minus.gif +0 -0
  877. data/auth/spec/test_app/public/images/tree-nav-icons/plus.gif +0 -0
  878. data/auth/spec/test_app/public/images/tree-nav-icons/treeview-loading.gif +0 -0
  879. data/auth/spec/test_app/public/images/tree-nav-icons/treeview-sprite.gif +0 -0
  880. data/auth/spec/test_app/public/images/update.png +0 -0
  881. data/auth/spec/test_app/public/images/visa_cid.gif +0 -0
  882. data/auth/spec/test_app/public/images/wrapper-back-2.png +0 -0
  883. data/auth/spec/test_app/public/images/wrapper-back.png +0 -0
  884. data/auth/spec/test_app/public/images/yui-menubaritem_submenuindicator.png +0 -0
  885. data/auth/spec/test_app/public/images/yui-menubaritem_submenuindicator_disabled.png +0 -0
  886. data/auth/spec/test_app/public/images/yui-menuitem_checkbox.png +0 -0
  887. data/auth/spec/test_app/public/images/yui-menuitem_checkbox_disabled.png +0 -0
  888. data/auth/spec/test_app/public/images/yui-menuitem_submenuindicator.png +0 -0
  889. data/auth/spec/test_app/public/images/yui-menuitem_submenuindicator_disabled.png +0 -0
  890. data/auth/spec/test_app/public/images/yui-sprite.png +0 -0
  891. data/auth/spec/test_app/public/javascripts/additional-methods.js +236 -0
  892. data/auth/spec/test_app/public/javascripts/admin.js +232 -0
  893. data/auth/spec/test_app/public/javascripts/admin/address_states.js +25 -0
  894. data/auth/spec/test_app/public/javascripts/admin/checkouts/edit.js +130 -0
  895. data/auth/spec/test_app/public/javascripts/admin/orders/edit.js +23 -0
  896. data/auth/spec/test_app/public/javascripts/admin/orders/edit_form.js +16 -0
  897. data/auth/spec/test_app/public/javascripts/admin/payments/new.js +9 -0
  898. data/auth/spec/test_app/public/javascripts/admin/unobtrusive_handlers.js +43 -0
  899. data/auth/spec/test_app/public/javascripts/application.js +12 -0
  900. data/auth/spec/test_app/public/javascripts/calculator.js +15 -0
  901. data/auth/spec/test_app/public/javascripts/checkout.js +75 -0
  902. data/auth/spec/test_app/public/javascripts/datepicker.js +1445 -0
  903. data/auth/spec/test_app/public/javascripts/gateway.js +13 -0
  904. data/auth/spec/test_app/public/javascripts/jquery-1.4.2.min.js +154 -0
  905. data/auth/spec/test_app/public/javascripts/jquery-ui.js +188 -0
  906. data/auth/spec/test_app/public/javascripts/jquery.alerts/images/help.gif +0 -0
  907. data/auth/spec/test_app/public/javascripts/jquery.alerts/images/important.gif +0 -0
  908. data/auth/spec/test_app/public/javascripts/jquery.alerts/images/info.gif +0 -0
  909. data/auth/spec/test_app/public/javascripts/jquery.alerts/images/title.gif +0 -0
  910. data/auth/spec/test_app/public/javascripts/jquery.alerts/jquery.alerts.css +57 -0
  911. data/auth/spec/test_app/public/javascripts/jquery.alerts/jquery.alerts.js +235 -0
  912. data/auth/spec/test_app/public/javascripts/jquery.alerts/jquery.alerts.spree.css +30 -0
  913. data/auth/spec/test_app/public/javascripts/jquery.autocomplete.min.js +13 -0
  914. data/auth/spec/test_app/public/javascripts/jquery.cookie.js +96 -0
  915. data/auth/spec/test_app/public/javascripts/jquery.delayedobserver.js +35 -0
  916. data/auth/spec/test_app/public/javascripts/jquery.suggest.js +276 -0
  917. data/auth/spec/test_app/public/javascripts/jquery.template.js +255 -0
  918. data/auth/spec/test_app/public/javascripts/jquery.tokeninput.js +618 -0
  919. data/auth/spec/test_app/public/javascripts/jquery.validate.min.js +16 -0
  920. data/auth/spec/test_app/public/javascripts/jsTree/jquery.jstree.js +3510 -0
  921. data/auth/spec/test_app/public/javascripts/jsTree/themes/apple/bg.jpg +0 -0
  922. data/auth/spec/test_app/public/javascripts/jsTree/themes/apple/d.png +0 -0
  923. data/auth/spec/test_app/public/javascripts/jsTree/themes/apple/dot_for_ie.gif +0 -0
  924. data/auth/spec/test_app/public/javascripts/jsTree/themes/apple/style.css +60 -0
  925. data/auth/spec/test_app/public/javascripts/jsTree/themes/apple/throbber.gif +0 -0
  926. data/auth/spec/test_app/public/javascripts/lang/af.js +40 -0
  927. data/auth/spec/test_app/public/javascripts/lang/ar.js +50 -0
  928. data/auth/spec/test_app/public/javascripts/lang/de.js +40 -0
  929. data/auth/spec/test_app/public/javascripts/lang/du.js +40 -0
  930. data/auth/spec/test_app/public/javascripts/lang/en.js +42 -0
  931. data/auth/spec/test_app/public/javascripts/lang/es.js +41 -0
  932. data/auth/spec/test_app/public/javascripts/lang/fi.js +40 -0
  933. data/auth/spec/test_app/public/javascripts/lang/fr.js +44 -0
  934. data/auth/spec/test_app/public/javascripts/lang/gr.js +40 -0
  935. data/auth/spec/test_app/public/javascripts/lang/he.js +49 -0
  936. data/auth/spec/test_app/public/javascripts/lang/it.js +13 -0
  937. data/auth/spec/test_app/public/javascripts/lang/nl.js +40 -0
  938. data/auth/spec/test_app/public/javascripts/lang/no.js +40 -0
  939. data/auth/spec/test_app/public/javascripts/lang/pt.js +50 -0
  940. data/auth/spec/test_app/public/javascripts/lang/ro.js +40 -0
  941. data/auth/spec/test_app/public/javascripts/lang/ru.js +40 -0
  942. data/auth/spec/test_app/public/javascripts/lang/sp.js +40 -0
  943. data/auth/spec/test_app/public/javascripts/lang/sv.js +41 -0
  944. data/auth/spec/test_app/public/javascripts/lang/ua.js +40 -0
  945. data/auth/spec/test_app/public/javascripts/localization/messages_cn.js +24 -0
  946. data/auth/spec/test_app/public/javascripts/localization/messages_cs.js +23 -0
  947. data/auth/spec/test_app/public/javascripts/localization/messages_da.js +21 -0
  948. data/auth/spec/test_app/public/javascripts/localization/messages_de.js +21 -0
  949. data/auth/spec/test_app/public/javascripts/localization/messages_es.js +24 -0
  950. data/auth/spec/test_app/public/javascripts/localization/messages_fr.js +23 -0
  951. data/auth/spec/test_app/public/javascripts/localization/messages_hu.js +21 -0
  952. data/auth/spec/test_app/public/javascripts/localization/messages_it.js +26 -0
  953. data/auth/spec/test_app/public/javascripts/localization/messages_kk.js +23 -0
  954. data/auth/spec/test_app/public/javascripts/localization/messages_nl.js +23 -0
  955. data/auth/spec/test_app/public/javascripts/localization/messages_no.js +23 -0
  956. data/auth/spec/test_app/public/javascripts/localization/messages_pl.js +23 -0
  957. data/auth/spec/test_app/public/javascripts/localization/messages_ptbr.js +30 -0
  958. data/auth/spec/test_app/public/javascripts/localization/messages_ro.js +24 -0
  959. data/auth/spec/test_app/public/javascripts/localization/messages_ru.js +23 -0
  960. data/auth/spec/test_app/public/javascripts/localization/messages_se.js +23 -0
  961. data/auth/spec/test_app/public/javascripts/localization/messages_sk.js +21 -0
  962. data/auth/spec/test_app/public/javascripts/localization/messages_tr.js +24 -0
  963. data/auth/spec/test_app/public/javascripts/localization/messages_tw.js +24 -0
  964. data/auth/spec/test_app/public/javascripts/localization/messages_ua.js +24 -0
  965. data/auth/spec/test_app/public/javascripts/nested-attribute.js +26 -0
  966. data/auth/spec/test_app/public/javascripts/open_id.js +15 -0
  967. data/auth/spec/test_app/public/javascripts/product.js +49 -0
  968. data/auth/spec/test_app/public/javascripts/rails.js +127 -0
  969. data/auth/spec/test_app/public/javascripts/taxonomy.js +201 -0
  970. data/auth/spec/test_app/public/javascripts/zone.js +39 -0
  971. data/auth/spec/test_app/public/robots.txt +5 -0
  972. data/auth/spec/test_app/public/stylesheets/admin/admin-forms.css +154 -0
  973. data/auth/spec/test_app/public/stylesheets/admin/admin-reset.css +69 -0
  974. data/auth/spec/test_app/public/stylesheets/admin/admin-tables.css +39 -0
  975. data/auth/spec/test_app/public/stylesheets/admin/admin-typography.css +117 -0
  976. data/auth/spec/test_app/public/stylesheets/admin/admin.css +614 -0
  977. data/auth/spec/test_app/public/stylesheets/admin/autocomplete.css +73 -0
  978. data/auth/spec/test_app/public/stylesheets/admin/dashboard.css +143 -0
  979. data/auth/spec/test_app/public/stylesheets/admin/edit_checkouts.css +57 -0
  980. data/auth/spec/test_app/public/stylesheets/admin/grids.css +314 -0
  981. data/auth/spec/test_app/public/stylesheets/admin/reset-fonts-grids-2-6-0.css +7 -0
  982. data/auth/spec/test_app/public/stylesheets/admin/token-input.css +109 -0
  983. data/auth/spec/test_app/public/stylesheets/admin/yui-includes.css +14 -0
  984. data/auth/spec/test_app/public/stylesheets/datepicker.css +263 -0
  985. data/auth/spec/test_app/public/stylesheets/jquery.autocomplete.css +48 -0
  986. data/auth/spec/test_app/public/stylesheets/screen.css +916 -0
  987. data/auth/spec/test_app/script/rails +6 -0
  988. data/core/Gemfile +34 -0
  989. data/core/Gemfile.lock +226 -0
  990. data/core/LICENSE +26 -0
  991. data/core/README.md +15 -0
  992. data/core/Rakefile +48 -0
  993. data/core/app/controllers/admin/adjustments_controller.rb +10 -0
  994. data/core/app/controllers/admin/base_controller.rb +63 -0
  995. data/core/app/controllers/admin/configurations_controller.rb +2 -0
  996. data/core/app/controllers/admin/general_settings_controller.rb +22 -0
  997. data/core/app/controllers/admin/images_controller.rb +49 -0
  998. data/core/app/controllers/admin/inventory_settings_controller.rb +13 -0
  999. data/core/app/controllers/admin/inventory_units_controller.rb +2 -0
  1000. data/core/app/controllers/admin/line_items_controller.rb +60 -0
  1001. data/core/app/controllers/admin/mail_methods_controller.rb +8 -0
  1002. data/core/app/controllers/admin/mail_settings_controller.rb +14 -0
  1003. data/core/app/controllers/admin/option_types_controller.rb +65 -0
  1004. data/core/app/controllers/admin/orders_controller.rb +136 -0
  1005. data/core/app/controllers/admin/overview_controller.rb +14 -0
  1006. data/core/app/controllers/admin/payment_methods_controller.rb +43 -0
  1007. data/core/app/controllers/admin/payments_controller.rb +107 -0
  1008. data/core/app/controllers/admin/product_groups_controller.rb +46 -0
  1009. data/core/app/controllers/admin/product_properties_controller.rb +10 -0
  1010. data/core/app/controllers/admin/product_scopes_controller.rb +35 -0
  1011. data/core/app/controllers/admin/products_controller.rb +113 -0
  1012. data/core/app/controllers/admin/products_controller.rb~ +114 -0
  1013. data/core/app/controllers/admin/properties_controller.rb +11 -0
  1014. data/core/app/controllers/admin/prototypes_controller.rb +26 -0
  1015. data/core/app/controllers/admin/reports_controller.rb +50 -0
  1016. data/core/app/controllers/admin/resource_controller.rb +232 -0
  1017. data/core/app/controllers/admin/return_authorizations_controller.rb +17 -0
  1018. data/core/app/controllers/admin/shipments_controller.rb +117 -0
  1019. data/core/app/controllers/admin/shipping_categories_controller.rb +2 -0
  1020. data/core/app/controllers/admin/shipping_methods_controller.rb +14 -0
  1021. data/core/app/controllers/admin/states_controller.rb +25 -0
  1022. data/core/app/controllers/admin/tax_categories_controller.rb +2 -0
  1023. data/core/app/controllers/admin/tax_rates_controller.rb +22 -0
  1024. data/core/app/controllers/admin/tax_settings_controller.rb +13 -0
  1025. data/core/app/controllers/admin/taxonomies_controller.rb +20 -0
  1026. data/core/app/controllers/admin/taxons_controller.rb +161 -0
  1027. data/core/app/controllers/admin/trackers_controller.rb +2 -0
  1028. data/core/app/controllers/admin/users_controller.rb +65 -0
  1029. data/core/app/controllers/admin/variants_controller.rb +51 -0
  1030. data/core/app/controllers/admin/zones_controller.rb +23 -0
  1031. data/core/app/controllers/checkout_controller.rb +97 -0
  1032. data/core/app/controllers/content_controller.rb +21 -0
  1033. data/core/app/controllers/locale_controller.rb +14 -0
  1034. data/core/app/controllers/orders_controller.rb +64 -0
  1035. data/core/app/controllers/products_controller.rb +39 -0
  1036. data/core/app/controllers/spree/base_controller.rb +4 -0
  1037. data/core/app/controllers/states_controller.rb +16 -0
  1038. data/core/app/controllers/taxons_controller.rb +22 -0
  1039. data/core/app/helpers/account_helper.rb +2 -0
  1040. data/core/app/helpers/admin/base_helper.rb +194 -0
  1041. data/core/app/helpers/admin/inventory_settings_helper.rb +5 -0
  1042. data/core/app/helpers/admin/navigation_helper.rb +162 -0
  1043. data/core/app/helpers/admin/orders_helper.rb +22 -0
  1044. data/core/app/helpers/admin/overview_helper.rb +12 -0
  1045. data/core/app/helpers/admin/payments_helper.rb +7 -0
  1046. data/core/app/helpers/admin/product_groups_helper.rb +11 -0
  1047. data/core/app/helpers/admin/product_properties_helper.rb +21 -0
  1048. data/core/app/helpers/admin/products_helper.rb +11 -0
  1049. data/core/app/helpers/admin/taxons_helper.rb +18 -0
  1050. data/core/app/helpers/admin/users_helper.rb +8 -0
  1051. data/core/app/helpers/admin/zones_helper.rb +11 -0
  1052. data/core/app/helpers/checkout_helper.rb +31 -0
  1053. data/core/app/helpers/hook_helper.rb +20 -0
  1054. data/core/app/helpers/orders_helper.rb +3 -0
  1055. data/core/app/helpers/products_helper.rb +30 -0
  1056. data/core/app/helpers/search_helper.rb +10 -0
  1057. data/core/app/helpers/spree/base_helper.rb +119 -0
  1058. data/core/app/helpers/taxons_helper.rb +32 -0
  1059. data/core/app/helpers/trackers_helper.rb +2 -0
  1060. data/core/app/mailers/order_mailer.rb +19 -0
  1061. data/core/app/mailers/shipment_mailer.rb +11 -0
  1062. data/core/app/models/address.rb +115 -0
  1063. data/core/app/models/adjustment.rb +47 -0
  1064. data/core/app/models/app_configuration.rb +44 -0
  1065. data/core/app/models/asset.rb +4 -0
  1066. data/core/app/models/billing_integration.rb +23 -0
  1067. data/core/app/models/calculator.rb +46 -0
  1068. data/core/app/models/calculator/flat_percent_item_total.rb +19 -0
  1069. data/core/app/models/calculator/flat_rate.rb +16 -0
  1070. data/core/app/models/calculator/flexi_rate.rb +32 -0
  1071. data/core/app/models/calculator/per_item.rb +16 -0
  1072. data/core/app/models/calculator/price_bucket.rb +30 -0
  1073. data/core/app/models/calculator/sales_tax.rb +48 -0
  1074. data/core/app/models/calculator/vat.rb +63 -0
  1075. data/core/app/models/configuration.rb +3 -0
  1076. data/core/app/models/country.rb +16 -0
  1077. data/core/app/models/creditcard.rb +267 -0
  1078. data/core/app/models/gateway.rb +48 -0
  1079. data/core/app/models/gateway/authorize_net.rb +19 -0
  1080. data/core/app/models/gateway/authorize_net_cim.rb +132 -0
  1081. data/core/app/models/gateway/beanstream.rb +187 -0
  1082. data/core/app/models/gateway/bogus.rb +80 -0
  1083. data/core/app/models/gateway/braintree.rb +88 -0
  1084. data/core/app/models/gateway/eway.rb +11 -0
  1085. data/core/app/models/gateway/linkpoint.rb +8 -0
  1086. data/core/app/models/gateway/pay_pal.rb +11 -0
  1087. data/core/app/models/gateway/sage_pay.rb +9 -0
  1088. data/core/app/models/image.rb +31 -0
  1089. data/core/app/models/inventory_unit.rb +119 -0
  1090. data/core/app/models/line_item.rb +95 -0
  1091. data/core/app/models/log_entry.rb +3 -0
  1092. data/core/app/models/mail_method.rb +23 -0
  1093. data/core/app/models/option_type.rb +9 -0
  1094. data/core/app/models/option_value.rb +5 -0
  1095. data/core/app/models/order.rb +484 -0
  1096. data/core/app/models/payment.rb +119 -0
  1097. data/core/app/models/payment_method.rb +56 -0
  1098. data/core/app/models/payment_method/check.rb +27 -0
  1099. data/core/app/models/preference.rb +51 -0
  1100. data/core/app/models/product.rb +258 -0
  1101. data/core/app/models/product_group.rb +216 -0
  1102. data/core/app/models/product_option_type.rb +5 -0
  1103. data/core/app/models/product_property.rb +15 -0
  1104. data/core/app/models/product_scope.rb +78 -0
  1105. data/core/app/models/property.rb +18 -0
  1106. data/core/app/models/prototype.rb +5 -0
  1107. data/core/app/models/return_authorization.rb +79 -0
  1108. data/core/app/models/role.rb +3 -0
  1109. data/core/app/models/shipment.rb +157 -0
  1110. data/core/app/models/shipping_category.rb +3 -0
  1111. data/core/app/models/shipping_method.rb +25 -0
  1112. data/core/app/models/spree/alert.rb +13 -0
  1113. data/core/app/models/state.rb +16 -0
  1114. data/core/app/models/state_event.rb +16 -0
  1115. data/core/app/models/tax_category.rb +15 -0
  1116. data/core/app/models/tax_rate.rb +16 -0
  1117. data/core/app/models/taxon.rb +52 -0
  1118. data/core/app/models/taxonomy.rb +20 -0
  1119. data/core/app/models/taxonomy.rb~ +22 -0
  1120. data/core/app/models/tracker.rb +5 -0
  1121. data/core/app/models/user.rb +21 -0
  1122. data/core/app/models/variant.rb +104 -0
  1123. data/core/app/models/zone.rb +84 -0
  1124. data/core/app/models/zone_member.rb +10 -0
  1125. data/core/app/stylesheets/_buttons.less +80 -0
  1126. data/core/app/stylesheets/_cart.less +24 -0
  1127. data/core/app/stylesheets/_checkout.less +76 -0
  1128. data/core/app/stylesheets/_checkout_progress.less +62 -0
  1129. data/core/app/stylesheets/_colors.less +16 -0
  1130. data/core/app/stylesheets/_forms.less +50 -0
  1131. data/core/app/stylesheets/_layout.less +77 -0
  1132. data/core/app/stylesheets/_messages.less +32 -0
  1133. data/core/app/stylesheets/_mixins.less +71 -0
  1134. data/core/app/stylesheets/_navigation.less +130 -0
  1135. data/core/app/stylesheets/_prices.less +18 -0
  1136. data/core/app/stylesheets/_product_details.less +56 -0
  1137. data/core/app/stylesheets/_product_lists.less +66 -0
  1138. data/core/app/stylesheets/_registration.less +24 -0
  1139. data/core/app/stylesheets/_reset.less +69 -0
  1140. data/core/app/stylesheets/_typography.less +158 -0
  1141. data/core/app/stylesheets/screen.less +13 -0
  1142. data/core/app/views/admin/adjustments/_adjustments_table.html.erb +24 -0
  1143. data/core/app/views/admin/adjustments/_form.html.erb +12 -0
  1144. data/core/app/views/admin/adjustments/edit.html.erb +13 -0
  1145. data/core/app/views/admin/adjustments/index.html.erb +4 -0
  1146. data/core/app/views/admin/adjustments/new.html.erb +14 -0
  1147. data/core/app/views/admin/configurations/index.html.erb +66 -0
  1148. data/core/app/views/admin/extensions/index.html.erb +23 -0
  1149. data/core/app/views/admin/general_settings/edit.html.erb +46 -0
  1150. data/core/app/views/admin/general_settings/show.html.erb +36 -0
  1151. data/core/app/views/admin/images/_form.html.erb +16 -0
  1152. data/core/app/views/admin/images/edit.html.erb +19 -0
  1153. data/core/app/views/admin/images/index.html.erb +69 -0
  1154. data/core/app/views/admin/images/new.html.erb +22 -0
  1155. data/core/app/views/admin/images/new.html.erb~ +22 -0
  1156. data/core/app/views/admin/inventory_settings/edit.html.erb +27 -0
  1157. data/core/app/views/admin/inventory_settings/show.html.erb +9 -0
  1158. data/core/app/views/admin/inventory_units/adjust.html.erb +33 -0
  1159. data/core/app/views/admin/mail_methods/_form.html.erb +96 -0
  1160. data/core/app/views/admin/mail_methods/edit.html.erb +9 -0
  1161. data/core/app/views/admin/mail_methods/index.html.erb +41 -0
  1162. data/core/app/views/admin/mail_methods/new.html.erb +9 -0
  1163. data/core/app/views/admin/option_types/_available.html.erb +27 -0
  1164. data/core/app/views/admin/option_types/_form.html.erb +11 -0
  1165. data/core/app/views/admin/option_types/_option_value_fields.html.erb +5 -0
  1166. data/core/app/views/admin/option_types/_selected.html.erb +26 -0
  1167. data/core/app/views/admin/option_types/available.js.erb +2 -0
  1168. data/core/app/views/admin/option_types/edit.html.erb +32 -0
  1169. data/core/app/views/admin/option_types/index.html.erb +33 -0
  1170. data/core/app/views/admin/option_types/new.erb +11 -0
  1171. data/core/app/views/admin/option_types/select.js.erb +3 -0
  1172. data/core/app/views/admin/option_types/selected.html.erb +6 -0
  1173. data/core/app/views/admin/orders/_add_product.html.erb +20 -0
  1174. data/core/app/views/admin/orders/_form.html.erb +67 -0
  1175. data/core/app/views/admin/orders/_line_item.html.erb +17 -0
  1176. data/core/app/views/admin/orders/_user_form.html.erb +42 -0
  1177. data/core/app/views/admin/orders/edit.html.erb +31 -0
  1178. data/core/app/views/admin/orders/history.html.erb +29 -0
  1179. data/core/app/views/admin/orders/index.html.erb +103 -0
  1180. data/core/app/views/admin/orders/new.html.erb +20 -0
  1181. data/core/app/views/admin/orders/show.html.erb +28 -0
  1182. data/core/app/views/admin/orders/user.html.erb +24 -0
  1183. data/core/app/views/admin/payment_methods/_form.html.erb +50 -0
  1184. data/core/app/views/admin/payment_methods/edit.html.erb +10 -0
  1185. data/core/app/views/admin/payment_methods/index.html.erb +49 -0
  1186. data/core/app/views/admin/payment_methods/new.html.erb +11 -0
  1187. data/core/app/views/admin/payments/_bill_address_form.html.erb +9 -0
  1188. data/core/app/views/admin/payments/_form.html.erb +15 -0
  1189. data/core/app/views/admin/payments/_list.html.erb +22 -0
  1190. data/core/app/views/admin/payments/_transaction_list.html.erb +24 -0
  1191. data/core/app/views/admin/payments/credit.html.erb +14 -0
  1192. data/core/app/views/admin/payments/index.html.erb +22 -0
  1193. data/core/app/views/admin/payments/new.html.erb +19 -0
  1194. data/core/app/views/admin/payments/show.html.erb +10 -0
  1195. data/core/app/views/admin/payments/source_forms/_check.html.erb +0 -0
  1196. data/core/app/views/admin/payments/source_forms/_gateway.html.erb +43 -0
  1197. data/core/app/views/admin/payments/source_views/_check.html.erb +0 -0
  1198. data/core/app/views/admin/payments/source_views/_gateway.html.erb +34 -0
  1199. data/core/app/views/admin/product_groups/_preview.html.erb +34 -0
  1200. data/core/app/views/admin/product_groups/_product_scope.html.erb +24 -0
  1201. data/core/app/views/admin/product_groups/edit.html.erb +56 -0
  1202. data/core/app/views/admin/product_groups/index.html.erb +37 -0
  1203. data/core/app/views/admin/product_groups/new.html.erb +12 -0
  1204. data/core/app/views/admin/product_groups/show.html.erb +32 -0
  1205. data/core/app/views/admin/product_groups/update.js.erb +8 -0
  1206. data/core/app/views/admin/product_properties/_product_property_fields.html.erb +11 -0
  1207. data/core/app/views/admin/product_properties/index.html.erb +55 -0
  1208. data/core/app/views/admin/product_scopes/_form.html.erb +106 -0
  1209. data/core/app/views/admin/product_scopes/create.js.erb +3 -0
  1210. data/core/app/views/admin/product_scopes/destroy.js.erb +3 -0
  1211. data/core/app/views/admin/product_scopes/new.html.erb +1 -0
  1212. data/core/app/views/admin/products/_form.html.erb +112 -0
  1213. data/core/app/views/admin/products/_option_types.html.erb +40 -0
  1214. data/core/app/views/admin/products/_properties_form.erb +7 -0
  1215. data/core/app/views/admin/products/edit.html.erb +10 -0
  1216. data/core/app/views/admin/products/edit.html.erb~ +10 -0
  1217. data/core/app/views/admin/products/index.html.erb +81 -0
  1218. data/core/app/views/admin/products/index.html.erb~ +81 -0
  1219. data/core/app/views/admin/products/new.erb +58 -0
  1220. data/core/app/views/admin/products/new.erb~ +53 -0
  1221. data/core/app/views/admin/products/show.html.erb +4 -0
  1222. data/core/app/views/admin/products/show.html.erb~ +4 -0
  1223. data/core/app/views/admin/properties/_form.html.erb +12 -0
  1224. data/core/app/views/admin/properties/edit.html.erb +10 -0
  1225. data/core/app/views/admin/properties/filtered.html.erb +1 -0
  1226. data/core/app/views/admin/properties/index.html.erb +40 -0
  1227. data/core/app/views/admin/properties/new.erb +11 -0
  1228. data/core/app/views/admin/prototypes/_form.html.erb +44 -0
  1229. data/core/app/views/admin/prototypes/available.html.erb +22 -0
  1230. data/core/app/views/admin/prototypes/edit.html.erb +9 -0
  1231. data/core/app/views/admin/prototypes/index.html.erb +37 -0
  1232. data/core/app/views/admin/prototypes/new.erb +11 -0
  1233. data/core/app/views/admin/prototypes/select.js.erb +4 -0
  1234. data/core/app/views/admin/reports/index.html.erb +19 -0
  1235. data/core/app/views/admin/reports/sales_total.html.erb +23 -0
  1236. data/core/app/views/admin/return_authorizations/_form.html.erb +78 -0
  1237. data/core/app/views/admin/return_authorizations/edit.html.erb +27 -0
  1238. data/core/app/views/admin/return_authorizations/index.html.erb +45 -0
  1239. data/core/app/views/admin/return_authorizations/new.html.erb +13 -0
  1240. data/core/app/views/admin/shared/_additional_field.html.erb +5 -0
  1241. data/core/app/views/admin/shared/_address.html.erb +5 -0
  1242. data/core/app/views/admin/shared/_address_form.html.erb +79 -0
  1243. data/core/app/views/admin/shared/_alert.html.erb +6 -0
  1244. data/core/app/views/admin/shared/_calculator_fields.html.erb +19 -0
  1245. data/core/app/views/admin/shared/_configuration_menu.html.erb +22 -0
  1246. data/core/app/views/admin/shared/_destroy.js.erb +16 -0
  1247. data/core/app/views/admin/shared/_edit_resource_links.html.erb +4 -0
  1248. data/core/app/views/admin/shared/_group_from_products_form.html.erb +12 -0
  1249. data/core/app/views/admin/shared/_new_adjustment_button.html.erb +8 -0
  1250. data/core/app/views/admin/shared/_new_resource_links.html.erb +4 -0
  1251. data/core/app/views/admin/shared/_order_details.html.erb +3 -0
  1252. data/core/app/views/admin/shared/_order_sub_menu.html.erb +0 -0
  1253. data/core/app/views/admin/shared/_order_tabs.html.erb +64 -0
  1254. data/core/app/views/admin/shared/_product_sub_menu.html.erb +11 -0
  1255. data/core/app/views/admin/shared/_product_tabs.html.erb +34 -0
  1256. data/core/app/views/admin/shared/_report_criteria.html.erb +15 -0
  1257. data/core/app/views/admin/shared/_show_resource_links.html.erb +5 -0
  1258. data/core/app/views/admin/shared/_tabs.html.erb +6 -0
  1259. data/core/app/views/admin/shared/_update_order_state.js +6 -0
  1260. data/core/app/views/admin/shipments/_form.html.erb +77 -0
  1261. data/core/app/views/admin/shipments/edit.html.erb +40 -0
  1262. data/core/app/views/admin/shipments/index.html.erb +47 -0
  1263. data/core/app/views/admin/shipments/new.html.erb +18 -0
  1264. data/core/app/views/admin/shipping_categories/_form.html.erb +6 -0
  1265. data/core/app/views/admin/shipping_categories/edit.html.erb +6 -0
  1266. data/core/app/views/admin/shipping_categories/index.html.erb +29 -0
  1267. data/core/app/views/admin/shipping_categories/new.html.erb +8 -0
  1268. data/core/app/views/admin/shipping_methods/_form.html.erb +26 -0
  1269. data/core/app/views/admin/shipping_methods/edit.html.erb +16 -0
  1270. data/core/app/views/admin/shipping_methods/index.html.erb +49 -0
  1271. data/core/app/views/admin/shipping_methods/new.html.erb +17 -0
  1272. data/core/app/views/admin/states/_form.html.erb +9 -0
  1273. data/core/app/views/admin/states/_state_list.html.erb +34 -0
  1274. data/core/app/views/admin/states/edit.html.erb +10 -0
  1275. data/core/app/views/admin/states/index.html.erb +16 -0
  1276. data/core/app/views/admin/states/new.erb +8 -0
  1277. data/core/app/views/admin/tax_categories/_form.html.erb +12 -0
  1278. data/core/app/views/admin/tax_categories/edit.html.erb +10 -0
  1279. data/core/app/views/admin/tax_categories/index.html.erb +44 -0
  1280. data/core/app/views/admin/tax_categories/new.html.erb +10 -0
  1281. data/core/app/views/admin/tax_categories/show.html.erb +1 -0
  1282. data/core/app/views/admin/tax_rates/_form.html.erb +16 -0
  1283. data/core/app/views/admin/tax_rates/edit.html.erb +6 -0
  1284. data/core/app/views/admin/tax_rates/index.html.erb +34 -0
  1285. data/core/app/views/admin/tax_rates/new.html.erb +8 -0
  1286. data/core/app/views/admin/tax_settings/edit.html.erb +17 -0
  1287. data/core/app/views/admin/tax_settings/show.html.erb +14 -0
  1288. data/core/app/views/admin/taxonomies/_form.html.erb +10 -0
  1289. data/core/app/views/admin/taxonomies/_form.html.erb~ +11 -0
  1290. data/core/app/views/admin/taxonomies/_js_head.html.erb +9 -0
  1291. data/core/app/views/admin/taxonomies/_list.html.erb +19 -0
  1292. data/core/app/views/admin/taxonomies/_list.html.erb~ +20 -0
  1293. data/core/app/views/admin/taxonomies/_taxon.html.erb +12 -0
  1294. data/core/app/views/admin/taxonomies/edit.erb +49 -0
  1295. data/core/app/views/admin/taxonomies/get_children.json.erb +9 -0
  1296. data/core/app/views/admin/taxonomies/index.html.erb +16 -0
  1297. data/core/app/views/admin/taxonomies/new.html.erb +12 -0
  1298. data/core/app/views/admin/taxons/_form.html.erb +23 -0
  1299. data/core/app/views/admin/taxons/_taxon_table.html.erb +23 -0
  1300. data/core/app/views/admin/taxons/available.js.erb +33 -0
  1301. data/core/app/views/admin/taxons/edit.html.erb +11 -0
  1302. data/core/app/views/admin/taxons/remove.html.erb +1 -0
  1303. data/core/app/views/admin/taxons/select.js.erb +2 -0
  1304. data/core/app/views/admin/taxons/selected.html.erb +43 -0
  1305. data/core/app/views/admin/trackers/_form.html.erb +26 -0
  1306. data/core/app/views/admin/trackers/edit.html.erb +8 -0
  1307. data/core/app/views/admin/trackers/index.html.erb +41 -0
  1308. data/core/app/views/admin/trackers/new.html.erb +9 -0
  1309. data/core/app/views/admin/users/_form.html.erb +35 -0
  1310. data/core/app/views/admin/users/edit.html.erb +14 -0
  1311. data/core/app/views/admin/users/index.html.erb +63 -0
  1312. data/core/app/views/admin/users/new.html.erb +14 -0
  1313. data/core/app/views/admin/users/show.html.erb +21 -0
  1314. data/core/app/views/admin/variants/_form.html.erb +40 -0
  1315. data/core/app/views/admin/variants/edit.html.erb +13 -0
  1316. data/core/app/views/admin/variants/index.html.erb +66 -0
  1317. data/core/app/views/admin/variants/new.erb +11 -0
  1318. data/core/app/views/admin/zones/_country_member.html.erb +5 -0
  1319. data/core/app/views/admin/zones/_form.html.erb +29 -0
  1320. data/core/app/views/admin/zones/_member_type.html.erb +15 -0
  1321. data/core/app/views/admin/zones/_state_member.html.erb +5 -0
  1322. data/core/app/views/admin/zones/_zone_member.html.erb +5 -0
  1323. data/core/app/views/admin/zones/edit.html.erb +10 -0
  1324. data/core/app/views/admin/zones/index.html.erb +41 -0
  1325. data/core/app/views/admin/zones/new.html.erb +10 -0
  1326. data/core/app/views/checkout/_address.html.erb +163 -0
  1327. data/core/app/views/checkout/_confirm.html.erb +11 -0
  1328. data/core/app/views/checkout/_delivery.html.erb +25 -0
  1329. data/core/app/views/checkout/_payment.html.erb +30 -0
  1330. data/core/app/views/checkout/_summary.html.erb +21 -0
  1331. data/core/app/views/checkout/edit.html.erb +20 -0
  1332. data/core/app/views/checkout/payment/_check.html.erb +0 -0
  1333. data/core/app/views/checkout/payment/_gateway.html.erb +31 -0
  1334. data/core/app/views/checkout/registration.html.erb +20 -0
  1335. data/core/app/views/content/cvv.html.erb +13 -0
  1336. data/core/app/views/layouts/admin.html.erb +75 -0
  1337. data/core/app/views/layouts/spree_application.html.erb +52 -0
  1338. data/core/app/views/order_mailer/cancel_email.text.erb +16 -0
  1339. data/core/app/views/order_mailer/confirm_email.text.erb +19 -0
  1340. data/core/app/views/orders/_form.html.erb +19 -0
  1341. data/core/app/views/orders/_line_item.html.erb +41 -0
  1342. data/core/app/views/orders/edit.html.erb +41 -0
  1343. data/core/app/views/orders/new.html.erb +9 -0
  1344. data/core/app/views/orders/show.html.erb +14 -0
  1345. data/core/app/views/products/_cart_form.html.erb +54 -0
  1346. data/core/app/views/products/_cart_form.html.erb~ +54 -0
  1347. data/core/app/views/products/_image.html.erb +5 -0
  1348. data/core/app/views/products/_image.html.erb~ +5 -0
  1349. data/core/app/views/products/_properties.html.erb +8 -0
  1350. data/core/app/views/products/_taxons.html.erb +16 -0
  1351. data/core/app/views/products/_thumbnails.html.erb +40 -0
  1352. data/core/app/views/products/index.html.erb +37 -0
  1353. data/core/app/views/products/show.html.erb +31 -0
  1354. data/core/app/views/shared/_additional_field.html.erb +7 -0
  1355. data/core/app/views/shared/_admin_head.html.erb +34 -0
  1356. data/core/app/views/shared/_basic_layout.html.erb +44 -0
  1357. data/core/app/views/shared/_edit_resource_links.html.erb +1 -0
  1358. data/core/app/views/shared/_end_soon.html.erb +43 -0
  1359. data/core/app/views/shared/_error_messages.html.erb +11 -0
  1360. data/core/app/views/shared/_filters.html.erb +27 -0
  1361. data/core/app/views/shared/_footer.html.erb +13 -0
  1362. data/core/app/views/shared/_google_analytics.html.erb +40 -0
  1363. data/core/app/views/shared/_head.html.erb +10 -0
  1364. data/core/app/views/shared/_method_error_message.html.erb +4 -0
  1365. data/core/app/views/shared/_nav_bar.html.erb +5 -0
  1366. data/core/app/views/shared/_new_release.html.erb +42 -0
  1367. data/core/app/views/shared/_new_resource_links.html.erb +1 -0
  1368. data/core/app/views/shared/_order_details.html.erb +50 -0
  1369. data/core/app/views/shared/_products.html.erb +42 -0
  1370. data/core/app/views/shared/_search.html.erb +9 -0
  1371. data/core/app/views/shared/_show_resource_links.html.erb +3 -0
  1372. data/core/app/views/shared/_store_menu.html.erb +3 -0
  1373. data/core/app/views/shared/_taxonomies.html.erb +19 -0
  1374. data/core/app/views/shared/_test_hook.html.erb +1 -0
  1375. data/core/app/views/shared/_upcoming_products.html.erb +42 -0
  1376. data/core/app/views/shipment_mailer/shipped_email.text.erb +15 -0
  1377. data/core/app/views/states/index.js.erb +1 -0
  1378. data/core/app/views/taxons/_taxon.html.erb +4 -0
  1379. data/core/app/views/taxons/show.html.erb +19 -0
  1380. data/core/config/cucumber.yml +10 -0
  1381. data/core/config/initializers/form_builder.rb +19 -0
  1382. data/core/config/initializers/load_unobtrusive_date_picker.rb +8 -0
  1383. data/core/config/initializers/spree.rb +29 -0
  1384. data/core/config/initializers/workarounds_for_ruby19.rb +72 -0
  1385. data/core/config/locales/en.yml +1015 -0
  1386. data/core/config/routes.rb +207 -0
  1387. data/core/db/default/countries.yml +1583 -0
  1388. data/core/db/default/roles.yml +7 -0
  1389. data/core/db/default/states.yml +256 -0
  1390. data/core/db/default/zone_members.yml +169 -0
  1391. data/core/db/default/zones.yml +13 -0
  1392. data/core/db/migrate/20090823005402_spree_zero_nine_zero.rb +442 -0
  1393. data/core/db/migrate/20090904192342_create_indexes_for_inventory_units.rb +12 -0
  1394. data/core/db/migrate/20090923100315_add_count_on_hand_to_variants_and_products.rb +36 -0
  1395. data/core/db/migrate/20091007134354_change_taxons_to_nested_set.rb +40 -0
  1396. data/core/db/migrate/20091008091614_move_to_configurable_gateways.rb +55 -0
  1397. data/core/db/migrate/20091012120519_product_groups_and_scopes.rb +25 -0
  1398. data/core/db/migrate/20091015110842_add_open_id_authentication_tables.rb +20 -0
  1399. data/core/db/migrate/20091015153048_add_openid_field_to_users.rb +19 -0
  1400. data/core/db/migrate/20091016174634_change_preference_value_type.rb +10 -0
  1401. data/core/db/migrate/20091017175558_create_billing_integrations.rb +16 -0
  1402. data/core/db/migrate/20091021133257_charge_refactoring.rb +35 -0
  1403. data/core/db/migrate/20091104151730_add_some_indexes.rb +21 -0
  1404. data/core/db/migrate/20091126190904_checkout_state_machine.rb +13 -0
  1405. data/core/db/migrate/20091209153045_state_for_shipments.rb +9 -0
  1406. data/core/db/migrate/20091209202200_make_state_events_polymorphic.rb +12 -0
  1407. data/core/db/migrate/20091211203813_ship_address_id_for_checkouts.rb +9 -0
  1408. data/core/db/migrate/20091212161118_shipping_method_id_for_checkouts.rb +9 -0
  1409. data/core/db/migrate/20091213222815_creditcard_last_four_digits.rb +19 -0
  1410. data/core/db/migrate/20091214183826_populate_legacy_shipment_state.rb +19 -0
  1411. data/core/db/migrate/20100105090147_add_cost_price.rb +9 -0
  1412. data/core/db/migrate/20100105132138_shipment_id_for_inventory_units.rb +21 -0
  1413. data/core/db/migrate/20100111205525_cim_fields_for_creditcards.rb +11 -0
  1414. data/core/db/migrate/20100112151511_create_return_authorizations.rb +16 -0
  1415. data/core/db/migrate/20100113090919_add_return_authorization_to_inventory_units.rb +9 -0
  1416. data/core/db/migrate/20100113203104_create_trackers.rb +14 -0
  1417. data/core/db/migrate/20100121160010_creditcard_id_for_creditcard_txns.rb +9 -0
  1418. data/core/db/migrate/20100121183934_original_creditcard_txn_id_for_creditcard_txns.rb +9 -0
  1419. data/core/db/migrate/20100125145351_add_test_mode_to_billing_integration.rb +11 -0
  1420. data/core/db/migrate/20100126103714_create_products_product_groups.rb +12 -0
  1421. data/core/db/migrate/20100209025806_create_payment_methods.rb +20 -0
  1422. data/core/db/migrate/20100209144531_polymorphic_payments.rb +29 -0
  1423. data/core/db/migrate/20100213103131_change_payments_payment_method_to_belongs_to.rb +11 -0
  1424. data/core/db/migrate/20100214212536_assign_creditcard_txns_to_payment.rb +16 -0
  1425. data/core/db/migrate/20100223170312_sti_for_transactions.rb +14 -0
  1426. data/core/db/migrate/20100223183812_drop_billing_integrations.rb +16 -0
  1427. data/core/db/migrate/20100224153127_deleted_at_for_payment_methods.rb +13 -0
  1428. data/core/db/migrate/20100301163454_add_adjustments_index.rb +10 -0
  1429. data/core/db/migrate/20100306153445_fix_by_popularity.rb +8 -0
  1430. data/core/db/migrate/20100317120946_add_alt_text_to_images.rb +9 -0
  1431. data/core/db/migrate/20100427121301_add_display_to_payment_methods.rb +9 -0
  1432. data/core/db/migrate/20100504142133_add_addresses_checkouts_indexes.rb +16 -0
  1433. data/core/db/migrate/20100506180619_add_icon_to_taxons.rb +18 -0
  1434. data/core/db/migrate/20100506185838_add_description_to_taxons.rb +11 -0
  1435. data/core/db/migrate/20100528155333_index_for_shipments_number.rb +9 -0
  1436. data/core/db/migrate/20100528185820_add_index_on_users_persistence_token.rb +9 -0
  1437. data/core/db/migrate/20100605152042_add_default_to_tax_categories.rb +9 -0
  1438. data/core/db/migrate/20100624110730_add_display_to_shipping_methods.rb +9 -0
  1439. data/core/db/migrate/20100624123336_rename_payment_method_display.rb +9 -0
  1440. data/core/db/migrate/20100624175547_rename_preferences_field.rb +8 -0
  1441. data/core/db/migrate/20100811163637_add_guest_flag.rb +13 -0
  1442. data/core/db/migrate/20100811205836_drop_order_token.rb +11 -0
  1443. data/core/db/migrate/20100812162326_payments_state_and_assigned_to_order_only.rb +11 -0
  1444. data/core/db/migrate/20100813023502_create_address_keys_for_order.rb +15 -0
  1445. data/core/db/migrate/20100813185745_payment_total_for_orders.rb +9 -0
  1446. data/core/db/migrate/20100816212146_shipping_method_id_for_orders.rb +9 -0
  1447. data/core/db/migrate/20100817152723_add_shipment_and_payment_state.rb +15 -0
  1448. data/core/db/migrate/20100819170125_refactor_adjustments.rb +19 -0
  1449. data/core/db/migrate/20100820135707_response_code_and_avs_response_for_payments.rb +11 -0
  1450. data/core/db/migrate/20100901171814_change_guest_flag_to_anonymous.rb +13 -0
  1451. data/core/db/migrate/20100903203949_email_for_orders.rb +9 -0
  1452. data/core/db/migrate/20100923162011_create_mail_methods.rb +12 -0
  1453. data/core/db/migrate/20100929151905_rename_frozen_to_locked.rb +8 -0
  1454. data/core/db/migrate/20101008190536_move_special_instructions_to_orders.rb +11 -0
  1455. data/core/db/migrate/20101026184700_create_log_entries.rb +15 -0
  1456. data/core/db/migrate/20101026184714_migrate_transactions_to_payment_state.rb +94 -0
  1457. data/core/db/migrate/20101026184746_delete_in_progress_orders.rb +18 -0
  1458. data/core/db/migrate/20101026184808_migrate_checkout_to_orders.rb +27 -0
  1459. data/core/db/migrate/20101026184833_migrate_adjustments.rb +9 -0
  1460. data/core/db/migrate/20101026184855_remove_shipped_state.rb +14 -0
  1461. data/core/db/migrate/20101026184916_prevent_nil_payment_total.rb +8 -0
  1462. data/core/db/migrate/20101026184932_prevent_nil_email.rb +9 -0
  1463. data/core/db/migrate/20101026184959_generate_anonymous_users.rb +14 -0
  1464. data/core/db/migrate/20101026185022_update_order_state.rb +8 -0
  1465. data/core/db/migrate/20101026192225_cleanup_legacy_tables.rb +11 -0
  1466. data/core/db/migrate/20101028151745_remove_number_and_cvv_from_credicard.rb +9 -0
  1467. data/core/db/migrate/20101103212716_drop_anonymous_field_for_user.rb +8 -0
  1468. data/core/db/migrate/20101111133551_renamed_rma_cancelled_state.rb +10 -0
  1469. data/core/db/migrate/20101117031806_fix_problematic_index_names.rb +13 -0
  1470. data/core/db/migrate/20101223215658_add_position_to_variants.rb +9 -0
  1471. data/core/db/migrate/20110110130847_add_next_state_to_state_events.rb +9 -0
  1472. data/core/db/migrate/20110111122537_add_position_to_option_types.rb +9 -0
  1473. data/core/db/migrate/20110314192118_remove_trailing_slashes_in_taxon_permalinks.rb +17 -0
  1474. data/core/db/sample/users.rb +61 -0
  1475. data/core/db/seeds.rb +3 -0
  1476. data/core/features/admin/configuration/analytics_tracker.feature +27 -0
  1477. data/core/features/admin/configuration/general_settings.feature +22 -0
  1478. data/core/features/admin/configuration/inventory_settings.feature +15 -0
  1479. data/core/features/admin/configuration/mail_methods.feature +32 -0
  1480. data/core/features/admin/configuration/payment_methods.feature +41 -0
  1481. data/core/features/admin/configuration/shipping_methods.feature +21 -0
  1482. data/core/features/admin/configuration/states.feature +42 -0
  1483. data/core/features/admin/configuration/tax_categories.feature +40 -0
  1484. data/core/features/admin/configuration/taxonomies.feature +42 -0
  1485. data/core/features/admin/configuration/zones.feature +25 -0
  1486. data/core/features/admin/homepage.feature +45 -0
  1487. data/core/features/admin/orders/adjustments.feature +76 -0
  1488. data/core/features/admin/orders/customer_details.feature +45 -0
  1489. data/core/features/admin/orders/history.feature +10 -0
  1490. data/core/features/admin/orders/listing.feature +55 -0
  1491. data/core/features/admin/orders/order_details.feature +74 -0
  1492. data/core/features/admin/orders/payments.feature +84 -0
  1493. data/core/features/admin/orders/return_authorizations.feature +0 -0
  1494. data/core/features/admin/orders/shipments.feature +38 -0
  1495. data/core/features/admin/products/edit/images.feature +22 -0
  1496. data/core/features/admin/products/edit/option_types.feature +34 -0
  1497. data/core/features/admin/products/edit/product_details.feature +16 -0
  1498. data/core/features/admin/products/edit/product_properties.feature +57 -0
  1499. data/core/features/admin/products/edit/taxons.feature +26 -0
  1500. data/core/features/admin/products/edit/variants.feature +67 -0
  1501. data/core/features/admin/products/option_types.feature +37 -0
  1502. data/core/features/admin/products/product_groups.feature +244 -0
  1503. data/core/features/admin/products/products.feature +127 -0
  1504. data/core/features/admin/products/properties.feature +41 -0
  1505. data/core/features/admin/products/prototypes.feature +47 -0
  1506. data/core/features/admin/reports.feature +17 -0
  1507. data/core/features/admin/users.feature +77 -0
  1508. data/core/features/products.feature +73 -0
  1509. data/core/features/step_definitions/admin/configurations.rb +59 -0
  1510. data/core/features/step_definitions/admin/configurations/mail_methods.rb +11 -0
  1511. data/core/features/step_definitions/admin/configurations/payment_method.rb +13 -0
  1512. data/core/features/step_definitions/admin/configurations/tax_categories.rb +10 -0
  1513. data/core/features/step_definitions/admin/configurations/taxonomies.rb +8 -0
  1514. data/core/features/step_definitions/admin/option_types.rb +9 -0
  1515. data/core/features/step_definitions/admin/orders.rb +68 -0
  1516. data/core/features/step_definitions/admin/product_groups.rb +62 -0
  1517. data/core/features/step_definitions/admin/products.rb +39 -0
  1518. data/core/features/step_definitions/admin/products/images.rb +4 -0
  1519. data/core/features/step_definitions/admin/products/product_properties.rb +9 -0
  1520. data/core/features/step_definitions/admin/products/taxons.rb +19 -0
  1521. data/core/features/step_definitions/admin/properties.rb +16 -0
  1522. data/core/features/step_definitions/admin/prototypes.rb +9 -0
  1523. data/core/features/step_definitions/admin/reports.rb +23 -0
  1524. data/core/features/step_definitions/admin/users.rb +15 -0
  1525. data/core/features/step_definitions/orders/adjustments.rb +8 -0
  1526. data/core/features/step_definitions/orders/history.rb +19 -0
  1527. data/core/features/step_definitions/orders/order_details.rb +46 -0
  1528. data/core/features/step_definitions/orders/payments.rb +31 -0
  1529. data/core/features/step_definitions/orders/shipments.rb +9 -0
  1530. data/core/features/step_definitions/product.rb +134 -0
  1531. data/core/features/step_definitions/ror_ringer.jpeg +0 -0
  1532. data/core/features/support/env.rb +5 -0
  1533. data/core/features/support/paths.rb +42 -0
  1534. data/core/lib/custom_fixtures.rb +7 -0
  1535. data/core/lib/generators/spree_core/upgrade_generator.rb +23 -0
  1536. data/core/lib/generators/templates/config/initializers/%file_name%.rb.tt +1 -0
  1537. data/core/lib/generators/templates/config/locales/%current_locale%.yml.tt +2 -0
  1538. data/core/lib/generators/templates/config/routes.rb +3 -0
  1539. data/core/lib/middleware/seo_assist.rb +44 -0
  1540. data/core/lib/product_filters.rb +179 -0
  1541. data/core/lib/redirect_legacy_product_url.rb +13 -0
  1542. data/core/lib/scopes.rb +69 -0
  1543. data/core/lib/scopes/dynamic.rb +31 -0
  1544. data/core/lib/scopes/product.rb +266 -0
  1545. data/core/lib/scopes/variant.rb +18 -0
  1546. data/core/lib/spree/calculated_adjustments.rb +69 -0
  1547. data/core/lib/spree/config.rb +33 -0
  1548. data/core/lib/spree/current_order.rb +30 -0
  1549. data/core/lib/spree/file_utilz.rb +73 -0
  1550. data/core/lib/spree/gateway_error.rb +3 -0
  1551. data/core/lib/spree/mail_interceptor.rb +23 -0
  1552. data/core/lib/spree/mail_settings.rb +33 -0
  1553. data/core/lib/spree/preference_access.rb +27 -0
  1554. data/core/lib/spree/search/base.rb +64 -0
  1555. data/core/lib/spree_base.rb +116 -0
  1556. data/core/lib/spree_core.rb +94 -0
  1557. data/core/lib/spree_core/action_callbacks.rb +26 -0
  1558. data/core/lib/spree_core/authorize_net_cim_hack.rb +871 -0
  1559. data/core/lib/spree_core/delegate_belongs_to.rb +89 -0
  1560. data/core/lib/spree_core/enumerable_constants.rb +209 -0
  1561. data/core/lib/spree_core/ext/active_record.rb +15 -0
  1562. data/core/lib/spree_core/ext/array.rb +14 -0
  1563. data/core/lib/spree_core/ext/hash.rb +75 -0
  1564. data/core/lib/spree_core/ext/string.rb +10 -0
  1565. data/core/lib/spree_core/preferences/model_hooks.rb +293 -0
  1566. data/core/lib/spree_core/preferences/preference_definition.rb +53 -0
  1567. data/core/lib/spree_core/railtie.rb +63 -0
  1568. data/core/lib/spree_core/spree_custom_responder.rb +29 -0
  1569. data/core/lib/spree_core/spree_respond_with.rb +57 -0
  1570. data/core/lib/spree_core/ssl_requirement.rb +104 -0
  1571. data/core/lib/spree_core/testing_support/factories.rb +13 -0
  1572. data/core/lib/spree_core/testing_support/factories/address_factory.rb +20 -0
  1573. data/core/lib/spree_core/testing_support/factories/adjustment_factory.rb +6 -0
  1574. data/core/lib/spree_core/testing_support/factories/calculator_factory.rb +5 -0
  1575. data/core/lib/spree_core/testing_support/factories/configuraion_factory.rb +4 -0
  1576. data/core/lib/spree_core/testing_support/factories/country_factory.rb +7 -0
  1577. data/core/lib/spree_core/testing_support/factories/creditcard_factory.rb +11 -0
  1578. data/core/lib/spree_core/testing_support/factories/inventory_unit_factory.rb +7 -0
  1579. data/core/lib/spree_core/testing_support/factories/line_item_factory.rb +8 -0
  1580. data/core/lib/spree_core/testing_support/factories/mail_method_factory.rb +4 -0
  1581. data/core/lib/spree_core/testing_support/factories/options_factory.rb +10 -0
  1582. data/core/lib/spree_core/testing_support/factories/order_factory.rb +18 -0
  1583. data/core/lib/spree_core/testing_support/factories/payment_factory.rb +26 -0
  1584. data/core/lib/spree_core/testing_support/factories/payment_method_factory.rb +17 -0
  1585. data/core/lib/spree_core/testing_support/factories/product_factory.rb +16 -0
  1586. data/core/lib/spree_core/testing_support/factories/product_group_factory.rb +3 -0
  1587. data/core/lib/spree_core/testing_support/factories/product_option_type_factory.rb +4 -0
  1588. data/core/lib/spree_core/testing_support/factories/product_property_factory.rb +4 -0
  1589. data/core/lib/spree_core/testing_support/factories/product_scope_factory.rb +6 -0
  1590. data/core/lib/spree_core/testing_support/factories/property_factory.rb +4 -0
  1591. data/core/lib/spree_core/testing_support/factories/prototype_factory.rb +4 -0
  1592. data/core/lib/spree_core/testing_support/factories/return_authorization_factory.rb +8 -0
  1593. data/core/lib/spree_core/testing_support/factories/role_factory.rb +9 -0
  1594. data/core/lib/spree_core/testing_support/factories/shipment_factory.rb +9 -0
  1595. data/core/lib/spree_core/testing_support/factories/shipping_category_factory.rb +5 -0
  1596. data/core/lib/spree_core/testing_support/factories/shipping_method_factory.rb +11 -0
  1597. data/core/lib/spree_core/testing_support/factories/state_factory.rb +11 -0
  1598. data/core/lib/spree_core/testing_support/factories/tax_category_factory.rb +8 -0
  1599. data/core/lib/spree_core/testing_support/factories/tax_rate_factory.rb +5 -0
  1600. data/core/lib/spree_core/testing_support/factories/taxon_factory.rb +5 -0
  1601. data/core/lib/spree_core/testing_support/factories/taxonomy_factory.rb +3 -0
  1602. data/core/lib/spree_core/testing_support/factories/tracker_factory.rb +5 -0
  1603. data/core/lib/spree_core/testing_support/factories/user_factory.rb +15 -0
  1604. data/core/lib/spree_core/testing_support/factories/variant_factory.rb +14 -0
  1605. data/core/lib/spree_core/testing_support/factories/zone_factory.rb +18 -0
  1606. data/core/lib/spree_core/theme_support.rb +4 -0
  1607. data/core/lib/spree_core/theme_support/hook.rb +51 -0
  1608. data/core/lib/spree_core/theme_support/hook_listener.rb +68 -0
  1609. data/core/lib/spree_core/theme_support/hook_modifier.rb +35 -0
  1610. data/core/lib/spree_core/theme_support/more_patches.rb +118 -0
  1611. data/core/lib/spree_core/version.rb +5 -0
  1612. data/core/lib/store_helpers.rb +10 -0
  1613. data/core/lib/tasks/common.rb +30 -0
  1614. data/core/lib/tasks/core.rake +105 -0
  1615. data/core/lib/tasks/install.rake +26 -0
  1616. data/core/lib/tasks/rake_util.rb +19 -0
  1617. data/core/lib/tasks/taxon.rake +14 -0
  1618. data/core/lib/tasks/themes.rake +34 -0
  1619. data/core/public/images/add-to-cart.png +0 -0
  1620. data/core/public/images/admin/bg/active-tab.png +0 -0
  1621. data/core/public/images/admin/bg/admin_tab_back.png +0 -0
  1622. data/core/public/images/admin/bg/admin_tab_selected_back.png +0 -0
  1623. data/core/public/images/admin/bg/content-back-blue.png +0 -0
  1624. data/core/public/images/admin/bg/content-back-green.png +0 -0
  1625. data/core/public/images/admin/bg/content-back.png +0 -0
  1626. data/core/public/images/admin/bg/flash-error.png +0 -0
  1627. data/core/public/images/admin/bg/flash-notice.png +0 -0
  1628. data/core/public/images/admin/bg/green-stripes.gif +0 -0
  1629. data/core/public/images/admin/bg/green-stripes.png +0 -0
  1630. data/core/public/images/admin/bg/grid_header_back.png +0 -0
  1631. data/core/public/images/admin/bg/grid_header_back_green.png +0 -0
  1632. data/core/public/images/admin/bg/header-bg.png +0 -0
  1633. data/core/public/images/admin/bg/header.png +0 -0
  1634. data/core/public/images/admin/bg/header_bg.jpg +0 -0
  1635. data/core/public/images/admin/bg/menu-current.png +0 -0
  1636. data/core/public/images/admin/bg/red-stripes.gif +0 -0
  1637. data/core/public/images/admin/bg/red-stripes.png +0 -0
  1638. data/core/public/images/admin/bg/spree_50.png +0 -0
  1639. data/core/public/images/admin/bg/subnav-divider.png +0 -0
  1640. data/core/public/images/admin/bg/subnav.png +0 -0
  1641. data/core/public/images/admin/bg/tab-back.png +0 -0
  1642. data/core/public/images/admin/buttons/blue/left_01.png +0 -0
  1643. data/core/public/images/admin/buttons/blue/right_01.png +0 -0
  1644. data/core/public/images/admin/buttons/drag-handle-green.png +0 -0
  1645. data/core/public/images/admin/buttons/green/left_01.png +0 -0
  1646. data/core/public/images/admin/buttons/green/right_01.png +0 -0
  1647. data/core/public/images/admin/buttons/left_01.png +0 -0
  1648. data/core/public/images/admin/buttons/left_01_small.png +0 -0
  1649. data/core/public/images/admin/buttons/orange/left_03.png +0 -0
  1650. data/core/public/images/admin/buttons/orange/right_03.png +0 -0
  1651. data/core/public/images/admin/buttons/right_01.png +0 -0
  1652. data/core/public/images/admin/buttons/right_01_small.png +0 -0
  1653. data/core/public/images/admin/icons/16x16/1.png +0 -0
  1654. data/core/public/images/admin/icons/16x16/10.png +0 -0
  1655. data/core/public/images/admin/icons/16x16/2.png +0 -0
  1656. data/core/public/images/admin/icons/16x16/3.png +0 -0
  1657. data/core/public/images/admin/icons/16x16/4.png +0 -0
  1658. data/core/public/images/admin/icons/16x16/5.png +0 -0
  1659. data/core/public/images/admin/icons/16x16/6.png +0 -0
  1660. data/core/public/images/admin/icons/16x16/7.png +0 -0
  1661. data/core/public/images/admin/icons/16x16/8.png +0 -0
  1662. data/core/public/images/admin/icons/16x16/9.png +0 -0
  1663. data/core/public/images/admin/icons/32x32/1.png +0 -0
  1664. data/core/public/images/admin/icons/32x32/10.png +0 -0
  1665. data/core/public/images/admin/icons/32x32/11.png +0 -0
  1666. data/core/public/images/admin/icons/32x32/2.png +0 -0
  1667. data/core/public/images/admin/icons/32x32/3.png +0 -0
  1668. data/core/public/images/admin/icons/32x32/4.png +0 -0
  1669. data/core/public/images/admin/icons/32x32/5.png +0 -0
  1670. data/core/public/images/admin/icons/32x32/6.png +0 -0
  1671. data/core/public/images/admin/icons/32x32/7.png +0 -0
  1672. data/core/public/images/admin/icons/32x32/8.png +0 -0
  1673. data/core/public/images/admin/icons/32x32/9.png +0 -0
  1674. data/core/public/images/admin/icons/accept.png +0 -0
  1675. data/core/public/images/admin/icons/add.gif +0 -0
  1676. data/core/public/images/admin/icons/add.png +0 -0
  1677. data/core/public/images/admin/icons/arrow-down.gif +0 -0
  1678. data/core/public/images/admin/icons/cross.png +0 -0
  1679. data/core/public/images/admin/icons/delete.gif +0 -0
  1680. data/core/public/images/admin/icons/delete.png +0 -0
  1681. data/core/public/images/admin/icons/drag.gif +0 -0
  1682. data/core/public/images/admin/icons/edit.gif +0 -0
  1683. data/core/public/images/admin/icons/edit.png +0 -0
  1684. data/core/public/images/admin/icons/email.png +0 -0
  1685. data/core/public/images/admin/icons/error.png +0 -0
  1686. data/core/public/images/admin/icons/exclamation.png +0 -0
  1687. data/core/public/images/admin/icons/feed.png +0 -0
  1688. data/core/public/images/admin/icons/pdf.png +0 -0
  1689. data/core/public/images/admin/icons/reorder.gif +0 -0
  1690. data/core/public/images/admin/icons/search.gif +0 -0
  1691. data/core/public/images/admin/icons/send-email.png +0 -0
  1692. data/core/public/images/admin/icons/stop.png +0 -0
  1693. data/core/public/images/admin/icons/tick.png +0 -0
  1694. data/core/public/images/admin/icons/up.gif +0 -0
  1695. data/core/public/images/admin/icons/xls.png +0 -0
  1696. data/core/public/images/admin/tabs/off-left.png +0 -0
  1697. data/core/public/images/admin/tabs/off-right.png +0 -0
  1698. data/core/public/images/admin/tabs/on-left.png +0 -0
  1699. data/core/public/images/admin/tabs/on-right.png +0 -0
  1700. data/core/public/images/ajax_loader.gif +0 -0
  1701. data/core/public/images/amex_cid.gif +0 -0
  1702. data/core/public/images/bg-button-hover.png +0 -0
  1703. data/core/public/images/bg-button-pressed.png +0 -0
  1704. data/core/public/images/bg-button.gif +0 -0
  1705. data/core/public/images/bg-button.png +0 -0
  1706. data/core/public/images/blue/left_01.png +0 -0
  1707. data/core/public/images/blue/right_01.png +0 -0
  1708. data/core/public/images/body-back.png +0 -0
  1709. data/core/public/images/bottom_shine.png +0 -0
  1710. data/core/public/images/breadcrumb.gif +0 -0
  1711. data/core/public/images/button-dark-hover.png +0 -0
  1712. data/core/public/images/button-dark.png +0 -0
  1713. data/core/public/images/buttons/bg-button-hover.png +0 -0
  1714. data/core/public/images/buttons/bg-button-pressed.png +0 -0
  1715. data/core/public/images/buttons/bg-button.gif +0 -0
  1716. data/core/public/images/buttons/bg-button.png +0 -0
  1717. data/core/public/images/buttons/blue/left_01.png +0 -0
  1718. data/core/public/images/buttons/blue/right_01.png +0 -0
  1719. data/core/public/images/buttons/button-dark-hover.png +0 -0
  1720. data/core/public/images/buttons/button-dark.png +0 -0
  1721. data/core/public/images/buttons/drag-handle-green.png +0 -0
  1722. data/core/public/images/buttons/green/left_01.png +0 -0
  1723. data/core/public/images/buttons/green/right_01.png +0 -0
  1724. data/core/public/images/buttons/left_01.png +0 -0
  1725. data/core/public/images/buttons/left_01_small.png +0 -0
  1726. data/core/public/images/buttons/orange/left_03.png +0 -0
  1727. data/core/public/images/buttons/orange/right_03.png +0 -0
  1728. data/core/public/images/buttons/right_01.png +0 -0
  1729. data/core/public/images/buttons/right_01_small.png +0 -0
  1730. data/core/public/images/buttons/sxsw-ribbon-v1.png +0 -0
  1731. data/core/public/images/buttons/top-shine.png +0 -0
  1732. data/core/public/images/calendar_date_select/calendar.gif +0 -0
  1733. data/core/public/images/cart-empty.png +0 -0
  1734. data/core/public/images/cart-empty_x32.png +0 -0
  1735. data/core/public/images/cart-full.png +0 -0
  1736. data/core/public/images/cart-full_x32.png +0 -0
  1737. data/core/public/images/checkout.png +0 -0
  1738. data/core/public/images/creditcard.gif +0 -0
  1739. data/core/public/images/datepicker/backstripes.gif +0 -0
  1740. data/core/public/images/datepicker/bg_header.jpg +0 -0
  1741. data/core/public/images/datepicker/bullet1.gif +0 -0
  1742. data/core/public/images/datepicker/bullet2.gif +0 -0
  1743. data/core/public/images/datepicker/cal.gif +0 -0
  1744. data/core/public/images/datepicker/gradient-e5e5e5-ffffff.gif +0 -0
  1745. data/core/public/images/discover_cid.gif +0 -0
  1746. data/core/public/images/drag-handle-green.png +0 -0
  1747. data/core/public/images/favicon.ico +0 -0
  1748. data/core/public/images/green/left_01.png +0 -0
  1749. data/core/public/images/green/right_01.png +0 -0
  1750. data/core/public/images/grid.png +0 -0
  1751. data/core/public/images/left_01.png +0 -0
  1752. data/core/public/images/left_01_small.png +0 -0
  1753. data/core/public/images/master_cid.jpg +0 -0
  1754. data/core/public/images/menu-current.png +0 -0
  1755. data/core/public/images/menu-hover.png +0 -0
  1756. data/core/public/images/noimage/mini.jpg +0 -0
  1757. data/core/public/images/noimage/product.jpg +0 -0
  1758. data/core/public/images/noimage/small.jpg +0 -0
  1759. data/core/public/images/openid-inputicon.gif +0 -0
  1760. data/core/public/images/orange/left_03.png +0 -0
  1761. data/core/public/images/orange/right_03.png +0 -0
  1762. data/core/public/images/progress.gif +0 -0
  1763. data/core/public/images/reorder.jpg +0 -0
  1764. data/core/public/images/right_01.png +0 -0
  1765. data/core/public/images/right_01_small.png +0 -0
  1766. data/core/public/images/separator.png +0 -0
  1767. data/core/public/images/shadow-top.png +0 -0
  1768. data/core/public/images/shadow_top.png +0 -0
  1769. data/core/public/images/spinner.gif +0 -0
  1770. data/core/public/images/spree.jpg +0 -0
  1771. data/core/public/images/spree/progress.gif +0 -0
  1772. data/core/public/images/spree/spinner.gif +0 -0
  1773. data/core/public/images/spree/spree.jpg +0 -0
  1774. data/core/public/images/step-progress/completed-completed.gif +0 -0
  1775. data/core/public/images/step-progress/completed-current.gif +0 -0
  1776. data/core/public/images/step-progress/completed-first.gif +0 -0
  1777. data/core/public/images/step-progress/current-first.gif +0 -0
  1778. data/core/public/images/step-progress/current-incomplete.gif +0 -0
  1779. data/core/public/images/step-progress/current-right.gif +0 -0
  1780. data/core/public/images/step-progress/incomplete-incomplete.gif +0 -0
  1781. data/core/public/images/step-progress/incomplete-right.gif +0 -0
  1782. data/core/public/images/steps/1.png +0 -0
  1783. data/core/public/images/steps/1_small.png +0 -0
  1784. data/core/public/images/steps/2.png +0 -0
  1785. data/core/public/images/steps/2_small.png +0 -0
  1786. data/core/public/images/steps/3.png +0 -0
  1787. data/core/public/images/steps/3_small.png +0 -0
  1788. data/core/public/images/steps/4.png +0 -0
  1789. data/core/public/images/steps/4_small.png +0 -0
  1790. data/core/public/images/steps/5.png +0 -0
  1791. data/core/public/images/steps/5_small.png +0 -0
  1792. data/core/public/images/steps/6.png +0 -0
  1793. data/core/public/images/steps/6_small.png +0 -0
  1794. data/core/public/images/sxsw-ribbon-v1.png +0 -0
  1795. data/core/public/images/tab_bottom.gif +0 -0
  1796. data/core/public/images/tile-header.png +0 -0
  1797. data/core/public/images/tile-slider.png +0 -0
  1798. data/core/public/images/top-shine.png +0 -0
  1799. data/core/public/images/tree-nav-icons/bullet.gif +0 -0
  1800. data/core/public/images/tree-nav-icons/minus.gif +0 -0
  1801. data/core/public/images/tree-nav-icons/plus.gif +0 -0
  1802. data/core/public/images/tree-nav-icons/treeview-loading.gif +0 -0
  1803. data/core/public/images/tree-nav-icons/treeview-sprite.gif +0 -0
  1804. data/core/public/images/update.png +0 -0
  1805. data/core/public/images/visa_cid.gif +0 -0
  1806. data/core/public/images/wrapper-back-2.png +0 -0
  1807. data/core/public/images/wrapper-back.png +0 -0
  1808. data/core/public/images/yui-menubaritem_submenuindicator.png +0 -0
  1809. data/core/public/images/yui-menubaritem_submenuindicator_disabled.png +0 -0
  1810. data/core/public/images/yui-menuitem_checkbox.png +0 -0
  1811. data/core/public/images/yui-menuitem_checkbox_disabled.png +0 -0
  1812. data/core/public/images/yui-menuitem_submenuindicator.png +0 -0
  1813. data/core/public/images/yui-menuitem_submenuindicator_disabled.png +0 -0
  1814. data/core/public/images/yui-sprite.png +0 -0
  1815. data/core/public/javascripts/additional-methods.js +236 -0
  1816. data/core/public/javascripts/admin.js +232 -0
  1817. data/core/public/javascripts/admin/address_states.js +25 -0
  1818. data/core/public/javascripts/admin/checkouts/edit.js +130 -0
  1819. data/core/public/javascripts/admin/orders/edit.js +23 -0
  1820. data/core/public/javascripts/admin/orders/edit_form.js +16 -0
  1821. data/core/public/javascripts/admin/payments/new.js +9 -0
  1822. data/core/public/javascripts/admin/unobtrusive_handlers.js +43 -0
  1823. data/core/public/javascripts/application.js +12 -0
  1824. data/core/public/javascripts/calculator.js +15 -0
  1825. data/core/public/javascripts/checkout.js +75 -0
  1826. data/core/public/javascripts/datepicker.js +1445 -0
  1827. data/core/public/javascripts/gateway.js +13 -0
  1828. data/core/public/javascripts/jquery-1.4.2.min.js +154 -0
  1829. data/core/public/javascripts/jquery-ui.js +188 -0
  1830. data/core/public/javascripts/jquery.alerts/images/help.gif +0 -0
  1831. data/core/public/javascripts/jquery.alerts/images/important.gif +0 -0
  1832. data/core/public/javascripts/jquery.alerts/images/info.gif +0 -0
  1833. data/core/public/javascripts/jquery.alerts/images/title.gif +0 -0
  1834. data/core/public/javascripts/jquery.alerts/jquery.alerts.css +57 -0
  1835. data/core/public/javascripts/jquery.alerts/jquery.alerts.js +235 -0
  1836. data/core/public/javascripts/jquery.alerts/jquery.alerts.spree.css +30 -0
  1837. data/core/public/javascripts/jquery.autocomplete.min.js +13 -0
  1838. data/core/public/javascripts/jquery.cookie.js +96 -0
  1839. data/core/public/javascripts/jquery.delayedobserver.js +35 -0
  1840. data/core/public/javascripts/jquery.suggest.js +276 -0
  1841. data/core/public/javascripts/jquery.template.js +255 -0
  1842. data/core/public/javascripts/jquery.tokeninput.js +618 -0
  1843. data/core/public/javascripts/jquery.validate.min.js +16 -0
  1844. data/core/public/javascripts/jsTree/jquery.jstree.js +3510 -0
  1845. data/core/public/javascripts/jsTree/themes/apple/bg.jpg +0 -0
  1846. data/core/public/javascripts/jsTree/themes/apple/d.png +0 -0
  1847. data/core/public/javascripts/jsTree/themes/apple/dot_for_ie.gif +0 -0
  1848. data/core/public/javascripts/jsTree/themes/apple/style.css +60 -0
  1849. data/core/public/javascripts/jsTree/themes/apple/throbber.gif +0 -0
  1850. data/core/public/javascripts/lang/af.js +40 -0
  1851. data/core/public/javascripts/lang/ar.js +50 -0
  1852. data/core/public/javascripts/lang/de.js +40 -0
  1853. data/core/public/javascripts/lang/du.js +40 -0
  1854. data/core/public/javascripts/lang/en.js +42 -0
  1855. data/core/public/javascripts/lang/es.js +41 -0
  1856. data/core/public/javascripts/lang/fi.js +40 -0
  1857. data/core/public/javascripts/lang/fr.js +44 -0
  1858. data/core/public/javascripts/lang/gr.js +40 -0
  1859. data/core/public/javascripts/lang/he.js +49 -0
  1860. data/core/public/javascripts/lang/it.js +13 -0
  1861. data/core/public/javascripts/lang/nl.js +40 -0
  1862. data/core/public/javascripts/lang/no.js +40 -0
  1863. data/core/public/javascripts/lang/pt.js +50 -0
  1864. data/core/public/javascripts/lang/ro.js +40 -0
  1865. data/core/public/javascripts/lang/ru.js +40 -0
  1866. data/core/public/javascripts/lang/sp.js +40 -0
  1867. data/core/public/javascripts/lang/sv.js +41 -0
  1868. data/core/public/javascripts/lang/ua.js +40 -0
  1869. data/core/public/javascripts/localization/messages_cn.js +24 -0
  1870. data/core/public/javascripts/localization/messages_cs.js +23 -0
  1871. data/core/public/javascripts/localization/messages_da.js +21 -0
  1872. data/core/public/javascripts/localization/messages_de.js +21 -0
  1873. data/core/public/javascripts/localization/messages_es.js +24 -0
  1874. data/core/public/javascripts/localization/messages_fr.js +23 -0
  1875. data/core/public/javascripts/localization/messages_hu.js +21 -0
  1876. data/core/public/javascripts/localization/messages_it.js +26 -0
  1877. data/core/public/javascripts/localization/messages_kk.js +23 -0
  1878. data/core/public/javascripts/localization/messages_nl.js +23 -0
  1879. data/core/public/javascripts/localization/messages_no.js +23 -0
  1880. data/core/public/javascripts/localization/messages_pl.js +23 -0
  1881. data/core/public/javascripts/localization/messages_ptbr.js +30 -0
  1882. data/core/public/javascripts/localization/messages_ro.js +24 -0
  1883. data/core/public/javascripts/localization/messages_ru.js +23 -0
  1884. data/core/public/javascripts/localization/messages_se.js +23 -0
  1885. data/core/public/javascripts/localization/messages_sk.js +21 -0
  1886. data/core/public/javascripts/localization/messages_tr.js +24 -0
  1887. data/core/public/javascripts/localization/messages_tw.js +24 -0
  1888. data/core/public/javascripts/localization/messages_ua.js +24 -0
  1889. data/core/public/javascripts/nested-attribute.js +26 -0
  1890. data/core/public/javascripts/open_id.js +15 -0
  1891. data/core/public/javascripts/product.js +49 -0
  1892. data/core/public/javascripts/rails.js +127 -0
  1893. data/core/public/javascripts/taxonomy.js +201 -0
  1894. data/core/public/javascripts/zone.js +39 -0
  1895. data/core/public/stylesheets/admin/admin-forms.css +154 -0
  1896. data/core/public/stylesheets/admin/admin-reset.css +69 -0
  1897. data/core/public/stylesheets/admin/admin-tables.css +39 -0
  1898. data/core/public/stylesheets/admin/admin-typography.css +117 -0
  1899. data/core/public/stylesheets/admin/admin.css +614 -0
  1900. data/core/public/stylesheets/admin/autocomplete.css +73 -0
  1901. data/core/public/stylesheets/admin/dashboard.css +143 -0
  1902. data/core/public/stylesheets/admin/edit_checkouts.css +57 -0
  1903. data/core/public/stylesheets/admin/grids.css +314 -0
  1904. data/core/public/stylesheets/admin/reset-fonts-grids-2-6-0.css +7 -0
  1905. data/core/public/stylesheets/admin/token-input.css +109 -0
  1906. data/core/public/stylesheets/admin/yui-includes.css +14 -0
  1907. data/core/public/stylesheets/datepicker.css +263 -0
  1908. data/core/public/stylesheets/jquery.autocomplete.css +48 -0
  1909. data/core/public/stylesheets/screen.css +916 -0
  1910. data/core/rfcommerce_core.gemspec +37 -0
  1911. data/core/spec/controllers/admin/base_controller_spec.rb +61 -0
  1912. data/core/spec/controllers/admin/general_settings_controller_spec.rb +17 -0
  1913. data/core/spec/controllers/admin/mail_methods_controller_spec.rb +26 -0
  1914. data/core/spec/controllers/admin/orders_controller_spec.rb +26 -0
  1915. data/core/spec/controllers/admin/products_controller_spec.rb +16 -0
  1916. data/core/spec/controllers/admin/users_controller_spec.rb +16 -0
  1917. data/core/spec/controllers/checkout_controller_spec.rb +144 -0
  1918. data/core/spec/controllers/content_controller_spec.rb +14 -0
  1919. data/core/spec/controllers/orders_controller_extension_spec.rb +62 -0
  1920. data/core/spec/controllers/orders_controller_spec.rb +82 -0
  1921. data/core/spec/lib/calculated_adjustments_spec.rb +54 -0
  1922. data/core/spec/lib/ext_spec.rb +53 -0
  1923. data/core/spec/lib/mail_interceptor_spec.rb +69 -0
  1924. data/core/spec/lib/mail_settings_spec.rb +82 -0
  1925. data/core/spec/models/address_spec.rb +135 -0
  1926. data/core/spec/models/adjustment_spec.rb +67 -0
  1927. data/core/spec/models/calculator/flat_percent_item_total_spec.rb +22 -0
  1928. data/core/spec/models/configuration_spec.rb +9 -0
  1929. data/core/spec/models/country_spec.rb +13 -0
  1930. data/core/spec/models/creditcard_spec.rb +487 -0
  1931. data/core/spec/models/gateway/authorize_net.rb +17 -0
  1932. data/core/spec/models/gateway/authorize_net_cim_spec.rb +18 -0
  1933. data/core/spec/models/gateway/authorize_net_spec.rb +17 -0
  1934. data/core/spec/models/gateway/braintree_spec.rb +192 -0
  1935. data/core/spec/models/inventory_unit_spec.rb +254 -0
  1936. data/core/spec/models/line_item_spec.rb +119 -0
  1937. data/core/spec/models/mail_method_spec.rb +26 -0
  1938. data/core/spec/models/order_spec.rb +579 -0
  1939. data/core/spec/models/payment_method_spec.rb +50 -0
  1940. data/core/spec/models/payment_spec.rb +147 -0
  1941. data/core/spec/models/product_group_spec.rb +36 -0
  1942. data/core/spec/models/product_option_type_spec.rb +9 -0
  1943. data/core/spec/models/product_property_spec.rb +9 -0
  1944. data/core/spec/models/product_scope_spec.rb +39 -0
  1945. data/core/spec/models/product_spec.rb +125 -0
  1946. data/core/spec/models/return_authorization_spec.rb +113 -0
  1947. data/core/spec/models/shipment_spec.rb +179 -0
  1948. data/core/spec/models/shipping_category_spec.rb +10 -0
  1949. data/core/spec/models/shipping_method_spec.rb +16 -0
  1950. data/core/spec/models/state_spec.rb +13 -0
  1951. data/core/spec/models/tax_category_spec.rb +28 -0
  1952. data/core/spec/models/tax_rate_spec.rb +34 -0
  1953. data/core/spec/models/taxon_spec.rb +38 -0
  1954. data/core/spec/models/taxonomy_spec.rb +14 -0
  1955. data/core/spec/models/tracer_spec.rb +9 -0
  1956. data/core/spec/models/user_spec.rb +9 -0
  1957. data/core/spec/models/variant_spec.rb +125 -0
  1958. data/core/spec/spec_helper.rb +47 -0
  1959. data/core/spec/test_app/Gemfile +34 -0
  1960. data/core/spec/test_app/Rakefile +7 -0
  1961. data/core/spec/test_app/app/controllers/application_controller.rb +3 -0
  1962. data/core/spec/test_app/app/helpers/application_helper.rb +2 -0
  1963. data/core/spec/test_app/app/views/layouts/application.html.erb +14 -0
  1964. data/core/spec/test_app/config.ru +4 -0
  1965. data/core/spec/test_app/config/application.rb +42 -0
  1966. data/core/spec/test_app/config/boot.rb +6 -0
  1967. data/core/spec/test_app/config/database.yml +17 -0
  1968. data/core/spec/test_app/config/environment.rb +5 -0
  1969. data/core/spec/test_app/config/environments/cucumber.rb +38 -0
  1970. data/core/spec/test_app/config/environments/development.rb +26 -0
  1971. data/core/spec/test_app/config/environments/production.rb +49 -0
  1972. data/core/spec/test_app/config/environments/test.rb +35 -0
  1973. data/core/spec/test_app/config/initializers/backtrace_silencers.rb +7 -0
  1974. data/core/spec/test_app/config/initializers/inflections.rb +10 -0
  1975. data/core/spec/test_app/config/initializers/mime_types.rb +5 -0
  1976. data/core/spec/test_app/config/initializers/secret_token.rb +7 -0
  1977. data/core/spec/test_app/config/initializers/session_store.rb +8 -0
  1978. data/core/spec/test_app/config/locales/en.yml +5 -0
  1979. data/core/spec/test_app/config/routes.rb +58 -0
  1980. data/core/spec/test_app/db/cucumber.sqlite3 +0 -0
  1981. data/core/spec/test_app/db/default/countries.yml +1583 -0
  1982. data/core/spec/test_app/db/default/roles.yml +7 -0
  1983. data/core/spec/test_app/db/default/states.yml +256 -0
  1984. data/core/spec/test_app/db/default/zone_members.yml +169 -0
  1985. data/core/spec/test_app/db/default/zones.yml +13 -0
  1986. data/core/spec/test_app/db/migrate/20090823005402_spree_zero_nine_zero.rb +442 -0
  1987. data/core/spec/test_app/db/migrate/20090904192342_create_indexes_for_inventory_units.rb +12 -0
  1988. data/core/spec/test_app/db/migrate/20090923100315_add_count_on_hand_to_variants_and_products.rb +36 -0
  1989. data/core/spec/test_app/db/migrate/20091007134354_change_taxons_to_nested_set.rb +40 -0
  1990. data/core/spec/test_app/db/migrate/20091008091614_move_to_configurable_gateways.rb +55 -0
  1991. data/core/spec/test_app/db/migrate/20091012120519_product_groups_and_scopes.rb +25 -0
  1992. data/core/spec/test_app/db/migrate/20091015110842_add_open_id_authentication_tables.rb +20 -0
  1993. data/core/spec/test_app/db/migrate/20091015153048_add_openid_field_to_users.rb +19 -0
  1994. data/core/spec/test_app/db/migrate/20091016174634_change_preference_value_type.rb +10 -0
  1995. data/core/spec/test_app/db/migrate/20091017175558_create_billing_integrations.rb +16 -0
  1996. data/core/spec/test_app/db/migrate/20091021133257_charge_refactoring.rb +35 -0
  1997. data/core/spec/test_app/db/migrate/20091104151730_add_some_indexes.rb +21 -0
  1998. data/core/spec/test_app/db/migrate/20091126190904_checkout_state_machine.rb +13 -0
  1999. data/core/spec/test_app/db/migrate/20091209153045_state_for_shipments.rb +9 -0
  2000. data/core/spec/test_app/db/migrate/20091209202200_make_state_events_polymorphic.rb +12 -0
  2001. data/core/spec/test_app/db/migrate/20091211203813_ship_address_id_for_checkouts.rb +9 -0
  2002. data/core/spec/test_app/db/migrate/20091212161118_shipping_method_id_for_checkouts.rb +9 -0
  2003. data/core/spec/test_app/db/migrate/20091213222815_creditcard_last_four_digits.rb +19 -0
  2004. data/core/spec/test_app/db/migrate/20091214183826_populate_legacy_shipment_state.rb +19 -0
  2005. data/core/spec/test_app/db/migrate/20100105090147_add_cost_price.rb +9 -0
  2006. data/core/spec/test_app/db/migrate/20100105132138_shipment_id_for_inventory_units.rb +21 -0
  2007. data/core/spec/test_app/db/migrate/20100111205525_cim_fields_for_creditcards.rb +11 -0
  2008. data/core/spec/test_app/db/migrate/20100112151511_create_return_authorizations.rb +16 -0
  2009. data/core/spec/test_app/db/migrate/20100113090919_add_return_authorization_to_inventory_units.rb +9 -0
  2010. data/core/spec/test_app/db/migrate/20100113203104_create_trackers.rb +14 -0
  2011. data/core/spec/test_app/db/migrate/20100121160010_creditcard_id_for_creditcard_txns.rb +9 -0
  2012. data/core/spec/test_app/db/migrate/20100121183934_original_creditcard_txn_id_for_creditcard_txns.rb +9 -0
  2013. data/core/spec/test_app/db/migrate/20100125145351_add_test_mode_to_billing_integration.rb +11 -0
  2014. data/core/spec/test_app/db/migrate/20100126103714_create_products_product_groups.rb +12 -0
  2015. data/core/spec/test_app/db/migrate/20100209025806_create_payment_methods.rb +20 -0
  2016. data/core/spec/test_app/db/migrate/20100209144531_polymorphic_payments.rb +29 -0
  2017. data/core/spec/test_app/db/migrate/20100213103131_change_payments_payment_method_to_belongs_to.rb +11 -0
  2018. data/core/spec/test_app/db/migrate/20100214212536_assign_creditcard_txns_to_payment.rb +16 -0
  2019. data/core/spec/test_app/db/migrate/20100223170312_sti_for_transactions.rb +14 -0
  2020. data/core/spec/test_app/db/migrate/20100223183812_drop_billing_integrations.rb +16 -0
  2021. data/core/spec/test_app/db/migrate/20100224153127_deleted_at_for_payment_methods.rb +13 -0
  2022. data/core/spec/test_app/db/migrate/20100301163454_add_adjustments_index.rb +10 -0
  2023. data/core/spec/test_app/db/migrate/20100306153445_fix_by_popularity.rb +8 -0
  2024. data/core/spec/test_app/db/migrate/20100317120946_add_alt_text_to_images.rb +9 -0
  2025. data/core/spec/test_app/db/migrate/20100427121301_add_display_to_payment_methods.rb +9 -0
  2026. data/core/spec/test_app/db/migrate/20100504142133_add_addresses_checkouts_indexes.rb +16 -0
  2027. data/core/spec/test_app/db/migrate/20100506180619_add_icon_to_taxons.rb +18 -0
  2028. data/core/spec/test_app/db/migrate/20100506185838_add_description_to_taxons.rb +11 -0
  2029. data/core/spec/test_app/db/migrate/20100528155333_index_for_shipments_number.rb +9 -0
  2030. data/core/spec/test_app/db/migrate/20100528185820_add_index_on_users_persistence_token.rb +9 -0
  2031. data/core/spec/test_app/db/migrate/20100605152042_add_default_to_tax_categories.rb +9 -0
  2032. data/core/spec/test_app/db/migrate/20100624110730_add_display_to_shipping_methods.rb +9 -0
  2033. data/core/spec/test_app/db/migrate/20100624123336_rename_payment_method_display.rb +9 -0
  2034. data/core/spec/test_app/db/migrate/20100624175547_rename_preferences_field.rb +8 -0
  2035. data/core/spec/test_app/db/migrate/20100811163637_add_guest_flag.rb +13 -0
  2036. data/core/spec/test_app/db/migrate/20100811205836_drop_order_token.rb +11 -0
  2037. data/core/spec/test_app/db/migrate/20100812162326_payments_state_and_assigned_to_order_only.rb +11 -0
  2038. data/core/spec/test_app/db/migrate/20100813023502_create_address_keys_for_order.rb +15 -0
  2039. data/core/spec/test_app/db/migrate/20100813185745_payment_total_for_orders.rb +9 -0
  2040. data/core/spec/test_app/db/migrate/20100816212146_shipping_method_id_for_orders.rb +9 -0
  2041. data/core/spec/test_app/db/migrate/20100817152723_add_shipment_and_payment_state.rb +15 -0
  2042. data/core/spec/test_app/db/migrate/20100819170125_refactor_adjustments.rb +19 -0
  2043. data/core/spec/test_app/db/migrate/20100820135707_response_code_and_avs_response_for_payments.rb +11 -0
  2044. data/core/spec/test_app/db/migrate/20100901171814_change_guest_flag_to_anonymous.rb +13 -0
  2045. data/core/spec/test_app/db/migrate/20100903203949_email_for_orders.rb +9 -0
  2046. data/core/spec/test_app/db/migrate/20100923162011_create_mail_methods.rb +12 -0
  2047. data/core/spec/test_app/db/migrate/20100929151905_rename_frozen_to_locked.rb +8 -0
  2048. data/core/spec/test_app/db/migrate/20101008190536_move_special_instructions_to_orders.rb +11 -0
  2049. data/core/spec/test_app/db/migrate/20101026184700_create_log_entries.rb +15 -0
  2050. data/core/spec/test_app/db/migrate/20101026184714_migrate_transactions_to_payment_state.rb +94 -0
  2051. data/core/spec/test_app/db/migrate/20101026184746_delete_in_progress_orders.rb +18 -0
  2052. data/core/spec/test_app/db/migrate/20101026184808_migrate_checkout_to_orders.rb +27 -0
  2053. data/core/spec/test_app/db/migrate/20101026184833_migrate_adjustments.rb +9 -0
  2054. data/core/spec/test_app/db/migrate/20101026184855_remove_shipped_state.rb +14 -0
  2055. data/core/spec/test_app/db/migrate/20101026184916_prevent_nil_payment_total.rb +8 -0
  2056. data/core/spec/test_app/db/migrate/20101026184932_prevent_nil_email.rb +9 -0
  2057. data/core/spec/test_app/db/migrate/20101026184959_generate_anonymous_users.rb +14 -0
  2058. data/core/spec/test_app/db/migrate/20101026185022_update_order_state.rb +8 -0
  2059. data/core/spec/test_app/db/migrate/20101026192225_cleanup_legacy_tables.rb +11 -0
  2060. data/core/spec/test_app/db/migrate/20101028151745_remove_number_and_cvv_from_credicard.rb +9 -0
  2061. data/core/spec/test_app/db/migrate/20101103212716_drop_anonymous_field_for_user.rb +8 -0
  2062. data/core/spec/test_app/db/migrate/20101111133551_renamed_rma_cancelled_state.rb +10 -0
  2063. data/core/spec/test_app/db/migrate/20101117031806_fix_problematic_index_names.rb +13 -0
  2064. data/core/spec/test_app/db/migrate/20101223215658_add_position_to_variants.rb +9 -0
  2065. data/core/spec/test_app/db/migrate/20110110130847_add_next_state_to_state_events.rb +9 -0
  2066. data/core/spec/test_app/db/migrate/20110111122537_add_position_to_option_types.rb +9 -0
  2067. data/core/spec/test_app/db/migrate/20110314192118_remove_trailing_slashes_in_taxon_permalinks.rb +17 -0
  2068. data/core/spec/test_app/db/sample/users.rb +61 -0
  2069. data/core/spec/test_app/db/schema.rb +531 -0
  2070. data/core/spec/test_app/db/seeds.rb +3 -0
  2071. data/core/spec/test_app/db/test.sqlite3 +0 -0
  2072. data/core/spec/test_app/log/cucumber.log +1324 -0
  2073. data/core/spec/test_app/log/development.log +0 -0
  2074. data/core/spec/test_app/log/production.log +0 -0
  2075. data/core/spec/test_app/log/server.log +0 -0
  2076. data/core/spec/test_app/log/test.log +1324 -0
  2077. data/core/spec/test_app/public/404.html +26 -0
  2078. data/core/spec/test_app/public/422.html +26 -0
  2079. data/core/spec/test_app/public/500.html +26 -0
  2080. data/core/spec/test_app/public/favicon.ico +0 -0
  2081. data/core/spec/test_app/public/images/add-to-cart.png +0 -0
  2082. data/core/spec/test_app/public/images/admin/bg/active-tab.png +0 -0
  2083. data/core/spec/test_app/public/images/admin/bg/admin_tab_back.png +0 -0
  2084. data/core/spec/test_app/public/images/admin/bg/admin_tab_selected_back.png +0 -0
  2085. data/core/spec/test_app/public/images/admin/bg/content-back-blue.png +0 -0
  2086. data/core/spec/test_app/public/images/admin/bg/content-back-green.png +0 -0
  2087. data/core/spec/test_app/public/images/admin/bg/content-back.png +0 -0
  2088. data/core/spec/test_app/public/images/admin/bg/flash-error.png +0 -0
  2089. data/core/spec/test_app/public/images/admin/bg/flash-notice.png +0 -0
  2090. data/core/spec/test_app/public/images/admin/bg/green-stripes.gif +0 -0
  2091. data/core/spec/test_app/public/images/admin/bg/green-stripes.png +0 -0
  2092. data/core/spec/test_app/public/images/admin/bg/grid_header_back.png +0 -0
  2093. data/core/spec/test_app/public/images/admin/bg/grid_header_back_green.png +0 -0
  2094. data/core/spec/test_app/public/images/admin/bg/header-bg.png +0 -0
  2095. data/core/spec/test_app/public/images/admin/bg/header.png +0 -0
  2096. data/core/spec/test_app/public/images/admin/bg/header_bg.jpg +0 -0
  2097. data/core/spec/test_app/public/images/admin/bg/menu-current.png +0 -0
  2098. data/core/spec/test_app/public/images/admin/bg/red-stripes.gif +0 -0
  2099. data/core/spec/test_app/public/images/admin/bg/red-stripes.png +0 -0
  2100. data/core/spec/test_app/public/images/admin/bg/spree_50.png +0 -0
  2101. data/core/spec/test_app/public/images/admin/bg/subnav-divider.png +0 -0
  2102. data/core/spec/test_app/public/images/admin/bg/subnav.png +0 -0
  2103. data/core/spec/test_app/public/images/admin/bg/tab-back.png +0 -0
  2104. data/core/spec/test_app/public/images/admin/buttons/blue/left_01.png +0 -0
  2105. data/core/spec/test_app/public/images/admin/buttons/blue/right_01.png +0 -0
  2106. data/core/spec/test_app/public/images/admin/buttons/drag-handle-green.png +0 -0
  2107. data/core/spec/test_app/public/images/admin/buttons/green/left_01.png +0 -0
  2108. data/core/spec/test_app/public/images/admin/buttons/green/right_01.png +0 -0
  2109. data/core/spec/test_app/public/images/admin/buttons/left_01.png +0 -0
  2110. data/core/spec/test_app/public/images/admin/buttons/left_01_small.png +0 -0
  2111. data/core/spec/test_app/public/images/admin/buttons/orange/left_03.png +0 -0
  2112. data/core/spec/test_app/public/images/admin/buttons/orange/right_03.png +0 -0
  2113. data/core/spec/test_app/public/images/admin/buttons/right_01.png +0 -0
  2114. data/core/spec/test_app/public/images/admin/buttons/right_01_small.png +0 -0
  2115. data/core/spec/test_app/public/images/admin/icons/16x16/1.png +0 -0
  2116. data/core/spec/test_app/public/images/admin/icons/16x16/10.png +0 -0
  2117. data/core/spec/test_app/public/images/admin/icons/16x16/2.png +0 -0
  2118. data/core/spec/test_app/public/images/admin/icons/16x16/3.png +0 -0
  2119. data/core/spec/test_app/public/images/admin/icons/16x16/4.png +0 -0
  2120. data/core/spec/test_app/public/images/admin/icons/16x16/5.png +0 -0
  2121. data/core/spec/test_app/public/images/admin/icons/16x16/6.png +0 -0
  2122. data/core/spec/test_app/public/images/admin/icons/16x16/7.png +0 -0
  2123. data/core/spec/test_app/public/images/admin/icons/16x16/8.png +0 -0
  2124. data/core/spec/test_app/public/images/admin/icons/16x16/9.png +0 -0
  2125. data/core/spec/test_app/public/images/admin/icons/32x32/1.png +0 -0
  2126. data/core/spec/test_app/public/images/admin/icons/32x32/10.png +0 -0
  2127. data/core/spec/test_app/public/images/admin/icons/32x32/11.png +0 -0
  2128. data/core/spec/test_app/public/images/admin/icons/32x32/2.png +0 -0
  2129. data/core/spec/test_app/public/images/admin/icons/32x32/3.png +0 -0
  2130. data/core/spec/test_app/public/images/admin/icons/32x32/4.png +0 -0
  2131. data/core/spec/test_app/public/images/admin/icons/32x32/5.png +0 -0
  2132. data/core/spec/test_app/public/images/admin/icons/32x32/6.png +0 -0
  2133. data/core/spec/test_app/public/images/admin/icons/32x32/7.png +0 -0
  2134. data/core/spec/test_app/public/images/admin/icons/32x32/8.png +0 -0
  2135. data/core/spec/test_app/public/images/admin/icons/32x32/9.png +0 -0
  2136. data/core/spec/test_app/public/images/admin/icons/accept.png +0 -0
  2137. data/core/spec/test_app/public/images/admin/icons/add.gif +0 -0
  2138. data/core/spec/test_app/public/images/admin/icons/add.png +0 -0
  2139. data/core/spec/test_app/public/images/admin/icons/arrow-down.gif +0 -0
  2140. data/core/spec/test_app/public/images/admin/icons/cross.png +0 -0
  2141. data/core/spec/test_app/public/images/admin/icons/delete.gif +0 -0
  2142. data/core/spec/test_app/public/images/admin/icons/delete.png +0 -0
  2143. data/core/spec/test_app/public/images/admin/icons/drag.gif +0 -0
  2144. data/core/spec/test_app/public/images/admin/icons/edit.gif +0 -0
  2145. data/core/spec/test_app/public/images/admin/icons/edit.png +0 -0
  2146. data/core/spec/test_app/public/images/admin/icons/email.png +0 -0
  2147. data/core/spec/test_app/public/images/admin/icons/error.png +0 -0
  2148. data/core/spec/test_app/public/images/admin/icons/exclamation.png +0 -0
  2149. data/core/spec/test_app/public/images/admin/icons/feed.png +0 -0
  2150. data/core/spec/test_app/public/images/admin/icons/pdf.png +0 -0
  2151. data/core/spec/test_app/public/images/admin/icons/reorder.gif +0 -0
  2152. data/core/spec/test_app/public/images/admin/icons/search.gif +0 -0
  2153. data/core/spec/test_app/public/images/admin/icons/send-email.png +0 -0
  2154. data/core/spec/test_app/public/images/admin/icons/stop.png +0 -0
  2155. data/core/spec/test_app/public/images/admin/icons/tick.png +0 -0
  2156. data/core/spec/test_app/public/images/admin/icons/up.gif +0 -0
  2157. data/core/spec/test_app/public/images/admin/icons/xls.png +0 -0
  2158. data/core/spec/test_app/public/images/admin/tabs/off-left.png +0 -0
  2159. data/core/spec/test_app/public/images/admin/tabs/off-right.png +0 -0
  2160. data/core/spec/test_app/public/images/admin/tabs/on-left.png +0 -0
  2161. data/core/spec/test_app/public/images/admin/tabs/on-right.png +0 -0
  2162. data/core/spec/test_app/public/images/ajax_loader.gif +0 -0
  2163. data/core/spec/test_app/public/images/amex_cid.gif +0 -0
  2164. data/core/spec/test_app/public/images/bg-button-hover.png +0 -0
  2165. data/core/spec/test_app/public/images/bg-button-pressed.png +0 -0
  2166. data/core/spec/test_app/public/images/bg-button.gif +0 -0
  2167. data/core/spec/test_app/public/images/bg-button.png +0 -0
  2168. data/core/spec/test_app/public/images/blue/left_01.png +0 -0
  2169. data/core/spec/test_app/public/images/blue/right_01.png +0 -0
  2170. data/core/spec/test_app/public/images/body-back.png +0 -0
  2171. data/core/spec/test_app/public/images/bottom_shine.png +0 -0
  2172. data/core/spec/test_app/public/images/breadcrumb.gif +0 -0
  2173. data/core/spec/test_app/public/images/button-dark-hover.png +0 -0
  2174. data/core/spec/test_app/public/images/button-dark.png +0 -0
  2175. data/core/spec/test_app/public/images/buttons/bg-button-hover.png +0 -0
  2176. data/core/spec/test_app/public/images/buttons/bg-button-pressed.png +0 -0
  2177. data/core/spec/test_app/public/images/buttons/bg-button.gif +0 -0
  2178. data/core/spec/test_app/public/images/buttons/bg-button.png +0 -0
  2179. data/core/spec/test_app/public/images/buttons/blue/left_01.png +0 -0
  2180. data/core/spec/test_app/public/images/buttons/blue/right_01.png +0 -0
  2181. data/core/spec/test_app/public/images/buttons/button-dark-hover.png +0 -0
  2182. data/core/spec/test_app/public/images/buttons/button-dark.png +0 -0
  2183. data/core/spec/test_app/public/images/buttons/drag-handle-green.png +0 -0
  2184. data/core/spec/test_app/public/images/buttons/green/left_01.png +0 -0
  2185. data/core/spec/test_app/public/images/buttons/green/right_01.png +0 -0
  2186. data/core/spec/test_app/public/images/buttons/left_01.png +0 -0
  2187. data/core/spec/test_app/public/images/buttons/left_01_small.png +0 -0
  2188. data/core/spec/test_app/public/images/buttons/orange/left_03.png +0 -0
  2189. data/core/spec/test_app/public/images/buttons/orange/right_03.png +0 -0
  2190. data/core/spec/test_app/public/images/buttons/right_01.png +0 -0
  2191. data/core/spec/test_app/public/images/buttons/right_01_small.png +0 -0
  2192. data/core/spec/test_app/public/images/buttons/sxsw-ribbon-v1.png +0 -0
  2193. data/core/spec/test_app/public/images/buttons/top-shine.png +0 -0
  2194. data/core/spec/test_app/public/images/calendar_date_select/calendar.gif +0 -0
  2195. data/core/spec/test_app/public/images/cart-empty.png +0 -0
  2196. data/core/spec/test_app/public/images/cart-empty_x32.png +0 -0
  2197. data/core/spec/test_app/public/images/cart-full.png +0 -0
  2198. data/core/spec/test_app/public/images/cart-full_x32.png +0 -0
  2199. data/core/spec/test_app/public/images/checkout.png +0 -0
  2200. data/core/spec/test_app/public/images/creditcard.gif +0 -0
  2201. data/core/spec/test_app/public/images/datepicker/backstripes.gif +0 -0
  2202. data/core/spec/test_app/public/images/datepicker/bg_header.jpg +0 -0
  2203. data/core/spec/test_app/public/images/datepicker/bullet1.gif +0 -0
  2204. data/core/spec/test_app/public/images/datepicker/bullet2.gif +0 -0
  2205. data/core/spec/test_app/public/images/datepicker/cal.gif +0 -0
  2206. data/core/spec/test_app/public/images/datepicker/gradient-e5e5e5-ffffff.gif +0 -0
  2207. data/core/spec/test_app/public/images/discover_cid.gif +0 -0
  2208. data/core/spec/test_app/public/images/drag-handle-green.png +0 -0
  2209. data/core/spec/test_app/public/images/favicon.ico +0 -0
  2210. data/core/spec/test_app/public/images/green/left_01.png +0 -0
  2211. data/core/spec/test_app/public/images/green/right_01.png +0 -0
  2212. data/core/spec/test_app/public/images/grid.png +0 -0
  2213. data/core/spec/test_app/public/images/left_01.png +0 -0
  2214. data/core/spec/test_app/public/images/left_01_small.png +0 -0
  2215. data/core/spec/test_app/public/images/master_cid.jpg +0 -0
  2216. data/core/spec/test_app/public/images/menu-current.png +0 -0
  2217. data/core/spec/test_app/public/images/menu-hover.png +0 -0
  2218. data/core/spec/test_app/public/images/noimage/mini.jpg +0 -0
  2219. data/core/spec/test_app/public/images/noimage/product.jpg +0 -0
  2220. data/core/spec/test_app/public/images/noimage/small.jpg +0 -0
  2221. data/core/spec/test_app/public/images/openid-inputicon.gif +0 -0
  2222. data/core/spec/test_app/public/images/orange/left_03.png +0 -0
  2223. data/core/spec/test_app/public/images/orange/right_03.png +0 -0
  2224. data/core/spec/test_app/public/images/progress.gif +0 -0
  2225. data/core/spec/test_app/public/images/reorder.jpg +0 -0
  2226. data/core/spec/test_app/public/images/right_01.png +0 -0
  2227. data/core/spec/test_app/public/images/right_01_small.png +0 -0
  2228. data/core/spec/test_app/public/images/separator.png +0 -0
  2229. data/core/spec/test_app/public/images/shadow-top.png +0 -0
  2230. data/core/spec/test_app/public/images/shadow_top.png +0 -0
  2231. data/core/spec/test_app/public/images/spinner.gif +0 -0
  2232. data/core/spec/test_app/public/images/spree.jpg +0 -0
  2233. data/core/spec/test_app/public/images/spree/progress.gif +0 -0
  2234. data/core/spec/test_app/public/images/spree/spinner.gif +0 -0
  2235. data/core/spec/test_app/public/images/spree/spree.jpg +0 -0
  2236. data/core/spec/test_app/public/images/step-progress/completed-completed.gif +0 -0
  2237. data/core/spec/test_app/public/images/step-progress/completed-current.gif +0 -0
  2238. data/core/spec/test_app/public/images/step-progress/completed-first.gif +0 -0
  2239. data/core/spec/test_app/public/images/step-progress/current-first.gif +0 -0
  2240. data/core/spec/test_app/public/images/step-progress/current-incomplete.gif +0 -0
  2241. data/core/spec/test_app/public/images/step-progress/current-right.gif +0 -0
  2242. data/core/spec/test_app/public/images/step-progress/incomplete-incomplete.gif +0 -0
  2243. data/core/spec/test_app/public/images/step-progress/incomplete-right.gif +0 -0
  2244. data/core/spec/test_app/public/images/steps/1.png +0 -0
  2245. data/core/spec/test_app/public/images/steps/1_small.png +0 -0
  2246. data/core/spec/test_app/public/images/steps/2.png +0 -0
  2247. data/core/spec/test_app/public/images/steps/2_small.png +0 -0
  2248. data/core/spec/test_app/public/images/steps/3.png +0 -0
  2249. data/core/spec/test_app/public/images/steps/3_small.png +0 -0
  2250. data/core/spec/test_app/public/images/steps/4.png +0 -0
  2251. data/core/spec/test_app/public/images/steps/4_small.png +0 -0
  2252. data/core/spec/test_app/public/images/steps/5.png +0 -0
  2253. data/core/spec/test_app/public/images/steps/5_small.png +0 -0
  2254. data/core/spec/test_app/public/images/steps/6.png +0 -0
  2255. data/core/spec/test_app/public/images/steps/6_small.png +0 -0
  2256. data/core/spec/test_app/public/images/sxsw-ribbon-v1.png +0 -0
  2257. data/core/spec/test_app/public/images/tab_bottom.gif +0 -0
  2258. data/core/spec/test_app/public/images/tile-header.png +0 -0
  2259. data/core/spec/test_app/public/images/tile-slider.png +0 -0
  2260. data/core/spec/test_app/public/images/top-shine.png +0 -0
  2261. data/core/spec/test_app/public/images/tree-nav-icons/bullet.gif +0 -0
  2262. data/core/spec/test_app/public/images/tree-nav-icons/minus.gif +0 -0
  2263. data/core/spec/test_app/public/images/tree-nav-icons/plus.gif +0 -0
  2264. data/core/spec/test_app/public/images/tree-nav-icons/treeview-loading.gif +0 -0
  2265. data/core/spec/test_app/public/images/tree-nav-icons/treeview-sprite.gif +0 -0
  2266. data/core/spec/test_app/public/images/update.png +0 -0
  2267. data/core/spec/test_app/public/images/visa_cid.gif +0 -0
  2268. data/core/spec/test_app/public/images/wrapper-back-2.png +0 -0
  2269. data/core/spec/test_app/public/images/wrapper-back.png +0 -0
  2270. data/core/spec/test_app/public/images/yui-menubaritem_submenuindicator.png +0 -0
  2271. data/core/spec/test_app/public/images/yui-menubaritem_submenuindicator_disabled.png +0 -0
  2272. data/core/spec/test_app/public/images/yui-menuitem_checkbox.png +0 -0
  2273. data/core/spec/test_app/public/images/yui-menuitem_checkbox_disabled.png +0 -0
  2274. data/core/spec/test_app/public/images/yui-menuitem_submenuindicator.png +0 -0
  2275. data/core/spec/test_app/public/images/yui-menuitem_submenuindicator_disabled.png +0 -0
  2276. data/core/spec/test_app/public/images/yui-sprite.png +0 -0
  2277. data/core/spec/test_app/public/javascripts/additional-methods.js +236 -0
  2278. data/core/spec/test_app/public/javascripts/admin.js +232 -0
  2279. data/core/spec/test_app/public/javascripts/admin/address_states.js +25 -0
  2280. data/core/spec/test_app/public/javascripts/admin/checkouts/edit.js +130 -0
  2281. data/core/spec/test_app/public/javascripts/admin/orders/edit.js +23 -0
  2282. data/core/spec/test_app/public/javascripts/admin/orders/edit_form.js +16 -0
  2283. data/core/spec/test_app/public/javascripts/admin/payments/new.js +9 -0
  2284. data/core/spec/test_app/public/javascripts/admin/unobtrusive_handlers.js +43 -0
  2285. data/core/spec/test_app/public/javascripts/application.js +12 -0
  2286. data/core/spec/test_app/public/javascripts/calculator.js +15 -0
  2287. data/core/spec/test_app/public/javascripts/checkout.js +75 -0
  2288. data/core/spec/test_app/public/javascripts/datepicker.js +1445 -0
  2289. data/core/spec/test_app/public/javascripts/gateway.js +13 -0
  2290. data/core/spec/test_app/public/javascripts/jquery-1.4.2.min.js +154 -0
  2291. data/core/spec/test_app/public/javascripts/jquery-ui.js +188 -0
  2292. data/core/spec/test_app/public/javascripts/jquery.alerts/images/help.gif +0 -0
  2293. data/core/spec/test_app/public/javascripts/jquery.alerts/images/important.gif +0 -0
  2294. data/core/spec/test_app/public/javascripts/jquery.alerts/images/info.gif +0 -0
  2295. data/core/spec/test_app/public/javascripts/jquery.alerts/images/title.gif +0 -0
  2296. data/core/spec/test_app/public/javascripts/jquery.alerts/jquery.alerts.css +57 -0
  2297. data/core/spec/test_app/public/javascripts/jquery.alerts/jquery.alerts.js +235 -0
  2298. data/core/spec/test_app/public/javascripts/jquery.alerts/jquery.alerts.spree.css +30 -0
  2299. data/core/spec/test_app/public/javascripts/jquery.autocomplete.min.js +13 -0
  2300. data/core/spec/test_app/public/javascripts/jquery.cookie.js +96 -0
  2301. data/core/spec/test_app/public/javascripts/jquery.delayedobserver.js +35 -0
  2302. data/core/spec/test_app/public/javascripts/jquery.suggest.js +276 -0
  2303. data/core/spec/test_app/public/javascripts/jquery.template.js +255 -0
  2304. data/core/spec/test_app/public/javascripts/jquery.tokeninput.js +618 -0
  2305. data/core/spec/test_app/public/javascripts/jquery.validate.min.js +16 -0
  2306. data/core/spec/test_app/public/javascripts/jsTree/jquery.jstree.js +3510 -0
  2307. data/core/spec/test_app/public/javascripts/jsTree/themes/apple/bg.jpg +0 -0
  2308. data/core/spec/test_app/public/javascripts/jsTree/themes/apple/d.png +0 -0
  2309. data/core/spec/test_app/public/javascripts/jsTree/themes/apple/dot_for_ie.gif +0 -0
  2310. data/core/spec/test_app/public/javascripts/jsTree/themes/apple/style.css +60 -0
  2311. data/core/spec/test_app/public/javascripts/jsTree/themes/apple/throbber.gif +0 -0
  2312. data/core/spec/test_app/public/javascripts/lang/af.js +40 -0
  2313. data/core/spec/test_app/public/javascripts/lang/ar.js +50 -0
  2314. data/core/spec/test_app/public/javascripts/lang/de.js +40 -0
  2315. data/core/spec/test_app/public/javascripts/lang/du.js +40 -0
  2316. data/core/spec/test_app/public/javascripts/lang/en.js +42 -0
  2317. data/core/spec/test_app/public/javascripts/lang/es.js +41 -0
  2318. data/core/spec/test_app/public/javascripts/lang/fi.js +40 -0
  2319. data/core/spec/test_app/public/javascripts/lang/fr.js +44 -0
  2320. data/core/spec/test_app/public/javascripts/lang/gr.js +40 -0
  2321. data/core/spec/test_app/public/javascripts/lang/he.js +49 -0
  2322. data/core/spec/test_app/public/javascripts/lang/it.js +13 -0
  2323. data/core/spec/test_app/public/javascripts/lang/nl.js +40 -0
  2324. data/core/spec/test_app/public/javascripts/lang/no.js +40 -0
  2325. data/core/spec/test_app/public/javascripts/lang/pt.js +50 -0
  2326. data/core/spec/test_app/public/javascripts/lang/ro.js +40 -0
  2327. data/core/spec/test_app/public/javascripts/lang/ru.js +40 -0
  2328. data/core/spec/test_app/public/javascripts/lang/sp.js +40 -0
  2329. data/core/spec/test_app/public/javascripts/lang/sv.js +41 -0
  2330. data/core/spec/test_app/public/javascripts/lang/ua.js +40 -0
  2331. data/core/spec/test_app/public/javascripts/localization/messages_cn.js +24 -0
  2332. data/core/spec/test_app/public/javascripts/localization/messages_cs.js +23 -0
  2333. data/core/spec/test_app/public/javascripts/localization/messages_da.js +21 -0
  2334. data/core/spec/test_app/public/javascripts/localization/messages_de.js +21 -0
  2335. data/core/spec/test_app/public/javascripts/localization/messages_es.js +24 -0
  2336. data/core/spec/test_app/public/javascripts/localization/messages_fr.js +23 -0
  2337. data/core/spec/test_app/public/javascripts/localization/messages_hu.js +21 -0
  2338. data/core/spec/test_app/public/javascripts/localization/messages_it.js +26 -0
  2339. data/core/spec/test_app/public/javascripts/localization/messages_kk.js +23 -0
  2340. data/core/spec/test_app/public/javascripts/localization/messages_nl.js +23 -0
  2341. data/core/spec/test_app/public/javascripts/localization/messages_no.js +23 -0
  2342. data/core/spec/test_app/public/javascripts/localization/messages_pl.js +23 -0
  2343. data/core/spec/test_app/public/javascripts/localization/messages_ptbr.js +30 -0
  2344. data/core/spec/test_app/public/javascripts/localization/messages_ro.js +24 -0
  2345. data/core/spec/test_app/public/javascripts/localization/messages_ru.js +23 -0
  2346. data/core/spec/test_app/public/javascripts/localization/messages_se.js +23 -0
  2347. data/core/spec/test_app/public/javascripts/localization/messages_sk.js +21 -0
  2348. data/core/spec/test_app/public/javascripts/localization/messages_tr.js +24 -0
  2349. data/core/spec/test_app/public/javascripts/localization/messages_tw.js +24 -0
  2350. data/core/spec/test_app/public/javascripts/localization/messages_ua.js +24 -0
  2351. data/core/spec/test_app/public/javascripts/nested-attribute.js +26 -0
  2352. data/core/spec/test_app/public/javascripts/open_id.js +15 -0
  2353. data/core/spec/test_app/public/javascripts/product.js +49 -0
  2354. data/core/spec/test_app/public/javascripts/rails.js +127 -0
  2355. data/core/spec/test_app/public/javascripts/taxonomy.js +201 -0
  2356. data/core/spec/test_app/public/javascripts/zone.js +39 -0
  2357. data/core/spec/test_app/public/robots.txt +5 -0
  2358. data/core/spec/test_app/public/stylesheets/admin/admin-forms.css +154 -0
  2359. data/core/spec/test_app/public/stylesheets/admin/admin-reset.css +69 -0
  2360. data/core/spec/test_app/public/stylesheets/admin/admin-tables.css +39 -0
  2361. data/core/spec/test_app/public/stylesheets/admin/admin-typography.css +117 -0
  2362. data/core/spec/test_app/public/stylesheets/admin/admin.css +614 -0
  2363. data/core/spec/test_app/public/stylesheets/admin/autocomplete.css +73 -0
  2364. data/core/spec/test_app/public/stylesheets/admin/dashboard.css +143 -0
  2365. data/core/spec/test_app/public/stylesheets/admin/edit_checkouts.css +57 -0
  2366. data/core/spec/test_app/public/stylesheets/admin/grids.css +314 -0
  2367. data/core/spec/test_app/public/stylesheets/admin/reset-fonts-grids-2-6-0.css +7 -0
  2368. data/core/spec/test_app/public/stylesheets/admin/token-input.css +109 -0
  2369. data/core/spec/test_app/public/stylesheets/admin/yui-includes.css +14 -0
  2370. data/core/spec/test_app/public/stylesheets/datepicker.css +263 -0
  2371. data/core/spec/test_app/public/stylesheets/jquery.autocomplete.css +48 -0
  2372. data/core/spec/test_app/public/stylesheets/screen.css +916 -0
  2373. data/core/spec/test_app/script/rails +6 -0
  2374. data/dash/Gemfile +35 -0
  2375. data/dash/Gemfile.lock +233 -0
  2376. data/dash/LICENSE +26 -0
  2377. data/dash/README.md +14 -0
  2378. data/dash/Rakefile +50 -0
  2379. data/dash/app/controllers/admin/overview_controller.rb +152 -0
  2380. data/dash/app/views/admin/overview/index.html.erb +174 -0
  2381. data/dash/config/routes.rb +4 -0
  2382. data/dash/lib/spree_dash.rb +6 -0
  2383. data/dash/lib/tasks/install.rake +24 -0
  2384. data/dash/public/javascripts/dashboard.js +143 -0
  2385. data/dash/public/javascripts/jqPlot/excanvas.min.js +1 -0
  2386. data/dash/public/javascripts/jqPlot/jquery.jqplot.min.js +14 -0
  2387. data/dash/public/javascripts/jqPlot/plugins/jqplot.canvasAxisLabelRenderer.min.js +14 -0
  2388. data/dash/public/javascripts/jqPlot/plugins/jqplot.canvasAxisTickRenderer.min.js +14 -0
  2389. data/dash/public/javascripts/jqPlot/plugins/jqplot.canvasTextRenderer.min.js +14 -0
  2390. data/dash/public/javascripts/jqPlot/plugins/jqplot.categoryAxisRenderer.min.js +14 -0
  2391. data/dash/public/javascripts/jqPlot/plugins/jqplot.dateAxisRenderer.min.js +14 -0
  2392. data/dash/public/javascripts/jqPlot/plugins/jqplot.highlighter.min.js +14 -0
  2393. data/dash/public/javascripts/jqPlot/plugins/jqplot.pieRenderer.min.js +14 -0
  2394. data/dash/public/stylesheets/admin/dashboard.css +143 -0
  2395. data/dash/rfcommerce_dash.gemspec +27 -0
  2396. data/dash/spec/controllers/admin/overview_controller_spec.rb +16 -0
  2397. data/dash/spec/spec_helper.rb +30 -0
  2398. data/dash/spec/test_app/Gemfile +35 -0
  2399. data/dash/spec/test_app/Rakefile +7 -0
  2400. data/dash/spec/test_app/app/controllers/application_controller.rb +3 -0
  2401. data/dash/spec/test_app/app/helpers/application_helper.rb +2 -0
  2402. data/dash/spec/test_app/app/views/layouts/application.html.erb +14 -0
  2403. data/dash/spec/test_app/config.ru +4 -0
  2404. data/dash/spec/test_app/config/application.rb +42 -0
  2405. data/dash/spec/test_app/config/boot.rb +6 -0
  2406. data/dash/spec/test_app/config/database.yml +17 -0
  2407. data/dash/spec/test_app/config/environment.rb +5 -0
  2408. data/dash/spec/test_app/config/environments/cucumber.rb +38 -0
  2409. data/dash/spec/test_app/config/environments/development.rb +26 -0
  2410. data/dash/spec/test_app/config/environments/production.rb +49 -0
  2411. data/dash/spec/test_app/config/environments/test.rb +35 -0
  2412. data/dash/spec/test_app/config/initializers/backtrace_silencers.rb +7 -0
  2413. data/dash/spec/test_app/config/initializers/inflections.rb +10 -0
  2414. data/dash/spec/test_app/config/initializers/mime_types.rb +5 -0
  2415. data/dash/spec/test_app/config/initializers/secret_token.rb +7 -0
  2416. data/dash/spec/test_app/config/initializers/session_store.rb +8 -0
  2417. data/dash/spec/test_app/config/locales/en.yml +5 -0
  2418. data/dash/spec/test_app/config/routes.rb +58 -0
  2419. data/dash/spec/test_app/db/cucumber.sqlite3 +0 -0
  2420. data/dash/spec/test_app/db/default/countries.yml +1583 -0
  2421. data/dash/spec/test_app/db/default/roles.yml +7 -0
  2422. data/dash/spec/test_app/db/default/states.yml +256 -0
  2423. data/dash/spec/test_app/db/default/zone_members.yml +169 -0
  2424. data/dash/spec/test_app/db/default/zones.yml +13 -0
  2425. data/dash/spec/test_app/db/migrate/20090823005402_spree_zero_nine_zero.rb +442 -0
  2426. data/dash/spec/test_app/db/migrate/20090904192342_create_indexes_for_inventory_units.rb +12 -0
  2427. data/dash/spec/test_app/db/migrate/20090923100315_add_count_on_hand_to_variants_and_products.rb +36 -0
  2428. data/dash/spec/test_app/db/migrate/20091007134354_change_taxons_to_nested_set.rb +40 -0
  2429. data/dash/spec/test_app/db/migrate/20091008091614_move_to_configurable_gateways.rb +55 -0
  2430. data/dash/spec/test_app/db/migrate/20091012120519_product_groups_and_scopes.rb +25 -0
  2431. data/dash/spec/test_app/db/migrate/20091015110842_add_open_id_authentication_tables.rb +20 -0
  2432. data/dash/spec/test_app/db/migrate/20091015153048_add_openid_field_to_users.rb +19 -0
  2433. data/dash/spec/test_app/db/migrate/20091016174634_change_preference_value_type.rb +10 -0
  2434. data/dash/spec/test_app/db/migrate/20091017175558_create_billing_integrations.rb +16 -0
  2435. data/dash/spec/test_app/db/migrate/20091021133257_charge_refactoring.rb +35 -0
  2436. data/dash/spec/test_app/db/migrate/20091104151730_add_some_indexes.rb +21 -0
  2437. data/dash/spec/test_app/db/migrate/20091126190904_checkout_state_machine.rb +13 -0
  2438. data/dash/spec/test_app/db/migrate/20091209153045_state_for_shipments.rb +9 -0
  2439. data/dash/spec/test_app/db/migrate/20091209202200_make_state_events_polymorphic.rb +12 -0
  2440. data/dash/spec/test_app/db/migrate/20091211203813_ship_address_id_for_checkouts.rb +9 -0
  2441. data/dash/spec/test_app/db/migrate/20091212161118_shipping_method_id_for_checkouts.rb +9 -0
  2442. data/dash/spec/test_app/db/migrate/20091213222815_creditcard_last_four_digits.rb +19 -0
  2443. data/dash/spec/test_app/db/migrate/20091214183826_populate_legacy_shipment_state.rb +19 -0
  2444. data/dash/spec/test_app/db/migrate/20100105090147_add_cost_price.rb +9 -0
  2445. data/dash/spec/test_app/db/migrate/20100105132138_shipment_id_for_inventory_units.rb +21 -0
  2446. data/dash/spec/test_app/db/migrate/20100111205525_cim_fields_for_creditcards.rb +11 -0
  2447. data/dash/spec/test_app/db/migrate/20100112151511_create_return_authorizations.rb +16 -0
  2448. data/dash/spec/test_app/db/migrate/20100113090919_add_return_authorization_to_inventory_units.rb +9 -0
  2449. data/dash/spec/test_app/db/migrate/20100113203104_create_trackers.rb +14 -0
  2450. data/dash/spec/test_app/db/migrate/20100121160010_creditcard_id_for_creditcard_txns.rb +9 -0
  2451. data/dash/spec/test_app/db/migrate/20100121183934_original_creditcard_txn_id_for_creditcard_txns.rb +9 -0
  2452. data/dash/spec/test_app/db/migrate/20100125145351_add_test_mode_to_billing_integration.rb +11 -0
  2453. data/dash/spec/test_app/db/migrate/20100126103714_create_products_product_groups.rb +12 -0
  2454. data/dash/spec/test_app/db/migrate/20100209025806_create_payment_methods.rb +20 -0
  2455. data/dash/spec/test_app/db/migrate/20100209144531_polymorphic_payments.rb +29 -0
  2456. data/dash/spec/test_app/db/migrate/20100213103131_change_payments_payment_method_to_belongs_to.rb +11 -0
  2457. data/dash/spec/test_app/db/migrate/20100214212536_assign_creditcard_txns_to_payment.rb +16 -0
  2458. data/dash/spec/test_app/db/migrate/20100223170312_sti_for_transactions.rb +14 -0
  2459. data/dash/spec/test_app/db/migrate/20100223183812_drop_billing_integrations.rb +16 -0
  2460. data/dash/spec/test_app/db/migrate/20100224153127_deleted_at_for_payment_methods.rb +13 -0
  2461. data/dash/spec/test_app/db/migrate/20100301163454_add_adjustments_index.rb +10 -0
  2462. data/dash/spec/test_app/db/migrate/20100306153445_fix_by_popularity.rb +8 -0
  2463. data/dash/spec/test_app/db/migrate/20100317120946_add_alt_text_to_images.rb +9 -0
  2464. data/dash/spec/test_app/db/migrate/20100427121301_add_display_to_payment_methods.rb +9 -0
  2465. data/dash/spec/test_app/db/migrate/20100504142133_add_addresses_checkouts_indexes.rb +16 -0
  2466. data/dash/spec/test_app/db/migrate/20100506180619_add_icon_to_taxons.rb +18 -0
  2467. data/dash/spec/test_app/db/migrate/20100506185838_add_description_to_taxons.rb +11 -0
  2468. data/dash/spec/test_app/db/migrate/20100528155333_index_for_shipments_number.rb +9 -0
  2469. data/dash/spec/test_app/db/migrate/20100528185820_add_index_on_users_persistence_token.rb +9 -0
  2470. data/dash/spec/test_app/db/migrate/20100605152042_add_default_to_tax_categories.rb +9 -0
  2471. data/dash/spec/test_app/db/migrate/20100624110730_add_display_to_shipping_methods.rb +9 -0
  2472. data/dash/spec/test_app/db/migrate/20100624123336_rename_payment_method_display.rb +9 -0
  2473. data/dash/spec/test_app/db/migrate/20100624175547_rename_preferences_field.rb +8 -0
  2474. data/dash/spec/test_app/db/migrate/20100811163637_add_guest_flag.rb +13 -0
  2475. data/dash/spec/test_app/db/migrate/20100811205836_drop_order_token.rb +11 -0
  2476. data/dash/spec/test_app/db/migrate/20100812162326_payments_state_and_assigned_to_order_only.rb +11 -0
  2477. data/dash/spec/test_app/db/migrate/20100813023502_create_address_keys_for_order.rb +15 -0
  2478. data/dash/spec/test_app/db/migrate/20100813185745_payment_total_for_orders.rb +9 -0
  2479. data/dash/spec/test_app/db/migrate/20100816212146_shipping_method_id_for_orders.rb +9 -0
  2480. data/dash/spec/test_app/db/migrate/20100817152723_add_shipment_and_payment_state.rb +15 -0
  2481. data/dash/spec/test_app/db/migrate/20100819170125_refactor_adjustments.rb +19 -0
  2482. data/dash/spec/test_app/db/migrate/20100820135707_response_code_and_avs_response_for_payments.rb +11 -0
  2483. data/dash/spec/test_app/db/migrate/20100901171814_change_guest_flag_to_anonymous.rb +13 -0
  2484. data/dash/spec/test_app/db/migrate/20100903203949_email_for_orders.rb +9 -0
  2485. data/dash/spec/test_app/db/migrate/20100923162011_create_mail_methods.rb +12 -0
  2486. data/dash/spec/test_app/db/migrate/20100929151905_rename_frozen_to_locked.rb +8 -0
  2487. data/dash/spec/test_app/db/migrate/20101008190536_move_special_instructions_to_orders.rb +11 -0
  2488. data/dash/spec/test_app/db/migrate/20101026184700_create_log_entries.rb +15 -0
  2489. data/dash/spec/test_app/db/migrate/20101026184714_migrate_transactions_to_payment_state.rb +94 -0
  2490. data/dash/spec/test_app/db/migrate/20101026184746_delete_in_progress_orders.rb +18 -0
  2491. data/dash/spec/test_app/db/migrate/20101026184808_migrate_checkout_to_orders.rb +27 -0
  2492. data/dash/spec/test_app/db/migrate/20101026184833_migrate_adjustments.rb +9 -0
  2493. data/dash/spec/test_app/db/migrate/20101026184855_remove_shipped_state.rb +14 -0
  2494. data/dash/spec/test_app/db/migrate/20101026184916_prevent_nil_payment_total.rb +8 -0
  2495. data/dash/spec/test_app/db/migrate/20101026184932_prevent_nil_email.rb +9 -0
  2496. data/dash/spec/test_app/db/migrate/20101026184959_generate_anonymous_users.rb +14 -0
  2497. data/dash/spec/test_app/db/migrate/20101026185022_update_order_state.rb +8 -0
  2498. data/dash/spec/test_app/db/migrate/20101026192225_cleanup_legacy_tables.rb +11 -0
  2499. data/dash/spec/test_app/db/migrate/20101028151745_remove_number_and_cvv_from_credicard.rb +9 -0
  2500. data/dash/spec/test_app/db/migrate/20101103212716_drop_anonymous_field_for_user.rb +8 -0
  2501. data/dash/spec/test_app/db/migrate/20101111133551_renamed_rma_cancelled_state.rb +10 -0
  2502. data/dash/spec/test_app/db/migrate/20101117031806_fix_problematic_index_names.rb +13 -0
  2503. data/dash/spec/test_app/db/migrate/20101223215658_add_position_to_variants.rb +9 -0
  2504. data/dash/spec/test_app/db/migrate/20110110130847_add_next_state_to_state_events.rb +9 -0
  2505. data/dash/spec/test_app/db/migrate/20110111122537_add_position_to_option_types.rb +9 -0
  2506. data/dash/spec/test_app/db/migrate/20110314192118_remove_trailing_slashes_in_taxon_permalinks.rb +17 -0
  2507. data/dash/spec/test_app/db/sample/users.rb +61 -0
  2508. data/dash/spec/test_app/db/schema.rb +531 -0
  2509. data/dash/spec/test_app/db/seeds.rb +3 -0
  2510. data/dash/spec/test_app/db/test.sqlite3 +0 -0
  2511. data/dash/spec/test_app/log/cucumber.log +1324 -0
  2512. data/dash/spec/test_app/log/development.log +0 -0
  2513. data/dash/spec/test_app/log/production.log +0 -0
  2514. data/dash/spec/test_app/log/server.log +0 -0
  2515. data/dash/spec/test_app/log/test.log +1324 -0
  2516. data/dash/spec/test_app/public/404.html +26 -0
  2517. data/dash/spec/test_app/public/422.html +26 -0
  2518. data/dash/spec/test_app/public/500.html +26 -0
  2519. data/dash/spec/test_app/public/favicon.ico +0 -0
  2520. data/dash/spec/test_app/public/images/add-to-cart.png +0 -0
  2521. data/dash/spec/test_app/public/images/admin/bg/active-tab.png +0 -0
  2522. data/dash/spec/test_app/public/images/admin/bg/admin_tab_back.png +0 -0
  2523. data/dash/spec/test_app/public/images/admin/bg/admin_tab_selected_back.png +0 -0
  2524. data/dash/spec/test_app/public/images/admin/bg/content-back-blue.png +0 -0
  2525. data/dash/spec/test_app/public/images/admin/bg/content-back-green.png +0 -0
  2526. data/dash/spec/test_app/public/images/admin/bg/content-back.png +0 -0
  2527. data/dash/spec/test_app/public/images/admin/bg/flash-error.png +0 -0
  2528. data/dash/spec/test_app/public/images/admin/bg/flash-notice.png +0 -0
  2529. data/dash/spec/test_app/public/images/admin/bg/green-stripes.gif +0 -0
  2530. data/dash/spec/test_app/public/images/admin/bg/green-stripes.png +0 -0
  2531. data/dash/spec/test_app/public/images/admin/bg/grid_header_back.png +0 -0
  2532. data/dash/spec/test_app/public/images/admin/bg/grid_header_back_green.png +0 -0
  2533. data/dash/spec/test_app/public/images/admin/bg/header-bg.png +0 -0
  2534. data/dash/spec/test_app/public/images/admin/bg/header.png +0 -0
  2535. data/dash/spec/test_app/public/images/admin/bg/header_bg.jpg +0 -0
  2536. data/dash/spec/test_app/public/images/admin/bg/menu-current.png +0 -0
  2537. data/dash/spec/test_app/public/images/admin/bg/red-stripes.gif +0 -0
  2538. data/dash/spec/test_app/public/images/admin/bg/red-stripes.png +0 -0
  2539. data/dash/spec/test_app/public/images/admin/bg/spree_50.png +0 -0
  2540. data/dash/spec/test_app/public/images/admin/bg/subnav-divider.png +0 -0
  2541. data/dash/spec/test_app/public/images/admin/bg/subnav.png +0 -0
  2542. data/dash/spec/test_app/public/images/admin/bg/tab-back.png +0 -0
  2543. data/dash/spec/test_app/public/images/admin/buttons/blue/left_01.png +0 -0
  2544. data/dash/spec/test_app/public/images/admin/buttons/blue/right_01.png +0 -0
  2545. data/dash/spec/test_app/public/images/admin/buttons/drag-handle-green.png +0 -0
  2546. data/dash/spec/test_app/public/images/admin/buttons/green/left_01.png +0 -0
  2547. data/dash/spec/test_app/public/images/admin/buttons/green/right_01.png +0 -0
  2548. data/dash/spec/test_app/public/images/admin/buttons/left_01.png +0 -0
  2549. data/dash/spec/test_app/public/images/admin/buttons/left_01_small.png +0 -0
  2550. data/dash/spec/test_app/public/images/admin/buttons/orange/left_03.png +0 -0
  2551. data/dash/spec/test_app/public/images/admin/buttons/orange/right_03.png +0 -0
  2552. data/dash/spec/test_app/public/images/admin/buttons/right_01.png +0 -0
  2553. data/dash/spec/test_app/public/images/admin/buttons/right_01_small.png +0 -0
  2554. data/dash/spec/test_app/public/images/admin/icons/16x16/1.png +0 -0
  2555. data/dash/spec/test_app/public/images/admin/icons/16x16/10.png +0 -0
  2556. data/dash/spec/test_app/public/images/admin/icons/16x16/2.png +0 -0
  2557. data/dash/spec/test_app/public/images/admin/icons/16x16/3.png +0 -0
  2558. data/dash/spec/test_app/public/images/admin/icons/16x16/4.png +0 -0
  2559. data/dash/spec/test_app/public/images/admin/icons/16x16/5.png +0 -0
  2560. data/dash/spec/test_app/public/images/admin/icons/16x16/6.png +0 -0
  2561. data/dash/spec/test_app/public/images/admin/icons/16x16/7.png +0 -0
  2562. data/dash/spec/test_app/public/images/admin/icons/16x16/8.png +0 -0
  2563. data/dash/spec/test_app/public/images/admin/icons/16x16/9.png +0 -0
  2564. data/dash/spec/test_app/public/images/admin/icons/32x32/1.png +0 -0
  2565. data/dash/spec/test_app/public/images/admin/icons/32x32/10.png +0 -0
  2566. data/dash/spec/test_app/public/images/admin/icons/32x32/11.png +0 -0
  2567. data/dash/spec/test_app/public/images/admin/icons/32x32/2.png +0 -0
  2568. data/dash/spec/test_app/public/images/admin/icons/32x32/3.png +0 -0
  2569. data/dash/spec/test_app/public/images/admin/icons/32x32/4.png +0 -0
  2570. data/dash/spec/test_app/public/images/admin/icons/32x32/5.png +0 -0
  2571. data/dash/spec/test_app/public/images/admin/icons/32x32/6.png +0 -0
  2572. data/dash/spec/test_app/public/images/admin/icons/32x32/7.png +0 -0
  2573. data/dash/spec/test_app/public/images/admin/icons/32x32/8.png +0 -0
  2574. data/dash/spec/test_app/public/images/admin/icons/32x32/9.png +0 -0
  2575. data/dash/spec/test_app/public/images/admin/icons/accept.png +0 -0
  2576. data/dash/spec/test_app/public/images/admin/icons/add.gif +0 -0
  2577. data/dash/spec/test_app/public/images/admin/icons/add.png +0 -0
  2578. data/dash/spec/test_app/public/images/admin/icons/arrow-down.gif +0 -0
  2579. data/dash/spec/test_app/public/images/admin/icons/cross.png +0 -0
  2580. data/dash/spec/test_app/public/images/admin/icons/delete.gif +0 -0
  2581. data/dash/spec/test_app/public/images/admin/icons/delete.png +0 -0
  2582. data/dash/spec/test_app/public/images/admin/icons/drag.gif +0 -0
  2583. data/dash/spec/test_app/public/images/admin/icons/edit.gif +0 -0
  2584. data/dash/spec/test_app/public/images/admin/icons/edit.png +0 -0
  2585. data/dash/spec/test_app/public/images/admin/icons/email.png +0 -0
  2586. data/dash/spec/test_app/public/images/admin/icons/error.png +0 -0
  2587. data/dash/spec/test_app/public/images/admin/icons/exclamation.png +0 -0
  2588. data/dash/spec/test_app/public/images/admin/icons/feed.png +0 -0
  2589. data/dash/spec/test_app/public/images/admin/icons/pdf.png +0 -0
  2590. data/dash/spec/test_app/public/images/admin/icons/reorder.gif +0 -0
  2591. data/dash/spec/test_app/public/images/admin/icons/search.gif +0 -0
  2592. data/dash/spec/test_app/public/images/admin/icons/send-email.png +0 -0
  2593. data/dash/spec/test_app/public/images/admin/icons/stop.png +0 -0
  2594. data/dash/spec/test_app/public/images/admin/icons/tick.png +0 -0
  2595. data/dash/spec/test_app/public/images/admin/icons/up.gif +0 -0
  2596. data/dash/spec/test_app/public/images/admin/icons/xls.png +0 -0
  2597. data/dash/spec/test_app/public/images/admin/tabs/off-left.png +0 -0
  2598. data/dash/spec/test_app/public/images/admin/tabs/off-right.png +0 -0
  2599. data/dash/spec/test_app/public/images/admin/tabs/on-left.png +0 -0
  2600. data/dash/spec/test_app/public/images/admin/tabs/on-right.png +0 -0
  2601. data/dash/spec/test_app/public/images/ajax_loader.gif +0 -0
  2602. data/dash/spec/test_app/public/images/amex_cid.gif +0 -0
  2603. data/dash/spec/test_app/public/images/bg-button-hover.png +0 -0
  2604. data/dash/spec/test_app/public/images/bg-button-pressed.png +0 -0
  2605. data/dash/spec/test_app/public/images/bg-button.gif +0 -0
  2606. data/dash/spec/test_app/public/images/bg-button.png +0 -0
  2607. data/dash/spec/test_app/public/images/blue/left_01.png +0 -0
  2608. data/dash/spec/test_app/public/images/blue/right_01.png +0 -0
  2609. data/dash/spec/test_app/public/images/body-back.png +0 -0
  2610. data/dash/spec/test_app/public/images/bottom_shine.png +0 -0
  2611. data/dash/spec/test_app/public/images/breadcrumb.gif +0 -0
  2612. data/dash/spec/test_app/public/images/button-dark-hover.png +0 -0
  2613. data/dash/spec/test_app/public/images/button-dark.png +0 -0
  2614. data/dash/spec/test_app/public/images/buttons/bg-button-hover.png +0 -0
  2615. data/dash/spec/test_app/public/images/buttons/bg-button-pressed.png +0 -0
  2616. data/dash/spec/test_app/public/images/buttons/bg-button.gif +0 -0
  2617. data/dash/spec/test_app/public/images/buttons/bg-button.png +0 -0
  2618. data/dash/spec/test_app/public/images/buttons/blue/left_01.png +0 -0
  2619. data/dash/spec/test_app/public/images/buttons/blue/right_01.png +0 -0
  2620. data/dash/spec/test_app/public/images/buttons/button-dark-hover.png +0 -0
  2621. data/dash/spec/test_app/public/images/buttons/button-dark.png +0 -0
  2622. data/dash/spec/test_app/public/images/buttons/drag-handle-green.png +0 -0
  2623. data/dash/spec/test_app/public/images/buttons/green/left_01.png +0 -0
  2624. data/dash/spec/test_app/public/images/buttons/green/right_01.png +0 -0
  2625. data/dash/spec/test_app/public/images/buttons/left_01.png +0 -0
  2626. data/dash/spec/test_app/public/images/buttons/left_01_small.png +0 -0
  2627. data/dash/spec/test_app/public/images/buttons/orange/left_03.png +0 -0
  2628. data/dash/spec/test_app/public/images/buttons/orange/right_03.png +0 -0
  2629. data/dash/spec/test_app/public/images/buttons/right_01.png +0 -0
  2630. data/dash/spec/test_app/public/images/buttons/right_01_small.png +0 -0
  2631. data/dash/spec/test_app/public/images/buttons/sxsw-ribbon-v1.png +0 -0
  2632. data/dash/spec/test_app/public/images/buttons/top-shine.png +0 -0
  2633. data/dash/spec/test_app/public/images/calendar_date_select/calendar.gif +0 -0
  2634. data/dash/spec/test_app/public/images/cart-empty.png +0 -0
  2635. data/dash/spec/test_app/public/images/cart-empty_x32.png +0 -0
  2636. data/dash/spec/test_app/public/images/cart-full.png +0 -0
  2637. data/dash/spec/test_app/public/images/cart-full_x32.png +0 -0
  2638. data/dash/spec/test_app/public/images/checkout.png +0 -0
  2639. data/dash/spec/test_app/public/images/creditcard.gif +0 -0
  2640. data/dash/spec/test_app/public/images/datepicker/backstripes.gif +0 -0
  2641. data/dash/spec/test_app/public/images/datepicker/bg_header.jpg +0 -0
  2642. data/dash/spec/test_app/public/images/datepicker/bullet1.gif +0 -0
  2643. data/dash/spec/test_app/public/images/datepicker/bullet2.gif +0 -0
  2644. data/dash/spec/test_app/public/images/datepicker/cal.gif +0 -0
  2645. data/dash/spec/test_app/public/images/datepicker/gradient-e5e5e5-ffffff.gif +0 -0
  2646. data/dash/spec/test_app/public/images/discover_cid.gif +0 -0
  2647. data/dash/spec/test_app/public/images/drag-handle-green.png +0 -0
  2648. data/dash/spec/test_app/public/images/favicon.ico +0 -0
  2649. data/dash/spec/test_app/public/images/green/left_01.png +0 -0
  2650. data/dash/spec/test_app/public/images/green/right_01.png +0 -0
  2651. data/dash/spec/test_app/public/images/grid.png +0 -0
  2652. data/dash/spec/test_app/public/images/left_01.png +0 -0
  2653. data/dash/spec/test_app/public/images/left_01_small.png +0 -0
  2654. data/dash/spec/test_app/public/images/master_cid.jpg +0 -0
  2655. data/dash/spec/test_app/public/images/menu-current.png +0 -0
  2656. data/dash/spec/test_app/public/images/menu-hover.png +0 -0
  2657. data/dash/spec/test_app/public/images/noimage/mini.jpg +0 -0
  2658. data/dash/spec/test_app/public/images/noimage/product.jpg +0 -0
  2659. data/dash/spec/test_app/public/images/noimage/small.jpg +0 -0
  2660. data/dash/spec/test_app/public/images/openid-inputicon.gif +0 -0
  2661. data/dash/spec/test_app/public/images/orange/left_03.png +0 -0
  2662. data/dash/spec/test_app/public/images/orange/right_03.png +0 -0
  2663. data/dash/spec/test_app/public/images/progress.gif +0 -0
  2664. data/dash/spec/test_app/public/images/reorder.jpg +0 -0
  2665. data/dash/spec/test_app/public/images/right_01.png +0 -0
  2666. data/dash/spec/test_app/public/images/right_01_small.png +0 -0
  2667. data/dash/spec/test_app/public/images/separator.png +0 -0
  2668. data/dash/spec/test_app/public/images/shadow-top.png +0 -0
  2669. data/dash/spec/test_app/public/images/shadow_top.png +0 -0
  2670. data/dash/spec/test_app/public/images/spinner.gif +0 -0
  2671. data/dash/spec/test_app/public/images/spree.jpg +0 -0
  2672. data/dash/spec/test_app/public/images/spree/progress.gif +0 -0
  2673. data/dash/spec/test_app/public/images/spree/spinner.gif +0 -0
  2674. data/dash/spec/test_app/public/images/spree/spree.jpg +0 -0
  2675. data/dash/spec/test_app/public/images/step-progress/completed-completed.gif +0 -0
  2676. data/dash/spec/test_app/public/images/step-progress/completed-current.gif +0 -0
  2677. data/dash/spec/test_app/public/images/step-progress/completed-first.gif +0 -0
  2678. data/dash/spec/test_app/public/images/step-progress/current-first.gif +0 -0
  2679. data/dash/spec/test_app/public/images/step-progress/current-incomplete.gif +0 -0
  2680. data/dash/spec/test_app/public/images/step-progress/current-right.gif +0 -0
  2681. data/dash/spec/test_app/public/images/step-progress/incomplete-incomplete.gif +0 -0
  2682. data/dash/spec/test_app/public/images/step-progress/incomplete-right.gif +0 -0
  2683. data/dash/spec/test_app/public/images/steps/1.png +0 -0
  2684. data/dash/spec/test_app/public/images/steps/1_small.png +0 -0
  2685. data/dash/spec/test_app/public/images/steps/2.png +0 -0
  2686. data/dash/spec/test_app/public/images/steps/2_small.png +0 -0
  2687. data/dash/spec/test_app/public/images/steps/3.png +0 -0
  2688. data/dash/spec/test_app/public/images/steps/3_small.png +0 -0
  2689. data/dash/spec/test_app/public/images/steps/4.png +0 -0
  2690. data/dash/spec/test_app/public/images/steps/4_small.png +0 -0
  2691. data/dash/spec/test_app/public/images/steps/5.png +0 -0
  2692. data/dash/spec/test_app/public/images/steps/5_small.png +0 -0
  2693. data/dash/spec/test_app/public/images/steps/6.png +0 -0
  2694. data/dash/spec/test_app/public/images/steps/6_small.png +0 -0
  2695. data/dash/spec/test_app/public/images/sxsw-ribbon-v1.png +0 -0
  2696. data/dash/spec/test_app/public/images/tab_bottom.gif +0 -0
  2697. data/dash/spec/test_app/public/images/tile-header.png +0 -0
  2698. data/dash/spec/test_app/public/images/tile-slider.png +0 -0
  2699. data/dash/spec/test_app/public/images/top-shine.png +0 -0
  2700. data/dash/spec/test_app/public/images/tree-nav-icons/bullet.gif +0 -0
  2701. data/dash/spec/test_app/public/images/tree-nav-icons/minus.gif +0 -0
  2702. data/dash/spec/test_app/public/images/tree-nav-icons/plus.gif +0 -0
  2703. data/dash/spec/test_app/public/images/tree-nav-icons/treeview-loading.gif +0 -0
  2704. data/dash/spec/test_app/public/images/tree-nav-icons/treeview-sprite.gif +0 -0
  2705. data/dash/spec/test_app/public/images/update.png +0 -0
  2706. data/dash/spec/test_app/public/images/visa_cid.gif +0 -0
  2707. data/dash/spec/test_app/public/images/wrapper-back-2.png +0 -0
  2708. data/dash/spec/test_app/public/images/wrapper-back.png +0 -0
  2709. data/dash/spec/test_app/public/images/yui-menubaritem_submenuindicator.png +0 -0
  2710. data/dash/spec/test_app/public/images/yui-menubaritem_submenuindicator_disabled.png +0 -0
  2711. data/dash/spec/test_app/public/images/yui-menuitem_checkbox.png +0 -0
  2712. data/dash/spec/test_app/public/images/yui-menuitem_checkbox_disabled.png +0 -0
  2713. data/dash/spec/test_app/public/images/yui-menuitem_submenuindicator.png +0 -0
  2714. data/dash/spec/test_app/public/images/yui-menuitem_submenuindicator_disabled.png +0 -0
  2715. data/dash/spec/test_app/public/images/yui-sprite.png +0 -0
  2716. data/dash/spec/test_app/public/javascripts/additional-methods.js +236 -0
  2717. data/dash/spec/test_app/public/javascripts/admin.js +232 -0
  2718. data/dash/spec/test_app/public/javascripts/admin/address_states.js +25 -0
  2719. data/dash/spec/test_app/public/javascripts/admin/checkouts/edit.js +130 -0
  2720. data/dash/spec/test_app/public/javascripts/admin/orders/edit.js +23 -0
  2721. data/dash/spec/test_app/public/javascripts/admin/orders/edit_form.js +16 -0
  2722. data/dash/spec/test_app/public/javascripts/admin/payments/new.js +9 -0
  2723. data/dash/spec/test_app/public/javascripts/admin/unobtrusive_handlers.js +43 -0
  2724. data/dash/spec/test_app/public/javascripts/application.js +12 -0
  2725. data/dash/spec/test_app/public/javascripts/calculator.js +15 -0
  2726. data/dash/spec/test_app/public/javascripts/checkout.js +75 -0
  2727. data/dash/spec/test_app/public/javascripts/dashboard.js +143 -0
  2728. data/dash/spec/test_app/public/javascripts/datepicker.js +1445 -0
  2729. data/dash/spec/test_app/public/javascripts/gateway.js +13 -0
  2730. data/dash/spec/test_app/public/javascripts/jqPlot/excanvas.min.js +1 -0
  2731. data/dash/spec/test_app/public/javascripts/jqPlot/jquery.jqplot.min.js +14 -0
  2732. data/dash/spec/test_app/public/javascripts/jqPlot/plugins/jqplot.canvasAxisLabelRenderer.min.js +14 -0
  2733. data/dash/spec/test_app/public/javascripts/jqPlot/plugins/jqplot.canvasAxisTickRenderer.min.js +14 -0
  2734. data/dash/spec/test_app/public/javascripts/jqPlot/plugins/jqplot.canvasTextRenderer.min.js +14 -0
  2735. data/dash/spec/test_app/public/javascripts/jqPlot/plugins/jqplot.categoryAxisRenderer.min.js +14 -0
  2736. data/dash/spec/test_app/public/javascripts/jqPlot/plugins/jqplot.dateAxisRenderer.min.js +14 -0
  2737. data/dash/spec/test_app/public/javascripts/jqPlot/plugins/jqplot.highlighter.min.js +14 -0
  2738. data/dash/spec/test_app/public/javascripts/jqPlot/plugins/jqplot.pieRenderer.min.js +14 -0
  2739. data/dash/spec/test_app/public/javascripts/jquery-1.4.2.min.js +154 -0
  2740. data/dash/spec/test_app/public/javascripts/jquery-ui.js +188 -0
  2741. data/dash/spec/test_app/public/javascripts/jquery.alerts/images/help.gif +0 -0
  2742. data/dash/spec/test_app/public/javascripts/jquery.alerts/images/important.gif +0 -0
  2743. data/dash/spec/test_app/public/javascripts/jquery.alerts/images/info.gif +0 -0
  2744. data/dash/spec/test_app/public/javascripts/jquery.alerts/images/title.gif +0 -0
  2745. data/dash/spec/test_app/public/javascripts/jquery.alerts/jquery.alerts.css +57 -0
  2746. data/dash/spec/test_app/public/javascripts/jquery.alerts/jquery.alerts.js +235 -0
  2747. data/dash/spec/test_app/public/javascripts/jquery.alerts/jquery.alerts.spree.css +30 -0
  2748. data/dash/spec/test_app/public/javascripts/jquery.autocomplete.min.js +13 -0
  2749. data/dash/spec/test_app/public/javascripts/jquery.cookie.js +96 -0
  2750. data/dash/spec/test_app/public/javascripts/jquery.delayedobserver.js +35 -0
  2751. data/dash/spec/test_app/public/javascripts/jquery.suggest.js +276 -0
  2752. data/dash/spec/test_app/public/javascripts/jquery.template.js +255 -0
  2753. data/dash/spec/test_app/public/javascripts/jquery.tokeninput.js +618 -0
  2754. data/dash/spec/test_app/public/javascripts/jquery.validate.min.js +16 -0
  2755. data/dash/spec/test_app/public/javascripts/jsTree/jquery.jstree.js +3510 -0
  2756. data/dash/spec/test_app/public/javascripts/jsTree/themes/apple/bg.jpg +0 -0
  2757. data/dash/spec/test_app/public/javascripts/jsTree/themes/apple/d.png +0 -0
  2758. data/dash/spec/test_app/public/javascripts/jsTree/themes/apple/dot_for_ie.gif +0 -0
  2759. data/dash/spec/test_app/public/javascripts/jsTree/themes/apple/style.css +60 -0
  2760. data/dash/spec/test_app/public/javascripts/jsTree/themes/apple/throbber.gif +0 -0
  2761. data/dash/spec/test_app/public/javascripts/lang/af.js +40 -0
  2762. data/dash/spec/test_app/public/javascripts/lang/ar.js +50 -0
  2763. data/dash/spec/test_app/public/javascripts/lang/de.js +40 -0
  2764. data/dash/spec/test_app/public/javascripts/lang/du.js +40 -0
  2765. data/dash/spec/test_app/public/javascripts/lang/en.js +42 -0
  2766. data/dash/spec/test_app/public/javascripts/lang/es.js +41 -0
  2767. data/dash/spec/test_app/public/javascripts/lang/fi.js +40 -0
  2768. data/dash/spec/test_app/public/javascripts/lang/fr.js +44 -0
  2769. data/dash/spec/test_app/public/javascripts/lang/gr.js +40 -0
  2770. data/dash/spec/test_app/public/javascripts/lang/he.js +49 -0
  2771. data/dash/spec/test_app/public/javascripts/lang/it.js +13 -0
  2772. data/dash/spec/test_app/public/javascripts/lang/nl.js +40 -0
  2773. data/dash/spec/test_app/public/javascripts/lang/no.js +40 -0
  2774. data/dash/spec/test_app/public/javascripts/lang/pt.js +50 -0
  2775. data/dash/spec/test_app/public/javascripts/lang/ro.js +40 -0
  2776. data/dash/spec/test_app/public/javascripts/lang/ru.js +40 -0
  2777. data/dash/spec/test_app/public/javascripts/lang/sp.js +40 -0
  2778. data/dash/spec/test_app/public/javascripts/lang/sv.js +41 -0
  2779. data/dash/spec/test_app/public/javascripts/lang/ua.js +40 -0
  2780. data/dash/spec/test_app/public/javascripts/localization/messages_cn.js +24 -0
  2781. data/dash/spec/test_app/public/javascripts/localization/messages_cs.js +23 -0
  2782. data/dash/spec/test_app/public/javascripts/localization/messages_da.js +21 -0
  2783. data/dash/spec/test_app/public/javascripts/localization/messages_de.js +21 -0
  2784. data/dash/spec/test_app/public/javascripts/localization/messages_es.js +24 -0
  2785. data/dash/spec/test_app/public/javascripts/localization/messages_fr.js +23 -0
  2786. data/dash/spec/test_app/public/javascripts/localization/messages_hu.js +21 -0
  2787. data/dash/spec/test_app/public/javascripts/localization/messages_it.js +26 -0
  2788. data/dash/spec/test_app/public/javascripts/localization/messages_kk.js +23 -0
  2789. data/dash/spec/test_app/public/javascripts/localization/messages_nl.js +23 -0
  2790. data/dash/spec/test_app/public/javascripts/localization/messages_no.js +23 -0
  2791. data/dash/spec/test_app/public/javascripts/localization/messages_pl.js +23 -0
  2792. data/dash/spec/test_app/public/javascripts/localization/messages_ptbr.js +30 -0
  2793. data/dash/spec/test_app/public/javascripts/localization/messages_ro.js +24 -0
  2794. data/dash/spec/test_app/public/javascripts/localization/messages_ru.js +23 -0
  2795. data/dash/spec/test_app/public/javascripts/localization/messages_se.js +23 -0
  2796. data/dash/spec/test_app/public/javascripts/localization/messages_sk.js +21 -0
  2797. data/dash/spec/test_app/public/javascripts/localization/messages_tr.js +24 -0
  2798. data/dash/spec/test_app/public/javascripts/localization/messages_tw.js +24 -0
  2799. data/dash/spec/test_app/public/javascripts/localization/messages_ua.js +24 -0
  2800. data/dash/spec/test_app/public/javascripts/nested-attribute.js +26 -0
  2801. data/dash/spec/test_app/public/javascripts/open_id.js +15 -0
  2802. data/dash/spec/test_app/public/javascripts/product.js +49 -0
  2803. data/dash/spec/test_app/public/javascripts/rails.js +127 -0
  2804. data/dash/spec/test_app/public/javascripts/taxonomy.js +201 -0
  2805. data/dash/spec/test_app/public/javascripts/zone.js +39 -0
  2806. data/dash/spec/test_app/public/robots.txt +5 -0
  2807. data/dash/spec/test_app/public/stylesheets/admin/admin-forms.css +154 -0
  2808. data/dash/spec/test_app/public/stylesheets/admin/admin-reset.css +69 -0
  2809. data/dash/spec/test_app/public/stylesheets/admin/admin-tables.css +39 -0
  2810. data/dash/spec/test_app/public/stylesheets/admin/admin-typography.css +117 -0
  2811. data/dash/spec/test_app/public/stylesheets/admin/admin.css +614 -0
  2812. data/dash/spec/test_app/public/stylesheets/admin/autocomplete.css +73 -0
  2813. data/dash/spec/test_app/public/stylesheets/admin/dashboard.css +143 -0
  2814. data/dash/spec/test_app/public/stylesheets/admin/edit_checkouts.css +57 -0
  2815. data/dash/spec/test_app/public/stylesheets/admin/grids.css +314 -0
  2816. data/dash/spec/test_app/public/stylesheets/admin/reset-fonts-grids-2-6-0.css +7 -0
  2817. data/dash/spec/test_app/public/stylesheets/admin/token-input.css +109 -0
  2818. data/dash/spec/test_app/public/stylesheets/admin/yui-includes.css +14 -0
  2819. data/dash/spec/test_app/public/stylesheets/datepicker.css +263 -0
  2820. data/dash/spec/test_app/public/stylesheets/jquery.autocomplete.css +48 -0
  2821. data/dash/spec/test_app/public/stylesheets/screen.css +916 -0
  2822. data/dash/spec/test_app/script/rails +6 -0
  2823. data/features/step_definitions/async_steps.rb +19 -0
  2824. data/features/step_definitions/authentication_steps.rb +46 -0
  2825. data/features/step_definitions/checkout_steps.rb +76 -0
  2826. data/features/step_definitions/cukes_util.rb +123 -0
  2827. data/features/step_definitions/spree_steps.rb +15 -0
  2828. data/features/step_definitions/user_steps.rb +12 -0
  2829. data/features/step_definitions/web_steps.rb +218 -0
  2830. data/features/support/env.rb +74 -0
  2831. data/features/support/hooks.rb +6 -0
  2832. data/features/support/load_default_data.rb +10 -0
  2833. data/features/support/share_connections.rb +13 -0
  2834. data/features/support/stop.rb +12 -0
  2835. data/lib/generators/spree/extension_generator.rb +71 -0
  2836. data/lib/generators/spree/site_generator.rb +45 -0
  2837. data/lib/generators/spree/test_app_generator.rb +145 -0
  2838. data/lib/generators/templates/Gemfile +32 -0
  2839. data/lib/generators/templates/LICENSE +23 -0
  2840. data/lib/generators/templates/README.md +13 -0
  2841. data/lib/generators/templates/Rakefile.tt +75 -0
  2842. data/lib/generators/templates/Versionfile.tt +9 -0
  2843. data/lib/generators/templates/config/database.yml +17 -0
  2844. data/lib/generators/templates/config/database.yml.mysql +29 -0
  2845. data/lib/generators/templates/config/database.yml.sqlite3 +17 -0
  2846. data/lib/generators/templates/config/environments/cucumber.rb +38 -0
  2847. data/lib/generators/templates/extension.gemspec.tt +20 -0
  2848. data/lib/generators/templates/extension/extension.rb.tt +17 -0
  2849. data/lib/generators/templates/gitignore.tt +9 -0
  2850. data/lib/generators/templates/hooks.rb.tt +3 -0
  2851. data/lib/generators/templates/install.rake.tt +25 -0
  2852. data/lib/generators/templates/lib/tasks/%file_name%.rake.tt +1 -0
  2853. data/lib/generators/templates/routes.rb +3 -0
  2854. data/lib/generators/templates/spec_helper.rb +30 -0
  2855. data/lib/generators/templates/spree_site.rb +12 -0
  2856. data/lib/spree.rb +11 -0
  2857. data/lib/tasks/install.rake +29 -0
  2858. data/promo/Gemfile +36 -0
  2859. data/promo/Gemfile.lock +251 -0
  2860. data/promo/LICENSE +26 -0
  2861. data/promo/README.markdown +14 -0
  2862. data/promo/Rakefile +55 -0
  2863. data/promo/app/controllers/admin/promotion_rules_controller.rb +26 -0
  2864. data/promo/app/controllers/admin/promotions_controller.rb +21 -0
  2865. data/promo/app/controllers/orders_controller_decorator.rb +10 -0
  2866. data/promo/app/models/calculator/free_shipping.rb +24 -0
  2867. data/promo/app/models/promotion.rb +73 -0
  2868. data/promo/app/models/promotion/rules/first_order.rb +7 -0
  2869. data/promo/app/models/promotion/rules/item_total.rb +12 -0
  2870. data/promo/app/models/promotion/rules/product.rb +40 -0
  2871. data/promo/app/models/promotion/rules/user.rb +17 -0
  2872. data/promo/app/models/promotion_credit.rb +9 -0
  2873. data/promo/app/models/promotion_rule.rb +26 -0
  2874. data/promo/app/views/admin/promotion_rules/create.js.erb +6 -0
  2875. data/promo/app/views/admin/promotion_rules/destroy.js.erb +1 -0
  2876. data/promo/app/views/admin/promotions/_form.html.erb +46 -0
  2877. data/promo/app/views/admin/promotions/_promotion_rule.html.erb +8 -0
  2878. data/promo/app/views/admin/promotions/_tab.html.erb +1 -0
  2879. data/promo/app/views/admin/promotions/edit.html.erb +46 -0
  2880. data/promo/app/views/admin/promotions/index.html.erb +40 -0
  2881. data/promo/app/views/admin/promotions/new.html.erb +6 -0
  2882. data/promo/app/views/admin/promotions/rules/_first_order.html.erb +0 -0
  2883. data/promo/app/views/admin/promotions/rules/_item_total.html.erb +7 -0
  2884. data/promo/app/views/admin/promotions/rules/_product.html.erb +18 -0
  2885. data/promo/app/views/admin/promotions/rules/_user.html.erb +7 -0
  2886. data/promo/app/views/checkout/_coupon_code_field.html.erb +6 -0
  2887. data/promo/app/views/products/_promotions.html.erb +23 -0
  2888. data/promo/config/cucumber.yml +10 -0
  2889. data/promo/config/locales/en.yml +55 -0
  2890. data/promo/config/routes.rb +7 -0
  2891. data/promo/db/migrate/20100419190933_rename_coupons_to_promotions.rb +10 -0
  2892. data/promo/db/migrate/20100419194457_fix_existing_coupon_credits.rb +9 -0
  2893. data/promo/db/migrate/20100426100726_create_promotion_rules.rb +24 -0
  2894. data/promo/db/migrate/20100501084722_match_policy_for_promotions.rb +9 -0
  2895. data/promo/db/migrate/20100501095202_create_promotion_rules_users.rb +14 -0
  2896. data/promo/db/migrate/20100502163939_name_for_promotions.rb +9 -0
  2897. data/promo/db/migrate/20100923095305_update_calculable_type_for_promotions.rb +9 -0
  2898. data/promo/features/orders_total_promo.feature +89 -0
  2899. data/promo/features/step_definitions/promotions_steps.rb +4 -0
  2900. data/promo/features/support/env.rb +4 -0
  2901. data/promo/features/support/paths.rb +39 -0
  2902. data/promo/lib/spree_promo.rb +132 -0
  2903. data/promo/lib/spree_promo_hooks.rb +11 -0
  2904. data/promo/lib/tasks/install.rake +26 -0
  2905. data/promo/lib/tasks/promotions.rake +11 -0
  2906. data/promo/lib/tasks/promotions_extension_tasks.rake +17 -0
  2907. data/promo/public/javascripts/admin/promotions.js +26 -0
  2908. data/promo/public/stylesheets/admin/promotions.css +54 -0
  2909. data/promo/rfcommerce_promo.gemspec +26 -0
  2910. data/promo/spec/models/order_spec.rb +72 -0
  2911. data/promo/spec/models/promotion/rules/first_order_spec.rb +27 -0
  2912. data/promo/spec/models/promotion/rules/item_total_spec.rb +46 -0
  2913. data/promo/spec/models/promotion/rules/product_spec.rb +68 -0
  2914. data/promo/spec/models/promotion/rules/user_spec.rb +35 -0
  2915. data/promo/spec/models/promotion_rule_spec.rb +36 -0
  2916. data/promo/spec/models/promotion_spec.rb +146 -0
  2917. data/promo/spec/spec_helper.rb +17 -0
  2918. data/promo/spec/test_app/Gemfile +36 -0
  2919. data/promo/spec/test_app/Rakefile +7 -0
  2920. data/promo/spec/test_app/app/controllers/application_controller.rb +3 -0
  2921. data/promo/spec/test_app/app/helpers/application_helper.rb +2 -0
  2922. data/promo/spec/test_app/app/views/layouts/application.html.erb +14 -0
  2923. data/promo/spec/test_app/config.ru +4 -0
  2924. data/promo/spec/test_app/config/application.rb +42 -0
  2925. data/promo/spec/test_app/config/boot.rb +6 -0
  2926. data/promo/spec/test_app/config/database.yml +17 -0
  2927. data/promo/spec/test_app/config/environment.rb +5 -0
  2928. data/promo/spec/test_app/config/environments/cucumber.rb +38 -0
  2929. data/promo/spec/test_app/config/environments/development.rb +26 -0
  2930. data/promo/spec/test_app/config/environments/production.rb +49 -0
  2931. data/promo/spec/test_app/config/environments/test.rb +35 -0
  2932. data/promo/spec/test_app/config/initializers/backtrace_silencers.rb +7 -0
  2933. data/promo/spec/test_app/config/initializers/inflections.rb +10 -0
  2934. data/promo/spec/test_app/config/initializers/mime_types.rb +5 -0
  2935. data/promo/spec/test_app/config/initializers/secret_token.rb +7 -0
  2936. data/promo/spec/test_app/config/initializers/session_store.rb +8 -0
  2937. data/promo/spec/test_app/config/locales/en.yml +5 -0
  2938. data/promo/spec/test_app/config/routes.rb +58 -0
  2939. data/promo/spec/test_app/db/cucumber.sqlite3 +0 -0
  2940. data/promo/spec/test_app/db/default/countries.yml +1583 -0
  2941. data/promo/spec/test_app/db/default/roles.yml +7 -0
  2942. data/promo/spec/test_app/db/default/states.yml +256 -0
  2943. data/promo/spec/test_app/db/default/zone_members.yml +169 -0
  2944. data/promo/spec/test_app/db/default/zones.yml +13 -0
  2945. data/promo/spec/test_app/db/migrate/20090823005402_spree_zero_nine_zero.rb +442 -0
  2946. data/promo/spec/test_app/db/migrate/20090904192342_create_indexes_for_inventory_units.rb +12 -0
  2947. data/promo/spec/test_app/db/migrate/20090923100315_add_count_on_hand_to_variants_and_products.rb +36 -0
  2948. data/promo/spec/test_app/db/migrate/20091007134354_change_taxons_to_nested_set.rb +40 -0
  2949. data/promo/spec/test_app/db/migrate/20091008091614_move_to_configurable_gateways.rb +55 -0
  2950. data/promo/spec/test_app/db/migrate/20091012120519_product_groups_and_scopes.rb +25 -0
  2951. data/promo/spec/test_app/db/migrate/20091015110842_add_open_id_authentication_tables.rb +20 -0
  2952. data/promo/spec/test_app/db/migrate/20091015153048_add_openid_field_to_users.rb +19 -0
  2953. data/promo/spec/test_app/db/migrate/20091016174634_change_preference_value_type.rb +10 -0
  2954. data/promo/spec/test_app/db/migrate/20091017175558_create_billing_integrations.rb +16 -0
  2955. data/promo/spec/test_app/db/migrate/20091021133257_charge_refactoring.rb +35 -0
  2956. data/promo/spec/test_app/db/migrate/20091104151730_add_some_indexes.rb +21 -0
  2957. data/promo/spec/test_app/db/migrate/20091126190904_checkout_state_machine.rb +13 -0
  2958. data/promo/spec/test_app/db/migrate/20091209153045_state_for_shipments.rb +9 -0
  2959. data/promo/spec/test_app/db/migrate/20091209202200_make_state_events_polymorphic.rb +12 -0
  2960. data/promo/spec/test_app/db/migrate/20091211203813_ship_address_id_for_checkouts.rb +9 -0
  2961. data/promo/spec/test_app/db/migrate/20091212161118_shipping_method_id_for_checkouts.rb +9 -0
  2962. data/promo/spec/test_app/db/migrate/20091213222815_creditcard_last_four_digits.rb +19 -0
  2963. data/promo/spec/test_app/db/migrate/20091214183826_populate_legacy_shipment_state.rb +19 -0
  2964. data/promo/spec/test_app/db/migrate/20100105090147_add_cost_price.rb +9 -0
  2965. data/promo/spec/test_app/db/migrate/20100105132138_shipment_id_for_inventory_units.rb +21 -0
  2966. data/promo/spec/test_app/db/migrate/20100111205525_cim_fields_for_creditcards.rb +11 -0
  2967. data/promo/spec/test_app/db/migrate/20100112151511_create_return_authorizations.rb +16 -0
  2968. data/promo/spec/test_app/db/migrate/20100113090919_add_return_authorization_to_inventory_units.rb +9 -0
  2969. data/promo/spec/test_app/db/migrate/20100113203104_create_trackers.rb +14 -0
  2970. data/promo/spec/test_app/db/migrate/20100121160010_creditcard_id_for_creditcard_txns.rb +9 -0
  2971. data/promo/spec/test_app/db/migrate/20100121183934_original_creditcard_txn_id_for_creditcard_txns.rb +9 -0
  2972. data/promo/spec/test_app/db/migrate/20100125145351_add_test_mode_to_billing_integration.rb +11 -0
  2973. data/promo/spec/test_app/db/migrate/20100126103714_create_products_product_groups.rb +12 -0
  2974. data/promo/spec/test_app/db/migrate/20100209025806_create_payment_methods.rb +20 -0
  2975. data/promo/spec/test_app/db/migrate/20100209144531_polymorphic_payments.rb +29 -0
  2976. data/promo/spec/test_app/db/migrate/20100213103131_change_payments_payment_method_to_belongs_to.rb +11 -0
  2977. data/promo/spec/test_app/db/migrate/20100214212536_assign_creditcard_txns_to_payment.rb +16 -0
  2978. data/promo/spec/test_app/db/migrate/20100223170312_sti_for_transactions.rb +14 -0
  2979. data/promo/spec/test_app/db/migrate/20100223183812_drop_billing_integrations.rb +16 -0
  2980. data/promo/spec/test_app/db/migrate/20100224153127_deleted_at_for_payment_methods.rb +13 -0
  2981. data/promo/spec/test_app/db/migrate/20100301163454_add_adjustments_index.rb +10 -0
  2982. data/promo/spec/test_app/db/migrate/20100306153445_fix_by_popularity.rb +8 -0
  2983. data/promo/spec/test_app/db/migrate/20100317120946_add_alt_text_to_images.rb +9 -0
  2984. data/promo/spec/test_app/db/migrate/20100419190933_rename_coupons_to_promotions.rb +10 -0
  2985. data/promo/spec/test_app/db/migrate/20100419194457_fix_existing_coupon_credits.rb +9 -0
  2986. data/promo/spec/test_app/db/migrate/20100426100726_create_promotion_rules.rb +24 -0
  2987. data/promo/spec/test_app/db/migrate/20100427121301_add_display_to_payment_methods.rb +9 -0
  2988. data/promo/spec/test_app/db/migrate/20100501084722_match_policy_for_promotions.rb +9 -0
  2989. data/promo/spec/test_app/db/migrate/20100501095202_create_promotion_rules_users.rb +14 -0
  2990. data/promo/spec/test_app/db/migrate/20100502163939_name_for_promotions.rb +9 -0
  2991. data/promo/spec/test_app/db/migrate/20100504142133_add_addresses_checkouts_indexes.rb +16 -0
  2992. data/promo/spec/test_app/db/migrate/20100506180619_add_icon_to_taxons.rb +18 -0
  2993. data/promo/spec/test_app/db/migrate/20100506185838_add_description_to_taxons.rb +11 -0
  2994. data/promo/spec/test_app/db/migrate/20100528155333_index_for_shipments_number.rb +9 -0
  2995. data/promo/spec/test_app/db/migrate/20100528185820_add_index_on_users_persistence_token.rb +9 -0
  2996. data/promo/spec/test_app/db/migrate/20100605152042_add_default_to_tax_categories.rb +9 -0
  2997. data/promo/spec/test_app/db/migrate/20100624110730_add_display_to_shipping_methods.rb +9 -0
  2998. data/promo/spec/test_app/db/migrate/20100624123336_rename_payment_method_display.rb +9 -0
  2999. data/promo/spec/test_app/db/migrate/20100624175547_rename_preferences_field.rb +8 -0
  3000. data/promo/spec/test_app/db/migrate/20100811163637_add_guest_flag.rb +13 -0
  3001. data/promo/spec/test_app/db/migrate/20100811205836_drop_order_token.rb +11 -0
  3002. data/promo/spec/test_app/db/migrate/20100812162326_payments_state_and_assigned_to_order_only.rb +11 -0
  3003. data/promo/spec/test_app/db/migrate/20100813023502_create_address_keys_for_order.rb +15 -0
  3004. data/promo/spec/test_app/db/migrate/20100813185745_payment_total_for_orders.rb +9 -0
  3005. data/promo/spec/test_app/db/migrate/20100816212146_shipping_method_id_for_orders.rb +9 -0
  3006. data/promo/spec/test_app/db/migrate/20100817152723_add_shipment_and_payment_state.rb +15 -0
  3007. data/promo/spec/test_app/db/migrate/20100819170125_refactor_adjustments.rb +19 -0
  3008. data/promo/spec/test_app/db/migrate/20100820135707_response_code_and_avs_response_for_payments.rb +11 -0
  3009. data/promo/spec/test_app/db/migrate/20100901171814_change_guest_flag_to_anonymous.rb +13 -0
  3010. data/promo/spec/test_app/db/migrate/20100903203949_email_for_orders.rb +9 -0
  3011. data/promo/spec/test_app/db/migrate/20100923095305_update_calculable_type_for_promotions.rb +9 -0
  3012. data/promo/spec/test_app/db/migrate/20100923162011_create_mail_methods.rb +12 -0
  3013. data/promo/spec/test_app/db/migrate/20100929151905_rename_frozen_to_locked.rb +8 -0
  3014. data/promo/spec/test_app/db/migrate/20101008190536_move_special_instructions_to_orders.rb +11 -0
  3015. data/promo/spec/test_app/db/migrate/20101026184700_create_log_entries.rb +15 -0
  3016. data/promo/spec/test_app/db/migrate/20101026184714_migrate_transactions_to_payment_state.rb +94 -0
  3017. data/promo/spec/test_app/db/migrate/20101026184746_delete_in_progress_orders.rb +18 -0
  3018. data/promo/spec/test_app/db/migrate/20101026184808_migrate_checkout_to_orders.rb +27 -0
  3019. data/promo/spec/test_app/db/migrate/20101026184833_migrate_adjustments.rb +9 -0
  3020. data/promo/spec/test_app/db/migrate/20101026184855_remove_shipped_state.rb +14 -0
  3021. data/promo/spec/test_app/db/migrate/20101026184916_prevent_nil_payment_total.rb +8 -0
  3022. data/promo/spec/test_app/db/migrate/20101026184932_prevent_nil_email.rb +9 -0
  3023. data/promo/spec/test_app/db/migrate/20101026184950_rename_columns_for_devise.rb +39 -0
  3024. data/promo/spec/test_app/db/migrate/20101026184959_generate_anonymous_users.rb +14 -0
  3025. data/promo/spec/test_app/db/migrate/20101026185022_update_order_state.rb +8 -0
  3026. data/promo/spec/test_app/db/migrate/20101026192225_cleanup_legacy_tables.rb +11 -0
  3027. data/promo/spec/test_app/db/migrate/20101028151745_remove_number_and_cvv_from_credicard.rb +9 -0
  3028. data/promo/spec/test_app/db/migrate/20101103212716_drop_anonymous_field_for_user.rb +8 -0
  3029. data/promo/spec/test_app/db/migrate/20101111133551_renamed_rma_cancelled_state.rb +10 -0
  3030. data/promo/spec/test_app/db/migrate/20101117031806_fix_problematic_index_names.rb +13 -0
  3031. data/promo/spec/test_app/db/migrate/20101214150824_convert_user_remember_field.rb +11 -0
  3032. data/promo/spec/test_app/db/migrate/20101217012656_create_tokenized_permissions.rb +18 -0
  3033. data/promo/spec/test_app/db/migrate/20101219201531_tokens_for_legacy_orders.rb +12 -0
  3034. data/promo/spec/test_app/db/migrate/20101223215658_add_position_to_variants.rb +9 -0
  3035. data/promo/spec/test_app/db/migrate/20110110130847_add_next_state_to_state_events.rb +9 -0
  3036. data/promo/spec/test_app/db/migrate/20110111122537_add_position_to_option_types.rb +9 -0
  3037. data/promo/spec/test_app/db/migrate/20110314192118_remove_trailing_slashes_in_taxon_permalinks.rb +17 -0
  3038. data/promo/spec/test_app/db/sample/users.rb +53 -0
  3039. data/promo/spec/test_app/db/schema.rb +572 -0
  3040. data/promo/spec/test_app/db/seeds.rb +3 -0
  3041. data/promo/spec/test_app/db/test.sqlite3 +0 -0
  3042. data/promo/spec/test_app/log/cucumber.log +1682 -0
  3043. data/promo/spec/test_app/log/development.log +0 -0
  3044. data/promo/spec/test_app/log/production.log +0 -0
  3045. data/promo/spec/test_app/log/server.log +0 -0
  3046. data/promo/spec/test_app/log/test.log +1682 -0
  3047. data/promo/spec/test_app/public/404.html +26 -0
  3048. data/promo/spec/test_app/public/422.html +26 -0
  3049. data/promo/spec/test_app/public/500.html +26 -0
  3050. data/promo/spec/test_app/public/favicon.ico +0 -0
  3051. data/promo/spec/test_app/public/images/add-to-cart.png +0 -0
  3052. data/promo/spec/test_app/public/images/admin/bg/active-tab.png +0 -0
  3053. data/promo/spec/test_app/public/images/admin/bg/admin_tab_back.png +0 -0
  3054. data/promo/spec/test_app/public/images/admin/bg/admin_tab_selected_back.png +0 -0
  3055. data/promo/spec/test_app/public/images/admin/bg/content-back-blue.png +0 -0
  3056. data/promo/spec/test_app/public/images/admin/bg/content-back-green.png +0 -0
  3057. data/promo/spec/test_app/public/images/admin/bg/content-back.png +0 -0
  3058. data/promo/spec/test_app/public/images/admin/bg/flash-error.png +0 -0
  3059. data/promo/spec/test_app/public/images/admin/bg/flash-notice.png +0 -0
  3060. data/promo/spec/test_app/public/images/admin/bg/green-stripes.gif +0 -0
  3061. data/promo/spec/test_app/public/images/admin/bg/green-stripes.png +0 -0
  3062. data/promo/spec/test_app/public/images/admin/bg/grid_header_back.png +0 -0
  3063. data/promo/spec/test_app/public/images/admin/bg/grid_header_back_green.png +0 -0
  3064. data/promo/spec/test_app/public/images/admin/bg/header-bg.png +0 -0
  3065. data/promo/spec/test_app/public/images/admin/bg/header.png +0 -0
  3066. data/promo/spec/test_app/public/images/admin/bg/header_bg.jpg +0 -0
  3067. data/promo/spec/test_app/public/images/admin/bg/menu-current.png +0 -0
  3068. data/promo/spec/test_app/public/images/admin/bg/red-stripes.gif +0 -0
  3069. data/promo/spec/test_app/public/images/admin/bg/red-stripes.png +0 -0
  3070. data/promo/spec/test_app/public/images/admin/bg/spree_50.png +0 -0
  3071. data/promo/spec/test_app/public/images/admin/bg/subnav-divider.png +0 -0
  3072. data/promo/spec/test_app/public/images/admin/bg/subnav.png +0 -0
  3073. data/promo/spec/test_app/public/images/admin/bg/tab-back.png +0 -0
  3074. data/promo/spec/test_app/public/images/admin/buttons/blue/left_01.png +0 -0
  3075. data/promo/spec/test_app/public/images/admin/buttons/blue/right_01.png +0 -0
  3076. data/promo/spec/test_app/public/images/admin/buttons/drag-handle-green.png +0 -0
  3077. data/promo/spec/test_app/public/images/admin/buttons/green/left_01.png +0 -0
  3078. data/promo/spec/test_app/public/images/admin/buttons/green/right_01.png +0 -0
  3079. data/promo/spec/test_app/public/images/admin/buttons/left_01.png +0 -0
  3080. data/promo/spec/test_app/public/images/admin/buttons/left_01_small.png +0 -0
  3081. data/promo/spec/test_app/public/images/admin/buttons/orange/left_03.png +0 -0
  3082. data/promo/spec/test_app/public/images/admin/buttons/orange/right_03.png +0 -0
  3083. data/promo/spec/test_app/public/images/admin/buttons/right_01.png +0 -0
  3084. data/promo/spec/test_app/public/images/admin/buttons/right_01_small.png +0 -0
  3085. data/promo/spec/test_app/public/images/admin/icons/16x16/1.png +0 -0
  3086. data/promo/spec/test_app/public/images/admin/icons/16x16/10.png +0 -0
  3087. data/promo/spec/test_app/public/images/admin/icons/16x16/2.png +0 -0
  3088. data/promo/spec/test_app/public/images/admin/icons/16x16/3.png +0 -0
  3089. data/promo/spec/test_app/public/images/admin/icons/16x16/4.png +0 -0
  3090. data/promo/spec/test_app/public/images/admin/icons/16x16/5.png +0 -0
  3091. data/promo/spec/test_app/public/images/admin/icons/16x16/6.png +0 -0
  3092. data/promo/spec/test_app/public/images/admin/icons/16x16/7.png +0 -0
  3093. data/promo/spec/test_app/public/images/admin/icons/16x16/8.png +0 -0
  3094. data/promo/spec/test_app/public/images/admin/icons/16x16/9.png +0 -0
  3095. data/promo/spec/test_app/public/images/admin/icons/32x32/1.png +0 -0
  3096. data/promo/spec/test_app/public/images/admin/icons/32x32/10.png +0 -0
  3097. data/promo/spec/test_app/public/images/admin/icons/32x32/11.png +0 -0
  3098. data/promo/spec/test_app/public/images/admin/icons/32x32/2.png +0 -0
  3099. data/promo/spec/test_app/public/images/admin/icons/32x32/3.png +0 -0
  3100. data/promo/spec/test_app/public/images/admin/icons/32x32/4.png +0 -0
  3101. data/promo/spec/test_app/public/images/admin/icons/32x32/5.png +0 -0
  3102. data/promo/spec/test_app/public/images/admin/icons/32x32/6.png +0 -0
  3103. data/promo/spec/test_app/public/images/admin/icons/32x32/7.png +0 -0
  3104. data/promo/spec/test_app/public/images/admin/icons/32x32/8.png +0 -0
  3105. data/promo/spec/test_app/public/images/admin/icons/32x32/9.png +0 -0
  3106. data/promo/spec/test_app/public/images/admin/icons/accept.png +0 -0
  3107. data/promo/spec/test_app/public/images/admin/icons/add.gif +0 -0
  3108. data/promo/spec/test_app/public/images/admin/icons/add.png +0 -0
  3109. data/promo/spec/test_app/public/images/admin/icons/arrow-down.gif +0 -0
  3110. data/promo/spec/test_app/public/images/admin/icons/cross.png +0 -0
  3111. data/promo/spec/test_app/public/images/admin/icons/delete.gif +0 -0
  3112. data/promo/spec/test_app/public/images/admin/icons/delete.png +0 -0
  3113. data/promo/spec/test_app/public/images/admin/icons/drag.gif +0 -0
  3114. data/promo/spec/test_app/public/images/admin/icons/edit.gif +0 -0
  3115. data/promo/spec/test_app/public/images/admin/icons/edit.png +0 -0
  3116. data/promo/spec/test_app/public/images/admin/icons/email.png +0 -0
  3117. data/promo/spec/test_app/public/images/admin/icons/error.png +0 -0
  3118. data/promo/spec/test_app/public/images/admin/icons/exclamation.png +0 -0
  3119. data/promo/spec/test_app/public/images/admin/icons/feed.png +0 -0
  3120. data/promo/spec/test_app/public/images/admin/icons/pdf.png +0 -0
  3121. data/promo/spec/test_app/public/images/admin/icons/reorder.gif +0 -0
  3122. data/promo/spec/test_app/public/images/admin/icons/search.gif +0 -0
  3123. data/promo/spec/test_app/public/images/admin/icons/send-email.png +0 -0
  3124. data/promo/spec/test_app/public/images/admin/icons/stop.png +0 -0
  3125. data/promo/spec/test_app/public/images/admin/icons/tick.png +0 -0
  3126. data/promo/spec/test_app/public/images/admin/icons/up.gif +0 -0
  3127. data/promo/spec/test_app/public/images/admin/icons/xls.png +0 -0
  3128. data/promo/spec/test_app/public/images/admin/tabs/off-left.png +0 -0
  3129. data/promo/spec/test_app/public/images/admin/tabs/off-right.png +0 -0
  3130. data/promo/spec/test_app/public/images/admin/tabs/on-left.png +0 -0
  3131. data/promo/spec/test_app/public/images/admin/tabs/on-right.png +0 -0
  3132. data/promo/spec/test_app/public/images/ajax_loader.gif +0 -0
  3133. data/promo/spec/test_app/public/images/amex_cid.gif +0 -0
  3134. data/promo/spec/test_app/public/images/bg-button-hover.png +0 -0
  3135. data/promo/spec/test_app/public/images/bg-button-pressed.png +0 -0
  3136. data/promo/spec/test_app/public/images/bg-button.gif +0 -0
  3137. data/promo/spec/test_app/public/images/bg-button.png +0 -0
  3138. data/promo/spec/test_app/public/images/blue/left_01.png +0 -0
  3139. data/promo/spec/test_app/public/images/blue/right_01.png +0 -0
  3140. data/promo/spec/test_app/public/images/body-back.png +0 -0
  3141. data/promo/spec/test_app/public/images/bottom_shine.png +0 -0
  3142. data/promo/spec/test_app/public/images/breadcrumb.gif +0 -0
  3143. data/promo/spec/test_app/public/images/button-dark-hover.png +0 -0
  3144. data/promo/spec/test_app/public/images/button-dark.png +0 -0
  3145. data/promo/spec/test_app/public/images/buttons/bg-button-hover.png +0 -0
  3146. data/promo/spec/test_app/public/images/buttons/bg-button-pressed.png +0 -0
  3147. data/promo/spec/test_app/public/images/buttons/bg-button.gif +0 -0
  3148. data/promo/spec/test_app/public/images/buttons/bg-button.png +0 -0
  3149. data/promo/spec/test_app/public/images/buttons/blue/left_01.png +0 -0
  3150. data/promo/spec/test_app/public/images/buttons/blue/right_01.png +0 -0
  3151. data/promo/spec/test_app/public/images/buttons/button-dark-hover.png +0 -0
  3152. data/promo/spec/test_app/public/images/buttons/button-dark.png +0 -0
  3153. data/promo/spec/test_app/public/images/buttons/drag-handle-green.png +0 -0
  3154. data/promo/spec/test_app/public/images/buttons/green/left_01.png +0 -0
  3155. data/promo/spec/test_app/public/images/buttons/green/right_01.png +0 -0
  3156. data/promo/spec/test_app/public/images/buttons/left_01.png +0 -0
  3157. data/promo/spec/test_app/public/images/buttons/left_01_small.png +0 -0
  3158. data/promo/spec/test_app/public/images/buttons/orange/left_03.png +0 -0
  3159. data/promo/spec/test_app/public/images/buttons/orange/right_03.png +0 -0
  3160. data/promo/spec/test_app/public/images/buttons/right_01.png +0 -0
  3161. data/promo/spec/test_app/public/images/buttons/right_01_small.png +0 -0
  3162. data/promo/spec/test_app/public/images/buttons/sxsw-ribbon-v1.png +0 -0
  3163. data/promo/spec/test_app/public/images/buttons/top-shine.png +0 -0
  3164. data/promo/spec/test_app/public/images/calendar_date_select/calendar.gif +0 -0
  3165. data/promo/spec/test_app/public/images/cart-empty.png +0 -0
  3166. data/promo/spec/test_app/public/images/cart-empty_x32.png +0 -0
  3167. data/promo/spec/test_app/public/images/cart-full.png +0 -0
  3168. data/promo/spec/test_app/public/images/cart-full_x32.png +0 -0
  3169. data/promo/spec/test_app/public/images/checkout.png +0 -0
  3170. data/promo/spec/test_app/public/images/creditcard.gif +0 -0
  3171. data/promo/spec/test_app/public/images/datepicker/backstripes.gif +0 -0
  3172. data/promo/spec/test_app/public/images/datepicker/bg_header.jpg +0 -0
  3173. data/promo/spec/test_app/public/images/datepicker/bullet1.gif +0 -0
  3174. data/promo/spec/test_app/public/images/datepicker/bullet2.gif +0 -0
  3175. data/promo/spec/test_app/public/images/datepicker/cal.gif +0 -0
  3176. data/promo/spec/test_app/public/images/datepicker/gradient-e5e5e5-ffffff.gif +0 -0
  3177. data/promo/spec/test_app/public/images/discover_cid.gif +0 -0
  3178. data/promo/spec/test_app/public/images/drag-handle-green.png +0 -0
  3179. data/promo/spec/test_app/public/images/favicon.ico +0 -0
  3180. data/promo/spec/test_app/public/images/green/left_01.png +0 -0
  3181. data/promo/spec/test_app/public/images/green/right_01.png +0 -0
  3182. data/promo/spec/test_app/public/images/grid.png +0 -0
  3183. data/promo/spec/test_app/public/images/left_01.png +0 -0
  3184. data/promo/spec/test_app/public/images/left_01_small.png +0 -0
  3185. data/promo/spec/test_app/public/images/master_cid.jpg +0 -0
  3186. data/promo/spec/test_app/public/images/menu-current.png +0 -0
  3187. data/promo/spec/test_app/public/images/menu-hover.png +0 -0
  3188. data/promo/spec/test_app/public/images/noimage/mini.jpg +0 -0
  3189. data/promo/spec/test_app/public/images/noimage/product.jpg +0 -0
  3190. data/promo/spec/test_app/public/images/noimage/small.jpg +0 -0
  3191. data/promo/spec/test_app/public/images/openid-inputicon.gif +0 -0
  3192. data/promo/spec/test_app/public/images/orange/left_03.png +0 -0
  3193. data/promo/spec/test_app/public/images/orange/right_03.png +0 -0
  3194. data/promo/spec/test_app/public/images/progress.gif +0 -0
  3195. data/promo/spec/test_app/public/images/reorder.jpg +0 -0
  3196. data/promo/spec/test_app/public/images/right_01.png +0 -0
  3197. data/promo/spec/test_app/public/images/right_01_small.png +0 -0
  3198. data/promo/spec/test_app/public/images/separator.png +0 -0
  3199. data/promo/spec/test_app/public/images/shadow-top.png +0 -0
  3200. data/promo/spec/test_app/public/images/shadow_top.png +0 -0
  3201. data/promo/spec/test_app/public/images/spinner.gif +0 -0
  3202. data/promo/spec/test_app/public/images/spree.jpg +0 -0
  3203. data/promo/spec/test_app/public/images/spree/progress.gif +0 -0
  3204. data/promo/spec/test_app/public/images/spree/spinner.gif +0 -0
  3205. data/promo/spec/test_app/public/images/spree/spree.jpg +0 -0
  3206. data/promo/spec/test_app/public/images/step-progress/completed-completed.gif +0 -0
  3207. data/promo/spec/test_app/public/images/step-progress/completed-current.gif +0 -0
  3208. data/promo/spec/test_app/public/images/step-progress/completed-first.gif +0 -0
  3209. data/promo/spec/test_app/public/images/step-progress/current-first.gif +0 -0
  3210. data/promo/spec/test_app/public/images/step-progress/current-incomplete.gif +0 -0
  3211. data/promo/spec/test_app/public/images/step-progress/current-right.gif +0 -0
  3212. data/promo/spec/test_app/public/images/step-progress/incomplete-incomplete.gif +0 -0
  3213. data/promo/spec/test_app/public/images/step-progress/incomplete-right.gif +0 -0
  3214. data/promo/spec/test_app/public/images/steps/1.png +0 -0
  3215. data/promo/spec/test_app/public/images/steps/1_small.png +0 -0
  3216. data/promo/spec/test_app/public/images/steps/2.png +0 -0
  3217. data/promo/spec/test_app/public/images/steps/2_small.png +0 -0
  3218. data/promo/spec/test_app/public/images/steps/3.png +0 -0
  3219. data/promo/spec/test_app/public/images/steps/3_small.png +0 -0
  3220. data/promo/spec/test_app/public/images/steps/4.png +0 -0
  3221. data/promo/spec/test_app/public/images/steps/4_small.png +0 -0
  3222. data/promo/spec/test_app/public/images/steps/5.png +0 -0
  3223. data/promo/spec/test_app/public/images/steps/5_small.png +0 -0
  3224. data/promo/spec/test_app/public/images/steps/6.png +0 -0
  3225. data/promo/spec/test_app/public/images/steps/6_small.png +0 -0
  3226. data/promo/spec/test_app/public/images/sxsw-ribbon-v1.png +0 -0
  3227. data/promo/spec/test_app/public/images/tab_bottom.gif +0 -0
  3228. data/promo/spec/test_app/public/images/tile-header.png +0 -0
  3229. data/promo/spec/test_app/public/images/tile-slider.png +0 -0
  3230. data/promo/spec/test_app/public/images/top-shine.png +0 -0
  3231. data/promo/spec/test_app/public/images/tree-nav-icons/bullet.gif +0 -0
  3232. data/promo/spec/test_app/public/images/tree-nav-icons/minus.gif +0 -0
  3233. data/promo/spec/test_app/public/images/tree-nav-icons/plus.gif +0 -0
  3234. data/promo/spec/test_app/public/images/tree-nav-icons/treeview-loading.gif +0 -0
  3235. data/promo/spec/test_app/public/images/tree-nav-icons/treeview-sprite.gif +0 -0
  3236. data/promo/spec/test_app/public/images/update.png +0 -0
  3237. data/promo/spec/test_app/public/images/visa_cid.gif +0 -0
  3238. data/promo/spec/test_app/public/images/wrapper-back-2.png +0 -0
  3239. data/promo/spec/test_app/public/images/wrapper-back.png +0 -0
  3240. data/promo/spec/test_app/public/images/yui-menubaritem_submenuindicator.png +0 -0
  3241. data/promo/spec/test_app/public/images/yui-menubaritem_submenuindicator_disabled.png +0 -0
  3242. data/promo/spec/test_app/public/images/yui-menuitem_checkbox.png +0 -0
  3243. data/promo/spec/test_app/public/images/yui-menuitem_checkbox_disabled.png +0 -0
  3244. data/promo/spec/test_app/public/images/yui-menuitem_submenuindicator.png +0 -0
  3245. data/promo/spec/test_app/public/images/yui-menuitem_submenuindicator_disabled.png +0 -0
  3246. data/promo/spec/test_app/public/images/yui-sprite.png +0 -0
  3247. data/promo/spec/test_app/public/javascripts/additional-methods.js +236 -0
  3248. data/promo/spec/test_app/public/javascripts/admin.js +232 -0
  3249. data/promo/spec/test_app/public/javascripts/admin/address_states.js +25 -0
  3250. data/promo/spec/test_app/public/javascripts/admin/checkouts/edit.js +130 -0
  3251. data/promo/spec/test_app/public/javascripts/admin/orders/edit.js +23 -0
  3252. data/promo/spec/test_app/public/javascripts/admin/orders/edit_form.js +16 -0
  3253. data/promo/spec/test_app/public/javascripts/admin/payments/new.js +9 -0
  3254. data/promo/spec/test_app/public/javascripts/admin/promotions.js +26 -0
  3255. data/promo/spec/test_app/public/javascripts/admin/unobtrusive_handlers.js +43 -0
  3256. data/promo/spec/test_app/public/javascripts/application.js +12 -0
  3257. data/promo/spec/test_app/public/javascripts/calculator.js +15 -0
  3258. data/promo/spec/test_app/public/javascripts/checkout.js +75 -0
  3259. data/promo/spec/test_app/public/javascripts/datepicker.js +1445 -0
  3260. data/promo/spec/test_app/public/javascripts/gateway.js +13 -0
  3261. data/promo/spec/test_app/public/javascripts/jquery-1.4.2.min.js +154 -0
  3262. data/promo/spec/test_app/public/javascripts/jquery-ui.js +188 -0
  3263. data/promo/spec/test_app/public/javascripts/jquery.alerts/images/help.gif +0 -0
  3264. data/promo/spec/test_app/public/javascripts/jquery.alerts/images/important.gif +0 -0
  3265. data/promo/spec/test_app/public/javascripts/jquery.alerts/images/info.gif +0 -0
  3266. data/promo/spec/test_app/public/javascripts/jquery.alerts/images/title.gif +0 -0
  3267. data/promo/spec/test_app/public/javascripts/jquery.alerts/jquery.alerts.css +57 -0
  3268. data/promo/spec/test_app/public/javascripts/jquery.alerts/jquery.alerts.js +235 -0
  3269. data/promo/spec/test_app/public/javascripts/jquery.alerts/jquery.alerts.spree.css +30 -0
  3270. data/promo/spec/test_app/public/javascripts/jquery.autocomplete.min.js +13 -0
  3271. data/promo/spec/test_app/public/javascripts/jquery.cookie.js +96 -0
  3272. data/promo/spec/test_app/public/javascripts/jquery.delayedobserver.js +35 -0
  3273. data/promo/spec/test_app/public/javascripts/jquery.suggest.js +276 -0
  3274. data/promo/spec/test_app/public/javascripts/jquery.template.js +255 -0
  3275. data/promo/spec/test_app/public/javascripts/jquery.tokeninput.js +618 -0
  3276. data/promo/spec/test_app/public/javascripts/jquery.validate.min.js +16 -0
  3277. data/promo/spec/test_app/public/javascripts/jsTree/jquery.jstree.js +3510 -0
  3278. data/promo/spec/test_app/public/javascripts/jsTree/themes/apple/bg.jpg +0 -0
  3279. data/promo/spec/test_app/public/javascripts/jsTree/themes/apple/d.png +0 -0
  3280. data/promo/spec/test_app/public/javascripts/jsTree/themes/apple/dot_for_ie.gif +0 -0
  3281. data/promo/spec/test_app/public/javascripts/jsTree/themes/apple/style.css +60 -0
  3282. data/promo/spec/test_app/public/javascripts/jsTree/themes/apple/throbber.gif +0 -0
  3283. data/promo/spec/test_app/public/javascripts/lang/af.js +40 -0
  3284. data/promo/spec/test_app/public/javascripts/lang/ar.js +50 -0
  3285. data/promo/spec/test_app/public/javascripts/lang/de.js +40 -0
  3286. data/promo/spec/test_app/public/javascripts/lang/du.js +40 -0
  3287. data/promo/spec/test_app/public/javascripts/lang/en.js +42 -0
  3288. data/promo/spec/test_app/public/javascripts/lang/es.js +41 -0
  3289. data/promo/spec/test_app/public/javascripts/lang/fi.js +40 -0
  3290. data/promo/spec/test_app/public/javascripts/lang/fr.js +44 -0
  3291. data/promo/spec/test_app/public/javascripts/lang/gr.js +40 -0
  3292. data/promo/spec/test_app/public/javascripts/lang/he.js +49 -0
  3293. data/promo/spec/test_app/public/javascripts/lang/it.js +13 -0
  3294. data/promo/spec/test_app/public/javascripts/lang/nl.js +40 -0
  3295. data/promo/spec/test_app/public/javascripts/lang/no.js +40 -0
  3296. data/promo/spec/test_app/public/javascripts/lang/pt.js +50 -0
  3297. data/promo/spec/test_app/public/javascripts/lang/ro.js +40 -0
  3298. data/promo/spec/test_app/public/javascripts/lang/ru.js +40 -0
  3299. data/promo/spec/test_app/public/javascripts/lang/sp.js +40 -0
  3300. data/promo/spec/test_app/public/javascripts/lang/sv.js +41 -0
  3301. data/promo/spec/test_app/public/javascripts/lang/ua.js +40 -0
  3302. data/promo/spec/test_app/public/javascripts/localization/messages_cn.js +24 -0
  3303. data/promo/spec/test_app/public/javascripts/localization/messages_cs.js +23 -0
  3304. data/promo/spec/test_app/public/javascripts/localization/messages_da.js +21 -0
  3305. data/promo/spec/test_app/public/javascripts/localization/messages_de.js +21 -0
  3306. data/promo/spec/test_app/public/javascripts/localization/messages_es.js +24 -0
  3307. data/promo/spec/test_app/public/javascripts/localization/messages_fr.js +23 -0
  3308. data/promo/spec/test_app/public/javascripts/localization/messages_hu.js +21 -0
  3309. data/promo/spec/test_app/public/javascripts/localization/messages_it.js +26 -0
  3310. data/promo/spec/test_app/public/javascripts/localization/messages_kk.js +23 -0
  3311. data/promo/spec/test_app/public/javascripts/localization/messages_nl.js +23 -0
  3312. data/promo/spec/test_app/public/javascripts/localization/messages_no.js +23 -0
  3313. data/promo/spec/test_app/public/javascripts/localization/messages_pl.js +23 -0
  3314. data/promo/spec/test_app/public/javascripts/localization/messages_ptbr.js +30 -0
  3315. data/promo/spec/test_app/public/javascripts/localization/messages_ro.js +24 -0
  3316. data/promo/spec/test_app/public/javascripts/localization/messages_ru.js +23 -0
  3317. data/promo/spec/test_app/public/javascripts/localization/messages_se.js +23 -0
  3318. data/promo/spec/test_app/public/javascripts/localization/messages_sk.js +21 -0
  3319. data/promo/spec/test_app/public/javascripts/localization/messages_tr.js +24 -0
  3320. data/promo/spec/test_app/public/javascripts/localization/messages_tw.js +24 -0
  3321. data/promo/spec/test_app/public/javascripts/localization/messages_ua.js +24 -0
  3322. data/promo/spec/test_app/public/javascripts/nested-attribute.js +26 -0
  3323. data/promo/spec/test_app/public/javascripts/open_id.js +15 -0
  3324. data/promo/spec/test_app/public/javascripts/product.js +49 -0
  3325. data/promo/spec/test_app/public/javascripts/rails.js +127 -0
  3326. data/promo/spec/test_app/public/javascripts/taxonomy.js +201 -0
  3327. data/promo/spec/test_app/public/javascripts/zone.js +39 -0
  3328. data/promo/spec/test_app/public/robots.txt +5 -0
  3329. data/promo/spec/test_app/public/stylesheets/admin/admin-forms.css +154 -0
  3330. data/promo/spec/test_app/public/stylesheets/admin/admin-reset.css +69 -0
  3331. data/promo/spec/test_app/public/stylesheets/admin/admin-tables.css +39 -0
  3332. data/promo/spec/test_app/public/stylesheets/admin/admin-typography.css +117 -0
  3333. data/promo/spec/test_app/public/stylesheets/admin/admin.css +614 -0
  3334. data/promo/spec/test_app/public/stylesheets/admin/autocomplete.css +73 -0
  3335. data/promo/spec/test_app/public/stylesheets/admin/dashboard.css +143 -0
  3336. data/promo/spec/test_app/public/stylesheets/admin/edit_checkouts.css +57 -0
  3337. data/promo/spec/test_app/public/stylesheets/admin/grids.css +314 -0
  3338. data/promo/spec/test_app/public/stylesheets/admin/promotions.css +54 -0
  3339. data/promo/spec/test_app/public/stylesheets/admin/reset-fonts-grids-2-6-0.css +7 -0
  3340. data/promo/spec/test_app/public/stylesheets/admin/token-input.css +109 -0
  3341. data/promo/spec/test_app/public/stylesheets/admin/yui-includes.css +14 -0
  3342. data/promo/spec/test_app/public/stylesheets/datepicker.css +263 -0
  3343. data/promo/spec/test_app/public/stylesheets/jquery.autocomplete.css +48 -0
  3344. data/promo/spec/test_app/public/stylesheets/screen.css +916 -0
  3345. data/promo/spec/test_app/script/rails +6 -0
  3346. data/sample/LICENSE +26 -0
  3347. data/sample/Rakefile +17 -0
  3348. data/sample/db/sample/addresses.yml +27 -0
  3349. data/sample/db/sample/adjustments.yml +24 -0
  3350. data/sample/db/sample/assets.yml +320 -0
  3351. data/sample/db/sample/assets/apache_baseball.png +0 -0
  3352. data/sample/db/sample/assets/ror_bag.jpeg +0 -0
  3353. data/sample/db/sample/assets/ror_baseball.jpeg +0 -0
  3354. data/sample/db/sample/assets/ror_baseball_back.jpeg +0 -0
  3355. data/sample/db/sample/assets/ror_baseball_jersey_back_blue.png +0 -0
  3356. data/sample/db/sample/assets/ror_baseball_jersey_back_green.png +0 -0
  3357. data/sample/db/sample/assets/ror_baseball_jersey_back_red.png +0 -0
  3358. data/sample/db/sample/assets/ror_baseball_jersey_blue.png +0 -0
  3359. data/sample/db/sample/assets/ror_baseball_jersey_green.png +0 -0
  3360. data/sample/db/sample/assets/ror_baseball_jersey_red.png +0 -0
  3361. data/sample/db/sample/assets/ror_jr_spaghetti.jpeg +0 -0
  3362. data/sample/db/sample/assets/ror_mug.jpeg +0 -0
  3363. data/sample/db/sample/assets/ror_mug_back.jpeg +0 -0
  3364. data/sample/db/sample/assets/ror_ringer.jpeg +0 -0
  3365. data/sample/db/sample/assets/ror_ringer_back.jpeg +0 -0
  3366. data/sample/db/sample/assets/ror_stein.jpeg +0 -0
  3367. data/sample/db/sample/assets/ror_stein_back.jpeg +0 -0
  3368. data/sample/db/sample/assets/ror_tote.jpeg +0 -0
  3369. data/sample/db/sample/assets/ror_tote_back.jpeg +0 -0
  3370. data/sample/db/sample/assets/ruby_baseball.png +0 -0
  3371. data/sample/db/sample/calculators.yml +16 -0
  3372. data/sample/db/sample/inventory_units.rb +4 -0
  3373. data/sample/db/sample/line_items.yml +40 -0
  3374. data/sample/db/sample/option_types.yml +8 -0
  3375. data/sample/db/sample/option_values.yml +35 -0
  3376. data/sample/db/sample/orders.yml +20 -0
  3377. data/sample/db/sample/payment_methods.yml +30 -0
  3378. data/sample/db/sample/payments.rb +25 -0
  3379. data/sample/db/sample/preferences.yml +20 -0
  3380. data/sample/db/sample/product_groups.yml +9 -0
  3381. data/sample/db/sample/product_option_types.yml +8 -0
  3382. data/sample/db/sample/product_properties.yml +136 -0
  3383. data/sample/db/sample/product_scopes.yml +35 -0
  3384. data/sample/db/sample/products.rb +15 -0
  3385. data/sample/db/sample/products.yml +53 -0
  3386. data/sample/db/sample/properties.yml +39 -0
  3387. data/sample/db/sample/prototypes.yml +9 -0
  3388. data/sample/db/sample/shipments.yml +8 -0
  3389. data/sample/db/sample/shipping_categories.yml +2 -0
  3390. data/sample/db/sample/shipping_methods.yml +9 -0
  3391. data/sample/db/sample/tax_categories.yml +6 -0
  3392. data/sample/db/sample/taxonomies.yml +4 -0
  3393. data/sample/db/sample/taxons.rb +3 -0
  3394. data/sample/db/sample/taxons.yml +91 -0
  3395. data/sample/db/sample/update_memberships.rb +1 -0
  3396. data/sample/db/sample/users.yml +8 -0
  3397. data/sample/db/sample/variants.yml +133 -0
  3398. data/sample/lib/spree_sample.rb +6 -0
  3399. data/sample/lib/tasks/install.rake +24 -0
  3400. data/sample/rfcommerce_sample.gemspec +26 -0
  3401. data/sample/sandbox_template.rb +4 -0
  3402. data/sandbox/Gemfile +39 -0
  3403. data/sandbox/Gemfile.lock +99 -0
  3404. data/sandbox/README +256 -0
  3405. data/sandbox/Rakefile +22 -0
  3406. data/sandbox/app/controllers/application_controller.rb +3 -0
  3407. data/sandbox/app/helpers/application_helper.rb +2 -0
  3408. data/sandbox/app/views/layouts/application.html.erb +14 -0
  3409. data/sandbox/config.ru +4 -0
  3410. data/sandbox/config/application.rb +45 -0
  3411. data/sandbox/config/boot.rb +6 -0
  3412. data/sandbox/config/database.yml +22 -0
  3413. data/sandbox/config/environment.rb +5 -0
  3414. data/sandbox/config/environments/development.rb +26 -0
  3415. data/sandbox/config/environments/production.rb +49 -0
  3416. data/sandbox/config/environments/test.rb +35 -0
  3417. data/sandbox/config/initializers/backtrace_silencers.rb +7 -0
  3418. data/sandbox/config/initializers/inflections.rb +10 -0
  3419. data/sandbox/config/initializers/mime_types.rb +5 -0
  3420. data/sandbox/config/initializers/secret_token.rb +7 -0
  3421. data/sandbox/config/initializers/session_store.rb +8 -0
  3422. data/sandbox/config/locales/en.yml +5 -0
  3423. data/sandbox/config/routes.rb +58 -0
  3424. data/sandbox/db/default/countries.yml +1583 -0
  3425. data/sandbox/db/default/roles.yml +7 -0
  3426. data/sandbox/db/default/states.yml +256 -0
  3427. data/sandbox/db/default/zone_members.yml +169 -0
  3428. data/sandbox/db/default/zones.yml +13 -0
  3429. data/sandbox/db/development.sqlite3 +0 -0
  3430. data/sandbox/db/migrate/20090823005402_spree_zero_nine_zero.rb +442 -0
  3431. data/sandbox/db/migrate/20090904192342_create_indexes_for_inventory_units.rb +12 -0
  3432. data/sandbox/db/migrate/20090923100315_add_count_on_hand_to_variants_and_products.rb +36 -0
  3433. data/sandbox/db/migrate/20091007134354_change_taxons_to_nested_set.rb +40 -0
  3434. data/sandbox/db/migrate/20091008091614_move_to_configurable_gateways.rb +55 -0
  3435. data/sandbox/db/migrate/20091012120519_product_groups_and_scopes.rb +25 -0
  3436. data/sandbox/db/migrate/20091015110842_add_open_id_authentication_tables.rb +20 -0
  3437. data/sandbox/db/migrate/20091015153048_add_openid_field_to_users.rb +19 -0
  3438. data/sandbox/db/migrate/20091016174634_change_preference_value_type.rb +10 -0
  3439. data/sandbox/db/migrate/20091017175558_create_billing_integrations.rb +16 -0
  3440. data/sandbox/db/migrate/20091021133257_charge_refactoring.rb +35 -0
  3441. data/sandbox/db/migrate/20091104151730_add_some_indexes.rb +21 -0
  3442. data/sandbox/db/migrate/20091126190904_checkout_state_machine.rb +13 -0
  3443. data/sandbox/db/migrate/20091209153045_state_for_shipments.rb +9 -0
  3444. data/sandbox/db/migrate/20091209202200_make_state_events_polymorphic.rb +12 -0
  3445. data/sandbox/db/migrate/20091211203813_ship_address_id_for_checkouts.rb +9 -0
  3446. data/sandbox/db/migrate/20091212161118_shipping_method_id_for_checkouts.rb +9 -0
  3447. data/sandbox/db/migrate/20091213222815_creditcard_last_four_digits.rb +19 -0
  3448. data/sandbox/db/migrate/20091214183826_populate_legacy_shipment_state.rb +19 -0
  3449. data/sandbox/db/migrate/20100105090147_add_cost_price.rb +9 -0
  3450. data/sandbox/db/migrate/20100105132138_shipment_id_for_inventory_units.rb +21 -0
  3451. data/sandbox/db/migrate/20100107141738_add_api_key_to_users.rb +9 -0
  3452. data/sandbox/db/migrate/20100111205525_cim_fields_for_creditcards.rb +11 -0
  3453. data/sandbox/db/migrate/20100112151511_create_return_authorizations.rb +16 -0
  3454. data/sandbox/db/migrate/20100113090919_add_return_authorization_to_inventory_units.rb +9 -0
  3455. data/sandbox/db/migrate/20100113203104_create_trackers.rb +14 -0
  3456. data/sandbox/db/migrate/20100121160010_creditcard_id_for_creditcard_txns.rb +9 -0
  3457. data/sandbox/db/migrate/20100121183934_original_creditcard_txn_id_for_creditcard_txns.rb +9 -0
  3458. data/sandbox/db/migrate/20100125145351_add_test_mode_to_billing_integration.rb +11 -0
  3459. data/sandbox/db/migrate/20100126103714_create_products_product_groups.rb +12 -0
  3460. data/sandbox/db/migrate/20100209025806_create_payment_methods.rb +20 -0
  3461. data/sandbox/db/migrate/20100209144531_polymorphic_payments.rb +29 -0
  3462. data/sandbox/db/migrate/20100213103131_change_payments_payment_method_to_belongs_to.rb +11 -0
  3463. data/sandbox/db/migrate/20100214212536_assign_creditcard_txns_to_payment.rb +16 -0
  3464. data/sandbox/db/migrate/20100223170312_sti_for_transactions.rb +14 -0
  3465. data/sandbox/db/migrate/20100223183812_drop_billing_integrations.rb +16 -0
  3466. data/sandbox/db/migrate/20100224153127_deleted_at_for_payment_methods.rb +13 -0
  3467. data/sandbox/db/migrate/20100301163454_add_adjustments_index.rb +10 -0
  3468. data/sandbox/db/migrate/20100306153445_fix_by_popularity.rb +8 -0
  3469. data/sandbox/db/migrate/20100317120946_add_alt_text_to_images.rb +9 -0
  3470. data/sandbox/db/migrate/20100419190933_rename_coupons_to_promotions.rb +10 -0
  3471. data/sandbox/db/migrate/20100419194457_fix_existing_coupon_credits.rb +9 -0
  3472. data/sandbox/db/migrate/20100426100726_create_promotion_rules.rb +24 -0
  3473. data/sandbox/db/migrate/20100427121301_add_display_to_payment_methods.rb +9 -0
  3474. data/sandbox/db/migrate/20100501084722_match_policy_for_promotions.rb +9 -0
  3475. data/sandbox/db/migrate/20100501095202_create_promotion_rules_users.rb +14 -0
  3476. data/sandbox/db/migrate/20100502163939_name_for_promotions.rb +9 -0
  3477. data/sandbox/db/migrate/20100504142133_add_addresses_checkouts_indexes.rb +16 -0
  3478. data/sandbox/db/migrate/20100506180619_add_icon_to_taxons.rb +18 -0
  3479. data/sandbox/db/migrate/20100506185838_add_description_to_taxons.rb +11 -0
  3480. data/sandbox/db/migrate/20100528155333_index_for_shipments_number.rb +9 -0
  3481. data/sandbox/db/migrate/20100528185820_add_index_on_users_persistence_token.rb +9 -0
  3482. data/sandbox/db/migrate/20100605152042_add_default_to_tax_categories.rb +9 -0
  3483. data/sandbox/db/migrate/20100624110730_add_display_to_shipping_methods.rb +9 -0
  3484. data/sandbox/db/migrate/20100624123336_rename_payment_method_display.rb +9 -0
  3485. data/sandbox/db/migrate/20100624175547_rename_preferences_field.rb +8 -0
  3486. data/sandbox/db/migrate/20100811163637_add_guest_flag.rb +13 -0
  3487. data/sandbox/db/migrate/20100811205836_drop_order_token.rb +11 -0
  3488. data/sandbox/db/migrate/20100812162326_payments_state_and_assigned_to_order_only.rb +11 -0
  3489. data/sandbox/db/migrate/20100813023502_create_address_keys_for_order.rb +15 -0
  3490. data/sandbox/db/migrate/20100813185745_payment_total_for_orders.rb +9 -0
  3491. data/sandbox/db/migrate/20100816212146_shipping_method_id_for_orders.rb +9 -0
  3492. data/sandbox/db/migrate/20100817152723_add_shipment_and_payment_state.rb +15 -0
  3493. data/sandbox/db/migrate/20100819170125_refactor_adjustments.rb +19 -0
  3494. data/sandbox/db/migrate/20100820135707_response_code_and_avs_response_for_payments.rb +11 -0
  3495. data/sandbox/db/migrate/20100901171814_change_guest_flag_to_anonymous.rb +13 -0
  3496. data/sandbox/db/migrate/20100903203949_email_for_orders.rb +9 -0
  3497. data/sandbox/db/migrate/20100923095305_update_calculable_type_for_promotions.rb +9 -0
  3498. data/sandbox/db/migrate/20100923162011_create_mail_methods.rb +12 -0
  3499. data/sandbox/db/migrate/20100929151905_rename_frozen_to_locked.rb +8 -0
  3500. data/sandbox/db/migrate/20101008190536_move_special_instructions_to_orders.rb +11 -0
  3501. data/sandbox/db/migrate/20101026184700_create_log_entries.rb +15 -0
  3502. data/sandbox/db/migrate/20101026184714_migrate_transactions_to_payment_state.rb +94 -0
  3503. data/sandbox/db/migrate/20101026184746_delete_in_progress_orders.rb +18 -0
  3504. data/sandbox/db/migrate/20101026184808_migrate_checkout_to_orders.rb +27 -0
  3505. data/sandbox/db/migrate/20101026184833_migrate_adjustments.rb +9 -0
  3506. data/sandbox/db/migrate/20101026184855_remove_shipped_state.rb +14 -0
  3507. data/sandbox/db/migrate/20101026184916_prevent_nil_payment_total.rb +8 -0
  3508. data/sandbox/db/migrate/20101026184932_prevent_nil_email.rb +9 -0
  3509. data/sandbox/db/migrate/20101026184950_rename_columns_for_devise.rb +39 -0
  3510. data/sandbox/db/migrate/20101026184959_generate_anonymous_users.rb +14 -0
  3511. data/sandbox/db/migrate/20101026185022_update_order_state.rb +8 -0
  3512. data/sandbox/db/migrate/20101026192225_cleanup_legacy_tables.rb +11 -0
  3513. data/sandbox/db/migrate/20101028151745_remove_number_and_cvv_from_credicard.rb +9 -0
  3514. data/sandbox/db/migrate/20101103212716_drop_anonymous_field_for_user.rb +8 -0
  3515. data/sandbox/db/migrate/20101111133551_renamed_rma_cancelled_state.rb +10 -0
  3516. data/sandbox/db/migrate/20101117031806_fix_problematic_index_names.rb +13 -0
  3517. data/sandbox/db/migrate/20101214150824_convert_user_remember_field.rb +11 -0
  3518. data/sandbox/db/migrate/20101217012656_create_tokenized_permissions.rb +18 -0
  3519. data/sandbox/db/migrate/20101219201531_tokens_for_legacy_orders.rb +12 -0
  3520. data/sandbox/db/migrate/20101223215658_add_position_to_variants.rb +9 -0
  3521. data/sandbox/db/migrate/20110110130847_add_next_state_to_state_events.rb +9 -0
  3522. data/sandbox/db/migrate/20110111122537_add_position_to_option_types.rb +9 -0
  3523. data/sandbox/db/migrate/20110314192118_remove_trailing_slashes_in_taxon_permalinks.rb +17 -0
  3524. data/sandbox/db/sample/addresses.yml +27 -0
  3525. data/sandbox/db/sample/adjustments.yml +24 -0
  3526. data/sandbox/db/sample/assets.yml +320 -0
  3527. data/sandbox/db/sample/assets/apache_baseball.png +0 -0
  3528. data/sandbox/db/sample/assets/ror_bag.jpeg +0 -0
  3529. data/sandbox/db/sample/assets/ror_baseball.jpeg +0 -0
  3530. data/sandbox/db/sample/assets/ror_baseball_back.jpeg +0 -0
  3531. data/sandbox/db/sample/assets/ror_baseball_jersey_back_blue.png +0 -0
  3532. data/sandbox/db/sample/assets/ror_baseball_jersey_back_green.png +0 -0
  3533. data/sandbox/db/sample/assets/ror_baseball_jersey_back_red.png +0 -0
  3534. data/sandbox/db/sample/assets/ror_baseball_jersey_blue.png +0 -0
  3535. data/sandbox/db/sample/assets/ror_baseball_jersey_green.png +0 -0
  3536. data/sandbox/db/sample/assets/ror_baseball_jersey_red.png +0 -0
  3537. data/sandbox/db/sample/assets/ror_jr_spaghetti.jpeg +0 -0
  3538. data/sandbox/db/sample/assets/ror_mug.jpeg +0 -0
  3539. data/sandbox/db/sample/assets/ror_mug_back.jpeg +0 -0
  3540. data/sandbox/db/sample/assets/ror_ringer.jpeg +0 -0
  3541. data/sandbox/db/sample/assets/ror_ringer_back.jpeg +0 -0
  3542. data/sandbox/db/sample/assets/ror_stein.jpeg +0 -0
  3543. data/sandbox/db/sample/assets/ror_stein_back.jpeg +0 -0
  3544. data/sandbox/db/sample/assets/ror_tote.jpeg +0 -0
  3545. data/sandbox/db/sample/assets/ror_tote_back.jpeg +0 -0
  3546. data/sandbox/db/sample/assets/ruby_baseball.png +0 -0
  3547. data/sandbox/db/sample/calculators.yml +16 -0
  3548. data/sandbox/db/sample/inventory_units.rb +4 -0
  3549. data/sandbox/db/sample/line_items.yml +40 -0
  3550. data/sandbox/db/sample/option_types.yml +8 -0
  3551. data/sandbox/db/sample/option_values.yml +35 -0
  3552. data/sandbox/db/sample/orders.yml +20 -0
  3553. data/sandbox/db/sample/payment_methods.yml +30 -0
  3554. data/sandbox/db/sample/payments.rb +25 -0
  3555. data/sandbox/db/sample/preferences.yml +20 -0
  3556. data/sandbox/db/sample/product_groups.yml +9 -0
  3557. data/sandbox/db/sample/product_option_types.yml +8 -0
  3558. data/sandbox/db/sample/product_properties.yml +136 -0
  3559. data/sandbox/db/sample/product_scopes.yml +35 -0
  3560. data/sandbox/db/sample/products.rb +15 -0
  3561. data/sandbox/db/sample/products.yml +53 -0
  3562. data/sandbox/db/sample/properties.yml +39 -0
  3563. data/sandbox/db/sample/prototypes.yml +9 -0
  3564. data/sandbox/db/sample/shipments.yml +8 -0
  3565. data/sandbox/db/sample/shipping_categories.yml +2 -0
  3566. data/sandbox/db/sample/shipping_methods.yml +9 -0
  3567. data/sandbox/db/sample/tax_categories.yml +6 -0
  3568. data/sandbox/db/sample/taxonomies.yml +4 -0
  3569. data/sandbox/db/sample/taxons.rb +3 -0
  3570. data/sandbox/db/sample/taxons.yml +91 -0
  3571. data/sandbox/db/sample/update_memberships.rb +1 -0
  3572. data/sandbox/db/sample/users.rb +53 -0
  3573. data/sandbox/db/sample/users.yml +8 -0
  3574. data/sandbox/db/sample/variants.yml +133 -0
  3575. data/sandbox/db/schema.rb +572 -0
  3576. data/sandbox/db/seeds.rb +3 -0
  3577. data/sandbox/doc/README_FOR_APP +2 -0
  3578. data/sandbox/lib/spree_site.rb +12 -0
  3579. data/sandbox/log/development.log +8406 -0
  3580. data/sandbox/log/production.log +0 -0
  3581. data/sandbox/log/server.log +0 -0
  3582. data/sandbox/log/test.log +0 -0
  3583. data/sandbox/public/404.html +26 -0
  3584. data/sandbox/public/422.html +26 -0
  3585. data/sandbox/public/500.html +26 -0
  3586. data/sandbox/public/assets/products/1/large/ror_tote.jpeg +0 -0
  3587. data/sandbox/public/assets/products/1/mini/ror_tote.jpeg +0 -0
  3588. data/sandbox/public/assets/products/1/original/ror_tote.jpeg +0 -0
  3589. data/sandbox/public/assets/products/1/product/ror_tote.jpeg +0 -0
  3590. data/sandbox/public/assets/products/1/small/ror_tote.jpeg +0 -0
  3591. data/sandbox/public/assets/products/10/large/ror_ringer_back.jpeg +0 -0
  3592. data/sandbox/public/assets/products/10/mini/ror_ringer_back.jpeg +0 -0
  3593. data/sandbox/public/assets/products/10/original/ror_ringer_back.jpeg +0 -0
  3594. data/sandbox/public/assets/products/10/product/ror_ringer_back.jpeg +0 -0
  3595. data/sandbox/public/assets/products/10/small/ror_ringer_back.jpeg +0 -0
  3596. data/sandbox/public/assets/products/1004/large/apache_baseball.png +0 -0
  3597. data/sandbox/public/assets/products/1004/mini/apache_baseball.png +0 -0
  3598. data/sandbox/public/assets/products/1004/original/apache_baseball.png +0 -0
  3599. data/sandbox/public/assets/products/1004/product/apache_baseball.png +0 -0
  3600. data/sandbox/public/assets/products/1004/small/apache_baseball.png +0 -0
  3601. data/sandbox/public/assets/products/1008/large/ruby_baseball.png +0 -0
  3602. data/sandbox/public/assets/products/1008/mini/ruby_baseball.png +0 -0
  3603. data/sandbox/public/assets/products/1008/original/ruby_baseball.png +0 -0
  3604. data/sandbox/public/assets/products/1008/product/ruby_baseball.png +0 -0
  3605. data/sandbox/public/assets/products/1008/small/ruby_baseball.png +0 -0
  3606. data/sandbox/public/assets/products/1009/large/ror_baseball_jersey_green.png +0 -0
  3607. data/sandbox/public/assets/products/1009/mini/ror_baseball_jersey_green.png +0 -0
  3608. data/sandbox/public/assets/products/1009/original/ror_baseball_jersey_green.png +0 -0
  3609. data/sandbox/public/assets/products/1009/product/ror_baseball_jersey_green.png +0 -0
  3610. data/sandbox/public/assets/products/1009/small/ror_baseball_jersey_green.png +0 -0
  3611. data/sandbox/public/assets/products/1010/large/ror_baseball_jersey_back_green.png +0 -0
  3612. data/sandbox/public/assets/products/1010/mini/ror_baseball_jersey_back_green.png +0 -0
  3613. data/sandbox/public/assets/products/1010/original/ror_baseball_jersey_back_green.png +0 -0
  3614. data/sandbox/public/assets/products/1010/product/ror_baseball_jersey_back_green.png +0 -0
  3615. data/sandbox/public/assets/products/1010/small/ror_baseball_jersey_back_green.png +0 -0
  3616. data/sandbox/public/assets/products/1011/large/ror_baseball_jersey_green.png +0 -0
  3617. data/sandbox/public/assets/products/1011/mini/ror_baseball_jersey_green.png +0 -0
  3618. data/sandbox/public/assets/products/1011/original/ror_baseball_jersey_green.png +0 -0
  3619. data/sandbox/public/assets/products/1011/product/ror_baseball_jersey_green.png +0 -0
  3620. data/sandbox/public/assets/products/1011/small/ror_baseball_jersey_green.png +0 -0
  3621. data/sandbox/public/assets/products/1012/large/ror_baseball_jersey_back_green.png +0 -0
  3622. data/sandbox/public/assets/products/1012/mini/ror_baseball_jersey_back_green.png +0 -0
  3623. data/sandbox/public/assets/products/1012/original/ror_baseball_jersey_back_green.png +0 -0
  3624. data/sandbox/public/assets/products/1012/product/ror_baseball_jersey_back_green.png +0 -0
  3625. data/sandbox/public/assets/products/1012/small/ror_baseball_jersey_back_green.png +0 -0
  3626. data/sandbox/public/assets/products/1013/large/ror_baseball_jersey_green.png +0 -0
  3627. data/sandbox/public/assets/products/1013/mini/ror_baseball_jersey_green.png +0 -0
  3628. data/sandbox/public/assets/products/1013/original/ror_baseball_jersey_green.png +0 -0
  3629. data/sandbox/public/assets/products/1013/product/ror_baseball_jersey_green.png +0 -0
  3630. data/sandbox/public/assets/products/1013/small/ror_baseball_jersey_green.png +0 -0
  3631. data/sandbox/public/assets/products/1014/large/ror_baseball_jersey_back_green.png +0 -0
  3632. data/sandbox/public/assets/products/1014/mini/ror_baseball_jersey_back_green.png +0 -0
  3633. data/sandbox/public/assets/products/1014/original/ror_baseball_jersey_back_green.png +0 -0
  3634. data/sandbox/public/assets/products/1014/product/ror_baseball_jersey_back_green.png +0 -0
  3635. data/sandbox/public/assets/products/1014/small/ror_baseball_jersey_back_green.png +0 -0
  3636. data/sandbox/public/assets/products/1015/large/ror_baseball_jersey_blue.png +0 -0
  3637. data/sandbox/public/assets/products/1015/mini/ror_baseball_jersey_blue.png +0 -0
  3638. data/sandbox/public/assets/products/1015/original/ror_baseball_jersey_blue.png +0 -0
  3639. data/sandbox/public/assets/products/1015/product/ror_baseball_jersey_blue.png +0 -0
  3640. data/sandbox/public/assets/products/1015/small/ror_baseball_jersey_blue.png +0 -0
  3641. data/sandbox/public/assets/products/1016/large/ror_baseball_jersey_back_blue.png +0 -0
  3642. data/sandbox/public/assets/products/1016/mini/ror_baseball_jersey_back_blue.png +0 -0
  3643. data/sandbox/public/assets/products/1016/original/ror_baseball_jersey_back_blue.png +0 -0
  3644. data/sandbox/public/assets/products/1016/product/ror_baseball_jersey_back_blue.png +0 -0
  3645. data/sandbox/public/assets/products/1016/small/ror_baseball_jersey_back_blue.png +0 -0
  3646. data/sandbox/public/assets/products/1017/large/ror_baseball_jersey_blue.png +0 -0
  3647. data/sandbox/public/assets/products/1017/mini/ror_baseball_jersey_blue.png +0 -0
  3648. data/sandbox/public/assets/products/1017/original/ror_baseball_jersey_blue.png +0 -0
  3649. data/sandbox/public/assets/products/1017/product/ror_baseball_jersey_blue.png +0 -0
  3650. data/sandbox/public/assets/products/1017/small/ror_baseball_jersey_blue.png +0 -0
  3651. data/sandbox/public/assets/products/1018/large/ror_baseball_jersey_back_blue.png +0 -0
  3652. data/sandbox/public/assets/products/1018/mini/ror_baseball_jersey_back_blue.png +0 -0
  3653. data/sandbox/public/assets/products/1018/original/ror_baseball_jersey_back_blue.png +0 -0
  3654. data/sandbox/public/assets/products/1018/product/ror_baseball_jersey_back_blue.png +0 -0
  3655. data/sandbox/public/assets/products/1018/small/ror_baseball_jersey_back_blue.png +0 -0
  3656. data/sandbox/public/assets/products/1019/large/ror_baseball_jersey_blue.png +0 -0
  3657. data/sandbox/public/assets/products/1019/mini/ror_baseball_jersey_blue.png +0 -0
  3658. data/sandbox/public/assets/products/1019/original/ror_baseball_jersey_blue.png +0 -0
  3659. data/sandbox/public/assets/products/1019/product/ror_baseball_jersey_blue.png +0 -0
  3660. data/sandbox/public/assets/products/1019/small/ror_baseball_jersey_blue.png +0 -0
  3661. data/sandbox/public/assets/products/1020/large/ror_baseball_jersey_back_blue.png +0 -0
  3662. data/sandbox/public/assets/products/1020/mini/ror_baseball_jersey_back_blue.png +0 -0
  3663. data/sandbox/public/assets/products/1020/original/ror_baseball_jersey_back_blue.png +0 -0
  3664. data/sandbox/public/assets/products/1020/product/ror_baseball_jersey_back_blue.png +0 -0
  3665. data/sandbox/public/assets/products/1020/small/ror_baseball_jersey_back_blue.png +0 -0
  3666. data/sandbox/public/assets/products/1021/large/ror_baseball_jersey_red.png +0 -0
  3667. data/sandbox/public/assets/products/1021/mini/ror_baseball_jersey_red.png +0 -0
  3668. data/sandbox/public/assets/products/1021/original/ror_baseball_jersey_red.png +0 -0
  3669. data/sandbox/public/assets/products/1021/product/ror_baseball_jersey_red.png +0 -0
  3670. data/sandbox/public/assets/products/1021/small/ror_baseball_jersey_red.png +0 -0
  3671. data/sandbox/public/assets/products/1022/large/ror_baseball_jersey_back_red.png +0 -0
  3672. data/sandbox/public/assets/products/1022/mini/ror_baseball_jersey_back_red.png +0 -0
  3673. data/sandbox/public/assets/products/1022/original/ror_baseball_jersey_back_red.png +0 -0
  3674. data/sandbox/public/assets/products/1022/product/ror_baseball_jersey_back_red.png +0 -0
  3675. data/sandbox/public/assets/products/1022/small/ror_baseball_jersey_back_red.png +0 -0
  3676. data/sandbox/public/assets/products/1023/large/ror_baseball_jersey_red.png +0 -0
  3677. data/sandbox/public/assets/products/1023/mini/ror_baseball_jersey_red.png +0 -0
  3678. data/sandbox/public/assets/products/1023/original/ror_baseball_jersey_red.png +0 -0
  3679. data/sandbox/public/assets/products/1023/product/ror_baseball_jersey_red.png +0 -0
  3680. data/sandbox/public/assets/products/1023/small/ror_baseball_jersey_red.png +0 -0
  3681. data/sandbox/public/assets/products/1024/large/ror_baseball_jersey_back_red.png +0 -0
  3682. data/sandbox/public/assets/products/1024/mini/ror_baseball_jersey_back_red.png +0 -0
  3683. data/sandbox/public/assets/products/1024/original/ror_baseball_jersey_back_red.png +0 -0
  3684. data/sandbox/public/assets/products/1024/product/ror_baseball_jersey_back_red.png +0 -0
  3685. data/sandbox/public/assets/products/1024/small/ror_baseball_jersey_back_red.png +0 -0
  3686. data/sandbox/public/assets/products/1025/large/ror_baseball_jersey_red.png +0 -0
  3687. data/sandbox/public/assets/products/1025/mini/ror_baseball_jersey_red.png +0 -0
  3688. data/sandbox/public/assets/products/1025/original/ror_baseball_jersey_red.png +0 -0
  3689. data/sandbox/public/assets/products/1025/product/ror_baseball_jersey_red.png +0 -0
  3690. data/sandbox/public/assets/products/1025/small/ror_baseball_jersey_red.png +0 -0
  3691. data/sandbox/public/assets/products/1026/large/ror_baseball_jersey_back_red.png +0 -0
  3692. data/sandbox/public/assets/products/1026/mini/ror_baseball_jersey_back_red.png +0 -0
  3693. data/sandbox/public/assets/products/1026/original/ror_baseball_jersey_back_red.png +0 -0
  3694. data/sandbox/public/assets/products/1026/product/ror_baseball_jersey_back_red.png +0 -0
  3695. data/sandbox/public/assets/products/1026/small/ror_baseball_jersey_back_red.png +0 -0
  3696. data/sandbox/public/assets/products/11/large/ror_stein.jpeg +0 -0
  3697. data/sandbox/public/assets/products/11/mini/ror_stein.jpeg +0 -0
  3698. data/sandbox/public/assets/products/11/original/ror_stein.jpeg +0 -0
  3699. data/sandbox/public/assets/products/11/product/ror_stein.jpeg +0 -0
  3700. data/sandbox/public/assets/products/11/small/ror_stein.jpeg +0 -0
  3701. data/sandbox/public/assets/products/12/large/ror_stein_back.jpeg +0 -0
  3702. data/sandbox/public/assets/products/12/mini/ror_stein_back.jpeg +0 -0
  3703. data/sandbox/public/assets/products/12/original/ror_stein_back.jpeg +0 -0
  3704. data/sandbox/public/assets/products/12/product/ror_stein_back.jpeg +0 -0
  3705. data/sandbox/public/assets/products/12/small/ror_stein_back.jpeg +0 -0
  3706. data/sandbox/public/assets/products/2/large/ror_tote_back.jpeg +0 -0
  3707. data/sandbox/public/assets/products/2/mini/ror_tote_back.jpeg +0 -0
  3708. data/sandbox/public/assets/products/2/original/ror_tote_back.jpeg +0 -0
  3709. data/sandbox/public/assets/products/2/product/ror_tote_back.jpeg +0 -0
  3710. data/sandbox/public/assets/products/2/small/ror_tote_back.jpeg +0 -0
  3711. data/sandbox/public/assets/products/3/large/ror_bag.jpeg +0 -0
  3712. data/sandbox/public/assets/products/3/mini/ror_bag.jpeg +0 -0
  3713. data/sandbox/public/assets/products/3/original/ror_bag.jpeg +0 -0
  3714. data/sandbox/public/assets/products/3/product/ror_bag.jpeg +0 -0
  3715. data/sandbox/public/assets/products/3/small/ror_bag.jpeg +0 -0
  3716. data/sandbox/public/assets/products/4/large/ror_baseball.jpeg +0 -0
  3717. data/sandbox/public/assets/products/4/mini/ror_baseball.jpeg +0 -0
  3718. data/sandbox/public/assets/products/4/original/ror_baseball.jpeg +0 -0
  3719. data/sandbox/public/assets/products/4/product/ror_baseball.jpeg +0 -0
  3720. data/sandbox/public/assets/products/4/small/ror_baseball.jpeg +0 -0
  3721. data/sandbox/public/assets/products/5/large/ror_baseball_back.jpeg +0 -0
  3722. data/sandbox/public/assets/products/5/mini/ror_baseball_back.jpeg +0 -0
  3723. data/sandbox/public/assets/products/5/original/ror_baseball_back.jpeg +0 -0
  3724. data/sandbox/public/assets/products/5/product/ror_baseball_back.jpeg +0 -0
  3725. data/sandbox/public/assets/products/5/small/ror_baseball_back.jpeg +0 -0
  3726. data/sandbox/public/assets/products/6/large/ror_jr_spaghetti.jpeg +0 -0
  3727. data/sandbox/public/assets/products/6/mini/ror_jr_spaghetti.jpeg +0 -0
  3728. data/sandbox/public/assets/products/6/original/ror_jr_spaghetti.jpeg +0 -0
  3729. data/sandbox/public/assets/products/6/product/ror_jr_spaghetti.jpeg +0 -0
  3730. data/sandbox/public/assets/products/6/small/ror_jr_spaghetti.jpeg +0 -0
  3731. data/sandbox/public/assets/products/7/large/ror_mug.jpeg +0 -0
  3732. data/sandbox/public/assets/products/7/mini/ror_mug.jpeg +0 -0
  3733. data/sandbox/public/assets/products/7/original/ror_mug.jpeg +0 -0
  3734. data/sandbox/public/assets/products/7/product/ror_mug.jpeg +0 -0
  3735. data/sandbox/public/assets/products/7/small/ror_mug.jpeg +0 -0
  3736. data/sandbox/public/assets/products/8/large/ror_mug_back.jpeg +0 -0
  3737. data/sandbox/public/assets/products/8/mini/ror_mug_back.jpeg +0 -0
  3738. data/sandbox/public/assets/products/8/original/ror_mug_back.jpeg +0 -0
  3739. data/sandbox/public/assets/products/8/product/ror_mug_back.jpeg +0 -0
  3740. data/sandbox/public/assets/products/8/small/ror_mug_back.jpeg +0 -0
  3741. data/sandbox/public/assets/products/9/large/ror_ringer.jpeg +0 -0
  3742. data/sandbox/public/assets/products/9/mini/ror_ringer.jpeg +0 -0
  3743. data/sandbox/public/assets/products/9/original/ror_ringer.jpeg +0 -0
  3744. data/sandbox/public/assets/products/9/product/ror_ringer.jpeg +0 -0
  3745. data/sandbox/public/assets/products/9/small/ror_ringer.jpeg +0 -0
  3746. data/sandbox/public/favicon.ico +0 -0
  3747. data/sandbox/public/images/add-to-cart.png +0 -0
  3748. data/sandbox/public/images/admin/bg/active-tab.png +0 -0
  3749. data/sandbox/public/images/admin/bg/admin_tab_back.png +0 -0
  3750. data/sandbox/public/images/admin/bg/admin_tab_selected_back.png +0 -0
  3751. data/sandbox/public/images/admin/bg/content-back-blue.png +0 -0
  3752. data/sandbox/public/images/admin/bg/content-back-green.png +0 -0
  3753. data/sandbox/public/images/admin/bg/content-back.png +0 -0
  3754. data/sandbox/public/images/admin/bg/flash-error.png +0 -0
  3755. data/sandbox/public/images/admin/bg/flash-notice.png +0 -0
  3756. data/sandbox/public/images/admin/bg/green-stripes.gif +0 -0
  3757. data/sandbox/public/images/admin/bg/green-stripes.png +0 -0
  3758. data/sandbox/public/images/admin/bg/grid_header_back.png +0 -0
  3759. data/sandbox/public/images/admin/bg/grid_header_back_green.png +0 -0
  3760. data/sandbox/public/images/admin/bg/header-bg.png +0 -0
  3761. data/sandbox/public/images/admin/bg/header.png +0 -0
  3762. data/sandbox/public/images/admin/bg/header_bg.jpg +0 -0
  3763. data/sandbox/public/images/admin/bg/menu-current.png +0 -0
  3764. data/sandbox/public/images/admin/bg/red-stripes.gif +0 -0
  3765. data/sandbox/public/images/admin/bg/red-stripes.png +0 -0
  3766. data/sandbox/public/images/admin/bg/spree_50.png +0 -0
  3767. data/sandbox/public/images/admin/bg/subnav-divider.png +0 -0
  3768. data/sandbox/public/images/admin/bg/subnav.png +0 -0
  3769. data/sandbox/public/images/admin/bg/tab-back.png +0 -0
  3770. data/sandbox/public/images/admin/buttons/blue/left_01.png +0 -0
  3771. data/sandbox/public/images/admin/buttons/blue/right_01.png +0 -0
  3772. data/sandbox/public/images/admin/buttons/drag-handle-green.png +0 -0
  3773. data/sandbox/public/images/admin/buttons/green/left_01.png +0 -0
  3774. data/sandbox/public/images/admin/buttons/green/right_01.png +0 -0
  3775. data/sandbox/public/images/admin/buttons/left_01.png +0 -0
  3776. data/sandbox/public/images/admin/buttons/left_01_small.png +0 -0
  3777. data/sandbox/public/images/admin/buttons/orange/left_03.png +0 -0
  3778. data/sandbox/public/images/admin/buttons/orange/right_03.png +0 -0
  3779. data/sandbox/public/images/admin/buttons/right_01.png +0 -0
  3780. data/sandbox/public/images/admin/buttons/right_01_small.png +0 -0
  3781. data/sandbox/public/images/admin/icons/16x16/1.png +0 -0
  3782. data/sandbox/public/images/admin/icons/16x16/10.png +0 -0
  3783. data/sandbox/public/images/admin/icons/16x16/2.png +0 -0
  3784. data/sandbox/public/images/admin/icons/16x16/3.png +0 -0
  3785. data/sandbox/public/images/admin/icons/16x16/4.png +0 -0
  3786. data/sandbox/public/images/admin/icons/16x16/5.png +0 -0
  3787. data/sandbox/public/images/admin/icons/16x16/6.png +0 -0
  3788. data/sandbox/public/images/admin/icons/16x16/7.png +0 -0
  3789. data/sandbox/public/images/admin/icons/16x16/8.png +0 -0
  3790. data/sandbox/public/images/admin/icons/16x16/9.png +0 -0
  3791. data/sandbox/public/images/admin/icons/32x32/1.png +0 -0
  3792. data/sandbox/public/images/admin/icons/32x32/10.png +0 -0
  3793. data/sandbox/public/images/admin/icons/32x32/11.png +0 -0
  3794. data/sandbox/public/images/admin/icons/32x32/2.png +0 -0
  3795. data/sandbox/public/images/admin/icons/32x32/3.png +0 -0
  3796. data/sandbox/public/images/admin/icons/32x32/4.png +0 -0
  3797. data/sandbox/public/images/admin/icons/32x32/5.png +0 -0
  3798. data/sandbox/public/images/admin/icons/32x32/6.png +0 -0
  3799. data/sandbox/public/images/admin/icons/32x32/7.png +0 -0
  3800. data/sandbox/public/images/admin/icons/32x32/8.png +0 -0
  3801. data/sandbox/public/images/admin/icons/32x32/9.png +0 -0
  3802. data/sandbox/public/images/admin/icons/accept.png +0 -0
  3803. data/sandbox/public/images/admin/icons/add.gif +0 -0
  3804. data/sandbox/public/images/admin/icons/add.png +0 -0
  3805. data/sandbox/public/images/admin/icons/arrow-down.gif +0 -0
  3806. data/sandbox/public/images/admin/icons/cross.png +0 -0
  3807. data/sandbox/public/images/admin/icons/delete.gif +0 -0
  3808. data/sandbox/public/images/admin/icons/delete.png +0 -0
  3809. data/sandbox/public/images/admin/icons/drag.gif +0 -0
  3810. data/sandbox/public/images/admin/icons/edit.gif +0 -0
  3811. data/sandbox/public/images/admin/icons/edit.png +0 -0
  3812. data/sandbox/public/images/admin/icons/email.png +0 -0
  3813. data/sandbox/public/images/admin/icons/error.png +0 -0
  3814. data/sandbox/public/images/admin/icons/exclamation.png +0 -0
  3815. data/sandbox/public/images/admin/icons/feed.png +0 -0
  3816. data/sandbox/public/images/admin/icons/pdf.png +0 -0
  3817. data/sandbox/public/images/admin/icons/reorder.gif +0 -0
  3818. data/sandbox/public/images/admin/icons/search.gif +0 -0
  3819. data/sandbox/public/images/admin/icons/send-email.png +0 -0
  3820. data/sandbox/public/images/admin/icons/stop.png +0 -0
  3821. data/sandbox/public/images/admin/icons/tick.png +0 -0
  3822. data/sandbox/public/images/admin/icons/up.gif +0 -0
  3823. data/sandbox/public/images/admin/icons/xls.png +0 -0
  3824. data/sandbox/public/images/admin/tabs/off-left.png +0 -0
  3825. data/sandbox/public/images/admin/tabs/off-right.png +0 -0
  3826. data/sandbox/public/images/admin/tabs/on-left.png +0 -0
  3827. data/sandbox/public/images/admin/tabs/on-right.png +0 -0
  3828. data/sandbox/public/images/ajax_loader.gif +0 -0
  3829. data/sandbox/public/images/amex_cid.gif +0 -0
  3830. data/sandbox/public/images/bg-button-hover.png +0 -0
  3831. data/sandbox/public/images/bg-button-pressed.png +0 -0
  3832. data/sandbox/public/images/bg-button.gif +0 -0
  3833. data/sandbox/public/images/bg-button.png +0 -0
  3834. data/sandbox/public/images/blue/left_01.png +0 -0
  3835. data/sandbox/public/images/blue/right_01.png +0 -0
  3836. data/sandbox/public/images/body-back.png +0 -0
  3837. data/sandbox/public/images/bottom_shine.png +0 -0
  3838. data/sandbox/public/images/breadcrumb.gif +0 -0
  3839. data/sandbox/public/images/button-dark-hover.png +0 -0
  3840. data/sandbox/public/images/button-dark.png +0 -0
  3841. data/sandbox/public/images/buttons/bg-button-hover.png +0 -0
  3842. data/sandbox/public/images/buttons/bg-button-pressed.png +0 -0
  3843. data/sandbox/public/images/buttons/bg-button.gif +0 -0
  3844. data/sandbox/public/images/buttons/bg-button.png +0 -0
  3845. data/sandbox/public/images/buttons/blue/left_01.png +0 -0
  3846. data/sandbox/public/images/buttons/blue/right_01.png +0 -0
  3847. data/sandbox/public/images/buttons/button-dark-hover.png +0 -0
  3848. data/sandbox/public/images/buttons/button-dark.png +0 -0
  3849. data/sandbox/public/images/buttons/drag-handle-green.png +0 -0
  3850. data/sandbox/public/images/buttons/green/left_01.png +0 -0
  3851. data/sandbox/public/images/buttons/green/right_01.png +0 -0
  3852. data/sandbox/public/images/buttons/left_01.png +0 -0
  3853. data/sandbox/public/images/buttons/left_01_small.png +0 -0
  3854. data/sandbox/public/images/buttons/orange/left_03.png +0 -0
  3855. data/sandbox/public/images/buttons/orange/right_03.png +0 -0
  3856. data/sandbox/public/images/buttons/right_01.png +0 -0
  3857. data/sandbox/public/images/buttons/right_01_small.png +0 -0
  3858. data/sandbox/public/images/buttons/sxsw-ribbon-v1.png +0 -0
  3859. data/sandbox/public/images/buttons/top-shine.png +0 -0
  3860. data/sandbox/public/images/calendar_date_select/calendar.gif +0 -0
  3861. data/sandbox/public/images/cart-empty.png +0 -0
  3862. data/sandbox/public/images/cart-empty_x32.png +0 -0
  3863. data/sandbox/public/images/cart-full.png +0 -0
  3864. data/sandbox/public/images/cart-full_x32.png +0 -0
  3865. data/sandbox/public/images/checkout.png +0 -0
  3866. data/sandbox/public/images/creditcard.gif +0 -0
  3867. data/sandbox/public/images/datepicker/backstripes.gif +0 -0
  3868. data/sandbox/public/images/datepicker/bg_header.jpg +0 -0
  3869. data/sandbox/public/images/datepicker/bullet1.gif +0 -0
  3870. data/sandbox/public/images/datepicker/bullet2.gif +0 -0
  3871. data/sandbox/public/images/datepicker/cal.gif +0 -0
  3872. data/sandbox/public/images/datepicker/gradient-e5e5e5-ffffff.gif +0 -0
  3873. data/sandbox/public/images/discover_cid.gif +0 -0
  3874. data/sandbox/public/images/drag-handle-green.png +0 -0
  3875. data/sandbox/public/images/favicon.ico +0 -0
  3876. data/sandbox/public/images/green/left_01.png +0 -0
  3877. data/sandbox/public/images/green/right_01.png +0 -0
  3878. data/sandbox/public/images/grid.png +0 -0
  3879. data/sandbox/public/images/left_01.png +0 -0
  3880. data/sandbox/public/images/left_01_small.png +0 -0
  3881. data/sandbox/public/images/master_cid.jpg +0 -0
  3882. data/sandbox/public/images/menu-current.png +0 -0
  3883. data/sandbox/public/images/menu-hover.png +0 -0
  3884. data/sandbox/public/images/noimage/mini.jpg +0 -0
  3885. data/sandbox/public/images/noimage/product.jpg +0 -0
  3886. data/sandbox/public/images/noimage/small.jpg +0 -0
  3887. data/sandbox/public/images/openid-inputicon.gif +0 -0
  3888. data/sandbox/public/images/orange/left_03.png +0 -0
  3889. data/sandbox/public/images/orange/right_03.png +0 -0
  3890. data/sandbox/public/images/progress.gif +0 -0
  3891. data/sandbox/public/images/rails.png +0 -0
  3892. data/sandbox/public/images/reorder.jpg +0 -0
  3893. data/sandbox/public/images/right_01.png +0 -0
  3894. data/sandbox/public/images/right_01_small.png +0 -0
  3895. data/sandbox/public/images/separator.png +0 -0
  3896. data/sandbox/public/images/shadow-top.png +0 -0
  3897. data/sandbox/public/images/shadow_top.png +0 -0
  3898. data/sandbox/public/images/spinner.gif +0 -0
  3899. data/sandbox/public/images/spree.jpg +0 -0
  3900. data/sandbox/public/images/spree/progress.gif +0 -0
  3901. data/sandbox/public/images/spree/spinner.gif +0 -0
  3902. data/sandbox/public/images/spree/spree.jpg +0 -0
  3903. data/sandbox/public/images/step-progress/completed-completed.gif +0 -0
  3904. data/sandbox/public/images/step-progress/completed-current.gif +0 -0
  3905. data/sandbox/public/images/step-progress/completed-first.gif +0 -0
  3906. data/sandbox/public/images/step-progress/current-first.gif +0 -0
  3907. data/sandbox/public/images/step-progress/current-incomplete.gif +0 -0
  3908. data/sandbox/public/images/step-progress/current-right.gif +0 -0
  3909. data/sandbox/public/images/step-progress/incomplete-incomplete.gif +0 -0
  3910. data/sandbox/public/images/step-progress/incomplete-right.gif +0 -0
  3911. data/sandbox/public/images/steps/1.png +0 -0
  3912. data/sandbox/public/images/steps/1_small.png +0 -0
  3913. data/sandbox/public/images/steps/2.png +0 -0
  3914. data/sandbox/public/images/steps/2_small.png +0 -0
  3915. data/sandbox/public/images/steps/3.png +0 -0
  3916. data/sandbox/public/images/steps/3_small.png +0 -0
  3917. data/sandbox/public/images/steps/4.png +0 -0
  3918. data/sandbox/public/images/steps/4_small.png +0 -0
  3919. data/sandbox/public/images/steps/5.png +0 -0
  3920. data/sandbox/public/images/steps/5_small.png +0 -0
  3921. data/sandbox/public/images/steps/6.png +0 -0
  3922. data/sandbox/public/images/steps/6_small.png +0 -0
  3923. data/sandbox/public/images/sxsw-ribbon-v1.png +0 -0
  3924. data/sandbox/public/images/tab_bottom.gif +0 -0
  3925. data/sandbox/public/images/tile-header.png +0 -0
  3926. data/sandbox/public/images/tile-slider.png +0 -0
  3927. data/sandbox/public/images/top-shine.png +0 -0
  3928. data/sandbox/public/images/tree-nav-icons/bullet.gif +0 -0
  3929. data/sandbox/public/images/tree-nav-icons/minus.gif +0 -0
  3930. data/sandbox/public/images/tree-nav-icons/plus.gif +0 -0
  3931. data/sandbox/public/images/tree-nav-icons/treeview-loading.gif +0 -0
  3932. data/sandbox/public/images/tree-nav-icons/treeview-sprite.gif +0 -0
  3933. data/sandbox/public/images/update.png +0 -0
  3934. data/sandbox/public/images/visa_cid.gif +0 -0
  3935. data/sandbox/public/images/wrapper-back-2.png +0 -0
  3936. data/sandbox/public/images/wrapper-back.png +0 -0
  3937. data/sandbox/public/images/yui-menubaritem_submenuindicator.png +0 -0
  3938. data/sandbox/public/images/yui-menubaritem_submenuindicator_disabled.png +0 -0
  3939. data/sandbox/public/images/yui-menuitem_checkbox.png +0 -0
  3940. data/sandbox/public/images/yui-menuitem_checkbox_disabled.png +0 -0
  3941. data/sandbox/public/images/yui-menuitem_submenuindicator.png +0 -0
  3942. data/sandbox/public/images/yui-menuitem_submenuindicator_disabled.png +0 -0
  3943. data/sandbox/public/images/yui-sprite.png +0 -0
  3944. data/sandbox/public/javascripts/additional-methods.js +236 -0
  3945. data/sandbox/public/javascripts/admin.js +232 -0
  3946. data/sandbox/public/javascripts/admin/address_states.js +25 -0
  3947. data/sandbox/public/javascripts/admin/checkouts/edit.js +130 -0
  3948. data/sandbox/public/javascripts/admin/orders/edit.js +23 -0
  3949. data/sandbox/public/javascripts/admin/orders/edit_form.js +16 -0
  3950. data/sandbox/public/javascripts/admin/payments/new.js +9 -0
  3951. data/sandbox/public/javascripts/admin/promotions.js +26 -0
  3952. data/sandbox/public/javascripts/admin/unobtrusive_handlers.js +43 -0
  3953. data/sandbox/public/javascripts/application.js +12 -0
  3954. data/sandbox/public/javascripts/calculator.js +15 -0
  3955. data/sandbox/public/javascripts/checkout.js +75 -0
  3956. data/sandbox/public/javascripts/dashboard.js +143 -0
  3957. data/sandbox/public/javascripts/datepicker.js +1445 -0
  3958. data/sandbox/public/javascripts/gateway.js +13 -0
  3959. data/sandbox/public/javascripts/jqPlot/excanvas.min.js +1 -0
  3960. data/sandbox/public/javascripts/jqPlot/jquery.jqplot.min.js +14 -0
  3961. data/sandbox/public/javascripts/jqPlot/plugins/jqplot.canvasAxisLabelRenderer.min.js +14 -0
  3962. data/sandbox/public/javascripts/jqPlot/plugins/jqplot.canvasAxisTickRenderer.min.js +14 -0
  3963. data/sandbox/public/javascripts/jqPlot/plugins/jqplot.canvasTextRenderer.min.js +14 -0
  3964. data/sandbox/public/javascripts/jqPlot/plugins/jqplot.categoryAxisRenderer.min.js +14 -0
  3965. data/sandbox/public/javascripts/jqPlot/plugins/jqplot.dateAxisRenderer.min.js +14 -0
  3966. data/sandbox/public/javascripts/jqPlot/plugins/jqplot.highlighter.min.js +14 -0
  3967. data/sandbox/public/javascripts/jqPlot/plugins/jqplot.pieRenderer.min.js +14 -0
  3968. data/sandbox/public/javascripts/jquery-1.4.2.min.js +154 -0
  3969. data/sandbox/public/javascripts/jquery-ui.js +188 -0
  3970. data/sandbox/public/javascripts/jquery.alerts/images/help.gif +0 -0
  3971. data/sandbox/public/javascripts/jquery.alerts/images/important.gif +0 -0
  3972. data/sandbox/public/javascripts/jquery.alerts/images/info.gif +0 -0
  3973. data/sandbox/public/javascripts/jquery.alerts/images/title.gif +0 -0
  3974. data/sandbox/public/javascripts/jquery.alerts/jquery.alerts.css +57 -0
  3975. data/sandbox/public/javascripts/jquery.alerts/jquery.alerts.js +235 -0
  3976. data/sandbox/public/javascripts/jquery.alerts/jquery.alerts.spree.css +30 -0
  3977. data/sandbox/public/javascripts/jquery.autocomplete.min.js +13 -0
  3978. data/sandbox/public/javascripts/jquery.cookie.js +96 -0
  3979. data/sandbox/public/javascripts/jquery.delayedobserver.js +35 -0
  3980. data/sandbox/public/javascripts/jquery.suggest.js +276 -0
  3981. data/sandbox/public/javascripts/jquery.template.js +255 -0
  3982. data/sandbox/public/javascripts/jquery.tokeninput.js +618 -0
  3983. data/sandbox/public/javascripts/jquery.validate.min.js +16 -0
  3984. data/sandbox/public/javascripts/jsTree/jquery.jstree.js +3510 -0
  3985. data/sandbox/public/javascripts/jsTree/themes/apple/bg.jpg +0 -0
  3986. data/sandbox/public/javascripts/jsTree/themes/apple/d.png +0 -0
  3987. data/sandbox/public/javascripts/jsTree/themes/apple/dot_for_ie.gif +0 -0
  3988. data/sandbox/public/javascripts/jsTree/themes/apple/style.css +60 -0
  3989. data/sandbox/public/javascripts/jsTree/themes/apple/throbber.gif +0 -0
  3990. data/sandbox/public/javascripts/lang/af.js +40 -0
  3991. data/sandbox/public/javascripts/lang/ar.js +50 -0
  3992. data/sandbox/public/javascripts/lang/de.js +40 -0
  3993. data/sandbox/public/javascripts/lang/du.js +40 -0
  3994. data/sandbox/public/javascripts/lang/en.js +42 -0
  3995. data/sandbox/public/javascripts/lang/es.js +41 -0
  3996. data/sandbox/public/javascripts/lang/fi.js +40 -0
  3997. data/sandbox/public/javascripts/lang/fr.js +44 -0
  3998. data/sandbox/public/javascripts/lang/gr.js +40 -0
  3999. data/sandbox/public/javascripts/lang/he.js +49 -0
  4000. data/sandbox/public/javascripts/lang/it.js +13 -0
  4001. data/sandbox/public/javascripts/lang/nl.js +40 -0
  4002. data/sandbox/public/javascripts/lang/no.js +40 -0
  4003. data/sandbox/public/javascripts/lang/pt.js +50 -0
  4004. data/sandbox/public/javascripts/lang/ro.js +40 -0
  4005. data/sandbox/public/javascripts/lang/ru.js +40 -0
  4006. data/sandbox/public/javascripts/lang/sp.js +40 -0
  4007. data/sandbox/public/javascripts/lang/sv.js +41 -0
  4008. data/sandbox/public/javascripts/lang/ua.js +40 -0
  4009. data/sandbox/public/javascripts/localization/messages_cn.js +24 -0
  4010. data/sandbox/public/javascripts/localization/messages_cs.js +23 -0
  4011. data/sandbox/public/javascripts/localization/messages_da.js +21 -0
  4012. data/sandbox/public/javascripts/localization/messages_de.js +21 -0
  4013. data/sandbox/public/javascripts/localization/messages_es.js +24 -0
  4014. data/sandbox/public/javascripts/localization/messages_fr.js +23 -0
  4015. data/sandbox/public/javascripts/localization/messages_hu.js +21 -0
  4016. data/sandbox/public/javascripts/localization/messages_it.js +26 -0
  4017. data/sandbox/public/javascripts/localization/messages_kk.js +23 -0
  4018. data/sandbox/public/javascripts/localization/messages_nl.js +23 -0
  4019. data/sandbox/public/javascripts/localization/messages_no.js +23 -0
  4020. data/sandbox/public/javascripts/localization/messages_pl.js +23 -0
  4021. data/sandbox/public/javascripts/localization/messages_ptbr.js +30 -0
  4022. data/sandbox/public/javascripts/localization/messages_ro.js +24 -0
  4023. data/sandbox/public/javascripts/localization/messages_ru.js +23 -0
  4024. data/sandbox/public/javascripts/localization/messages_se.js +23 -0
  4025. data/sandbox/public/javascripts/localization/messages_sk.js +21 -0
  4026. data/sandbox/public/javascripts/localization/messages_tr.js +24 -0
  4027. data/sandbox/public/javascripts/localization/messages_tw.js +24 -0
  4028. data/sandbox/public/javascripts/localization/messages_ua.js +24 -0
  4029. data/sandbox/public/javascripts/nested-attribute.js +26 -0
  4030. data/sandbox/public/javascripts/open_id.js +15 -0
  4031. data/sandbox/public/javascripts/product.js +49 -0
  4032. data/sandbox/public/javascripts/rails.js +127 -0
  4033. data/sandbox/public/javascripts/taxonomy.js +201 -0
  4034. data/sandbox/public/javascripts/zone.js +39 -0
  4035. data/sandbox/public/robots.txt +14 -0
  4036. data/sandbox/public/stylesheets/admin/admin-forms.css +154 -0
  4037. data/sandbox/public/stylesheets/admin/admin-reset.css +69 -0
  4038. data/sandbox/public/stylesheets/admin/admin-tables.css +39 -0
  4039. data/sandbox/public/stylesheets/admin/admin-typography.css +117 -0
  4040. data/sandbox/public/stylesheets/admin/admin.css +614 -0
  4041. data/sandbox/public/stylesheets/admin/autocomplete.css +73 -0
  4042. data/sandbox/public/stylesheets/admin/dashboard.css +143 -0
  4043. data/sandbox/public/stylesheets/admin/edit_checkouts.css +57 -0
  4044. data/sandbox/public/stylesheets/admin/grids.css +314 -0
  4045. data/sandbox/public/stylesheets/admin/promotions.css +54 -0
  4046. data/sandbox/public/stylesheets/admin/reset-fonts-grids-2-6-0.css +7 -0
  4047. data/sandbox/public/stylesheets/admin/token-input.css +109 -0
  4048. data/sandbox/public/stylesheets/admin/yui-includes.css +14 -0
  4049. data/sandbox/public/stylesheets/datepicker.css +263 -0
  4050. data/sandbox/public/stylesheets/jquery.autocomplete.css +48 -0
  4051. data/sandbox/public/stylesheets/screen.css +916 -0
  4052. data/sandbox/rfcommerce_sandbox.gemspec +26 -0
  4053. data/sandbox/script/rails +6 -0
  4054. data/sandbox/tmp/cache/C51/6F0/configuration_AppConfiguration +0 -0
  4055. metadata +4101 -0
@@ -0,0 +1,17 @@
1
+ class RemoveTrailingSlashesInTaxonPermalinks < ActiveRecord::Migration
2
+ def self.up
3
+ Taxon.find_each(:conditions => {}) do |t|
4
+ if t.permalink && t.permalink[-1..-1] == '/'
5
+ t.update_attribute(:permalink, t.permalink[0...-1])
6
+ end
7
+ end
8
+ end
9
+
10
+ def self.down
11
+ Taxon.find_each(:conditions => {}) do |t|
12
+ if t.permalink && t.permalink[-1..-1] != '/'
13
+ t.update_attribute(:permalink, t.permalink + '/')
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,61 @@
1
+ # # HACK - need to add all sample users to the 'user' role (can't do this in sample fixtures because user role is seed data)
2
+ # user_role = Role.find_by_name "user"
3
+ # if user_role
4
+ # User.all.each { |u| u.roles << user_role unless u.has_role?("user") }
5
+ # end
6
+ #
7
+ # # see last line where we create an admin if there is none, asking for email and password
8
+ #
9
+ # def prompt_for_admin_password
10
+ # password = ask('Password [spree]: ', String) do |q|
11
+ # q.echo = false
12
+ # q.validate = /^(|.{5,40})$/
13
+ # q.responses[:not_valid] = "Invalid password. Must be at least 5 characters long."
14
+ # q.whitespace = :strip
15
+ # end
16
+ # password = "spree" if password.blank?
17
+ # password
18
+ # end
19
+ #
20
+ # def prompt_for_admin_email
21
+ # email = ask('Email [spree@example.com]: ', String) do |q|
22
+ # q.echo = true
23
+ # q.whitespace = :strip
24
+ # end
25
+ # email = "spree@example.com" if email.blank?
26
+ # email
27
+ # end
28
+ #
29
+ # def create_admin_user
30
+ # if ENV['AUTO_ACCEPT']
31
+ # password = "spree"
32
+ # email = "spree@example.com"
33
+ # else
34
+ # require 'highline/import'
35
+ # puts "Create the admin user (press enter for defaults)."
36
+ # #name = prompt_for_admin_name unless name
37
+ # email = prompt_for_admin_email
38
+ # password = prompt_for_admin_password
39
+ # end
40
+ # attributes = {
41
+ # :password => password,
42
+ # :password_confirmation => password,
43
+ # :email => email,
44
+ # :login => email
45
+ # }
46
+ #
47
+ # load 'user.rb'
48
+ #
49
+ # if User.find_by_login(email)
50
+ # say "\nWARNING: There is already a user with the email: #{email}, so no account changes were made. If you wish to create an additional admin user, please run rake db:admin:create again with a different email.\n\n"
51
+ # else
52
+ # admin = User.create(attributes)
53
+ # # create an admin role and and assign the admin user to that role
54
+ # role = Role.find_or_create_by_name "admin"
55
+ # admin.roles << role
56
+ # admin.save
57
+ # end
58
+ # end
59
+ #
60
+ # create_admin_user unless User.first(:include => :roles, :conditions => ["roles.name = 'admin'"])
61
+ #
@@ -0,0 +1,3 @@
1
+ # Loads seed data out of default dir
2
+ Rake::Task["db:load_dir"].invoke( "default" )
3
+ puts "Default data has been loaded"
@@ -0,0 +1,27 @@
1
+ Feature: analytics tracker
2
+
3
+ Scenario: index
4
+ Given 2 trackers exist
5
+ Given I go to the admin home page
6
+ When I follow "Configuration"
7
+ When I follow "Analytics Tracker"
8
+ Then I should see "Analytics Trackers"
9
+ Then verify data from "table.index" with following tabular values:
10
+ | Analytics ID | Environment | Active | Action |
11
+ | A100 | Cucumber | Yes | ignore |
12
+ | A100 | Cucumber | Yes | ignore |
13
+
14
+
15
+ Scenario: create
16
+ Given I go to the admin home page
17
+ When I follow "Configuration"
18
+ When I follow "Analytics Trackers"
19
+ When I should see "Analytics Trackers"
20
+ When I follow "admin_new_tracker_link"
21
+ When I fill in "tracker_analytics_id" with "A100"
22
+ When I press "Create"
23
+ Then I should see "successfully created!"
24
+ Then verify data from "table.index" with following tabular values:
25
+ | Analytics ID | Environment | Active | Action |
26
+ | A100 | Development | Yes | ignore |
27
+
@@ -0,0 +1,22 @@
1
+ Feature: Admin > configurations > general_settings
2
+
3
+ Scenario: visit general settings (admin)
4
+ Given I go to the admin home page
5
+ When I follow "Configuration"
6
+ When I follow "General Settings"
7
+ Then I should see "General Settings"
8
+ Then I should see "Site Name"
9
+ Then I should see "Site URL"
10
+ Then I should see "Spree Demo Site"
11
+ Then I should see "demo.spreecommerce.com"
12
+
13
+ Scenario: edit general settings (admin)
14
+ Given preference settings exist
15
+ Given I go to the admin home page
16
+ When I follow "Configuration"
17
+ When I follow "General Settings"
18
+ When I follow "admin_general_settings_link"
19
+ Then I should see "Edit General Settings"
20
+ Then I fill in "preferences_site_name" with "Spree Demo Site99"
21
+ Then I press "Update"
22
+ #Then I should see "Spree Demo Site99" #=> FIXME expected #has_content?("Spree Demo Site99") to return true, got false
@@ -0,0 +1,15 @@
1
+ Feature: Admin > configurations > inventory_settings
2
+
3
+ Scenario: Admin > configurations > inventory_settings
4
+ Given I go to the admin home page
5
+ When I follow "Configuration"
6
+ When I follow "Inventory Settings"
7
+ Then I should see "Inventory Settings"
8
+ Then I should see "Products with a zero inventory will be displayed"
9
+ Then I should see "Backordering allowed"
10
+ When I follow "admin_inventory_settings_link"
11
+ When I uncheck "preferences_show_zero_stock_products"
12
+ When I uncheck "preferences_allow_backorders"
13
+ #When I press "Update" #=> FIXME
14
+
15
+
@@ -0,0 +1,32 @@
1
+ Feature: Admin > configurations > mail_methods
2
+
3
+ Scenario: mail_methods index
4
+ Given a mail method exists
5
+ Given I go to the admin home page
6
+ When I follow "Configuration"
7
+ When I follow "Mail Methods"
8
+ #Then verify data from "table.index" with following tabular values:
9
+ #| Environment | Active | |
10
+ #| Cucumber | Yes | ignore |
11
+ Then I should see tabular data for mail methods index
12
+
13
+ Scenario: create new mail_method
14
+ Given I go to the admin home page
15
+ When I follow "Configuration"
16
+ When I follow "Mail Methods"
17
+ When I follow "admin_new_mail_method_link"
18
+ Then I should see "New Mail Method"
19
+ When I press "Create"
20
+ Then I should see "successfully created!"
21
+
22
+ Scenario: edit mail_method
23
+ Given a mail method exists
24
+ Given I go to the admin home page
25
+ When I follow "Configuration"
26
+ When I follow "Mail Methods"
27
+ When I click first link from selector "table#mail_methods_listing a.edit"
28
+ When I fill in "mail_method_preferred_mail_bcc" with "spree@example.com99"
29
+ When I press "Update"
30
+ Then I should see "successfully updated!"
31
+ When I click first link from selector "table#mail_methods_listing a.edit"
32
+ Then the "mail_method_preferred_mail_bcc" field should contain "spree@example.com99"
@@ -0,0 +1,41 @@
1
+ Feature: Admin > configurations > payment_methods
2
+
3
+ Scenario: admin visiting payment methods listing page
4
+ Given I go to the admin home page
5
+ When I follow "Configuration"
6
+ Given 2 payment methods exist
7
+ When I follow "Payment Methods"
8
+ Then I should see listing payment methods tabular attributes
9
+
10
+ Scenario: admin creating new payment method
11
+ Given I go to the admin home page
12
+ When I follow "Configuration"
13
+ When I follow "Payment Methods"
14
+ When I follow "admin_new_payment_methods_link"
15
+ Then I should see "New Payment Method"
16
+ When I fill in "payment_method_name" with "check90"
17
+ When I fill in "payment_method_description" with "check90 desc"
18
+ When I press "Create"
19
+ Then I should see "successfully created!"
20
+
21
+ Scenario: admin editing payment method
22
+ Given 2 payment methods exist
23
+ Given I go to the admin home page
24
+ When I follow "Configuration"
25
+ When I follow "Payment Methods"
26
+ When I click first link from selector "table#listing_payment_methods a.edit"
27
+ When I fill in "payment_method_name" with "Payment 99"
28
+ When I press "Update"
29
+ Then I should see "successfully updated!"
30
+ Then the "payment_method_name" field should contain "Payment 99"
31
+
32
+ Scenario: admin editing payment method with validation error
33
+ Given 2 payment methods exist
34
+ Given I go to the admin home page
35
+ When I follow "Configuration"
36
+ When I follow "Payment Methods"
37
+ When I click first link from selector "table#listing_payment_methods a.edit"
38
+ When I fill in "payment_method_name" with ""
39
+ When I press "Update"
40
+ #Then I should see "Name can't be blank"
41
+ #FIXME in cucumber environemnt even blank name is being saved. In development blank name shows error
@@ -0,0 +1,21 @@
1
+ Feature: Admin > configurations > shipping_methods
2
+
3
+ Scenario: Admin > configurations > shipping_methods
4
+ Given I go to the admin home page
5
+ When I follow "Configuration"
6
+ Given 2 shipping methods exist
7
+ When I follow "Shipping Methods"
8
+ Then I should see listing shipping methods tabular attributes
9
+
10
+ Scenario: admin updating shipping methods
11
+ Given I go to the admin home page
12
+ When I follow "Configuration"
13
+ When I follow "Shipping Methods"
14
+ When I follow "admin_new_shipping_method_link"
15
+ Then I should see "New Shipping Method"
16
+ When I fill in "shipping_method_name" with "bullock cart"
17
+ When I press "Create"
18
+ Then I should see "successfully created!"
19
+ Then I should see "Editing Shipping Method"
20
+ When I press "Update"
21
+ Then I should see "successfully updated!"
@@ -0,0 +1,42 @@
1
+ Feature: Admin > configurations > states
2
+
3
+ Scenario: admin visiting states listing
4
+ Given I go to the admin home page
5
+ When I follow "Configuration"
6
+ When I follow "States"
7
+ Then I should see listing states tabular attributes
8
+
9
+ @javascript
10
+ Scenario: admin creating a new state and then editing it
11
+ Given I go to the admin home page
12
+ When I follow "Configuration"
13
+ When I follow "States"
14
+ When I select "Canada" from "country"
15
+ Then async
16
+ When I follow "new_state"
17
+ When I fill in "state_name" with "Calgary"
18
+ When I fill in "Abbreviation" with "CL"
19
+ When I press "Create"
20
+ Then I should see "successfully created!"
21
+ Then I should see "Calgary"
22
+ When I click first link from selector "table#listing_states td.actions a.edit"
23
+ Then I should see "Editing State"
24
+ Then the "state_name" field should contain "Calgary"
25
+ When I follow "States"
26
+ When I select "Canada" from "country"
27
+ Then async
28
+ Then I should see "Calgary"
29
+
30
+ @javascript
31
+ Scenario: admin creating a new state with validation error
32
+ Given I go to the admin home page
33
+ When I follow "Configuration"
34
+ When I follow "States"
35
+ When I select "Canada" from "country"
36
+ Then async
37
+ When I follow "new_state"
38
+ When I fill in "state_name" with ""
39
+ When I fill in "Abbreviation" with ""
40
+ When I press "Create"
41
+ Then I should see "Name can't be blank"
42
+
@@ -0,0 +1,40 @@
1
+ Feature: Admin > configurations > tax_categories
2
+
3
+ Scenario: admin visiting tax categories list
4
+ Given a tax category exists
5
+ Given I go to the admin home page
6
+ When I follow "Configuration"
7
+ When I follow "Tax Categories"
8
+ Then I should see "Listing Tax Categories"
9
+ Then I should see tabular data for tax categories index
10
+
11
+ Scenario: admin creating new tax category
12
+ Given I go to the admin home page
13
+ When I follow "Configuration"
14
+ When I follow "Tax Categories"
15
+ When I follow "admin_new_tax_categories_link"
16
+ Then I should see "New Tax Category"
17
+ When I fill in "tax_category_name" with "sports goods"
18
+ When I fill in "tax_category_description" with "sports goods desc"
19
+ When I press "Create"
20
+ Then I should see "successfully created!"
21
+
22
+ Scenario: admin creating new tax category with validation error
23
+ Given I go to the admin home page
24
+ When I follow "Configuration"
25
+ When I follow "Tax Categories"
26
+ When I follow "admin_new_tax_categories_link"
27
+ Then I should see "New Tax Category"
28
+ When I press "Create"
29
+ Then I should see "Name can't be blank"
30
+
31
+ Scenario: admin editing a tax category
32
+ Given a tax category exists
33
+ Given I go to the admin home page
34
+ When I follow "Configuration"
35
+ When I follow "Tax Categories"
36
+ When I click first link from selector "table#listing_tax_categories a.edit"
37
+ When I fill in "tax_category_description" with "desc 99"
38
+ When I press "Update"
39
+ Then I should see "successfully updated!"
40
+ Then I should see "desc 99"
@@ -0,0 +1,42 @@
1
+ Feature: Admin > configurations > taxonomies
2
+
3
+ Scenario: admin visiting taxonomies list
4
+ Given I go to the admin home page
5
+ When I follow "Configuration"
6
+ Given 2 taxonomies exist
7
+ When I follow "Taxonomies"
8
+ Then I should see tabular data for taxonomies list
9
+
10
+ Scenario: admin creating new taxonomy
11
+ Given I go to the admin home page
12
+ When I follow "Configuration"
13
+ When I follow "Taxonomies"
14
+ When I follow "admin_new_taxonomy_link"
15
+ Then I should see "New Taxonomy"
16
+ When I fill in "taxonomy_name" with "sports"
17
+ When I press "Create"
18
+ Then I should see "successfully created!"
19
+
20
+ Scenario: admin creating new taxonomy with validation error
21
+ Given I go to the admin home page
22
+ When I follow "Configuration"
23
+ When I follow "Taxonomies"
24
+ When I follow "admin_new_taxonomy_link"
25
+ Then I should see "New Taxonomy"
26
+ When I fill in "taxonomy_name" with ""
27
+ When I press "Create"
28
+ #FIXME the message below should actually be Name can't be blank
29
+ Then I should see "can't be blank"
30
+
31
+ Scenario: admin editing taxonomy
32
+ Given 2 taxonomies exist
33
+ Given I go to the admin home page
34
+ When I follow "Configuration"
35
+ When I follow "Taxonomies"
36
+ When I click first link from selector "table#listing_taxonomies a.edit"
37
+ Then I should see "Edit taxonomy"
38
+ When I fill in "taxonomy_name" with "sports 99"
39
+ When I press "Update"
40
+ Then I should see "successfully updated!"
41
+ Then I should see "sports 99"
42
+
@@ -0,0 +1,25 @@
1
+ Feature: Admin > configurations > zones
2
+
3
+ Scenario: admin visiting zones listing
4
+ Given I go to the admin home page
5
+ When I follow "Configuration"
6
+ Given all zones are deleted
7
+ Given the following zones exist:
8
+ | name | description |
9
+ | eastern | zone is eastern |
10
+ | western | cool san franciso |
11
+ When I follow "Zones"
12
+ Then I should see listing zones tabular attributes with name asc
13
+ When I follow "zones_order_by_description_title"
14
+ Then I should see listing zones tabular attributes with description asc
15
+
16
+ Scenario: admin creating new zone
17
+ Given I go to the admin home page
18
+ When I follow "Configuration"
19
+ When I follow "Zones"
20
+ When I follow "admin_new_zone_link"
21
+ Then I should see "New Zone"
22
+ When I fill in "zone_name" with "asian"
23
+ When I fill in "zone_description" with "asian zone"
24
+ When I press "Create"
25
+ Then I should see "successfully created!"
@@ -0,0 +1,45 @@
1
+ Feature: Admin home page
2
+ In order to do administrative work
3
+ I should be able to login as an admin
4
+
5
+ Scenario: Visiting admin home page
6
+ And I go to the admin home page
7
+ Then I should see "Administration"
8
+ Then page should have following links:
9
+ | url | text | within |
10
+ | /admin | Overview | #admin-menu |
11
+ | /admin/orders | Orders | #admin-menu |
12
+ | /admin/products | Products | #admin-menu |
13
+ | /admin/reports | Reports | #admin-menu |
14
+ | /admin/configurations | Configuration | #admin-menu |
15
+ | /admin/users | Users | #admin-menu |
16
+ Then I should see "Listing Orders"
17
+ When I follow "Products"
18
+ Then page should have following links:
19
+ | url | text | within |
20
+ | /admin/products | Products | #sub-menu |
21
+ | /admin/option_types | Option Types | #sub-menu |
22
+ | /admin/properties | Properties | #sub-menu |
23
+ | /admin/prototypes | Prototypes | #sub-menu |
24
+ | /admin/product_groups | Product Groups | #sub-menu |
25
+ When I follow "Reports"
26
+ Then I should see "Listing Reports"
27
+ When I follow "Configuration"
28
+ Then I should see "Configurations"
29
+ Then page should have following links:
30
+ | url | text | within |
31
+ | /admin/general_settings | General Settings | #content |
32
+ | /admin/mail_methods | Mail Methods | #content |
33
+ | /admin/tax_categories | Tax Categories | #content |
34
+ | /admin/zones | Zones | #content |
35
+ | /admin/countries/214/states | States | #content |
36
+ | /admin/payment_methods | Payment Methods | #content |
37
+ | /admin/taxonomies | Taxonomies | #content |
38
+ | /admin/shipping_methods | Shipping Methods | #content |
39
+ | /admin/shipping_categories | Shipping Categories | #content |
40
+ | /admin/inventory_settings | Inventory Settings | #content |
41
+ | /admin/tax_rates | Tax Rates | #content |
42
+ | /admin/tax_settings | Tax Settings | #content |
43
+ | /admin/trackers | Analytics Trackers | #content |
44
+ When I follow "Users"
45
+ Then I should see "Listing Users"