datashift_spree 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (821) hide show
  1. data/README.markdown +22 -18
  2. data/VERSION +1 -1
  3. data/datashift_spree.gemspec +4 -4
  4. data/datashift_spree.thor +3 -4
  5. data/lib/helpers/spree_helper.rb +4 -0
  6. data/lib/loaders/spree/image_loader.rb +20 -43
  7. data/lib/loaders/spree/product_loader.rb +15 -54
  8. data/lib/loaders/spree/spree_base_loader.rb +64 -0
  9. data/lib/thor/spree/products_images.thor +7 -7
  10. data/spec/Gemfile.lock +3 -3
  11. data/spec/fixtures/SpreeProductsWithMultipleImages.xls +0 -0
  12. data/spec/fixtures/results/product_and_assoc_export_spec.xls +0 -0
  13. data/spec/fixtures/results/taxon_and_assoc_export_spec.xls +0 -0
  14. data/spec/fixtures/results/taxon_export_spec.xls +0 -0
  15. data/spec/fixtures/results/taxonomy_export_spec.xls +0 -0
  16. data/spec/logs/spree_sandbox.log +39295 -53349
  17. data/spec/sandbox/config/initializers/secret_token.rb +1 -1
  18. data/spec/sandbox/db/development.sqlite3 +0 -0
  19. data/spec/sandbox/db/migrate/{20120918081451_spree_zero_nine_zero.spree.rb → 20120925192720_spree_zero_nine_zero.spree.rb} +0 -0
  20. data/spec/sandbox/db/migrate/{20120918081452_create_indexes_for_inventory_units.spree.rb → 20120925192721_create_indexes_for_inventory_units.spree.rb} +0 -0
  21. data/spec/sandbox/db/migrate/{20120918081453_add_count_on_hand_to_variants_and_products.spree.rb → 20120925192722_add_count_on_hand_to_variants_and_products.spree.rb} +0 -0
  22. data/spec/sandbox/db/migrate/{20120918081454_change_taxons_to_nested_set.spree.rb → 20120925192723_change_taxons_to_nested_set.spree.rb} +0 -0
  23. data/spec/sandbox/db/migrate/{20120918081455_move_to_configurable_gateways.spree.rb → 20120925192724_move_to_configurable_gateways.spree.rb} +0 -0
  24. data/spec/sandbox/db/migrate/{20120918081456_add_open_id_authentication_tables.spree.rb → 20120925192725_add_open_id_authentication_tables.spree.rb} +0 -0
  25. data/spec/sandbox/db/migrate/{20120918081457_add_openid_field_to_users.spree.rb → 20120925192726_add_openid_field_to_users.spree.rb} +0 -0
  26. data/spec/sandbox/db/migrate/{20120918081458_change_preference_value_type.spree.rb → 20120925192727_change_preference_value_type.spree.rb} +0 -0
  27. data/spec/sandbox/db/migrate/{20120918081459_create_billing_integrations.spree.rb → 20120925192728_create_billing_integrations.spree.rb} +0 -0
  28. data/spec/sandbox/db/migrate/{20120918081460_charge_refactoring.spree.rb → 20120925192729_charge_refactoring.spree.rb} +0 -0
  29. data/spec/sandbox/db/migrate/{20120918081461_add_some_indexes.spree.rb → 20120925192730_add_some_indexes.spree.rb} +0 -0
  30. data/spec/sandbox/db/migrate/{20120918081462_checkout_state_machine.spree.rb → 20120925192731_checkout_state_machine.spree.rb} +0 -0
  31. data/spec/sandbox/db/migrate/{20120918081463_state_for_shipments.spree.rb → 20120925192732_state_for_shipments.spree.rb} +0 -0
  32. data/spec/sandbox/db/migrate/{20120918081464_make_state_events_polymorphic.spree.rb → 20120925192733_make_state_events_polymorphic.spree.rb} +0 -0
  33. data/spec/sandbox/db/migrate/{20120918081465_ship_address_id_for_checkouts.spree.rb → 20120925192734_ship_address_id_for_checkouts.spree.rb} +0 -0
  34. data/spec/sandbox/db/migrate/{20120918081466_shipping_method_id_for_checkouts.spree.rb → 20120925192735_shipping_method_id_for_checkouts.spree.rb} +0 -0
  35. data/spec/sandbox/db/migrate/{20120918081467_creditcard_last_four_digits.spree.rb → 20120925192736_creditcard_last_four_digits.spree.rb} +0 -0
  36. data/spec/sandbox/db/migrate/{20120918081468_populate_legacy_shipment_state.spree.rb → 20120925192737_populate_legacy_shipment_state.spree.rb} +0 -0
  37. data/spec/sandbox/db/migrate/{20120918081469_add_cost_price.spree.rb → 20120925192738_add_cost_price.spree.rb} +0 -0
  38. data/spec/sandbox/db/migrate/{20120918081470_shipment_id_for_inventory_units.spree.rb → 20120925192739_shipment_id_for_inventory_units.spree.rb} +0 -0
  39. data/spec/sandbox/db/migrate/{20120918081471_cim_fields_for_creditcards.spree.rb → 20120925192740_cim_fields_for_creditcards.spree.rb} +0 -0
  40. data/spec/sandbox/db/migrate/{20120918081472_create_return_authorizations.spree.rb → 20120925192741_create_return_authorizations.spree.rb} +0 -0
  41. data/spec/sandbox/db/migrate/{20120918081473_add_return_authorization_to_inventory_units.spree.rb → 20120925192742_add_return_authorization_to_inventory_units.spree.rb} +0 -0
  42. data/spec/sandbox/db/migrate/{20120918081474_create_trackers.spree.rb → 20120925192743_create_trackers.spree.rb} +0 -0
  43. data/spec/sandbox/db/migrate/{20120918081475_creditcard_id_for_creditcard_txns.spree.rb → 20120925192744_creditcard_id_for_creditcard_txns.spree.rb} +0 -0
  44. data/spec/sandbox/db/migrate/{20120918081476_original_creditcard_txn_id_for_creditcard_txns.spree.rb → 20120925192745_original_creditcard_txn_id_for_creditcard_txns.spree.rb} +0 -0
  45. data/spec/sandbox/db/migrate/{20120918081477_add_test_mode_to_billing_integration.spree.rb → 20120925192746_add_test_mode_to_billing_integration.spree.rb} +0 -0
  46. data/spec/sandbox/db/migrate/{20120918081478_create_payment_methods.spree.rb → 20120925192747_create_payment_methods.spree.rb} +0 -0
  47. data/spec/sandbox/db/migrate/{20120918081479_polymorphic_payments.spree.rb → 20120925192748_polymorphic_payments.spree.rb} +0 -0
  48. data/spec/sandbox/db/migrate/{20120918081480_change_payments_payment_method_to_belongs_to.spree.rb → 20120925192749_change_payments_payment_method_to_belongs_to.spree.rb} +0 -0
  49. data/spec/sandbox/db/migrate/{20120918081481_assign_creditcard_txns_to_payment.spree.rb → 20120925192750_assign_creditcard_txns_to_payment.spree.rb} +0 -0
  50. data/spec/sandbox/db/migrate/{20120918081482_sti_for_transactions.spree.rb → 20120925192751_sti_for_transactions.spree.rb} +0 -0
  51. data/spec/sandbox/db/migrate/{20120918081483_drop_billing_integrations.spree.rb → 20120925192752_drop_billing_integrations.spree.rb} +0 -0
  52. data/spec/sandbox/db/migrate/{20120918081484_deleted_at_for_payment_methods.spree.rb → 20120925192753_deleted_at_for_payment_methods.spree.rb} +0 -0
  53. data/spec/sandbox/db/migrate/{20120918081485_add_adjustments_index.spree.rb → 20120925192754_add_adjustments_index.spree.rb} +0 -0
  54. data/spec/sandbox/db/migrate/{20120918081486_add_alt_text_to_images.spree.rb → 20120925192755_add_alt_text_to_images.spree.rb} +0 -0
  55. data/spec/sandbox/db/migrate/{20120918081487_fix_existing_coupon_credits.spree.rb → 20120925192756_fix_existing_coupon_credits.spree.rb} +0 -0
  56. data/spec/sandbox/db/migrate/{20120918081488_add_display_to_payment_methods.spree.rb → 20120925192757_add_display_to_payment_methods.spree.rb} +0 -0
  57. data/spec/sandbox/db/migrate/{20120918081489_add_addresses_checkouts_indexes.spree.rb → 20120925192758_add_addresses_checkouts_indexes.spree.rb} +0 -0
  58. data/spec/sandbox/db/migrate/{20120918081490_add_icon_to_taxons.spree.rb → 20120925192759_add_icon_to_taxons.spree.rb} +0 -0
  59. data/spec/sandbox/db/migrate/{20120918081491_add_description_to_taxons.spree.rb → 20120925192760_add_description_to_taxons.spree.rb} +0 -0
  60. data/spec/sandbox/db/migrate/{20120918081492_index_for_shipments_number.spree.rb → 20120925192761_index_for_shipments_number.spree.rb} +0 -0
  61. data/spec/sandbox/db/migrate/{20120918081493_add_index_on_users_persistence_token.spree.rb → 20120925192762_add_index_on_users_persistence_token.spree.rb} +0 -0
  62. data/spec/sandbox/db/migrate/{20120918081494_add_default_to_tax_categories.spree.rb → 20120925192763_add_default_to_tax_categories.spree.rb} +0 -0
  63. data/spec/sandbox/db/migrate/{20120918081495_add_display_to_shipping_methods.spree.rb → 20120925192764_add_display_to_shipping_methods.spree.rb} +0 -0
  64. data/spec/sandbox/db/migrate/{20120918081496_rename_payment_method_display.spree.rb → 20120925192765_rename_payment_method_display.spree.rb} +0 -0
  65. data/spec/sandbox/db/migrate/{20120918081497_rename_preferences_field.spree.rb → 20120925192766_rename_preferences_field.spree.rb} +0 -0
  66. data/spec/sandbox/db/migrate/{20120918081498_add_guest_flag.spree.rb → 20120925192767_add_guest_flag.spree.rb} +0 -0
  67. data/spec/sandbox/db/migrate/{20120918081499_drop_order_token.spree.rb → 20120925192768_drop_order_token.spree.rb} +0 -0
  68. data/spec/sandbox/db/migrate/{20120918081500_payments_state_and_assigned_to_order_only.spree.rb → 20120925192769_payments_state_and_assigned_to_order_only.spree.rb} +0 -0
  69. data/spec/sandbox/db/migrate/{20120918081501_create_address_keys_for_order.spree.rb → 20120925192770_create_address_keys_for_order.spree.rb} +0 -0
  70. data/spec/sandbox/db/migrate/{20120918081502_payment_total_for_orders.spree.rb → 20120925192771_payment_total_for_orders.spree.rb} +0 -0
  71. data/spec/sandbox/db/migrate/{20120918081503_shipping_method_id_for_orders.spree.rb → 20120925192772_shipping_method_id_for_orders.spree.rb} +0 -0
  72. data/spec/sandbox/db/migrate/{20120918081504_add_shipment_and_payment_state.spree.rb → 20120925192773_add_shipment_and_payment_state.spree.rb} +0 -0
  73. data/spec/sandbox/db/migrate/{20120918081505_refactor_adjustments.spree.rb → 20120925192774_refactor_adjustments.spree.rb} +0 -0
  74. data/spec/sandbox/db/migrate/{20120918081506_response_code_and_avs_response_for_payments.spree.rb → 20120925192775_response_code_and_avs_response_for_payments.spree.rb} +0 -0
  75. data/spec/sandbox/db/migrate/{20120918081507_change_guest_flag_to_anonymous.spree.rb → 20120925192776_change_guest_flag_to_anonymous.spree.rb} +0 -0
  76. data/spec/sandbox/db/migrate/{20120918081508_email_for_orders.spree.rb → 20120925192777_email_for_orders.spree.rb} +0 -0
  77. data/spec/sandbox/db/migrate/{20120918081509_create_mail_methods.spree.rb → 20120925192778_create_mail_methods.spree.rb} +0 -0
  78. data/spec/sandbox/db/migrate/{20120918081510_rename_frozen_to_locked.spree.rb → 20120925192779_rename_frozen_to_locked.spree.rb} +0 -0
  79. data/spec/sandbox/db/migrate/{20120918081511_move_special_instructions_to_orders.spree.rb → 20120925192780_move_special_instructions_to_orders.spree.rb} +0 -0
  80. data/spec/sandbox/db/migrate/{20120918081512_create_log_entries.spree.rb → 20120925192781_create_log_entries.spree.rb} +0 -0
  81. data/spec/sandbox/db/migrate/{20120918081513_migrate_transactions_to_payment_state.spree.rb → 20120925192782_migrate_transactions_to_payment_state.spree.rb} +0 -0
  82. data/spec/sandbox/db/migrate/{20120918081514_delete_in_progress_orders.spree.rb → 20120925192783_delete_in_progress_orders.spree.rb} +0 -0
  83. data/spec/sandbox/db/migrate/{20120918081515_migrate_checkout_to_orders.spree.rb → 20120925192784_migrate_checkout_to_orders.spree.rb} +0 -0
  84. data/spec/sandbox/db/migrate/{20120918081516_remove_shipped_state.spree.rb → 20120925192785_remove_shipped_state.spree.rb} +0 -0
  85. data/spec/sandbox/db/migrate/{20120918081517_prevent_nil_payment_total.spree.rb → 20120925192786_prevent_nil_payment_total.spree.rb} +0 -0
  86. data/spec/sandbox/db/migrate/{20120918081518_prevent_nil_email.spree.rb → 20120925192787_prevent_nil_email.spree.rb} +0 -0
  87. data/spec/sandbox/db/migrate/{20120918081519_generate_anonymous_users.spree.rb → 20120925192788_generate_anonymous_users.spree.rb} +0 -0
  88. data/spec/sandbox/db/migrate/{20120918081520_update_order_state.spree.rb → 20120925192789_update_order_state.spree.rb} +0 -0
  89. data/spec/sandbox/db/migrate/{20120918081521_cleanup_legacy_tables.spree.rb → 20120925192790_cleanup_legacy_tables.spree.rb} +0 -0
  90. data/spec/sandbox/db/migrate/{20120918081522_remove_number_and_cvv_from_credicard.spree.rb → 20120925192791_remove_number_and_cvv_from_credicard.spree.rb} +0 -0
  91. data/spec/sandbox/db/migrate/{20120918081523_drop_anonymous_field_for_user.spree.rb → 20120925192792_drop_anonymous_field_for_user.spree.rb} +0 -0
  92. data/spec/sandbox/db/migrate/{20120918081524_renamed_rma_cancelled_state.spree.rb → 20120925192793_renamed_rma_cancelled_state.spree.rb} +0 -0
  93. data/spec/sandbox/db/migrate/{20120918081525_fix_problematic_index_names.spree.rb → 20120925192794_fix_problematic_index_names.spree.rb} +0 -0
  94. data/spec/sandbox/db/migrate/{20120918081526_add_position_to_variants.spree.rb → 20120925192795_add_position_to_variants.spree.rb} +0 -0
  95. data/spec/sandbox/db/migrate/{20120918081527_add_next_state_to_state_events.spree.rb → 20120925192796_add_next_state_to_state_events.spree.rb} +0 -0
  96. data/spec/sandbox/db/migrate/{20120918081528_add_position_to_option_types.spree.rb → 20120925192797_add_position_to_option_types.spree.rb} +0 -0
  97. data/spec/sandbox/db/migrate/{20120918081529_remove_trailing_slashes_in_taxon_permalinks.spree.rb → 20120925192798_remove_trailing_slashes_in_taxon_permalinks.spree.rb} +0 -0
  98. data/spec/sandbox/db/migrate/{20120918081530_create_activators.spree.rb → 20120925192799_create_activators.spree.rb} +0 -0
  99. data/spec/sandbox/db/migrate/{20120918081531_eligible_for_adjustments.spree.rb → 20120925192800_eligible_for_adjustments.spree.rb} +0 -0
  100. data/spec/sandbox/db/migrate/{20120918081532_namespace_top_level_models.spree.rb → 20120925192801_namespace_top_level_models.spree.rb} +0 -0
  101. data/spec/sandbox/db/migrate/{20120918081533_migrate_namespaced_polymorphic_models.spree.rb → 20120925192802_migrate_namespaced_polymorphic_models.spree.rb} +0 -0
  102. data/spec/sandbox/db/migrate/{20120918081534_make_adjustments_polymorphic.spree.rb → 20120925192803_make_adjustments_polymorphic.spree.rb} +0 -0
  103. data/spec/sandbox/db/migrate/{20120918081535_add_company_to_addresses.spree.rb → 20120925192804_add_company_to_addresses.spree.rb} +0 -0
  104. data/spec/sandbox/db/migrate/{20120918081536_add_inc_tax_to_tax_rates.spree.rb → 20120925192805_add_inc_tax_to_tax_rates.spree.rb} +0 -0
  105. data/spec/sandbox/db/migrate/{20120918081537_rename_inc_price_attribute.spree.rb → 20120925192806_rename_inc_price_attribute.spree.rb} +0 -0
  106. data/spec/sandbox/db/migrate/{20120918081538_add_default_tax_zone.spree.rb → 20120925192807_add_default_tax_zone.spree.rb} +0 -0
  107. data/spec/sandbox/db/migrate/{20120918081539_associate_shipping_methods_and_shipping_categories.spree.rb → 20120925192808_associate_shipping_methods_and_shipping_categories.spree.rb} +0 -0
  108. data/spec/sandbox/db/migrate/{20120918081540_add_match_rules_to_shipping_methods.spree.rb → 20120925192809_add_match_rules_to_shipping_methods.spree.rb} +0 -0
  109. data/spec/sandbox/db/migrate/{20120918081541_new_preferences.spree.rb → 20120925192810_new_preferences.spree.rb} +0 -0
  110. data/spec/sandbox/db/migrate/{20120918081542_rename_state_events_to_state_changes.spree.rb → 20120925192811_rename_state_events_to_state_changes.spree.rb} +0 -0
  111. data/spec/sandbox/db/migrate/{20120918081543_add_deleted_at_to_tax_category.spree.rb → 20120925192812_add_deleted_at_to_tax_category.spree.rb} +0 -0
  112. data/spec/sandbox/db/migrate/{20120918081544_migrate_images_from_products_to_variants.spree.rb → 20120925192813_migrate_images_from_products_to_variants.spree.rb} +0 -0
  113. data/spec/sandbox/db/migrate/{20120918081545_rename_attachment_size_to_attachment_file_size.spree.rb → 20120925192814_rename_attachment_size_to_attachment_file_size.spree.rb} +0 -0
  114. data/spec/sandbox/db/migrate/{20120918081546_increase_scale_of_tax_rate_amount.spree.rb → 20120925192815_increase_scale_of_tax_rate_amount.spree.rb} +0 -0
  115. data/spec/sandbox/db/migrate/{20120918081547_convert_sales_tax_to_default_tax.spree.rb → 20120925192816_convert_sales_tax_to_default_tax.spree.rb} +0 -0
  116. data/spec/sandbox/db/migrate/{20120918081548_add_deleted_at_to_spree_shipping_methods.spree.rb → 20120925192817_add_deleted_at_to_spree_shipping_methods.spree.rb} +0 -0
  117. data/spec/sandbox/db/migrate/{20120918081549_make_users_email_index_unique.spree.rb → 20120925192818_make_users_email_index_unique.spree.rb} +0 -0
  118. data/spec/sandbox/db/migrate/{20120918081550_add_counter_cache_to_zone_members.spree.rb → 20120925192819_add_counter_cache_to_zone_members.spree.rb} +0 -0
  119. data/spec/sandbox/db/migrate/{20120918081551_rename_columns_for_devise.spree_auth.rb → 20120925192820_rename_columns_for_devise.spree_auth.rb} +0 -0
  120. data/spec/sandbox/db/migrate/{20120918081552_convert_user_remember_field.spree_auth.rb → 20120925192821_convert_user_remember_field.spree_auth.rb} +0 -0
  121. data/spec/sandbox/db/migrate/{20120918081553_create_tokenized_permissions.spree_auth.rb → 20120925192822_create_tokenized_permissions.spree_auth.rb} +0 -0
  122. data/spec/sandbox/db/migrate/{20120918081554_tokens_for_legacy_orders.spree_auth.rb → 20120925192823_tokens_for_legacy_orders.spree_auth.rb} +0 -0
  123. data/spec/sandbox/db/migrate/{20120918081555_namespace_tokenized_permission.spree_auth.rb → 20120925192824_namespace_tokenized_permission.spree_auth.rb} +0 -0
  124. data/spec/sandbox/db/migrate/{20120918081556_migrate_tokenized_permissions.spree_auth.rb → 20120925192825_migrate_tokenized_permissions.spree_auth.rb} +0 -0
  125. data/spec/sandbox/db/migrate/{20120918081557_add_reset_password_sent_at_to_spree_users.spree_auth.rb → 20120925192826_add_reset_password_sent_at_to_spree_users.spree_auth.rb} +0 -0
  126. data/spec/sandbox/db/migrate/{20120918081558_add_api_key_to_spree_users.spree_api.rb → 20120925192827_add_api_key_to_spree_users.spree_api.rb} +0 -0
  127. data/spec/sandbox/db/migrate/{20120918081559_resize_api_key_field.spree_api.rb → 20120925192828_resize_api_key_field.spree_api.rb} +0 -0
  128. data/spec/sandbox/db/migrate/{20120918081560_rename_coupons_to_promotions.spree_promo.rb → 20120925192829_rename_coupons_to_promotions.spree_promo.rb} +0 -0
  129. data/spec/sandbox/db/migrate/{20120918081561_create_promotion_rules.spree_promo.rb → 20120925192830_create_promotion_rules.spree_promo.rb} +0 -0
  130. data/spec/sandbox/db/migrate/{20120918081562_match_policy_for_promotions.spree_promo.rb → 20120925192831_match_policy_for_promotions.spree_promo.rb} +0 -0
  131. data/spec/sandbox/db/migrate/{20120918081563_create_promotion_rules_users.spree_promo.rb → 20120925192832_create_promotion_rules_users.spree_promo.rb} +0 -0
  132. data/spec/sandbox/db/migrate/{20120918081564_name_for_promotions.spree_promo.rb → 20120925192833_name_for_promotions.spree_promo.rb} +0 -0
  133. data/spec/sandbox/db/migrate/{20120918081565_update_calculable_type_for_promotions.spree_promo.rb → 20120925192834_update_calculable_type_for_promotions.spree_promo.rb} +0 -0
  134. data/spec/sandbox/db/migrate/{20120918081566_migrate_adjustments.spree_promo.rb → 20120925192835_migrate_adjustments.spree_promo.rb} +0 -0
  135. data/spec/sandbox/db/migrate/{20120918081567_promotion_changes_to_subclass_of_activator.spree_promo.rb → 20120925192836_promotion_changes_to_subclass_of_activator.spree_promo.rb} +0 -0
  136. data/spec/sandbox/db/migrate/{20120918081568_create_promotion_actions.spree_promo.rb → 20120925192837_create_promotion_actions.spree_promo.rb} +0 -0
  137. data/spec/sandbox/db/migrate/{20120918081569_create_promotion_action_line_items.spree_promo.rb → 20120925192838_create_promotion_action_line_items.spree_promo.rb} +0 -0
  138. data/spec/sandbox/db/migrate/{20120918081570_namespace_promo_tables.spree_promo.rb → 20120925192839_namespace_promo_tables.spree_promo.rb} +0 -0
  139. data/spec/sandbox/db/migrate/{20120918081571_create_spree_pending_promotions.spree_promo.rb → 20120925192840_create_spree_pending_promotions.spree_promo.rb} +0 -0
  140. data/spec/sandbox/db/migrate/{20120918081572_content_visited_event.spree_promo.rb → 20120925192841_content_visited_event.spree_promo.rb} +0 -0
  141. data/spec/sandbox/db/schema.rb +1 -1
  142. data/spec/sandbox/log/development.log +2033 -2551
  143. data/spec/sandbox/log/production.log +30 -30
  144. data/spec/sandbox/public/spree/products/1/large/DEMO_001_ror_bag.jpeg +0 -0
  145. data/spec/sandbox/public/spree/products/1/mini/DEMO_001_ror_bag.jpeg +0 -0
  146. data/spec/sandbox/public/spree/products/1/product/DEMO_001_ror_bag.jpeg +0 -0
  147. data/spec/sandbox/public/spree/products/1/small/DEMO_001_ror_bag.jpeg +0 -0
  148. data/spec/sandbox/public/spree/products/10/large/DEMO_002_Powerstation.jpg +0 -0
  149. data/spec/sandbox/public/spree/products/{17 → 10}/mini/DEMO_002_Powerstation.jpg +0 -0
  150. data/spec/sandbox/public/spree/products/{11 → 10}/original/DEMO_002_Powerstation.jpg +0 -0
  151. data/spec/sandbox/public/spree/products/10/product/DEMO_002_Powerstation.jpg +0 -0
  152. data/spec/sandbox/public/spree/products/{11 → 10}/small/DEMO_002_Powerstation.jpg +0 -0
  153. data/spec/sandbox/public/spree/products/11/large/DEMO_001_ror_bag.jpeg +0 -0
  154. data/spec/sandbox/public/spree/products/11/mini/DEMO_001_ror_bag.jpeg +0 -0
  155. data/spec/sandbox/public/spree/products/{10 → 11}/original/DEMO_001_ror_bag.jpeg +0 -0
  156. data/spec/sandbox/public/spree/products/11/product/DEMO_001_ror_bag.jpeg +0 -0
  157. data/spec/sandbox/public/spree/products/11/small/DEMO_001_ror_bag.jpeg +0 -0
  158. data/spec/sandbox/public/spree/products/12/large/DEMO_001_ror_bag.jpeg +0 -0
  159. data/spec/sandbox/public/spree/products/12/mini/DEMO_001_ror_bag.jpeg +0 -0
  160. data/spec/sandbox/public/spree/products/{13 → 12}/original/DEMO_001_ror_bag.jpeg +0 -0
  161. data/spec/sandbox/public/spree/products/12/product/DEMO_001_ror_bag.jpeg +0 -0
  162. data/spec/sandbox/public/spree/products/12/small/DEMO_001_ror_bag.jpeg +0 -0
  163. data/spec/sandbox/public/spree/products/13/large/DEMO_002_Powerstation.jpg +0 -0
  164. data/spec/sandbox/public/spree/products/{11 → 13}/mini/DEMO_002_Powerstation.jpg +0 -0
  165. data/spec/sandbox/public/spree/products/{14 → 13}/original/DEMO_002_Powerstation.jpg +0 -0
  166. data/spec/sandbox/public/spree/products/13/product/DEMO_002_Powerstation.jpg +0 -0
  167. data/spec/sandbox/public/spree/products/{17 → 13}/small/DEMO_002_Powerstation.jpg +0 -0
  168. data/spec/sandbox/public/spree/products/14/large/DEMO_003_ror_mug.jpeg +0 -0
  169. data/spec/sandbox/public/spree/products/14/mini/DEMO_003_ror_mug.jpeg +0 -0
  170. data/spec/sandbox/public/spree/products/{12 → 14}/original/DEMO_003_ror_mug.jpeg +0 -0
  171. data/spec/sandbox/public/spree/products/14/product/DEMO_003_ror_mug.jpeg +0 -0
  172. data/spec/sandbox/public/spree/products/14/small/DEMO_003_ror_mug.jpeg +0 -0
  173. data/spec/sandbox/public/spree/products/15/large/DEMO_001_ror_bag.jpeg +0 -0
  174. data/spec/sandbox/public/spree/products/15/mini/DEMO_001_ror_bag.jpeg +0 -0
  175. data/spec/sandbox/public/spree/products/{16 → 15}/original/DEMO_001_ror_bag.jpeg +0 -0
  176. data/spec/sandbox/public/spree/products/15/product/DEMO_001_ror_bag.jpeg +0 -0
  177. data/spec/sandbox/public/spree/products/15/small/DEMO_001_ror_bag.jpeg +0 -0
  178. data/spec/sandbox/public/spree/products/16/large/DEMO_002_Powerstation.jpg +0 -0
  179. data/spec/sandbox/public/spree/products/{14 → 16}/mini/DEMO_002_Powerstation.jpg +0 -0
  180. data/spec/sandbox/public/spree/products/{17 → 16}/original/DEMO_002_Powerstation.jpg +0 -0
  181. data/spec/sandbox/public/spree/products/16/product/DEMO_002_Powerstation.jpg +0 -0
  182. data/spec/sandbox/public/spree/products/{20 → 16}/small/DEMO_002_Powerstation.jpg +0 -0
  183. data/spec/sandbox/public/spree/products/17/large/DEMO_003_ror_mug.jpeg +0 -0
  184. data/spec/sandbox/public/spree/products/17/mini/DEMO_003_ror_mug.jpeg +0 -0
  185. data/spec/sandbox/public/spree/products/{15 → 17}/original/DEMO_003_ror_mug.jpeg +0 -0
  186. data/spec/sandbox/public/spree/products/17/product/DEMO_003_ror_mug.jpeg +0 -0
  187. data/spec/sandbox/public/spree/products/17/small/DEMO_003_ror_mug.jpeg +0 -0
  188. data/spec/sandbox/public/spree/products/18/large/DEMO_001_ror_bag.jpeg +0 -0
  189. data/spec/sandbox/public/spree/products/18/mini/DEMO_001_ror_bag.jpeg +0 -0
  190. data/spec/sandbox/public/spree/products/{25 → 18}/original/DEMO_001_ror_bag.jpeg +0 -0
  191. data/spec/sandbox/public/spree/products/18/product/DEMO_001_ror_bag.jpeg +0 -0
  192. data/spec/sandbox/public/spree/products/18/small/DEMO_001_ror_bag.jpeg +0 -0
  193. data/spec/sandbox/public/spree/products/19/large/DEMO_001_ror_bag.jpeg +0 -0
  194. data/spec/sandbox/public/spree/products/19/mini/DEMO_001_ror_bag.jpeg +0 -0
  195. data/spec/sandbox/public/spree/products/19/product/DEMO_001_ror_bag.jpeg +0 -0
  196. data/spec/sandbox/public/spree/products/19/small/DEMO_001_ror_bag.jpeg +0 -0
  197. data/spec/sandbox/public/spree/products/2/large/DEMO_002_Powerstation.jpg +0 -0
  198. data/spec/sandbox/public/spree/products/2/mini/DEMO_002_Powerstation.jpg +0 -0
  199. data/spec/sandbox/public/spree/products/2/product/DEMO_002_Powerstation.jpg +0 -0
  200. data/spec/sandbox/public/spree/products/2/small/DEMO_002_Powerstation.jpg +0 -0
  201. data/spec/sandbox/public/spree/products/20/large/DEMO_003_ror_mug.jpeg +0 -0
  202. data/spec/sandbox/public/spree/products/20/mini/DEMO_003_ror_mug.jpeg +0 -0
  203. data/spec/sandbox/public/spree/products/{18 → 20}/original/DEMO_003_ror_mug.jpeg +0 -0
  204. data/spec/sandbox/public/spree/products/20/product/DEMO_003_ror_mug.jpeg +0 -0
  205. data/spec/sandbox/public/spree/products/20/small/DEMO_003_ror_mug.jpeg +0 -0
  206. data/spec/sandbox/public/spree/products/21/large/DEMO_002_Powerstation.jpg +0 -0
  207. data/spec/sandbox/public/spree/products/{20 → 21}/mini/DEMO_002_Powerstation.jpg +0 -0
  208. data/spec/sandbox/public/spree/products/{20 → 21}/original/DEMO_002_Powerstation.jpg +0 -0
  209. data/spec/sandbox/public/spree/products/21/product/DEMO_002_Powerstation.jpg +0 -0
  210. data/spec/sandbox/public/spree/products/{14 → 21}/small/DEMO_002_Powerstation.jpg +0 -0
  211. data/spec/sandbox/public/spree/products/22/large/DEMO_001_ror_bag.jpeg +0 -0
  212. data/spec/sandbox/public/spree/products/22/mini/DEMO_001_ror_bag.jpeg +0 -0
  213. data/spec/sandbox/public/spree/products/22/product/DEMO_001_ror_bag.jpeg +0 -0
  214. data/spec/sandbox/public/spree/products/22/small/DEMO_001_ror_bag.jpeg +0 -0
  215. data/spec/sandbox/public/spree/products/23/large/DEMO_001_ror_bag.jpeg +0 -0
  216. data/spec/sandbox/public/spree/products/23/mini/DEMO_001_ror_bag.jpeg +0 -0
  217. data/spec/sandbox/public/spree/products/{28 → 23}/original/DEMO_001_ror_bag.jpeg +0 -0
  218. data/spec/sandbox/public/spree/products/23/product/DEMO_001_ror_bag.jpeg +0 -0
  219. data/spec/sandbox/public/spree/products/23/small/DEMO_001_ror_bag.jpeg +0 -0
  220. data/spec/sandbox/public/spree/products/24/large/DEMO_002_Powerstation.jpg +0 -0
  221. data/spec/sandbox/public/spree/products/24/mini/DEMO_002_Powerstation.jpg +0 -0
  222. data/spec/sandbox/public/spree/products/{23 → 24}/original/DEMO_002_Powerstation.jpg +0 -0
  223. data/spec/sandbox/public/spree/products/24/product/DEMO_002_Powerstation.jpg +0 -0
  224. data/spec/sandbox/public/spree/products/24/small/DEMO_002_Powerstation.jpg +0 -0
  225. data/spec/sandbox/public/spree/products/25/large/DEMO_003_ror_mug.jpeg +0 -0
  226. data/spec/sandbox/public/spree/products/25/mini/DEMO_003_ror_mug.jpeg +0 -0
  227. data/spec/sandbox/public/spree/products/{21 → 25}/original/DEMO_003_ror_mug.jpeg +0 -0
  228. data/spec/sandbox/public/spree/products/25/product/DEMO_003_ror_mug.jpeg +0 -0
  229. data/spec/sandbox/public/spree/products/25/small/DEMO_003_ror_mug.jpeg +0 -0
  230. data/spec/sandbox/public/spree/products/26/large/DEMO_001_ror_bag.jpeg +0 -0
  231. data/spec/sandbox/public/spree/products/26/mini/DEMO_001_ror_bag.jpeg +0 -0
  232. data/spec/sandbox/public/spree/products/{31 → 26}/original/DEMO_001_ror_bag.jpeg +0 -0
  233. data/spec/sandbox/public/spree/products/26/product/DEMO_001_ror_bag.jpeg +0 -0
  234. data/spec/sandbox/public/spree/products/26/small/DEMO_001_ror_bag.jpeg +0 -0
  235. data/spec/sandbox/public/spree/products/27/large/DEMO_002_Powerstation.jpg +0 -0
  236. data/spec/sandbox/public/spree/products/27/mini/DEMO_002_Powerstation.jpg +0 -0
  237. data/spec/sandbox/public/spree/products/{26 → 27}/original/DEMO_002_Powerstation.jpg +0 -0
  238. data/spec/sandbox/public/spree/products/27/product/DEMO_002_Powerstation.jpg +0 -0
  239. data/spec/sandbox/public/spree/products/27/small/DEMO_002_Powerstation.jpg +0 -0
  240. data/spec/sandbox/public/spree/products/28/large/DEMO_003_ror_mug.jpeg +0 -0
  241. data/spec/sandbox/public/spree/products/28/mini/DEMO_003_ror_mug.jpeg +0 -0
  242. data/spec/sandbox/public/spree/products/{24 → 28}/original/DEMO_003_ror_mug.jpeg +0 -0
  243. data/spec/sandbox/public/spree/products/28/product/DEMO_003_ror_mug.jpeg +0 -0
  244. data/spec/sandbox/public/spree/products/28/small/DEMO_003_ror_mug.jpeg +0 -0
  245. data/spec/sandbox/public/spree/products/29/large/DEMO_001_ror_bag.jpeg +0 -0
  246. data/spec/sandbox/public/spree/products/29/mini/DEMO_001_ror_bag.jpeg +0 -0
  247. data/spec/sandbox/public/spree/products/{43 → 29}/original/DEMO_001_ror_bag.jpeg +0 -0
  248. data/spec/sandbox/public/spree/products/29/product/DEMO_001_ror_bag.jpeg +0 -0
  249. data/spec/sandbox/public/spree/products/29/small/DEMO_001_ror_bag.jpeg +0 -0
  250. data/spec/sandbox/public/spree/products/3/large/DEMO_003_ror_mug.jpeg +0 -0
  251. data/spec/sandbox/public/spree/products/3/mini/DEMO_003_ror_mug.jpeg +0 -0
  252. data/spec/sandbox/public/spree/products/3/product/DEMO_003_ror_mug.jpeg +0 -0
  253. data/spec/sandbox/public/spree/products/3/small/DEMO_003_ror_mug.jpeg +0 -0
  254. data/spec/sandbox/public/spree/products/30/large/DEMO_001_ror_bag.jpeg +0 -0
  255. data/spec/sandbox/public/spree/products/30/mini/DEMO_001_ror_bag.jpeg +0 -0
  256. data/spec/sandbox/public/spree/products/{46 → 30}/original/DEMO_001_ror_bag.jpeg +0 -0
  257. data/spec/sandbox/public/spree/products/30/product/DEMO_001_ror_bag.jpeg +0 -0
  258. data/spec/sandbox/public/spree/products/30/small/DEMO_001_ror_bag.jpeg +0 -0
  259. data/spec/sandbox/public/spree/products/31/large/DEMO_003_ror_mug.jpeg +0 -0
  260. data/spec/sandbox/public/spree/products/31/mini/DEMO_003_ror_mug.jpeg +0 -0
  261. data/spec/sandbox/public/spree/products/{27 → 31}/original/DEMO_003_ror_mug.jpeg +0 -0
  262. data/spec/sandbox/public/spree/products/31/product/DEMO_003_ror_mug.jpeg +0 -0
  263. data/spec/sandbox/public/spree/products/31/small/DEMO_003_ror_mug.jpeg +0 -0
  264. data/spec/sandbox/public/spree/products/32/large/DEMO_002_Powerstation.jpg +0 -0
  265. data/spec/sandbox/public/spree/products/32/mini/DEMO_002_Powerstation.jpg +0 -0
  266. data/spec/sandbox/public/spree/products/32/product/DEMO_002_Powerstation.jpg +0 -0
  267. data/spec/sandbox/public/spree/products/32/small/DEMO_002_Powerstation.jpg +0 -0
  268. data/spec/sandbox/public/spree/products/33/large/DEMO_001_ror_bag.jpeg +0 -0
  269. data/spec/sandbox/public/spree/products/33/mini/DEMO_001_ror_bag.jpeg +0 -0
  270. data/spec/sandbox/public/spree/products/{49 → 33}/original/DEMO_001_ror_bag.jpeg +0 -0
  271. data/spec/sandbox/public/spree/products/33/product/DEMO_001_ror_bag.jpeg +0 -0
  272. data/spec/sandbox/public/spree/products/33/small/DEMO_001_ror_bag.jpeg +0 -0
  273. data/spec/sandbox/public/spree/products/34/large/DEMO_001_ror_bag.jpeg +0 -0
  274. data/spec/sandbox/public/spree/products/34/mini/DEMO_001_ror_bag.jpeg +0 -0
  275. data/spec/sandbox/public/spree/products/34/product/DEMO_001_ror_bag.jpeg +0 -0
  276. data/spec/sandbox/public/spree/products/34/small/DEMO_001_ror_bag.jpeg +0 -0
  277. data/spec/sandbox/public/spree/products/35/large/DEMO_002_Powerstation.jpg +0 -0
  278. data/spec/sandbox/public/spree/products/35/mini/DEMO_002_Powerstation.jpg +0 -0
  279. data/spec/sandbox/public/spree/products/35/product/DEMO_002_Powerstation.jpg +0 -0
  280. data/spec/sandbox/public/spree/products/35/small/DEMO_002_Powerstation.jpg +0 -0
  281. data/spec/sandbox/public/spree/products/36/large/DEMO_003_ror_mug.jpeg +0 -0
  282. data/spec/sandbox/public/spree/products/36/mini/DEMO_003_ror_mug.jpeg +0 -0
  283. data/spec/sandbox/public/spree/products/36/product/DEMO_003_ror_mug.jpeg +0 -0
  284. data/spec/sandbox/public/spree/products/36/small/DEMO_003_ror_mug.jpeg +0 -0
  285. data/spec/sandbox/public/spree/products/37/large/DEMO_001_ror_bag.jpeg +0 -0
  286. data/spec/sandbox/public/spree/products/37/mini/DEMO_001_ror_bag.jpeg +0 -0
  287. data/spec/sandbox/public/spree/products/37/product/DEMO_001_ror_bag.jpeg +0 -0
  288. data/spec/sandbox/public/spree/products/37/small/DEMO_001_ror_bag.jpeg +0 -0
  289. data/spec/sandbox/public/spree/products/38/large/DEMO_002_Powerstation.jpg +0 -0
  290. data/spec/sandbox/public/spree/products/38/mini/DEMO_002_Powerstation.jpg +0 -0
  291. data/spec/sandbox/public/spree/products/38/product/DEMO_002_Powerstation.jpg +0 -0
  292. data/spec/sandbox/public/spree/products/38/small/DEMO_002_Powerstation.jpg +0 -0
  293. data/spec/sandbox/public/spree/products/39/large/DEMO_003_ror_mug.jpeg +0 -0
  294. data/spec/sandbox/public/spree/products/39/mini/DEMO_003_ror_mug.jpeg +0 -0
  295. data/spec/sandbox/public/spree/products/39/product/DEMO_003_ror_mug.jpeg +0 -0
  296. data/spec/sandbox/public/spree/products/39/small/DEMO_003_ror_mug.jpeg +0 -0
  297. data/spec/sandbox/public/spree/products/4/large/DEMO_001_ror_bag.jpeg +0 -0
  298. data/spec/sandbox/public/spree/products/4/mini/DEMO_001_ror_bag.jpeg +0 -0
  299. data/spec/sandbox/public/spree/products/4/product/DEMO_001_ror_bag.jpeg +0 -0
  300. data/spec/sandbox/public/spree/products/4/small/DEMO_001_ror_bag.jpeg +0 -0
  301. data/spec/sandbox/public/spree/products/40/large/DEMO_001_ror_bag.jpeg +0 -0
  302. data/spec/sandbox/public/spree/products/40/mini/DEMO_001_ror_bag.jpeg +0 -0
  303. data/spec/sandbox/public/spree/products/40/product/DEMO_001_ror_bag.jpeg +0 -0
  304. data/spec/sandbox/public/spree/products/40/small/DEMO_001_ror_bag.jpeg +0 -0
  305. data/spec/sandbox/public/spree/products/41/large/DEMO_001_ror_bag.jpeg +0 -0
  306. data/spec/sandbox/public/spree/products/41/mini/DEMO_001_ror_bag.jpeg +0 -0
  307. data/spec/sandbox/public/spree/products/{58 → 41}/original/DEMO_001_ror_bag.jpeg +0 -0
  308. data/spec/sandbox/public/spree/products/41/product/DEMO_001_ror_bag.jpeg +0 -0
  309. data/spec/sandbox/public/spree/products/41/small/DEMO_001_ror_bag.jpeg +0 -0
  310. data/spec/sandbox/public/spree/products/42/large/DEMO_003_ror_mug.jpeg +0 -0
  311. data/spec/sandbox/public/spree/products/42/mini/DEMO_003_ror_mug.jpeg +0 -0
  312. data/spec/sandbox/public/spree/products/42/product/DEMO_003_ror_mug.jpeg +0 -0
  313. data/spec/sandbox/public/spree/products/42/small/DEMO_003_ror_mug.jpeg +0 -0
  314. data/spec/sandbox/public/spree/products/43/large/DEMO_002_Powerstation.jpg +0 -0
  315. data/spec/sandbox/public/spree/products/43/mini/DEMO_002_Powerstation.jpg +0 -0
  316. data/spec/sandbox/public/spree/products/{29 → 43}/original/DEMO_002_Powerstation.jpg +0 -0
  317. data/spec/sandbox/public/spree/products/43/product/DEMO_002_Powerstation.jpg +0 -0
  318. data/spec/sandbox/public/spree/products/43/small/DEMO_002_Powerstation.jpg +0 -0
  319. data/spec/sandbox/public/spree/products/44/large/DEMO_001_ror_bag.jpeg +0 -0
  320. data/spec/sandbox/public/spree/products/44/mini/DEMO_001_ror_bag.jpeg +0 -0
  321. data/spec/sandbox/public/spree/products/{61 → 44}/original/DEMO_001_ror_bag.jpeg +0 -0
  322. data/spec/sandbox/public/spree/products/44/product/DEMO_001_ror_bag.jpeg +0 -0
  323. data/spec/sandbox/public/spree/products/44/small/DEMO_001_ror_bag.jpeg +0 -0
  324. data/spec/sandbox/public/spree/products/45/large/DEMO_001_ror_bag.jpeg +0 -0
  325. data/spec/sandbox/public/spree/products/45/mini/DEMO_001_ror_bag.jpeg +0 -0
  326. data/spec/sandbox/public/spree/products/{64 → 45}/original/DEMO_001_ror_bag.jpeg +0 -0
  327. data/spec/sandbox/public/spree/products/45/product/DEMO_001_ror_bag.jpeg +0 -0
  328. data/spec/sandbox/public/spree/products/45/small/DEMO_001_ror_bag.jpeg +0 -0
  329. data/spec/sandbox/public/spree/products/46/large/DEMO_002_Powerstation.jpg +0 -0
  330. data/spec/sandbox/public/spree/products/46/mini/DEMO_002_Powerstation.jpg +0 -0
  331. data/spec/sandbox/public/spree/products/{41 → 46}/original/DEMO_002_Powerstation.jpg +0 -0
  332. data/spec/sandbox/public/spree/products/46/product/DEMO_002_Powerstation.jpg +0 -0
  333. data/spec/sandbox/public/spree/products/46/small/DEMO_002_Powerstation.jpg +0 -0
  334. data/spec/sandbox/public/spree/products/47/large/DEMO_003_ror_mug.jpeg +0 -0
  335. data/spec/sandbox/public/spree/products/47/mini/DEMO_003_ror_mug.jpeg +0 -0
  336. data/spec/sandbox/public/spree/products/{30 → 47}/original/DEMO_003_ror_mug.jpeg +0 -0
  337. data/spec/sandbox/public/spree/products/47/product/DEMO_003_ror_mug.jpeg +0 -0
  338. data/spec/sandbox/public/spree/products/47/small/DEMO_003_ror_mug.jpeg +0 -0
  339. data/spec/sandbox/public/spree/products/48/large/DEMO_001_ror_bag.jpeg +0 -0
  340. data/spec/sandbox/public/spree/products/48/mini/DEMO_001_ror_bag.jpeg +0 -0
  341. data/spec/sandbox/public/spree/products/48/original/DEMO_001_ror_bag.jpeg +0 -0
  342. data/spec/sandbox/public/spree/products/48/product/DEMO_001_ror_bag.jpeg +0 -0
  343. data/spec/sandbox/public/spree/products/48/small/DEMO_001_ror_bag.jpeg +0 -0
  344. data/spec/sandbox/public/spree/products/49/large/DEMO_002_Powerstation.jpg +0 -0
  345. data/spec/sandbox/public/spree/products/49/mini/DEMO_002_Powerstation.jpg +0 -0
  346. data/spec/sandbox/public/spree/products/{44 → 49}/original/DEMO_002_Powerstation.jpg +0 -0
  347. data/spec/sandbox/public/spree/products/49/product/DEMO_002_Powerstation.jpg +0 -0
  348. data/spec/sandbox/public/spree/products/49/small/DEMO_002_Powerstation.jpg +0 -0
  349. data/spec/sandbox/public/spree/products/5/large/DEMO_002_Powerstation.jpg +0 -0
  350. data/spec/sandbox/public/spree/products/5/mini/DEMO_002_Powerstation.jpg +0 -0
  351. data/spec/sandbox/public/spree/products/5/product/DEMO_002_Powerstation.jpg +0 -0
  352. data/spec/sandbox/public/spree/products/5/small/DEMO_002_Powerstation.jpg +0 -0
  353. data/spec/sandbox/public/spree/products/50/large/DEMO_003_ror_mug.jpeg +0 -0
  354. data/spec/sandbox/public/spree/products/50/mini/DEMO_003_ror_mug.jpeg +0 -0
  355. data/spec/sandbox/public/spree/products/{33 → 50}/original/DEMO_003_ror_mug.jpeg +0 -0
  356. data/spec/sandbox/public/spree/products/50/product/DEMO_003_ror_mug.jpeg +0 -0
  357. data/spec/sandbox/public/spree/products/50/small/DEMO_003_ror_mug.jpeg +0 -0
  358. data/spec/sandbox/public/spree/products/51/large/DEMO_001_ror_bag.jpeg +0 -0
  359. data/spec/sandbox/public/spree/products/51/mini/DEMO_001_ror_bag.jpeg +0 -0
  360. data/spec/sandbox/public/spree/products/51/original/DEMO_001_ror_bag.jpeg +0 -0
  361. data/spec/sandbox/public/spree/products/51/product/DEMO_001_ror_bag.jpeg +0 -0
  362. data/spec/sandbox/public/spree/products/51/small/DEMO_001_ror_bag.jpeg +0 -0
  363. data/spec/sandbox/public/spree/products/52/large/DEMO_001_ror_bag.jpeg +0 -0
  364. data/spec/sandbox/public/spree/products/52/mini/DEMO_001_ror_bag.jpeg +0 -0
  365. data/spec/sandbox/public/spree/products/52/product/DEMO_001_ror_bag.jpeg +0 -0
  366. data/spec/sandbox/public/spree/products/52/small/DEMO_001_ror_bag.jpeg +0 -0
  367. data/spec/sandbox/public/spree/products/53/large/DEMO_003_ror_mug.jpeg +0 -0
  368. data/spec/sandbox/public/spree/products/53/mini/DEMO_003_ror_mug.jpeg +0 -0
  369. data/spec/sandbox/public/spree/products/{45 → 53}/original/DEMO_003_ror_mug.jpeg +0 -0
  370. data/spec/sandbox/public/spree/products/53/product/DEMO_003_ror_mug.jpeg +0 -0
  371. data/spec/sandbox/public/spree/products/53/small/DEMO_003_ror_mug.jpeg +0 -0
  372. data/spec/sandbox/public/spree/products/54/large/DEMO_002_Powerstation.jpg +0 -0
  373. data/spec/sandbox/public/spree/products/54/mini/DEMO_002_Powerstation.jpg +0 -0
  374. data/spec/sandbox/public/spree/products/{47 → 54}/original/DEMO_002_Powerstation.jpg +0 -0
  375. data/spec/sandbox/public/spree/products/54/product/DEMO_002_Powerstation.jpg +0 -0
  376. data/spec/sandbox/public/spree/products/54/small/DEMO_002_Powerstation.jpg +0 -0
  377. data/spec/sandbox/public/spree/products/55/large/DEMO_001_ror_bag.jpeg +0 -0
  378. data/spec/sandbox/public/spree/products/55/mini/DEMO_001_ror_bag.jpeg +0 -0
  379. data/spec/sandbox/public/spree/products/55/product/DEMO_001_ror_bag.jpeg +0 -0
  380. data/spec/sandbox/public/spree/products/55/small/DEMO_001_ror_bag.jpeg +0 -0
  381. data/spec/sandbox/public/spree/products/56/large/DEMO_001_ror_bag.jpeg +0 -0
  382. data/spec/sandbox/public/spree/products/56/mini/DEMO_001_ror_bag.jpeg +0 -0
  383. data/spec/sandbox/public/spree/products/56/original/DEMO_001_ror_bag.jpeg +0 -0
  384. data/spec/sandbox/public/spree/products/56/product/DEMO_001_ror_bag.jpeg +0 -0
  385. data/spec/sandbox/public/spree/products/56/small/DEMO_001_ror_bag.jpeg +0 -0
  386. data/spec/sandbox/public/spree/products/57/large/DEMO_002_Powerstation.jpg +0 -0
  387. data/spec/sandbox/public/spree/products/57/mini/DEMO_002_Powerstation.jpg +0 -0
  388. data/spec/sandbox/public/spree/products/{50 → 57}/original/DEMO_002_Powerstation.jpg +0 -0
  389. data/spec/sandbox/public/spree/products/57/product/DEMO_002_Powerstation.jpg +0 -0
  390. data/spec/sandbox/public/spree/products/57/small/DEMO_002_Powerstation.jpg +0 -0
  391. data/spec/sandbox/public/spree/products/58/large/DEMO_003_ror_mug.jpeg +0 -0
  392. data/spec/sandbox/public/spree/products/58/mini/DEMO_003_ror_mug.jpeg +0 -0
  393. data/spec/sandbox/public/spree/products/{48 → 58}/original/DEMO_003_ror_mug.jpeg +0 -0
  394. data/spec/sandbox/public/spree/products/58/product/DEMO_003_ror_mug.jpeg +0 -0
  395. data/spec/sandbox/public/spree/products/58/small/DEMO_003_ror_mug.jpeg +0 -0
  396. data/spec/sandbox/public/spree/products/59/large/DEMO_001_ror_bag.jpeg +0 -0
  397. data/spec/sandbox/public/spree/products/59/mini/DEMO_001_ror_bag.jpeg +0 -0
  398. data/spec/sandbox/public/spree/products/59/original/DEMO_001_ror_bag.jpeg +0 -0
  399. data/spec/sandbox/public/spree/products/59/product/DEMO_001_ror_bag.jpeg +0 -0
  400. data/spec/sandbox/public/spree/products/59/small/DEMO_001_ror_bag.jpeg +0 -0
  401. data/spec/sandbox/public/spree/products/6/large/DEMO_003_ror_mug.jpeg +0 -0
  402. data/spec/sandbox/public/spree/products/6/mini/DEMO_003_ror_mug.jpeg +0 -0
  403. data/spec/sandbox/public/spree/products/6/product/DEMO_003_ror_mug.jpeg +0 -0
  404. data/spec/sandbox/public/spree/products/6/small/DEMO_003_ror_mug.jpeg +0 -0
  405. data/spec/sandbox/public/spree/products/60/large/DEMO_002_Powerstation.jpg +0 -0
  406. data/spec/sandbox/public/spree/products/60/mini/DEMO_002_Powerstation.jpg +0 -0
  407. data/spec/sandbox/public/spree/products/{53 → 60}/original/DEMO_002_Powerstation.jpg +0 -0
  408. data/spec/sandbox/public/spree/products/60/product/DEMO_002_Powerstation.jpg +0 -0
  409. data/spec/sandbox/public/spree/products/60/small/DEMO_002_Powerstation.jpg +0 -0
  410. data/spec/sandbox/public/spree/products/61/large/DEMO_003_ror_mug.jpeg +0 -0
  411. data/spec/sandbox/public/spree/products/61/mini/DEMO_003_ror_mug.jpeg +0 -0
  412. data/spec/sandbox/public/spree/products/{51 → 61}/original/DEMO_003_ror_mug.jpeg +0 -0
  413. data/spec/sandbox/public/spree/products/61/product/DEMO_003_ror_mug.jpeg +0 -0
  414. data/spec/sandbox/public/spree/products/61/small/DEMO_003_ror_mug.jpeg +0 -0
  415. data/spec/sandbox/public/spree/products/62/large/DEMO_001_ror_bag.jpeg +0 -0
  416. data/spec/sandbox/public/spree/products/62/mini/DEMO_001_ror_bag.jpeg +0 -0
  417. data/spec/sandbox/public/spree/products/62/original/DEMO_001_ror_bag.jpeg +0 -0
  418. data/spec/sandbox/public/spree/products/62/product/DEMO_001_ror_bag.jpeg +0 -0
  419. data/spec/sandbox/public/spree/products/62/small/DEMO_001_ror_bag.jpeg +0 -0
  420. data/spec/sandbox/public/spree/products/63/large/DEMO_001_ror_bag.jpeg +0 -0
  421. data/spec/sandbox/public/spree/products/63/mini/DEMO_001_ror_bag.jpeg +0 -0
  422. data/spec/sandbox/public/spree/products/63/original/DEMO_001_ror_bag.jpeg +0 -0
  423. data/spec/sandbox/public/spree/products/63/product/DEMO_001_ror_bag.jpeg +0 -0
  424. data/spec/sandbox/public/spree/products/63/small/DEMO_001_ror_bag.jpeg +0 -0
  425. data/spec/sandbox/public/spree/products/64/large/DEMO_003_ror_mug.jpeg +0 -0
  426. data/spec/sandbox/public/spree/products/64/mini/DEMO_003_ror_mug.jpeg +0 -0
  427. data/spec/sandbox/public/spree/products/{54 → 64}/original/DEMO_003_ror_mug.jpeg +0 -0
  428. data/spec/sandbox/public/spree/products/64/product/DEMO_003_ror_mug.jpeg +0 -0
  429. data/spec/sandbox/public/spree/products/64/small/DEMO_003_ror_mug.jpeg +0 -0
  430. data/spec/sandbox/public/spree/products/65/large/DEMO_002_Powerstation.jpg +0 -0
  431. data/spec/sandbox/public/spree/products/65/mini/DEMO_002_Powerstation.jpg +0 -0
  432. data/spec/sandbox/public/spree/products/65/product/DEMO_002_Powerstation.jpg +0 -0
  433. data/spec/sandbox/public/spree/products/65/small/DEMO_002_Powerstation.jpg +0 -0
  434. data/spec/sandbox/public/spree/products/66/large/DEMO_001_ror_bag.jpeg +0 -0
  435. data/spec/sandbox/public/spree/products/66/mini/DEMO_001_ror_bag.jpeg +0 -0
  436. data/spec/sandbox/public/spree/products/66/original/DEMO_001_ror_bag.jpeg +0 -0
  437. data/spec/sandbox/public/spree/products/66/product/DEMO_001_ror_bag.jpeg +0 -0
  438. data/spec/sandbox/public/spree/products/66/small/DEMO_001_ror_bag.jpeg +0 -0
  439. data/spec/sandbox/public/spree/products/67/large/DEMO_001_ror_bag.jpeg +0 -0
  440. data/spec/sandbox/public/spree/products/67/mini/DEMO_001_ror_bag.jpeg +0 -0
  441. data/spec/sandbox/public/spree/products/67/original/DEMO_001_ror_bag.jpeg +0 -0
  442. data/spec/sandbox/public/spree/products/67/product/DEMO_001_ror_bag.jpeg +0 -0
  443. data/spec/sandbox/public/spree/products/67/small/DEMO_001_ror_bag.jpeg +0 -0
  444. data/spec/sandbox/public/spree/products/68/large/DEMO_002_Powerstation.jpg +0 -0
  445. data/spec/sandbox/public/spree/products/68/mini/DEMO_002_Powerstation.jpg +0 -0
  446. data/spec/sandbox/public/spree/products/{56 → 68}/original/DEMO_002_Powerstation.jpg +0 -0
  447. data/spec/sandbox/public/spree/products/68/product/DEMO_002_Powerstation.jpg +0 -0
  448. data/spec/sandbox/public/spree/products/68/small/DEMO_002_Powerstation.jpg +0 -0
  449. data/spec/sandbox/public/spree/products/69/large/DEMO_003_ror_mug.jpeg +0 -0
  450. data/spec/sandbox/public/spree/products/69/mini/DEMO_003_ror_mug.jpeg +0 -0
  451. data/spec/sandbox/public/spree/products/{57 → 69}/original/DEMO_003_ror_mug.jpeg +0 -0
  452. data/spec/sandbox/public/spree/products/69/product/DEMO_003_ror_mug.jpeg +0 -0
  453. data/spec/sandbox/public/spree/products/69/small/DEMO_003_ror_mug.jpeg +0 -0
  454. data/spec/sandbox/public/spree/products/7/large/DEMO_001_ror_bag.jpeg +0 -0
  455. data/spec/sandbox/public/spree/products/7/mini/DEMO_001_ror_bag.jpeg +0 -0
  456. data/spec/sandbox/public/spree/products/7/product/DEMO_001_ror_bag.jpeg +0 -0
  457. data/spec/sandbox/public/spree/products/7/small/DEMO_001_ror_bag.jpeg +0 -0
  458. data/spec/sandbox/public/spree/products/70/large/DEMO_001_ror_bag.jpeg +0 -0
  459. data/spec/sandbox/public/spree/products/70/mini/DEMO_001_ror_bag.jpeg +0 -0
  460. data/spec/sandbox/public/spree/products/70/original/DEMO_001_ror_bag.jpeg +0 -0
  461. data/spec/sandbox/public/spree/products/70/product/DEMO_001_ror_bag.jpeg +0 -0
  462. data/spec/sandbox/public/spree/products/70/small/DEMO_001_ror_bag.jpeg +0 -0
  463. data/spec/sandbox/public/spree/products/71/large/DEMO_002_Powerstation.jpg +0 -0
  464. data/spec/sandbox/public/spree/products/71/mini/DEMO_002_Powerstation.jpg +0 -0
  465. data/spec/sandbox/public/spree/products/{59 → 71}/original/DEMO_002_Powerstation.jpg +0 -0
  466. data/spec/sandbox/public/spree/products/71/product/DEMO_002_Powerstation.jpg +0 -0
  467. data/spec/sandbox/public/spree/products/71/small/DEMO_002_Powerstation.jpg +0 -0
  468. data/spec/sandbox/public/spree/products/72/large/DEMO_003_ror_mug.jpeg +0 -0
  469. data/spec/sandbox/public/spree/products/72/mini/DEMO_003_ror_mug.jpeg +0 -0
  470. data/spec/sandbox/public/spree/products/{60 → 72}/original/DEMO_003_ror_mug.jpeg +0 -0
  471. data/spec/sandbox/public/spree/products/72/product/DEMO_003_ror_mug.jpeg +0 -0
  472. data/spec/sandbox/public/spree/products/72/small/DEMO_003_ror_mug.jpeg +0 -0
  473. data/spec/sandbox/public/spree/products/73/large/DEMO_001_ror_bag.jpeg +0 -0
  474. data/spec/sandbox/public/spree/products/73/mini/DEMO_001_ror_bag.jpeg +0 -0
  475. data/spec/sandbox/public/spree/products/73/original/DEMO_001_ror_bag.jpeg +0 -0
  476. data/spec/sandbox/public/spree/products/73/product/DEMO_001_ror_bag.jpeg +0 -0
  477. data/spec/sandbox/public/spree/products/73/small/DEMO_001_ror_bag.jpeg +0 -0
  478. data/spec/sandbox/public/spree/products/74/large/DEMO_001_ror_bag.jpeg +0 -0
  479. data/spec/sandbox/public/spree/products/74/mini/DEMO_001_ror_bag.jpeg +0 -0
  480. data/spec/sandbox/public/spree/products/74/original/DEMO_001_ror_bag.jpeg +0 -0
  481. data/spec/sandbox/public/spree/products/74/product/DEMO_001_ror_bag.jpeg +0 -0
  482. data/spec/sandbox/public/spree/products/74/small/DEMO_001_ror_bag.jpeg +0 -0
  483. data/spec/sandbox/public/spree/products/75/large/DEMO_003_ror_mug.jpeg +0 -0
  484. data/spec/sandbox/public/spree/products/75/mini/DEMO_003_ror_mug.jpeg +0 -0
  485. data/spec/sandbox/public/spree/products/{63 → 75}/original/DEMO_003_ror_mug.jpeg +0 -0
  486. data/spec/sandbox/public/spree/products/75/product/DEMO_003_ror_mug.jpeg +0 -0
  487. data/spec/sandbox/public/spree/products/75/small/DEMO_003_ror_mug.jpeg +0 -0
  488. data/spec/sandbox/public/spree/products/76/large/DEMO_002_Powerstation.jpg +0 -0
  489. data/spec/sandbox/public/spree/products/76/mini/DEMO_002_Powerstation.jpg +0 -0
  490. data/spec/sandbox/public/spree/products/{62 → 76}/original/DEMO_002_Powerstation.jpg +0 -0
  491. data/spec/sandbox/public/spree/products/76/product/DEMO_002_Powerstation.jpg +0 -0
  492. data/spec/sandbox/public/spree/products/76/small/DEMO_002_Powerstation.jpg +0 -0
  493. data/spec/sandbox/public/spree/products/77/large/DEMO_001_ror_bag.jpeg +0 -0
  494. data/spec/sandbox/public/spree/products/77/mini/DEMO_001_ror_bag.jpeg +0 -0
  495. data/spec/sandbox/public/spree/products/77/original/DEMO_001_ror_bag.jpeg +0 -0
  496. data/spec/sandbox/public/spree/products/77/product/DEMO_001_ror_bag.jpeg +0 -0
  497. data/spec/sandbox/public/spree/products/77/small/DEMO_001_ror_bag.jpeg +0 -0
  498. data/spec/sandbox/public/spree/products/78/large/DEMO_001_ror_bag.jpeg +0 -0
  499. data/spec/sandbox/public/spree/products/78/mini/DEMO_001_ror_bag.jpeg +0 -0
  500. data/spec/sandbox/public/spree/products/78/original/DEMO_001_ror_bag.jpeg +0 -0
  501. data/spec/sandbox/public/spree/products/78/product/DEMO_001_ror_bag.jpeg +0 -0
  502. data/spec/sandbox/public/spree/products/78/small/DEMO_001_ror_bag.jpeg +0 -0
  503. data/spec/sandbox/public/spree/products/79/large/DEMO_002_Powerstation.jpg +0 -0
  504. data/spec/sandbox/public/spree/products/79/mini/DEMO_002_Powerstation.jpg +0 -0
  505. data/spec/sandbox/public/spree/products/{8 → 79}/original/DEMO_002_Powerstation.jpg +0 -0
  506. data/spec/sandbox/public/spree/products/79/product/DEMO_002_Powerstation.jpg +0 -0
  507. data/spec/sandbox/public/spree/products/79/small/DEMO_002_Powerstation.jpg +0 -0
  508. data/spec/sandbox/public/spree/products/8/large/DEMO_001_ror_bag.jpeg +0 -0
  509. data/spec/sandbox/public/spree/products/8/mini/DEMO_001_ror_bag.jpeg +0 -0
  510. data/spec/sandbox/public/spree/products/8/original/DEMO_001_ror_bag.jpeg +0 -0
  511. data/spec/sandbox/public/spree/products/8/product/DEMO_001_ror_bag.jpeg +0 -0
  512. data/spec/sandbox/public/spree/products/8/small/DEMO_001_ror_bag.jpeg +0 -0
  513. data/spec/sandbox/public/spree/products/80/large/DEMO_003_ror_mug.jpeg +0 -0
  514. data/spec/sandbox/public/spree/products/80/mini/DEMO_003_ror_mug.jpeg +0 -0
  515. data/spec/sandbox/public/spree/products/{66 → 80}/original/DEMO_003_ror_mug.jpeg +0 -0
  516. data/spec/sandbox/public/spree/products/80/product/DEMO_003_ror_mug.jpeg +0 -0
  517. data/spec/sandbox/public/spree/products/80/small/DEMO_003_ror_mug.jpeg +0 -0
  518. data/spec/sandbox/public/spree/products/81/large/DEMO_001_ror_bag.jpeg +0 -0
  519. data/spec/sandbox/public/spree/products/81/mini/DEMO_001_ror_bag.jpeg +0 -0
  520. data/spec/sandbox/public/spree/products/81/original/DEMO_001_ror_bag.jpeg +0 -0
  521. data/spec/sandbox/public/spree/products/81/product/DEMO_001_ror_bag.jpeg +0 -0
  522. data/spec/sandbox/public/spree/products/81/small/DEMO_001_ror_bag.jpeg +0 -0
  523. data/spec/sandbox/public/spree/products/82/large/DEMO_002_Powerstation.jpg +0 -0
  524. data/spec/sandbox/public/spree/products/82/mini/DEMO_002_Powerstation.jpg +0 -0
  525. data/spec/sandbox/public/spree/products/82/original/DEMO_002_Powerstation.jpg +0 -0
  526. data/spec/sandbox/public/spree/products/82/product/DEMO_002_Powerstation.jpg +0 -0
  527. data/spec/sandbox/public/spree/products/82/small/DEMO_002_Powerstation.jpg +0 -0
  528. data/spec/sandbox/public/spree/products/83/large/DEMO_003_ror_mug.jpeg +0 -0
  529. data/spec/sandbox/public/spree/products/83/mini/DEMO_003_ror_mug.jpeg +0 -0
  530. data/spec/sandbox/public/spree/products/83/original/DEMO_003_ror_mug.jpeg +0 -0
  531. data/spec/sandbox/public/spree/products/83/product/DEMO_003_ror_mug.jpeg +0 -0
  532. data/spec/sandbox/public/spree/products/83/small/DEMO_003_ror_mug.jpeg +0 -0
  533. data/spec/sandbox/public/spree/products/84/large/DEMO_001_ror_bag.jpeg +0 -0
  534. data/spec/sandbox/public/spree/products/84/mini/DEMO_001_ror_bag.jpeg +0 -0
  535. data/spec/sandbox/public/spree/products/84/original/DEMO_001_ror_bag.jpeg +0 -0
  536. data/spec/sandbox/public/spree/products/84/product/DEMO_001_ror_bag.jpeg +0 -0
  537. data/spec/sandbox/public/spree/products/84/small/DEMO_001_ror_bag.jpeg +0 -0
  538. data/spec/sandbox/public/spree/products/85/large/DEMO_001_ror_bag.jpeg +0 -0
  539. data/spec/sandbox/public/spree/products/85/mini/DEMO_001_ror_bag.jpeg +0 -0
  540. data/spec/sandbox/public/spree/products/85/original/DEMO_001_ror_bag.jpeg +0 -0
  541. data/spec/sandbox/public/spree/products/85/product/DEMO_001_ror_bag.jpeg +0 -0
  542. data/spec/sandbox/public/spree/products/85/small/DEMO_001_ror_bag.jpeg +0 -0
  543. data/spec/sandbox/public/spree/products/86/large/DEMO_003_ror_mug.jpeg +0 -0
  544. data/spec/sandbox/public/spree/products/86/mini/DEMO_003_ror_mug.jpeg +0 -0
  545. data/spec/sandbox/public/spree/products/86/original/DEMO_003_ror_mug.jpeg +0 -0
  546. data/spec/sandbox/public/spree/products/86/product/DEMO_003_ror_mug.jpeg +0 -0
  547. data/spec/sandbox/public/spree/products/86/small/DEMO_003_ror_mug.jpeg +0 -0
  548. data/spec/sandbox/public/spree/products/87/large/DEMO_002_Powerstation.jpg +0 -0
  549. data/spec/sandbox/public/spree/products/87/mini/DEMO_002_Powerstation.jpg +0 -0
  550. data/spec/sandbox/public/spree/products/87/original/DEMO_002_Powerstation.jpg +0 -0
  551. data/spec/sandbox/public/spree/products/87/product/DEMO_002_Powerstation.jpg +0 -0
  552. data/spec/sandbox/public/spree/products/87/small/DEMO_002_Powerstation.jpg +0 -0
  553. data/spec/sandbox/public/spree/products/88/large/DEMO_001_ror_bag.jpeg +0 -0
  554. data/spec/sandbox/public/spree/products/88/mini/DEMO_001_ror_bag.jpeg +0 -0
  555. data/spec/sandbox/public/spree/products/88/original/DEMO_001_ror_bag.jpeg +0 -0
  556. data/spec/sandbox/public/spree/products/88/product/DEMO_001_ror_bag.jpeg +0 -0
  557. data/spec/sandbox/public/spree/products/88/small/DEMO_001_ror_bag.jpeg +0 -0
  558. data/spec/sandbox/public/spree/products/9/large/DEMO_003_ror_mug.jpeg +0 -0
  559. data/spec/sandbox/public/spree/products/9/mini/DEMO_003_ror_mug.jpeg +0 -0
  560. data/spec/sandbox/public/spree/products/9/product/DEMO_003_ror_mug.jpeg +0 -0
  561. data/spec/sandbox/public/spree/products/9/small/DEMO_003_ror_mug.jpeg +0 -0
  562. data/spec/sandbox/tmp/cache/assets/C19/690/sprockets%2F824c9619342153d98121c5bb8553301c +0 -0
  563. data/spec/sandbox/tmp/cache/assets/{D47/0D0/sprockets%2Fa1679da4467bfc1eb40c9e6e91e35555 → C62/DA0/sprockets%2Fdc2787fdb7344f2867155760247e0729} +5 -5
  564. data/spec/sandbox/tmp/cache/assets/C79/380/sprockets%2Ff08134410c9f050203c58839cfd9711c +45 -0
  565. data/spec/sandbox/tmp/cache/assets/{CBA/E50/sprockets%2F4e833190fdff066c72ea67164195192f → C82/AD0/sprockets%2F37eca7f30a0941b6a26950242e479479} +5 -5
  566. data/spec/sandbox/tmp/cache/assets/{DB5/B30/sprockets%2Fac3cabc1f3a1c6dea21b5968c2830b07 → C84/830/sprockets%2F29d828575148851f40b318bb57345bda} +5 -5
  567. data/spec/sandbox/tmp/cache/assets/C8C/580/sprockets%2F693a37853e69561e1464a1737a56d2fd +3 -0
  568. data/spec/sandbox/tmp/cache/assets/{D34/D40/sprockets%2Fca3e3c106373aa947a80add2925a9f26 → C8E/0B0/sprockets%2Fd19e8cd200256a392e80863664898cb6} +5 -5
  569. data/spec/sandbox/tmp/cache/assets/{D79/1F0/sprockets%2F8275f49b8bab7b12a384e4ee8e09c7e1 → C99/9C0/sprockets%2F741699902fbe28571c56ce6f71562e77} +5 -5
  570. data/spec/sandbox/tmp/cache/assets/{DE8/0E0/sprockets%2Fcd07d79e6b93c6eec93f854ffff0f334 → CA6/DE0/sprockets%2F14ed888c3e03ac63e426b37490c02127} +0 -0
  571. data/spec/sandbox/tmp/cache/assets/CA7/D00/sprockets%2F27ee9949c8969623f394b26fef723581 +13 -0
  572. data/spec/sandbox/tmp/cache/assets/{E08/C20/sprockets%2F0ad8fbc5a986d12b73b4fecc98e70ef5 → CAC/250/sprockets%2Fe91c260749b072741527c3fb8f70f2b0} +5 -5
  573. data/spec/sandbox/tmp/cache/assets/{D0F/110/sprockets%2F71ce77fd5231e5d0d705a8e085a0f871 → CB3/2A0/sprockets%2Fdc447805ce50c22e584e005ce8477275} +0 -0
  574. data/spec/sandbox/tmp/cache/assets/{C48/7D0/sprockets%2Fe0032828783157c117b48022df3e444e → CB3/560/sprockets%2F0c3f3328f1e261a907d519fe062876e5} +5 -5
  575. data/spec/sandbox/tmp/cache/assets/CBA/AF0/sprockets%2F7cc168d573082ffd216729fb0871d932 +14 -0
  576. data/spec/sandbox/tmp/cache/assets/CBC/4D0/sprockets%2Ffce942d66d539f68806e22015569b01f +13 -0
  577. data/spec/sandbox/tmp/cache/assets/{BDA/8A0/sprockets%2F05967796558429515381c4b5d86808c2 → CC5/0A0/sprockets%2F5379b697b24249a40a51303baa10de0b} +5 -5
  578. data/spec/sandbox/tmp/cache/assets/CC6/550/sprockets%2F32657c0025c49b81f574fd98e5a7877e +45 -0
  579. data/spec/sandbox/tmp/cache/assets/{D7B/850/sprockets%2Fe1aeffb9bb8d70056596c37932ed6f42 → CD2/970/sprockets%2F2eaa446773c64e3e70f2d1050ed15318} +0 -0
  580. data/spec/sandbox/tmp/cache/assets/{CD7/C60/sprockets%2F07d4a437a6755702af3647c235dab26e → CD8/520/sprockets%2Fe8f4a736409001ef14da7294d63e160b} +5 -5
  581. data/spec/sandbox/tmp/cache/assets/{E32/490/sprockets%2F78aadee343f7b9923ca5bceede46be05 → CDC/9B0/sprockets%2F1625464e1cf64c590e374cc7a18d9b01} +5 -5
  582. data/spec/sandbox/tmp/cache/assets/{DCF/0B0/sprockets%2F17171de28f3e5db9a23ceeeceb64d355 → CE7/2E0/sprockets%2F57a5759d1c76b4c422ff09075fcf2525} +5 -5
  583. data/spec/sandbox/tmp/cache/assets/CF0/DA0/sprockets%2Fd7d5b37686831d37c4dd75e645f5e016 +2 -2
  584. data/spec/sandbox/tmp/cache/assets/{CD0/A60/sprockets%2F47f7f8654e1b0830c06df21b1a2040e7 → CFC/2E0/sprockets%2Fe3713b8ea659e4f554fe58966e53e571} +5 -5
  585. data/spec/sandbox/tmp/cache/assets/D0F/370/sprockets%2F65b590581acb0df661ea37d37c9f5152 +40 -40
  586. data/spec/sandbox/tmp/cache/assets/{D43/7B0/sprockets%2F5e356ecdd6439806589c9898d9fde97d → D10/3B0/sprockets%2F327d84ba6fc051e90d797921a2c21e9d} +5 -5
  587. data/spec/sandbox/tmp/cache/assets/D13/2F0/sprockets%2Faa790056e94a47ede6aaf8765200d295 +14 -0
  588. data/spec/sandbox/tmp/cache/assets/{D90/C90/sprockets%2F070fb0a8b408f5b313840eaf5fcba77c → D26/F40/sprockets%2Ff03f0d296758a07b411baaab701a463e} +5 -5
  589. data/spec/sandbox/tmp/cache/assets/{E09/160/sprockets%2F28fd19d52fa996bd5bc0b1cf8efc2f74 → D31/D50/sprockets%2Ffe031b2b8cee5cc0563d108882c152c5} +5 -5
  590. data/spec/sandbox/tmp/cache/assets/{D1B/D20/sprockets%2Fdedb93098f94d41370a4c9be4a959630 → D36/7B0/sprockets%2F9bd4144754b5dd1a134d0d7337f74adc} +5 -5
  591. data/spec/sandbox/tmp/cache/assets/D41/680/sprockets%2Fcc9b1693df7093fbe54e644df430152b +19 -0
  592. data/spec/sandbox/tmp/cache/assets/{D62/890/sprockets%2F73c3856d24a200d57f0b7ba6fe164afa → D43/090/sprockets%2Fa2b07e9abc848199d7b5166271eb4ee2} +5 -5
  593. data/spec/sandbox/tmp/cache/assets/D46/6C0/sprockets%2F9e6ad6159bd63f648ee8a2f036b4a721 +40 -40
  594. data/spec/sandbox/tmp/cache/assets/D49/490/sprockets%2F9f2ffd6143fa2b469c8d8d4a371c7173 +3 -0
  595. data/spec/sandbox/tmp/cache/assets/D49/C70/sprockets%2Fabd0ec9947d42948410a196c707dfe8d +6 -0
  596. data/spec/sandbox/tmp/cache/assets/{D73/480/sprockets%2F1fe4d21884c4db06ee089b5da298f32d → D4C/FC0/sprockets%2F47d566c7ad66e2ede5c2753182cf98b0} +5 -5
  597. data/spec/sandbox/tmp/cache/assets/{DA4/270/sprockets%2F501c395ed23e58949bba4f543cf6aebf → D51/D20/sprockets%2Fbd748ac7e426ca6b49d76e16566e6a76} +5 -5
  598. data/spec/sandbox/tmp/cache/assets/D53/5F0/sprockets%2F0f085376aeb478ca173f8d9953ce5f7d +22 -0
  599. data/spec/sandbox/tmp/cache/assets/{D71/7E0/sprockets%2Fe71663bff3967b08bf6bc0fe01507db7 → D5C/0D0/sprockets%2F98a6044de1ae08fc30c308de1b3a8a32} +5 -5
  600. data/spec/sandbox/tmp/cache/assets/{D13/4C0/sprockets%2F19b5a44963a45f1cab789db441e599a0 → D62/6D0/sprockets%2F7bea74d367fcc341dd7110fe46a033e2} +5 -5
  601. data/spec/sandbox/tmp/cache/assets/D63/C30/sprockets%2F3b83f4c94c92abd0a180cd16625d1de5 +0 -0
  602. data/spec/sandbox/tmp/cache/assets/D64/610/sprockets%2F6a720ab9dbeb30cb17c87d38a0f07538 +9 -0
  603. data/spec/sandbox/tmp/cache/assets/{C8A/0A0/sprockets%2F26199d9652c1a334e195719ba8541dd8 → D65/D60/sprockets%2Fd1f344d39ef71b30a1a63d2df04c487e} +5 -5
  604. data/spec/sandbox/tmp/cache/assets/{CC6/940/sprockets%2F381b881e222cd6d38f39965b4896b19e → D67/700/sprockets%2Fff51e01ab1fdfb22049d8bc96a934731} +5 -5
  605. data/spec/sandbox/tmp/cache/assets/{CAD/FE0/sprockets%2F3270cd94654e1c2d81fc580911900fa9 → D6D/240/sprockets%2F1da8d8e67c155ac8cca0022b766f89a3} +5 -5
  606. data/spec/sandbox/tmp/cache/assets/{D72/350/sprockets%2Ff1fa7173161fbe2d4d4c5e7c5741c69e → D73/610/sprockets%2Fcc933ef88e071b2bdaad17e7098809c1} +5 -5
  607. data/spec/sandbox/tmp/cache/assets/D75/650/sprockets%2F8ce8f036941bd632fdf5b9861a2f0ab8 +0 -0
  608. data/spec/sandbox/tmp/cache/assets/D7A/0C0/sprockets%2F0c833d3abd7ee608e8b96393bf7c26a8 +41 -0
  609. data/spec/sandbox/tmp/cache/assets/D80/6E0/sprockets%2F602d1da6b9e47fc446f5fb7a879a8e72 +6 -0
  610. data/spec/sandbox/tmp/cache/assets/{CBA/9D0/sprockets%2F2493926b475d6e62d7d1376e334c2dd6 → D9C/D10/sprockets%2Fdd5422d69a7adaa63f4d769a0e701ff2} +5 -5
  611. data/spec/sandbox/tmp/cache/assets/{D3E/870/sprockets%2Fb76db487306db3e3e1dc3b3070e95d94 → DA2/2E0/sprockets%2F7f05ad36a3584adfc03294ab99bdf86b} +5 -5
  612. data/spec/sandbox/tmp/cache/assets/{C7F/DF0/sprockets%2Fe656661206c7722b1c5512e36d9e64f0 → DA2/7C0/sprockets%2Fe17dc9b24a6a2eff9020c8e7e9a5a096} +5 -5
  613. data/spec/sandbox/tmp/cache/assets/{C9D/E90/sprockets%2Fa84ac59c0d9b39b3975951119999d917 → DA4/4D0/sprockets%2Ffaac80d67bb90c8c34f52f1c817a866f} +5 -5
  614. data/spec/sandbox/tmp/cache/assets/DAD/5A0/sprockets%2F50ff714068f96d1ab94f5eafae9645fa +9 -0
  615. data/spec/sandbox/tmp/cache/assets/{CAE/1D0/sprockets%2F03dd1f063179d32c35b917edf3784163 → DB5/9B0/sprockets%2Fa12152cca1ce4623cddbc36a5de2b738} +5 -5
  616. data/spec/sandbox/tmp/cache/assets/DC9/370/sprockets%2Fece74a1dcc4d717e03b16c59bade4772 +41 -0
  617. data/spec/sandbox/tmp/cache/assets/{CEF/5E0/sprockets%2F459ef82f805ce1977ee2aa452760d528 → DCE/9F0/sprockets%2F24657a8ee9e9a8e14b0a119de4bebbe2} +5 -5
  618. data/spec/sandbox/tmp/cache/assets/{C9C/800/sprockets%2F0810329ee389187374ea7987e2bb9f77 → DD0/480/sprockets%2F1d9a497a349dae6c3d0c45fad3fd552f} +5 -5
  619. data/spec/sandbox/tmp/cache/assets/{DFE/AA0/sprockets%2Fc127e6e63f95c0fc53ee4a12febd82af → DDD/610/sprockets%2Fa5b980bb97df6b7ab6ee638f7ed3029c} +5 -5
  620. data/spec/sandbox/tmp/cache/assets/{D00/7B0/sprockets%2F2511eac4c5f8330291b2bf1326549afe → DE7/220/sprockets%2F7b2aec0cd539e4c0baac4842a4da393a} +5 -5
  621. data/spec/sandbox/tmp/cache/assets/{CE1/440/sprockets%2Fbf1f9f069ace2a75097338f013470d72 → DED/CF0/sprockets%2Fbf87688c786ff5b7af0bed956ccc86e0} +5 -5
  622. data/spec/sandbox/tmp/cache/assets/{D3A/BE0/sprockets%2F8fb5690b22562e324ea931f258cfa2ad → DF4/E00/sprockets%2Fdecfa02f9a7efaa226b65ede025461a7} +5 -5
  623. data/spec/sandbox/tmp/cache/assets/DFB/960/sprockets%2F7e3fbc2bafc09402e24fa7159e67bedc +0 -0
  624. data/spec/sandbox/tmp/cache/assets/E25/4C0/sprockets%2Fde2fd9fd11c04a582cdbbe3d84a35ae6 +2 -2
  625. data/spec/sandbox/tmp/cache/assets/{E00/B50/sprockets%2F3a2feeb54bb2c9e8a360f8f8f2a9e1b4 → E77/920/sprockets%2F22ca50fccd7daa2ec86bac4c4afa5e33} +5 -5
  626. data/spec/spec_helper.rb +30 -0
  627. data/spec/spree_images_loader_spec.rb +44 -28
  628. data/spec/spree_loader_spec.rb +5 -25
  629. data/spec/spree_taxons_loader_spec.rb +2 -21
  630. data/spec/spree_variants_loader_spec.rb +2 -14
  631. data/spec/thor_spec.rb +2 -2
  632. metadata +773 -661
  633. data/spec/logs/datashift_spec.log +0 -10166
  634. data/spec/sandbox/public/spree/products/10/large/DEMO_001_ror_bag.jpeg +0 -0
  635. data/spec/sandbox/public/spree/products/10/mini/DEMO_001_ror_bag.jpeg +0 -0
  636. data/spec/sandbox/public/spree/products/10/product/DEMO_001_ror_bag.jpeg +0 -0
  637. data/spec/sandbox/public/spree/products/10/small/DEMO_001_ror_bag.jpeg +0 -0
  638. data/spec/sandbox/public/spree/products/11/large/DEMO_002_Powerstation.jpg +0 -0
  639. data/spec/sandbox/public/spree/products/11/product/DEMO_002_Powerstation.jpg +0 -0
  640. data/spec/sandbox/public/spree/products/12/large/DEMO_003_ror_mug.jpeg +0 -0
  641. data/spec/sandbox/public/spree/products/12/mini/DEMO_003_ror_mug.jpeg +0 -0
  642. data/spec/sandbox/public/spree/products/12/product/DEMO_003_ror_mug.jpeg +0 -0
  643. data/spec/sandbox/public/spree/products/12/small/DEMO_003_ror_mug.jpeg +0 -0
  644. data/spec/sandbox/public/spree/products/13/large/DEMO_001_ror_bag.jpeg +0 -0
  645. data/spec/sandbox/public/spree/products/13/mini/DEMO_001_ror_bag.jpeg +0 -0
  646. data/spec/sandbox/public/spree/products/13/product/DEMO_001_ror_bag.jpeg +0 -0
  647. data/spec/sandbox/public/spree/products/13/small/DEMO_001_ror_bag.jpeg +0 -0
  648. data/spec/sandbox/public/spree/products/14/large/DEMO_002_Powerstation.jpg +0 -0
  649. data/spec/sandbox/public/spree/products/14/product/DEMO_002_Powerstation.jpg +0 -0
  650. data/spec/sandbox/public/spree/products/15/large/DEMO_003_ror_mug.jpeg +0 -0
  651. data/spec/sandbox/public/spree/products/15/mini/DEMO_003_ror_mug.jpeg +0 -0
  652. data/spec/sandbox/public/spree/products/15/product/DEMO_003_ror_mug.jpeg +0 -0
  653. data/spec/sandbox/public/spree/products/15/small/DEMO_003_ror_mug.jpeg +0 -0
  654. data/spec/sandbox/public/spree/products/16/large/DEMO_001_ror_bag.jpeg +0 -0
  655. data/spec/sandbox/public/spree/products/16/mini/DEMO_001_ror_bag.jpeg +0 -0
  656. data/spec/sandbox/public/spree/products/16/product/DEMO_001_ror_bag.jpeg +0 -0
  657. data/spec/sandbox/public/spree/products/16/small/DEMO_001_ror_bag.jpeg +0 -0
  658. data/spec/sandbox/public/spree/products/17/large/DEMO_002_Powerstation.jpg +0 -0
  659. data/spec/sandbox/public/spree/products/17/product/DEMO_002_Powerstation.jpg +0 -0
  660. data/spec/sandbox/public/spree/products/18/large/DEMO_003_ror_mug.jpeg +0 -0
  661. data/spec/sandbox/public/spree/products/18/mini/DEMO_003_ror_mug.jpeg +0 -0
  662. data/spec/sandbox/public/spree/products/18/product/DEMO_003_ror_mug.jpeg +0 -0
  663. data/spec/sandbox/public/spree/products/18/small/DEMO_003_ror_mug.jpeg +0 -0
  664. data/spec/sandbox/public/spree/products/20/large/DEMO_002_Powerstation.jpg +0 -0
  665. data/spec/sandbox/public/spree/products/20/product/DEMO_002_Powerstation.jpg +0 -0
  666. data/spec/sandbox/public/spree/products/21/large/DEMO_003_ror_mug.jpeg +0 -0
  667. data/spec/sandbox/public/spree/products/21/mini/DEMO_003_ror_mug.jpeg +0 -0
  668. data/spec/sandbox/public/spree/products/21/product/DEMO_003_ror_mug.jpeg +0 -0
  669. data/spec/sandbox/public/spree/products/21/small/DEMO_003_ror_mug.jpeg +0 -0
  670. data/spec/sandbox/public/spree/products/23/large/DEMO_002_Powerstation.jpg +0 -0
  671. data/spec/sandbox/public/spree/products/23/mini/DEMO_002_Powerstation.jpg +0 -0
  672. data/spec/sandbox/public/spree/products/23/product/DEMO_002_Powerstation.jpg +0 -0
  673. data/spec/sandbox/public/spree/products/23/small/DEMO_002_Powerstation.jpg +0 -0
  674. data/spec/sandbox/public/spree/products/24/large/DEMO_003_ror_mug.jpeg +0 -0
  675. data/spec/sandbox/public/spree/products/24/mini/DEMO_003_ror_mug.jpeg +0 -0
  676. data/spec/sandbox/public/spree/products/24/product/DEMO_003_ror_mug.jpeg +0 -0
  677. data/spec/sandbox/public/spree/products/24/small/DEMO_003_ror_mug.jpeg +0 -0
  678. data/spec/sandbox/public/spree/products/25/large/DEMO_001_ror_bag.jpeg +0 -0
  679. data/spec/sandbox/public/spree/products/25/mini/DEMO_001_ror_bag.jpeg +0 -0
  680. data/spec/sandbox/public/spree/products/25/product/DEMO_001_ror_bag.jpeg +0 -0
  681. data/spec/sandbox/public/spree/products/25/small/DEMO_001_ror_bag.jpeg +0 -0
  682. data/spec/sandbox/public/spree/products/26/large/DEMO_002_Powerstation.jpg +0 -0
  683. data/spec/sandbox/public/spree/products/26/mini/DEMO_002_Powerstation.jpg +0 -0
  684. data/spec/sandbox/public/spree/products/26/product/DEMO_002_Powerstation.jpg +0 -0
  685. data/spec/sandbox/public/spree/products/26/small/DEMO_002_Powerstation.jpg +0 -0
  686. data/spec/sandbox/public/spree/products/27/large/DEMO_003_ror_mug.jpeg +0 -0
  687. data/spec/sandbox/public/spree/products/27/mini/DEMO_003_ror_mug.jpeg +0 -0
  688. data/spec/sandbox/public/spree/products/27/product/DEMO_003_ror_mug.jpeg +0 -0
  689. data/spec/sandbox/public/spree/products/27/small/DEMO_003_ror_mug.jpeg +0 -0
  690. data/spec/sandbox/public/spree/products/28/large/DEMO_001_ror_bag.jpeg +0 -0
  691. data/spec/sandbox/public/spree/products/28/mini/DEMO_001_ror_bag.jpeg +0 -0
  692. data/spec/sandbox/public/spree/products/28/product/DEMO_001_ror_bag.jpeg +0 -0
  693. data/spec/sandbox/public/spree/products/28/small/DEMO_001_ror_bag.jpeg +0 -0
  694. data/spec/sandbox/public/spree/products/29/large/DEMO_002_Powerstation.jpg +0 -0
  695. data/spec/sandbox/public/spree/products/29/mini/DEMO_002_Powerstation.jpg +0 -0
  696. data/spec/sandbox/public/spree/products/29/product/DEMO_002_Powerstation.jpg +0 -0
  697. data/spec/sandbox/public/spree/products/29/small/DEMO_002_Powerstation.jpg +0 -0
  698. data/spec/sandbox/public/spree/products/30/large/DEMO_003_ror_mug.jpeg +0 -0
  699. data/spec/sandbox/public/spree/products/30/mini/DEMO_003_ror_mug.jpeg +0 -0
  700. data/spec/sandbox/public/spree/products/30/product/DEMO_003_ror_mug.jpeg +0 -0
  701. data/spec/sandbox/public/spree/products/30/small/DEMO_003_ror_mug.jpeg +0 -0
  702. data/spec/sandbox/public/spree/products/31/large/DEMO_001_ror_bag.jpeg +0 -0
  703. data/spec/sandbox/public/spree/products/31/mini/DEMO_001_ror_bag.jpeg +0 -0
  704. data/spec/sandbox/public/spree/products/31/product/DEMO_001_ror_bag.jpeg +0 -0
  705. data/spec/sandbox/public/spree/products/31/small/DEMO_001_ror_bag.jpeg +0 -0
  706. data/spec/sandbox/public/spree/products/33/large/DEMO_003_ror_mug.jpeg +0 -0
  707. data/spec/sandbox/public/spree/products/33/mini/DEMO_003_ror_mug.jpeg +0 -0
  708. data/spec/sandbox/public/spree/products/33/product/DEMO_003_ror_mug.jpeg +0 -0
  709. data/spec/sandbox/public/spree/products/33/small/DEMO_003_ror_mug.jpeg +0 -0
  710. data/spec/sandbox/public/spree/products/41/large/DEMO_002_Powerstation.jpg +0 -0
  711. data/spec/sandbox/public/spree/products/41/mini/DEMO_002_Powerstation.jpg +0 -0
  712. data/spec/sandbox/public/spree/products/41/product/DEMO_002_Powerstation.jpg +0 -0
  713. data/spec/sandbox/public/spree/products/41/small/DEMO_002_Powerstation.jpg +0 -0
  714. data/spec/sandbox/public/spree/products/43/large/DEMO_001_ror_bag.jpeg +0 -0
  715. data/spec/sandbox/public/spree/products/43/mini/DEMO_001_ror_bag.jpeg +0 -0
  716. data/spec/sandbox/public/spree/products/43/product/DEMO_001_ror_bag.jpeg +0 -0
  717. data/spec/sandbox/public/spree/products/43/small/DEMO_001_ror_bag.jpeg +0 -0
  718. data/spec/sandbox/public/spree/products/44/large/DEMO_002_Powerstation.jpg +0 -0
  719. data/spec/sandbox/public/spree/products/44/mini/DEMO_002_Powerstation.jpg +0 -0
  720. data/spec/sandbox/public/spree/products/44/product/DEMO_002_Powerstation.jpg +0 -0
  721. data/spec/sandbox/public/spree/products/44/small/DEMO_002_Powerstation.jpg +0 -0
  722. data/spec/sandbox/public/spree/products/45/large/DEMO_003_ror_mug.jpeg +0 -0
  723. data/spec/sandbox/public/spree/products/45/mini/DEMO_003_ror_mug.jpeg +0 -0
  724. data/spec/sandbox/public/spree/products/45/product/DEMO_003_ror_mug.jpeg +0 -0
  725. data/spec/sandbox/public/spree/products/45/small/DEMO_003_ror_mug.jpeg +0 -0
  726. data/spec/sandbox/public/spree/products/46/large/DEMO_001_ror_bag.jpeg +0 -0
  727. data/spec/sandbox/public/spree/products/46/mini/DEMO_001_ror_bag.jpeg +0 -0
  728. data/spec/sandbox/public/spree/products/46/product/DEMO_001_ror_bag.jpeg +0 -0
  729. data/spec/sandbox/public/spree/products/46/small/DEMO_001_ror_bag.jpeg +0 -0
  730. data/spec/sandbox/public/spree/products/47/large/DEMO_002_Powerstation.jpg +0 -0
  731. data/spec/sandbox/public/spree/products/47/mini/DEMO_002_Powerstation.jpg +0 -0
  732. data/spec/sandbox/public/spree/products/47/product/DEMO_002_Powerstation.jpg +0 -0
  733. data/spec/sandbox/public/spree/products/47/small/DEMO_002_Powerstation.jpg +0 -0
  734. data/spec/sandbox/public/spree/products/48/large/DEMO_003_ror_mug.jpeg +0 -0
  735. data/spec/sandbox/public/spree/products/48/mini/DEMO_003_ror_mug.jpeg +0 -0
  736. data/spec/sandbox/public/spree/products/48/product/DEMO_003_ror_mug.jpeg +0 -0
  737. data/spec/sandbox/public/spree/products/48/small/DEMO_003_ror_mug.jpeg +0 -0
  738. data/spec/sandbox/public/spree/products/49/large/DEMO_001_ror_bag.jpeg +0 -0
  739. data/spec/sandbox/public/spree/products/49/mini/DEMO_001_ror_bag.jpeg +0 -0
  740. data/spec/sandbox/public/spree/products/49/product/DEMO_001_ror_bag.jpeg +0 -0
  741. data/spec/sandbox/public/spree/products/49/small/DEMO_001_ror_bag.jpeg +0 -0
  742. data/spec/sandbox/public/spree/products/50/large/DEMO_002_Powerstation.jpg +0 -0
  743. data/spec/sandbox/public/spree/products/50/mini/DEMO_002_Powerstation.jpg +0 -0
  744. data/spec/sandbox/public/spree/products/50/product/DEMO_002_Powerstation.jpg +0 -0
  745. data/spec/sandbox/public/spree/products/50/small/DEMO_002_Powerstation.jpg +0 -0
  746. data/spec/sandbox/public/spree/products/51/large/DEMO_003_ror_mug.jpeg +0 -0
  747. data/spec/sandbox/public/spree/products/51/mini/DEMO_003_ror_mug.jpeg +0 -0
  748. data/spec/sandbox/public/spree/products/51/product/DEMO_003_ror_mug.jpeg +0 -0
  749. data/spec/sandbox/public/spree/products/51/small/DEMO_003_ror_mug.jpeg +0 -0
  750. data/spec/sandbox/public/spree/products/53/large/DEMO_002_Powerstation.jpg +0 -0
  751. data/spec/sandbox/public/spree/products/53/mini/DEMO_002_Powerstation.jpg +0 -0
  752. data/spec/sandbox/public/spree/products/53/product/DEMO_002_Powerstation.jpg +0 -0
  753. data/spec/sandbox/public/spree/products/53/small/DEMO_002_Powerstation.jpg +0 -0
  754. data/spec/sandbox/public/spree/products/54/large/DEMO_003_ror_mug.jpeg +0 -0
  755. data/spec/sandbox/public/spree/products/54/mini/DEMO_003_ror_mug.jpeg +0 -0
  756. data/spec/sandbox/public/spree/products/54/product/DEMO_003_ror_mug.jpeg +0 -0
  757. data/spec/sandbox/public/spree/products/54/small/DEMO_003_ror_mug.jpeg +0 -0
  758. data/spec/sandbox/public/spree/products/56/large/DEMO_002_Powerstation.jpg +0 -0
  759. data/spec/sandbox/public/spree/products/56/mini/DEMO_002_Powerstation.jpg +0 -0
  760. data/spec/sandbox/public/spree/products/56/product/DEMO_002_Powerstation.jpg +0 -0
  761. data/spec/sandbox/public/spree/products/56/small/DEMO_002_Powerstation.jpg +0 -0
  762. data/spec/sandbox/public/spree/products/57/large/DEMO_003_ror_mug.jpeg +0 -0
  763. data/spec/sandbox/public/spree/products/57/mini/DEMO_003_ror_mug.jpeg +0 -0
  764. data/spec/sandbox/public/spree/products/57/product/DEMO_003_ror_mug.jpeg +0 -0
  765. data/spec/sandbox/public/spree/products/57/small/DEMO_003_ror_mug.jpeg +0 -0
  766. data/spec/sandbox/public/spree/products/58/large/DEMO_001_ror_bag.jpeg +0 -0
  767. data/spec/sandbox/public/spree/products/58/mini/DEMO_001_ror_bag.jpeg +0 -0
  768. data/spec/sandbox/public/spree/products/58/product/DEMO_001_ror_bag.jpeg +0 -0
  769. data/spec/sandbox/public/spree/products/58/small/DEMO_001_ror_bag.jpeg +0 -0
  770. data/spec/sandbox/public/spree/products/59/large/DEMO_002_Powerstation.jpg +0 -0
  771. data/spec/sandbox/public/spree/products/59/mini/DEMO_002_Powerstation.jpg +0 -0
  772. data/spec/sandbox/public/spree/products/59/product/DEMO_002_Powerstation.jpg +0 -0
  773. data/spec/sandbox/public/spree/products/59/small/DEMO_002_Powerstation.jpg +0 -0
  774. data/spec/sandbox/public/spree/products/60/large/DEMO_003_ror_mug.jpeg +0 -0
  775. data/spec/sandbox/public/spree/products/60/mini/DEMO_003_ror_mug.jpeg +0 -0
  776. data/spec/sandbox/public/spree/products/60/product/DEMO_003_ror_mug.jpeg +0 -0
  777. data/spec/sandbox/public/spree/products/60/small/DEMO_003_ror_mug.jpeg +0 -0
  778. data/spec/sandbox/public/spree/products/61/large/DEMO_001_ror_bag.jpeg +0 -0
  779. data/spec/sandbox/public/spree/products/61/mini/DEMO_001_ror_bag.jpeg +0 -0
  780. data/spec/sandbox/public/spree/products/61/product/DEMO_001_ror_bag.jpeg +0 -0
  781. data/spec/sandbox/public/spree/products/61/small/DEMO_001_ror_bag.jpeg +0 -0
  782. data/spec/sandbox/public/spree/products/62/large/DEMO_002_Powerstation.jpg +0 -0
  783. data/spec/sandbox/public/spree/products/62/mini/DEMO_002_Powerstation.jpg +0 -0
  784. data/spec/sandbox/public/spree/products/62/product/DEMO_002_Powerstation.jpg +0 -0
  785. data/spec/sandbox/public/spree/products/62/small/DEMO_002_Powerstation.jpg +0 -0
  786. data/spec/sandbox/public/spree/products/63/large/DEMO_003_ror_mug.jpeg +0 -0
  787. data/spec/sandbox/public/spree/products/63/mini/DEMO_003_ror_mug.jpeg +0 -0
  788. data/spec/sandbox/public/spree/products/63/product/DEMO_003_ror_mug.jpeg +0 -0
  789. data/spec/sandbox/public/spree/products/63/small/DEMO_003_ror_mug.jpeg +0 -0
  790. data/spec/sandbox/public/spree/products/64/large/DEMO_001_ror_bag.jpeg +0 -0
  791. data/spec/sandbox/public/spree/products/64/mini/DEMO_001_ror_bag.jpeg +0 -0
  792. data/spec/sandbox/public/spree/products/64/product/DEMO_001_ror_bag.jpeg +0 -0
  793. data/spec/sandbox/public/spree/products/64/small/DEMO_001_ror_bag.jpeg +0 -0
  794. data/spec/sandbox/public/spree/products/66/large/DEMO_003_ror_mug.jpeg +0 -0
  795. data/spec/sandbox/public/spree/products/66/mini/DEMO_003_ror_mug.jpeg +0 -0
  796. data/spec/sandbox/public/spree/products/66/product/DEMO_003_ror_mug.jpeg +0 -0
  797. data/spec/sandbox/public/spree/products/66/small/DEMO_003_ror_mug.jpeg +0 -0
  798. data/spec/sandbox/public/spree/products/8/large/DEMO_002_Powerstation.jpg +0 -0
  799. data/spec/sandbox/public/spree/products/8/mini/DEMO_002_Powerstation.jpg +0 -0
  800. data/spec/sandbox/public/spree/products/8/product/DEMO_002_Powerstation.jpg +0 -0
  801. data/spec/sandbox/public/spree/products/8/small/DEMO_002_Powerstation.jpg +0 -0
  802. data/spec/sandbox/tmp/cache/assets/D04/270/sprockets%2F635ace50c8c35cab803205496eed2146 +0 -41
  803. data/spec/sandbox/tmp/cache/assets/D08/C70/sprockets%2F02f4cf94f805b4ee70a1aa776602355c +0 -9
  804. data/spec/sandbox/tmp/cache/assets/D0B/730/sprockets%2Fd63ee64122f213e93626f25be4a35d5d +0 -6
  805. data/spec/sandbox/tmp/cache/assets/D10/370/sprockets%2Fc2793084fa0c48df282862bc45f72b2c +0 -13
  806. data/spec/sandbox/tmp/cache/assets/D1A/150/sprockets%2Fe3180c81cf520cc7e5b9a2885ec98923 +0 -19
  807. data/spec/sandbox/tmp/cache/assets/D28/190/sprockets%2F4eaae424d2725d30da3cb8245d8350c0 +0 -6
  808. data/spec/sandbox/tmp/cache/assets/D31/730/sprockets%2F3dfd818703e12cb1e1aff167a135571c +0 -41
  809. data/spec/sandbox/tmp/cache/assets/D34/B60/sprockets%2Fec323a4a5a3373a8293b3e8d66a7e4a1 +0 -13
  810. data/spec/sandbox/tmp/cache/assets/D45/470/sprockets%2F6cd19fc744a481edb66691c29410fd4d +0 -14
  811. data/spec/sandbox/tmp/cache/assets/D6C/350/sprockets%2F9827e04e3cac800a854fd2ec0b288bf4 +0 -0
  812. data/spec/sandbox/tmp/cache/assets/D6D/A50/sprockets%2Ff7ded4a6bfd410172459cf4710a6c74e +0 -3
  813. data/spec/sandbox/tmp/cache/assets/D6F/920/sprockets%2Fd5417b2f1926be13bbd689d1e5fcc526 +0 -14
  814. data/spec/sandbox/tmp/cache/assets/D74/F00/sprockets%2Ff4fbdd38742160ad3db7a76c938e83d1 +0 -45
  815. data/spec/sandbox/tmp/cache/assets/D78/860/sprockets%2F339f9afd4dbcbf97d0647817d343a71b +0 -3
  816. data/spec/sandbox/tmp/cache/assets/D7A/620/sprockets%2F59d4faa69df49cb38043c522eb78f19a +0 -45
  817. data/spec/sandbox/tmp/cache/assets/DA8/E00/sprockets%2F74af3c8bd250fbfc4d98fe9551441df3 +0 -0
  818. data/spec/sandbox/tmp/cache/assets/DC9/EE0/sprockets%2Fd73a6d912e56561bc3aef7e8adcc1d40 +0 -0
  819. data/spec/sandbox/tmp/cache/assets/DE0/9B0/sprockets%2F98b10e39eeb69f8cb419f5114eec8ffa +0 -239
  820. data/spec/sandbox/tmp/cache/assets/DFA/D70/sprockets%2F4ad1da8bda1b38077c809f3ebacf964c +0 -239
  821. data/spec/sandbox/tmp/cache/assets/E5A/810/sprockets%2Fbc9acd6ef9418cbacd83015fc46ead3c +0 -9
data/README.markdown CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Specific loaders and command line tasks for Spree E-Commerce.
4
4
 
5
- Wiki here : **https://github.com/autotelik/datashift/wiki**
5
+ Wiki here : **https://github.com/autotelik/datashift_spree/wiki**
6
6
 
7
7
  ### Features
8
8
 
@@ -21,35 +21,39 @@ Many example Spreadsheets/CSV files in spec/fixtures, fully documented with comm
21
21
 
22
22
  ## Installation
23
23
 
24
- Add gem 'datashift' to your Gemfile/bundle, or install the latest gem as usual :
25
24
 
26
- gem install datashift
25
+ Add to bundle :
27
26
 
28
- To use :
27
+ gem 'datashift_spree'
29
28
 
30
- gem 'datashift'
31
- require 'datashift'
29
+ Create a high level .thor file - e.g mysite.thor - in your applications root directory
32
30
 
33
31
 
34
- To use the Thor command line applications :
35
-
36
- Create a high level .thor file - e.g mysite.thor - in your applications root directory
37
-
38
- Edit the file and add the following to pull in the thor commands :
39
-
40
32
  ```ruby
41
- require 'thor'
42
- require 'datashift'
43
-
44
- DataShift::load_commands
33
+ require 'datashift_spree'
34
+ DataShift::SpreeHelper::load_commands
45
35
  ```
36
+
46
37
  To check the available tasks run
47
38
 
48
39
  bundle exc thor list datashift
49
40
 
50
41
  To get usage information use thor help <command>, for example
51
42
 
52
- bundle exec thor help datashift:generate:excel
43
+ bundle exec thor help datashift:spree:products
44
+
45
+ ```ruby
46
+ Usage:
47
+ thor datashift:spree:products -i, --input=INPUT
48
+
49
+ Options:
50
+ -i, --input=INPUT # The import file (.xls or .csv)
51
+ -s, [--sku-prefix=SKU_PREFIX] # Prefix to add to each SKU before saving Product
52
+ -v, [--verbose] # Verbose logging
53
+ -c, [--config=CONFIG] # Configuration file containg defaults or over rides in YAML
54
+
55
+ Populate Spree Product/Variant data from .xls (Excel) or CSV file
56
+ ```
53
57
 
54
58
 
55
59
  ## License
@@ -58,7 +62,7 @@ Copyright:: (c) Autotelik Media Ltd 2012
58
62
 
59
63
  Author :: Tom Statter
60
64
 
61
- Date :: Dec 2012
65
+ Date :: Oct 2012
62
66
 
63
67
  The MIT License
64
68
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.2.0
@@ -14,8 +14,8 @@ Gem::Specification.new do |s|
14
14
 
15
15
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
16
16
  s.authors = ["Thomas Statter"]
17
- s.date = "2012-09-10"
18
- s.description = "Comprehensive tools to import/export between Excel/CSV and ActiveRecord databases, Rails apps, and any Ruby project"
17
+ s.date = "2012-09-25"
18
+ s.description = "Comprehensive Excel/CSV import/export for Spree, Products,Images, any model with full associations"
19
19
  s.email = "rubygems@autotelik.co.uk"
20
20
 
21
21
  s.files = FileList["datashift_spree.thor",
@@ -25,12 +25,12 @@ Gem::Specification.new do |s|
25
25
  "LICENSE.txt",
26
26
  "{lib,spec}/**/*"].exclude("rdoc").exclude("nbproject").exclude("fixtures").exclude(".log").exclude(".contrib").to_a
27
27
 
28
- s.homepage = "http://github.com/autotelik/datashift"
28
+ s.homepage = "http://github.com/autotelik/datashift_spree"
29
29
  s.licenses = ["MIT"]
30
30
  s.require_paths = ["lib"]
31
31
  s.rubygems_version = "1.8.15"
32
32
  s.summary = "Shift data betwen Excel/CSV and Ruby"
33
33
 
34
- s.add_dependency(%q<datashift>, [">= 0.9.0"])
34
+ s.add_dependency(%q<datashift>, [">= 0.10.1"])
35
35
  end
36
36
 
data/datashift_spree.thor CHANGED
@@ -4,10 +4,9 @@
4
4
  #
5
5
  # License:: MIT - Free, OpenSource
6
6
  #
7
- # Details:: Gem::Specification for DataShift Spree gem.
8
- #
9
- # Provides support for moving data between .xls (Excel/OpenOffice)
10
- # Spreedsheets and CSV files specifically tailored for uploading or exporting
7
+ # Details:: General tools related to DataShiftSpree Gem : specification, build, deploy
8
+ #
9
+ # Provides specifically tailored support for uploading or exporting
11
10
  # Spree Products, associations and Images
12
11
 
13
12
 
@@ -50,6 +50,10 @@ module DataShift
50
50
  end
51
51
  end
52
52
 
53
+ def self.get_image_owner(product)
54
+ (SpreeHelper::version.to_f > 1) ? product.master : product
55
+ end
56
+
53
57
  def self.version
54
58
  Gem.loaded_specs['spree'] ? Gem.loaded_specs['spree'].version.version : "0.0.0"
55
59
  end
@@ -8,67 +8,44 @@ require 'loader_base'
8
8
 
9
9
  module DataShift
10
10
 
11
-
12
11
  module SpreeHelper
13
12
 
14
13
  # TODO - extract this out of SpreeHelper to create a general paperclip loader
15
- class ImageLoader < LoaderBase
16
-
17
- # include DataShift::SpreeImageLoading
18
- include DataShift::CsvLoading
19
- include DataShift::ExcelLoading
20
-
14
+ class ImageLoader < SpreeBaseLoader
15
+
21
16
  def initialize(image = nil, options = {})
22
17
 
23
18
  opts = options.merge(:load => false) # Don't need operators and no table Spree::Image
24
19
 
25
20
  super( DataShift::SpreeHelper::get_spree_class('Image'), image, opts )
26
21
 
27
- if(DataShift::SpreeHelper::version.to_f > 1.0 )
28
- @attachment_klazz = DataShift::SpreeHelper::get_spree_class('Variant' )
22
+ puts "Attachment Class is #{ImageLoader::attachment_klazz}" if(@verbose)
23
+ end
24
+
25
+ def self.attachment_klazz
26
+ @attachment_klazz ||= if(DataShift::SpreeHelper::version.to_f > 1.0 )
27
+ DataShift::SpreeHelper::get_spree_class('Variant' )
29
28
  else
30
- @attachment_klazz = DataShift::SpreeHelper::get_spree_class('Product' )
29
+ DataShift::SpreeHelper::get_spree_class('Product' )
31
30
  end
32
-
33
- puts "Attachment Class is #{@attachment_klazz}" if(@verbose)
34
-
35
- raise "Failed to create Image for loading" unless @load_object
31
+ @attachment_klazz
36
32
  end
37
33
 
38
34
  def process()
39
35
 
40
- if(current_value && @current_method_detail.operator?('attachment') )
41
-
42
- # assign the image file data as an attachment
43
- @load_object.attachment = get_file(current_value)
44
-
45
- puts "Image attachment created : #{@load_object.inspect}"
46
-
47
- elsif(current_value && @current_method_detail.operator )
36
+ if(current_value && @current_method_detail.operator )
48
37
 
49
38
  # find the db record to assign our Image to
50
- add_record( get_record_by(@attachment_klazz, @current_method_detail.operator, current_value) )
51
-
52
- end
53
-
54
- end
55
-
56
- def add_record(record)
57
- if(record)
58
- if(SpreeHelper::version.to_f > 1 )
59
- @load_object.viewable = record
60
- else
61
- @load_object.viewable = record.product # SKU stored on Variant but we want it's master Product
62
- end
63
- @load_object.save
64
- puts "Image viewable set : #{record.inspect}"
65
-
66
- else
67
- puts "WARNING - Cannot set viewable - No matching record supplied"
68
- logger.error"Failed to find a matching record"
39
+ @load_object = get_record_by(@@product_klass, @current_method_detail.operator, current_value)
40
+
41
+ @load_object = (SpreeHelper::version.to_f > 1) ? @load_object.master : @load_object
42
+
43
+ elsif(current_value && @current_method_detail.operator?('attachment') )
44
+
45
+ add_images( @load_object )
69
46
  end
47
+
70
48
  end
71
- end
72
-
49
+ end
73
50
  end
74
51
  end
@@ -5,42 +5,27 @@
5
5
  #
6
6
  # Details:: Specific over-rides/additions to support Spree Products
7
7
  #
8
- require 'loader_base'
9
- require 'csv_loader'
10
- require 'excel_loader'
11
-
12
- require 'image_loading'
8
+ require 'spree_base_loader'
13
9
 
14
10
  module DataShift
15
11
 
16
12
  module SpreeHelper
17
13
 
18
- class ProductLoader < LoaderBase
19
-
20
- include DataShift::CsvLoading
21
- include DataShift::ExcelLoading
22
- include DataShift::ImageLoading
14
+ class ProductLoader < SpreeBaseLoader
23
15
 
24
16
  # depending on version get_product_class should return us right class, namespaced or not
25
17
 
26
18
  def initialize(product = nil)
27
19
  super( DataShift::SpreeHelper::get_product_class(), product, :instance_methods => true )
28
20
 
29
- @@image_klass ||= DataShift::SpreeHelper::get_spree_class('Image')
30
- @@option_type_klass ||= DataShift::SpreeHelper::get_spree_class('OptionType')
31
- @@option_value_klass ||= DataShift::SpreeHelper::get_spree_class('OptionValue')
32
- @@property_klass ||= DataShift::SpreeHelper::get_spree_class('Property')
33
- @@product_property_klass ||= DataShift::SpreeHelper::get_spree_class('ProductProperty')
34
- @@taxonomy_klass ||= DataShift::SpreeHelper::get_spree_class('Taxonomy')
35
- @@taxon_klass ||= DataShift::SpreeHelper::get_spree_class('Taxon')
36
- @@variant_klass ||= DataShift::SpreeHelper::get_spree_class('Variant')
37
-
38
21
  raise "Failed to create Product for loading" unless @load_object
39
22
 
40
23
  logger.debug "PRODUCT #{@load_object.inspect} MASTER: #{@load_object.master.inspect}"
41
24
  end
42
25
 
43
- def perform_load( file_name, options = {} )
26
+ def perform_load( file_name, opts = {} )
27
+ options = opts.dup
28
+
44
29
  # In >= 1.1.0 Image moved to master Variant from Product so no association called Images on Product anymore
45
30
  options[:force_inclusion] = options[:force_inclusion] ? ['images'] : [*options[:force_inclusion]] << 'images'
46
31
 
@@ -71,7 +56,7 @@ module DataShift
71
56
 
72
57
  elsif(@current_method_detail.operator?('images') && current_value)
73
58
 
74
- add_images
59
+ add_images( (SpreeHelper::version.to_f > 1) ? @load_object.master : @load_object )
75
60
 
76
61
  elsif(current_value && (@current_method_detail.operator?('count_on_hand') || @current_method_detail.operator?('on_hand')) )
77
62
 
@@ -90,12 +75,12 @@ module DataShift
90
75
  # on_hand and on_hand=
91
76
  if(@load_object.variants.size > 0)
92
77
 
93
- if(current_value.to_s.include?(LoaderBase::multi_assoc_delim))
78
+ if(current_value.to_s.include?(Delimiters::multi_assoc_delim))
94
79
 
95
80
  #puts "DEBUG: COUNT_ON_HAND PER VARIANT",current_value.is_a?(String),
96
81
 
97
82
  # Check if we processed Option Types and assign count per option
98
- values = current_value.to_s.split(LoaderBase::multi_assoc_delim)
83
+ values = current_value.to_s.split(Delimiters::multi_assoc_delim)
99
84
 
100
85
  if(@load_object.variants.size == values.size)
101
86
  @load_object.variants.each_with_index {|v, i| v.on_hand = values[i].to_i }
@@ -108,9 +93,9 @@ module DataShift
108
93
  # Can only set count on hand on Product if no Variants exist, else model throws
109
94
 
110
95
  elsif(@load_object.variants.size == 0)
111
- if(current_value.to_s.include?(LoaderBase::multi_assoc_delim))
96
+ if(current_value.to_s.include?(Delimiters::multi_assoc_delim))
112
97
  puts "WARNING: Multiple count_on_hand values specified but no Variants/OptionTypes created"
113
- load_object.on_hand = current_value.to_s.split(LoaderBase::multi_assoc_delim).first.to_i
98
+ load_object.on_hand = current_value.to_s.split(Delimiters::multi_assoc_delim).first.to_i
114
99
  else
115
100
  load_object.on_hand = current_value.to_i
116
101
  end
@@ -144,7 +129,7 @@ module DataShift
144
129
 
145
130
  # example : mime_type:jpeg;print_type:black_white|mime_type:jpeg|mime_type:png, PDF;print_type:colour
146
131
 
147
- variants = get_each_assoc#current_value.split( LoaderBase::multi_assoc_delim )
132
+ variants = get_each_assoc#current_value.split( Delimiters::multi_assoc_delim )
148
133
 
149
134
  # 1) mime_type:jpeg;print_type:black_white 2) mime_type:jpeg 3) mime_type:png, PDF;print_type:colour
150
135
 
@@ -156,7 +141,7 @@ module DataShift
156
141
 
157
142
  option_types.each do |ostr|
158
143
 
159
- oname, value_str = ostr.split(LoaderBase::name_value_delim)
144
+ oname, value_str = ostr.split(Delimiters::name_value_delim)
160
145
 
161
146
  option_type = @@option_type_klass.find_by_name(oname)
162
147
 
@@ -229,31 +214,7 @@ module DataShift
229
214
  end
230
215
 
231
216
  end # each Variant
232
-
233
- # Special case for Images
234
- # A list of paths to Images with a optional 'alt' value - supplied in form :
235
- # path:alt|path2:alt2|path_3:alt3 etc
236
- #
237
- def add_images
238
- # TODO smart column ordering to ensure always valid by time we get to associations
239
- save_if_new
240
-
241
- images = get_each_assoc#current_value.split(LoaderBase::multi_assoc_delim)
242
-
243
- images.each do |image|
244
- puts "Add Image #{image}"
245
- img_path, alt_text = image.split(LoaderBase::name_value_delim)
246
-
247
- # moved from Prod to Variant in spree 1.x.x
248
- attachment = (SpreeHelper::version.to_f > 1) ? @load_object.master : @load_object
249
-
250
- image = create_image(@@image_klass, img_path, attachment, :alt => alt_text)
251
- logger.debug("Product assigned an Image : #{image.inspect}")
252
- end
253
-
254
- end
255
-
256
-
217
+
257
218
  # Special case for ProductProperties since it can have additional value applied.
258
219
  # A list of Properties with a optional Value - supplied in form :
259
220
  # property_name:value|property_name|property_name:value
@@ -264,7 +225,7 @@ module DataShift
264
225
  # TODO smart column ordering to ensure always valid by time we get to associations
265
226
  save_if_new
266
227
 
267
- property_list = get_each_assoc#current_value.split(LoaderBase::multi_assoc_delim)
228
+ property_list = get_each_assoc#current_value.split(Delimiters::multi_assoc_delim)
268
229
 
269
230
  property_list.each do |pstr|
270
231
 
@@ -307,7 +268,7 @@ module DataShift
307
268
  # TODO smart column ordering to ensure always valid by time we get to associations
308
269
  save_if_new
309
270
 
310
- chain_list = get_each_assoc # potentially multiple chains in single column (delimited by LoaderBase::multi_assoc_delim)
271
+ chain_list = get_each_assoc # potentially multiple chains in single column (delimited by Delimiters::multi_assoc_delim)
311
272
 
312
273
  chain_list.each do |chain|
313
274
 
@@ -0,0 +1,64 @@
1
+ # Copyright:: (c) Autotelik Media Ltd 2010
2
+ # Author :: Tom Statter
3
+ # Date :: Aug 2010
4
+ # License:: MIT ?
5
+ #
6
+ # Details:: Specific over-rides/additions to support Spree Products
7
+ #
8
+ require 'loader_base'
9
+
10
+ require 'csv_loader'
11
+ require 'excel_loader'
12
+ require 'image_loading'
13
+
14
+ module DataShift
15
+
16
+ class SpreeBaseLoader < LoaderBase
17
+
18
+ include DataShift::CsvLoading
19
+ include DataShift::ExcelLoading
20
+ include DataShift::ImageLoading
21
+
22
+ # depending on version get_product_class should return us right class, namespaced or not
23
+
24
+ def initialize(klass, loader_object = nil, options = {})
25
+
26
+ super(klass, loader_object, options )
27
+
28
+ @@image_klass ||= DataShift::SpreeHelper::get_spree_class('Image')
29
+ @@option_type_klass ||= DataShift::SpreeHelper::get_spree_class('OptionType')
30
+ @@option_value_klass ||= DataShift::SpreeHelper::get_spree_class('OptionValue')
31
+ @@product_klass ||= DataShift::SpreeHelper::get_spree_class('Product')
32
+ @@property_klass ||= DataShift::SpreeHelper::get_spree_class('Property')
33
+ @@product_property_klass ||= DataShift::SpreeHelper::get_spree_class('ProductProperty')
34
+ @@taxonomy_klass ||= DataShift::SpreeHelper::get_spree_class('Taxonomy')
35
+ @@taxon_klass ||= DataShift::SpreeHelper::get_spree_class('Taxon')
36
+ @@variant_klass ||= DataShift::SpreeHelper::get_spree_class('Variant')
37
+ end
38
+
39
+ # Special case for Images
40
+ #
41
+ # A list of entries for Images. Multiple entries delimited by Delimiters::multi_assoc_delim
42
+ #
43
+ # Each entry can with a optional 'alt' value - supplied in form :
44
+ #
45
+ # => path_1:alt|path_2:alt|path_3:alt
46
+ #
47
+ def add_images( record )
48
+ # TODO smart column ordering to ensure always valid by time we get to associations
49
+ save_if_new
50
+
51
+ image_data = get_each_assoc
52
+
53
+ image_data.each do |image|
54
+
55
+ path, alt_text = image.split(Delimiters::name_value_delim)
56
+
57
+ create_attachment(@@image_klass, path, record, :viewable, :alt => alt_text)
58
+
59
+ logger.debug("Product assigned Image from : #{path.inspect}")
60
+ end
61
+
62
+ end
63
+ end
64
+ end
@@ -121,15 +121,15 @@ module Datashift
121
121
  puts "Using Product Name for lookup" unless(options[:sku])
122
122
  puts "Using SKU for lookup" if(options[:sku])
123
123
 
124
- image_klazz = DataShift::SpreeHelper::get_spree_class('Image' )
124
+ # image_klazz = DataShift::SpreeHelper::get_spree_class('Image' )
125
125
 
126
- attachment_klazz = DataShift::SpreeHelper::get_spree_class('Product' )
127
- attachment_field = 'name'
126
+ # attachment_klazz = DataShift::SpreeHelper::get_spree_class('Product' )
127
+ # attachment_field = 'name'
128
128
 
129
- if(options[:sku] || SpreeHelper::version.to_f > 1)
130
- attachment_klazz = DataShift::SpreeHelper::get_spree_class('Variant' )
131
- attachment_field = 'sku'
132
- end
129
+ # if(options[:sku] || SpreeHelper::version.to_f > 1)
130
+ # attachment_klazz = DataShift::SpreeHelper::get_spree_class('Variant' )
131
+ # attachment_field = 'sku'
132
+ # end
133
133
 
134
134
  image_loader = DataShift::SpreeHelper::ImageLoader.new(nil, options)
135
135
 
data/spec/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../../datashift
3
3
  specs:
4
- datashift (0.10.0)
4
+ datashift (0.10.1)
5
5
  rubyzip
6
6
  spreadsheet
7
7
 
@@ -64,7 +64,7 @@ GEM
64
64
  builder (>= 2.0.0)
65
65
  builder (3.0.3)
66
66
  cancan (1.6.7)
67
- cocaine (0.3.0)
67
+ cocaine (0.3.1)
68
68
  deface (0.9.1)
69
69
  nokogiri (~> 1.5.0)
70
70
  rails (~> 3.1)
@@ -156,7 +156,7 @@ GEM
156
156
  rspec-core (2.11.1)
157
157
  rspec-expectations (2.11.3)
158
158
  diff-lcs (~> 1.1.3)
159
- rspec-mocks (2.11.2)
159
+ rspec-mocks (2.11.3)
160
160
  rspec-rails (2.11.0)
161
161
  actionpack (>= 3.0)
162
162
  activesupport (>= 3.0)