spree_order_reporting 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/jobs/order_reporting/recurring_report_delayed_job.rb +4 -1
- data/lib/order_reporting/report.rb +2 -0
- data/lib/order_reporting/schedulers/delayed_job_scheduler.rb +4 -0
- data/lib/order_reporting/version.rb +1 -1
- data/spec/dummy/app/assets/stylesheets/application.css +1 -1
- data/spec/dummy/bin/rails +1 -1
- data/spec/dummy/config.ru +1 -1
- data/spec/dummy/config/application.rb +1 -4
- data/spec/dummy/config/environments/development.rb +0 -4
- data/spec/dummy/config/environments/production.rb +12 -13
- data/spec/dummy/config/environments/test.rb +1 -1
- data/spec/dummy/config/initializers/assets.rb +0 -3
- data/spec/dummy/config/initializers/cookies_serializer.rb +1 -1
- data/spec/dummy/config/initializers/devise.rb +1 -1
- data/spec/dummy/config/initializers/spree.rb +8 -51
- data/spec/dummy/config/secrets.yml +2 -2
- data/spec/dummy/config/spree.yml +2 -0
- data/spec/dummy/db/migrate/{20160707103353_spree_one_two.spree.rb → 20160708163029_spree_one_two.spree.rb} +36 -36
- data/spec/dummy/db/migrate/{20160707103354_spree_promo_one_two.spree.rb → 20160708163030_spree_promo_one_two.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103355_add_tax_rate_label.spree.rb → 20160708163031_add_tax_rate_label.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103356_add_toggle_tax_rate_display.spree.rb → 20160708163032_add_toggle_tax_rate_display.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103357_remove_unused_preference_columns.spree.rb → 20160708163033_remove_unused_preference_columns.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103358_add_lock_version_to_variant.spree.rb → 20160708163034_add_lock_version_to_variant.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103359_add_states_required_to_countries.spree.rb → 20160708163035_add_states_required_to_countries.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103360_add_on_demand_to_product_and_variant.spree.rb → 20160708163036_add_on_demand_to_product_and_variant.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103361_remove_not_null_constraint_from_products_on_hand.spree.rb → 20160708163037_remove_not_null_constraint_from_products_on_hand.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103362_split_prices_from_variants.spree.rb → 20160708163038_split_prices_from_variants.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103363_remove_not_null_from_spree_prices_amount.spree.rb → 20160708163039_remove_not_null_from_spree_prices_amount.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103364_add_currency_to_line_items.spree.rb → 20160708163040_add_currency_to_line_items.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103365_add_currency_to_orders.spree.rb → 20160708163041_add_currency_to_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103366_add_cost_currency_to_variants.spree.rb → 20160708163042_add_cost_currency_to_variants.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103367_remove_display_on_from_payment_methods.spree.rb → 20160708163043_remove_display_on_from_payment_methods.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103368_add_position_to_taxonomies.spree.rb → 20160708163044_add_position_to_taxonomies.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103369_add_last_ip_to_spree_orders.spree.rb → 20160708163045_add_last_ip_to_spree_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103370_add_state_to_spree_adjustments.spree.rb → 20160708163046_add_state_to_spree_adjustments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103371_add_display_on_to_spree_payment_methods.spree.rb → 20160708163047_add_display_on_to_spree_payment_methods.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103372_add_position_to_product_properties.spree.rb → 20160708163048_add_position_to_product_properties.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103373_add_identifier_to_spree_payments.spree.rb → 20160708163049_add_identifier_to_spree_payments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103374_add_order_id_index_to_payments.spree.rb → 20160708163050_add_order_id_index_to_payments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103375_add_primary_to_spree_products_taxons.spree.rb → 20160708163051_add_primary_to_spree_products_taxons.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103376_create_spree_stock_items.spree.rb → 20160708163052_create_spree_stock_items.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103377_create_spree_stock_locations.spree.rb → 20160708163053_create_spree_stock_locations.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103378_create_default_stock.spree.rb → 20160708163054_create_default_stock.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103379_add_order_id_index_to_shipments.spree.rb → 20160708163055_add_order_id_index_to_shipments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103380_change_meta_description_on_spree_products_to_text.spree.rb → 20160708163056_change_meta_description_on_spree_products_to_text.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103381_add_stock_location_id_to_spree_shipments.spree.rb → 20160708163057_add_stock_location_id_to_spree_shipments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103382_add_pending_to_inventory_unit.spree.rb → 20160708163058_add_pending_to_inventory_unit.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103383_remove_on_demand_from_product_and_variant.spree.rb → 20160708163059_remove_on_demand_from_product_and_variant.spree.rb} +0 -0
- data/spec/dummy/db/migrate/20160708163060_create_shipping_method_zone.spree.rb +23 -0
- data/spec/dummy/db/migrate/{20160707103385_remove_shipping_category_id_from_shipping_method.spree.rb → 20160708163061_remove_shipping_category_id_from_shipping_method.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103386_create_shipping_method_categories.spree.rb → 20160708163062_create_shipping_method_categories.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103387_add_tracking_url_to_spree_shipping_methods.spree.rb → 20160708163063_add_tracking_url_to_spree_shipping_methods.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103388_create_spree_shipping_rates.spree.rb → 20160708163064_create_spree_shipping_rates.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103389_remove_category_match_attributes_from_shipping_method.spree.rb → 20160708163065_remove_category_match_attributes_from_shipping_method.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103390_create_stock_movements.spree.rb → 20160708163066_create_stock_movements.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103391_add_address_fields_to_stock_location.spree.rb → 20160708163067_add_address_fields_to_stock_location.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103392_add_active_field_to_stock_locations.spree.rb → 20160708163068_add_active_field_to_stock_locations.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103393_add_backorderable_to_stock_item.spree.rb → 20160708163069_add_backorderable_to_stock_item.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103394_add_default_quantity_to_stock_movement.spree.rb → 20160708163070_add_default_quantity_to_stock_movement.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103395_add_source_and_destination_to_stock_movements.spree.rb → 20160708163071_add_source_and_destination_to_stock_movements.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103396_change_orders_total_precision.spree.rb → 20160708163072_change_orders_total_precision.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103397_change_spree_payments_amount_precision.spree.rb → 20160708163073_change_spree_payments_amount_precision.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103398_change_spree_return_authorization_amount_precision.spree.rb → 20160708163074_change_spree_return_authorization_amount_precision.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103399_change_adjustments_amount_precision.spree.rb → 20160708163075_change_adjustments_amount_precision.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103400_add_originator_to_stock_movement.spree.rb → 20160708163076_add_originator_to_stock_movement.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103401_drop_source_and_destination_from_stock_movement.spree.rb → 20160708163077_drop_source_and_destination_from_stock_movement.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103402_migrate_inventory_unit_sold_to_on_hand.spree.rb → 20160708163078_migrate_inventory_unit_sold_to_on_hand.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103403_add_stock_location_to_rma.spree.rb → 20160708163079_add_stock_location_to_rma.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103404_update_shipment_state_for_canceled_orders.spree.rb → 20160708163080_update_shipment_state_for_canceled_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103405_add_seo_metas_to_taxons.spree.rb → 20160708163081_add_seo_metas_to_taxons.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103406_remove_stock_item_and_variant_lock.spree.rb → 20160708163082_remove_stock_item_and_variant_lock.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103407_add_name_to_spree_credit_cards.spree.rb → 20160708163083_add_name_to_spree_credit_cards.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103408_update_name_fields_on_spree_credit_cards.spree.rb → 20160708163084_update_name_fields_on_spree_credit_cards.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103409_add_index_to_source_columns_on_adjustments.spree.rb → 20160708163085_add_index_to_source_columns_on_adjustments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103410_update_adjustment_states.spree.rb → 20160708163086_update_adjustment_states.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103411_add_shipping_rates_to_shipments.spree.rb → 20160708163087_add_shipping_rates_to_shipments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103412_create_spree_stock_transfers.spree.rb → 20160708163088_create_spree_stock_transfers.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103413_drop_products_count_on_hand.spree.rb → 20160708163089_drop_products_count_on_hand.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103414_set_default_shipping_rate_cost.spree.rb → 20160708163090_set_default_shipping_rate_cost.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103415_add_number_to_stock_transfer.spree.rb → 20160708163091_add_number_to_stock_transfer.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103416_add_sku_index_to_spree_variants.spree.rb → 20160708163092_add_sku_index_to_spree_variants.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103417_add_backorderable_default_to_spree_stock_location.spree.rb → 20160708163093_add_backorderable_default_to_spree_stock_location.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103418_add_propage_all_variants_to_spree_stock_location.spree.rb → 20160708163094_add_propage_all_variants_to_spree_stock_location.spree.rb} +0 -0
- data/spec/dummy/db/migrate/20160708163095_rename_shipping_methods_zones_to_spree_shipping_methods_zones.spree.rb +11 -0
- data/spec/dummy/db/migrate/{20160707103420_add_user_id_index_to_spree_orders.spree.rb → 20160708163096_add_user_id_index_to_spree_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103421_add_updated_at_to_spree_countries.spree.rb → 20160708163097_add_updated_at_to_spree_countries.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103422_add_updated_at_to_spree_states.spree.rb → 20160708163098_add_updated_at_to_spree_states.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103423_add_cvv_result_code_and_cvv_result_message_to_spree_payments.spree.rb → 20160708163099_add_cvv_result_code_and_cvv_result_message_to_spree_payments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103424_add_unique_index_to_permalink_on_spree_products.spree.rb → 20160708163100_add_unique_index_to_permalink_on_spree_products.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103425_add_unique_index_to_orders_shipments_and_stock_transfers.spree.rb → 20160708163101_add_unique_index_to_orders_shipments_and_stock_transfers.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103426_add_deleted_at_to_spree_tax_rates.spree.rb → 20160708163102_add_deleted_at_to_spree_tax_rates.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103427_remove_lock_version_from_inventory_units.spree.rb → 20160708163103_remove_lock_version_from_inventory_units.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103428_add_cost_price_to_line_item.spree.rb → 20160708163104_add_cost_price_to_line_item.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103429_set_backorderable_to_default_to_false.spree.rb → 20160708163105_set_backorderable_to_default_to_false.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103430_add_created_by_id_to_spree_orders.spree.rb → 20160708163106_add_created_by_id_to_spree_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103431_index_completed_at_on_spree_orders.spree.rb → 20160708163107_index_completed_at_on_spree_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103432_add_tax_category_id_to_spree_line_items.spree.rb → 20160708163108_add_tax_category_id_to_spree_line_items.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103433_migrate_tax_categories_to_line_items.spree.rb → 20160708163109_migrate_tax_categories_to_line_items.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103434_drop_spree_mail_methods.spree.rb → 20160708163110_drop_spree_mail_methods.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103435_set_default_stock_location_on_shipments.spree.rb → 20160708163111_set_default_stock_location_on_shipments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103436_upgrade_adjustments.spree.rb → 20160708163112_upgrade_adjustments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103437_rename_adjustment_fields.spree.rb → 20160708163113_rename_adjustment_fields.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103438_add_admin_name_column_to_spree_shipping_methods.spree.rb → 20160708163114_add_admin_name_column_to_spree_shipping_methods.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103439_add_admin_name_column_to_spree_stock_locations.spree.rb → 20160708163115_add_admin_name_column_to_spree_stock_locations.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103440_add_shipment_total_to_spree_orders.spree.rb → 20160708163116_add_shipment_total_to_spree_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103441_expand_order_number_size.spree.rb → 20160708163117_expand_order_number_size.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103442_rename_activators_to_promotions.spree.rb → 20160708163118_rename_activators_to_promotions.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103443_add_adjustment_total_to_line_items.spree.rb → 20160708163119_add_adjustment_total_to_line_items.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103444_add_adjustment_total_to_shipments.spree.rb → 20160708163120_add_adjustment_total_to_shipments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103445_add_depth_to_spree_taxons.spree.rb → 20160708163121_add_depth_to_spree_taxons.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103446_add_tax_total_to_line_items_shipments_and_orders.spree.rb → 20160708163122_add_tax_total_to_line_items_shipments_and_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103447_add_shipping_category_to_shipping_methods_and_products.spree.rb → 20160708163123_add_shipping_category_to_shipping_methods_and_products.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103448_migrate_old_shipping_calculators.spree.rb → 20160708163124_migrate_old_shipping_calculators.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103449_add_code_to_spree_promotion_rules.spree.rb → 20160708163125_add_code_to_spree_promotion_rules.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103450_change_states_required_for_countries.spree.rb → 20160708163126_change_states_required_for_countries.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103451_add_deleted_at_to_spree_stock_items.spree.rb → 20160708163127_add_deleted_at_to_spree_stock_items.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103452_remove_promotions_event_name_field.spree.rb → 20160708163128_remove_promotions_event_name_field.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103453_add_promo_total_to_line_items_and_shipments_and_orders.spree.rb → 20160708163129_add_promo_total_to_line_items_and_shipments_and_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103454_remove_unused_credit_card_fields.spree.rb → 20160708163130_remove_unused_credit_card_fields.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103455_add_track_inventory_to_variant.spree.rb → 20160708163131_add_track_inventory_to_variant.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103456_add_tax_category_to_variants.spree.rb → 20160708163132_add_tax_category_to_variants.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103457_add_channel_to_spree_orders.spree.rb → 20160708163133_add_channel_to_spree_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103458_add_included_to_adjustments.spree.rb → 20160708163134_add_included_to_adjustments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103459_rename_tax_total_fields.spree.rb → 20160708163135_rename_tax_total_fields.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103460_add_line_item_id_to_spree_inventory_units.spree.rb → 20160708163136_add_line_item_id_to_spree_inventory_units.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103461_add_updated_at_to_variants.spree.rb → 20160708163137_add_updated_at_to_variants.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103462_add_position_to_classifications.spree.rb → 20160708163138_add_position_to_classifications.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103463_create_spree_orders_promotions.spree.rb → 20160708163139_create_spree_orders_promotions.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103464_unique_shipping_method_categories.spree.rb → 20160708163140_unique_shipping_method_categories.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103465_add_item_count_to_spree_orders.spree.rb → 20160708163141_add_item_count_to_spree_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103466_remove_value_type_from_spree_preferences.spree.rb → 20160708163142_remove_value_type_from_spree_preferences.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103467_rename_permalink_to_slug_for_products.spree.rb → 20160708163143_rename_permalink_to_slug_for_products.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103468_add_index_to_variant_id_and_currency_on_prices.spree.rb → 20160708163144_add_index_to_variant_id_and_currency_on_prices.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103469_rename_activator_id_in_rules_and_actions_to_promotion_id.spree.rb → 20160708163145_rename_activator_id_in_rules_and_actions_to_promotion_id.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103470_add_deleted_at_to_spree_prices.spree.rb → 20160708163146_add_deleted_at_to_spree_prices.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103471_add_approver_id_and_approved_at_to_orders.spree.rb → 20160708163147_add_approver_id_and_approved_at_to_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103472_add_confirmation_delivered_to_spree_orders.spree.rb → 20160708163148_add_confirmation_delivered_to_spree_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103473_add_auto_capture_to_payment_methods.spree.rb → 20160708163149_add_auto_capture_to_payment_methods.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103474_create_spree_payment_capture_events.spree.rb → 20160708163150_create_spree_payment_capture_events.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103475_add_uncaptured_amount_to_payments.spree.rb → 20160708163151_add_uncaptured_amount_to_payments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103476_default_variant_weight_to_zero.spree.rb → 20160708163152_default_variant_weight_to_zero.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103477_add_tax_category_id_to_shipping_methods.spree.rb → 20160708163153_add_tax_category_id_to_shipping_methods.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103478_add_tax_rate_id_to_shipping_rates.spree.rb → 20160708163154_add_tax_rate_id_to_shipping_rates.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103479_add_pre_tax_amount_to_line_items_and_shipments.spree.rb → 20160708163155_add_pre_tax_amount_to_line_items_and_shipments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103480_add_more_indexes.spree.rb → 20160708163156_add_more_indexes.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103481_add_considered_risky_to_orders.spree.rb → 20160708163157_add_considered_risky_to_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103482_add_preference_store_to_everything.spree.rb → 20160708163158_add_preference_store_to_everything.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103483_add_user_id_to_spree_credit_cards.spree.rb → 20160708163159_add_user_id_to_spree_credit_cards.spree.rb} +0 -0
- data/spec/dummy/db/migrate/20160708163160_migrate_old_preferences.spree.rb +24 -0
- data/spec/dummy/db/migrate/{20160707103485_create_spree_stores.spree.rb → 20160708163161_create_spree_stores.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103486_create_store_from_preferences.spree.rb → 20160708163162_create_store_from_preferences.spree.rb} +12 -8
- data/spec/dummy/db/migrate/{20160707103487_add_timestamps_to_spree_assets.spree.rb → 20160708163163_add_timestamps_to_spree_assets.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103488_create_spree_taxons_promotion_rules.spree.rb → 20160708163164_create_spree_taxons_promotion_rules.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103489_add_additional_store_fields.spree.rb → 20160708163165_add_additional_store_fields.spree.rb} +0 -0
- data/spec/dummy/db/migrate/20160708163166_add_many_missing_indexes.spree.rb +19 -0
- data/spec/dummy/db/migrate/20160708163167_correct_some_polymorphic_index_and_add_more_missing.spree.rb +67 -0
- data/spec/dummy/db/migrate/{20160707103492_add_user_id_created_by_id_index_to_order.spree.rb → 20160708163168_add_user_id_created_by_id_index_to_order.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103493_change_spree_price_amount_precision.spree.rb → 20160708163169_change_spree_price_amount_precision.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103494_add_token_to_spree_orders.spree.rb → 20160708163170_add_token_to_spree_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103495_move_order_token_from_tokenized_permission.spree.rb → 20160708163171_move_order_token_from_tokenized_permission.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103496_set_shipment_total_for_users_upgrading.spree.rb → 20160708163172_set_shipment_total_for_users_upgrading.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103497_drop_credit_card_first_name_and_last_name.spree.rb → 20160708163173_drop_credit_card_first_name_and_last_name.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103498_add_deleted_at_to_spree_promotion_actions.spree.rb → 20160708163174_add_deleted_at_to_spree_promotion_actions.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103499_remove_uncaptured_amount_from_spree_payments.spree.rb → 20160708163175_remove_uncaptured_amount_from_spree_payments.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103500_create_spree_refunds.spree.rb → 20160708163176_create_spree_refunds.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103501_create_spree_return_authorization_inventory_unit.spree.rb → 20160708163177_create_spree_return_authorization_inventory_unit.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103502_rename_return_authorization_inventory_unit_to_return_items.spree.rb → 20160708163178_rename_return_authorization_inventory_unit_to_return_items.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103504_backfill_line_item_pre_tax_amount.spree.rb → 20160708163179_backfill_line_item_pre_tax_amount.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103505_recreate_spree_return_authorizations.spree.rb → 20160708163180_recreate_spree_return_authorizations.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103506_add_amount_fields_to_return_items.spree.rb → 20160708163181_add_amount_fields_to_return_items.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103507_drop_return_authorization_amount.spree.rb → 20160708163182_drop_return_authorization_amount.spree.rb} +0 -0
- data/spec/dummy/db/migrate/20160708163183_create_spree_return_authorization_reasons.spree.rb +29 -0
- data/spec/dummy/db/migrate/{20160707103509_create_spree_refund_reasons.spree.rb → 20160708163184_create_spree_refund_reasons.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103510_rename_return_authorization_reason.spree.rb → 20160708163185_rename_return_authorization_reason.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103511_create_spree_promotion_categories.spree.rb → 20160708163186_create_spree_promotion_categories.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103512_drop_received_at_on_return_items.spree.rb → 20160708163187_drop_received_at_on_return_items.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103513_add_reception_and_acceptance_status_to_return_items.spree.rb → 20160708163188_add_reception_and_acceptance_status_to_return_items.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103514_create_default_refund_reason.spree.rb → 20160708163189_create_default_refund_reason.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103515_add_default_to_spree_stock_locations.spree.rb → 20160708163190_add_default_to_spree_stock_locations.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103516_create_spree_customer_returns.spree.rb → 20160708163191_create_spree_customer_returns.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103517_add_customer_return_id_to_return_item.spree.rb → 20160708163192_add_customer_return_id_to_return_item.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103518_create_friendly_id_slugs.spree.rb → 20160708163193_create_friendly_id_slugs.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103519_rename_spree_refund_return_authorization_id.spree.rb → 20160708163194_rename_spree_refund_return_authorization_id.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103520_increase_return_item_pre_tax_amount_precision.spree.rb → 20160708163195_increase_return_item_pre_tax_amount_precision.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103521_copy_product_slugs_to_slug_history.spree.rb → 20160708163196_copy_product_slugs_to_slug_history.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103522_create_spree_reimbursements.spree.rb → 20160708163197_create_spree_reimbursements.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103523_add_promotionable_to_spree_products.spree.rb → 20160708163198_add_promotionable_to_spree_products.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103524_add_exchange_inventory_unit_foreign_keys.spree.rb → 20160708163199_add_exchange_inventory_unit_foreign_keys.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103525_add_acceptance_status_errors_to_return_item.spree.rb → 20160708163200_add_acceptance_status_errors_to_return_item.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103526_create_spree_reimbursement_types.spree.rb → 20160708163201_create_spree_reimbursement_types.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103527_add_default_to_shipment_cost.spree.rb → 20160708163202_add_default_to_shipment_cost.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103528_add_default_to_spree_credit_cards.spree.rb → 20160708163203_add_default_to_spree_credit_cards.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103529_make_existing_credit_cards_default.spree.rb → 20160708163204_make_existing_credit_cards_default.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103530_add_type_to_reimbursement_type.spree.rb → 20160708163205_add_type_to_reimbursement_type.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103531_create_spree_reimbursement_credits.spree.rb → 20160708163206_create_spree_reimbursement_credits.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103532_add_meta_title_to_spree_products.spree.rb → 20160708163207_add_meta_title_to_spree_products.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103533_add_code_to_spree_tax_categories.spree.rb → 20160708163208_add_code_to_spree_tax_categories.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103534_default_pre_tax_amount_should_be_zero.spree.rb → 20160708163209_default_pre_tax_amount_should_be_zero.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103535_add_code_to_spree_shipping_methods.spree.rb → 20160708163210_add_code_to_spree_shipping_methods.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103536_add_cancel_audit_fields_to_spree_orders.spree.rb → 20160708163211_add_cancel_audit_fields_to_spree_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/20160708163212_add_store_id_to_orders.spree.rb +9 -0
- data/spec/dummy/db/migrate/{20160707103538_create_spree_taxons_prototypes.spree.rb → 20160708163213_create_spree_taxons_prototypes.spree.rb} +0 -0
- data/spec/dummy/db/migrate/20160708163214_add_state_lock_version_to_order.spree.rb +6 -0
- data/spec/dummy/db/migrate/20160708163215_add_counter_cache_from_spree_variants_to_spree_stock_items.spree.rb +14 -0
- data/spec/dummy/db/migrate/{20160707103540_fix_adjustment_order_presence.spree.rb → 20160708163216_fix_adjustment_order_presence.spree.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103541_update_classifications_positions.spree.rb → 20160708163217_update_classifications_positions.spree.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103542_add_guest_token_index_to_spree_orders.spree.rb → 20160708163218_add_guest_token_index_to_spree_orders.spree.rb} +0 -0
- data/spec/dummy/db/migrate/20160708163219_fix_adjustment_order_id.spree.rb +71 -0
- data/spec/dummy/db/migrate/20160708163220_add_deleted_at_to_friendly_id_slugs.spree.rb +7 -0
- data/spec/dummy/db/migrate/20160708163221_enable_acts_as_paranoid_on_calculators.spree.rb +7 -0
- data/spec/dummy/db/migrate/{20160707103631_add_api_key_to_spree_users.spree_api.rb → 20160708163222_add_api_key_to_spree_users.spree_api.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103632_resize_api_key_field.spree_api.rb → 20160708163223_resize_api_key_field.spree_api.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103633_rename_api_key_to_spree_api_key.spree_api.rb → 20160708163224_rename_api_key_to_spree_api_key.spree_api.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103634_add_index_to_user_spree_api_key.spree_api.rb → 20160708163225_add_index_to_user_spree_api_key.spree_api.rb} +0 -0
- data/spec/dummy/db/migrate/{20160707103635_create_users.solidus_auth.rb → 20160708163226_create_users.spree_auth.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103636_rename_columns_for_devise.solidus_auth.rb → 20160708163227_rename_columns_for_devise.spree_auth.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103637_convert_user_remember_field.solidus_auth.rb → 20160708163228_convert_user_remember_field.spree_auth.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103638_add_reset_password_sent_at_to_spree_users.solidus_auth.rb → 20160708163229_add_reset_password_sent_at_to_spree_users.spree_auth.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103639_make_users_email_index_unique.solidus_auth.rb → 20160708163230_make_users_email_index_unique.spree_auth.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103640_add_deleted_at_to_users.solidus_auth.rb → 20160708163231_add_deleted_at_to_users.spree_auth.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103641_add_confirmable_to_users.solidus_auth.rb → 20160708163232_add_confirmable_to_users.spree_auth.rb} +1 -1
- data/spec/dummy/db/migrate/{20160707103642_create_delayed_jobs.rb → 20160708163233_create_delayed_jobs.rb} +0 -0
- data/spec/dummy/db/schema.rb +210 -397
- data/spec/dummy/db/spree_test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +15949 -8818
- data/spec/dummy/tmp/cache/2CC/B21/spree%2Fapp_configuration%2Frequire_master_price +1 -0
- data/spec/dummy/tmp/cache/397/F31/spree%2Fapp_configuration%2Fbinary_inventory_cache +1 -0
- data/spec/dummy/tmp/cache/39C/F91/spree%2Fapp_configuration%2Ftax_using_ship_address +1 -0
- data/spec/dummy/tmp/cache/3A7/4A1/spree%2Fapp_configuration%2Faddress_requires_state +1 -0
- data/spec/dummy/tmp/cache/3BE/851/spree%2Fapp_configuration%2Ftrack_inventory_levels +1 -0
- data/spec/dummy/tmp/cache/5AE/6A1/spree%2Fapp_configuration%2Falways_include_confirm_step +1 -0
- data/spec/dummy/tmp/cache/DDD/2D0/spree%2Fapp_configuration%2Fcurrency +1 -0
- data/spec/dummy/tmp/cache/F65/550/spree%2Fauth_configuration%2Fconfirmable +1 -1
- data/spec/dummy/vendor/assets/javascripts/spree/backend/all.js +3 -0
- data/spec/dummy/vendor/assets/javascripts/spree/frontend/all.js +3 -0
- data/spec/dummy/vendor/assets/stylesheets/spree/backend/all.css +3 -0
- data/spec/dummy/vendor/assets/stylesheets/spree/frontend/all.css +3 -0
- data/spec/features/recurring_reports_spec.rb +1 -1
- data/spec/unit/lib/order_reporting/delayed_job_scheduler_spec.rb +12 -2
- metadata +428 -584
- data/spec/dummy/bin/setup +0 -29
- data/spec/dummy/db/migrate/20160707103384_create_shipping_method_zone.spree.rb +0 -22
- data/spec/dummy/db/migrate/20160707103419_rename_shipping_methods_zones_to_spree_shipping_methods_zones.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103484_migrate_old_preferences.spree.rb +0 -52
- data/spec/dummy/db/migrate/20160707103490_add_many_missing_indexes.spree.rb +0 -20
- data/spec/dummy/db/migrate/20160707103491_correct_some_polymorphic_index_and_add_more_missing.spree.rb +0 -66
- data/spec/dummy/db/migrate/20160707103503_create_order_mutex.spree.rb +0 -12
- data/spec/dummy/db/migrate/20160707103508_create_spree_return_authorization_reasons.spree.rb +0 -33
- data/spec/dummy/db/migrate/20160707103537_add_store_id_to_orders.spree.rb +0 -13
- data/spec/dummy/db/migrate/20160707103539_add_counter_cache_from_spree_variants_to_spree_stock_items.spree.rb +0 -9
- data/spec/dummy/db/migrate/20160707103543_remove_extra_products_slug_index.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103544_update_product_slug_index.spree.rb +0 -9
- data/spec/dummy/db/migrate/20160707103545_add_default_column_to_price.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103546_add_position_to_stock_location.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103547_create_spree_promotion_codes.spree.rb +0 -14
- data/spec/dummy/db/migrate/20160707103548_create_adjustment_promotion_code_association.spree.rb +0 -7
- data/spec/dummy/db/migrate/20160707103549_remove_environment_from_payment_method.spree.rb +0 -7
- data/spec/dummy/db/migrate/20160707103550_add_restock_inventory_to_stock_location.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103551_add_code_to_spree_promotion_categories.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103552_create_order_stock_locations.spree.rb +0 -13
- data/spec/dummy/db/migrate/20160707103553_remove_environment_from_tracker.spree.rb +0 -7
- data/spec/dummy/db/migrate/20160707103554_add_fulfillable_to_stock_location.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103555_add_code_to_refund_reason.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103556_add_promotion_code_id_to_orders_promotions.spree.rb +0 -8
- data/spec/dummy/db/migrate/20160707103557_add_approver_name_to_spree_orders.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103558_move_promotion_code_to_promotion_code_value.spree.rb +0 -66
- data/spec/dummy/db/migrate/20160707103559_downcase_promotion_codes_values.spree.rb +0 -12
- data/spec/dummy/db/migrate/20160707103560_add_order_ids_to_adjustments_where_missing.spree.rb +0 -10
- data/spec/dummy/db/migrate/20160707103561_add_per_code_usage_limit_to_promotions.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103562_remove_usage_limit_from_promotion_codes.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103563_add_timestamps_to_order_promotions.spree.rb +0 -7
- data/spec/dummy/db/migrate/20160707103564_create_spree_cartons.spree.rb +0 -25
- data/spec/dummy/db/migrate/20160707103565_add_timestamps_to_spree_roles_users.spree.rb +0 -8
- data/spec/dummy/db/migrate/20160707103566_remove_considered_risky_from_spree_orders.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103567_add_index_to_inventory_units_carton_id.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103568_add_imported_from_shipment_id_to_cartons.spree.rb +0 -9
- data/spec/dummy/db/migrate/20160707103569_copy_shipped_shipments_to_cartons.spree.rb +0 -14
- data/spec/dummy/db/migrate/20160707103570_create_spree_user_stock_locations.spree.rb +0 -11
- data/spec/dummy/db/migrate/20160707103571_add_stock_location_code.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103572_create_unit_cancels.spree.rb +0 -11
- data/spec/dummy/db/migrate/20160707103573_add_fields_to_stock_transfer.spree.rb +0 -13
- data/spec/dummy/db/migrate/20160707103574_create_transfer_items.spree.rb +0 -15
- data/spec/dummy/db/migrate/20160707103575_drop_stock_transfer_type.spree.rb +0 -11
- data/spec/dummy/db/migrate/20160707103576_add_stock_transfer_finalized_at.spree.rb +0 -9
- data/spec/dummy/db/migrate/20160707103577_rename_stock_transfer_reference.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103578_create_line_item_actions.spree.rb +0 -11
- data/spec/dummy/db/migrate/20160707103579_create_spree_store_credit_categories.spree.rb +0 -11
- data/spec/dummy/db/migrate/20160707103580_create_spree_store_credits.spree.rb +0 -20
- data/spec/dummy/db/migrate/20160707103581_create_spree_store_credit_events.spree.rb +0 -18
- data/spec/dummy/db/migrate/20160707103582_create_spree_store_credit_payment_method.spree.rb +0 -22
- data/spec/dummy/db/migrate/20160707103583_create_store_credit_types.spree.rb +0 -18
- data/spec/dummy/db/migrate/20160707103584_create_store_credit_reimbursement_type.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103585_add_resellable_to_return_items.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103586_add_invalidated_at_to_spree_store_credits.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103587_migrate_deleted_store_credits_to_invalidated.spree.rb +0 -14
- data/spec/dummy/db/migrate/20160707103588_add_check_stock_on_transfer.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103589_fix_adjustment_order_id.spree.rb +0 -81
- data/spec/dummy/db/migrate/20160707103590_delete_inventory_units_without_shipment.spree.rb +0 -26
- data/spec/dummy/db/migrate/20160707103591_add_deleted_at_to_stock_transfers.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103592_add_deleted_at_to_transfer_items.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103593_increase_scale_on_pre_tax_amounts.spree.rb +0 -27
- data/spec/dummy/db/migrate/20160707103594_add_preferences_to_promotion_actions.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103595_add_id_to_spree_option_values_variants.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103596_add_frontend_viewable_to_spree_orders.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103597_remove_spree_configurations.spree.rb +0 -16
- data/spec/dummy/db/migrate/20160707103598_add_preference_source_to_spree_payment_methods.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103599_remove_credit_card_address_id.spree.rb +0 -8
- data/spec/dummy/db/migrate/20160707103600_create_spree_store_credit_update_reasons.spree.rb +0 -9
- data/spec/dummy/db/migrate/20160707103601_create_adjustment_reason.spree.rb +0 -19
- data/spec/dummy/db/migrate/20160707103602_add_update_reason_to_store_credit_events.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103603_add_return_authorization_reason_id_to_return_items.spree.rb +0 -8
- data/spec/dummy/db/migrate/20160707103604_seed_store_credit_update_reasons.spree.rb +0 -10
- data/spec/dummy/db/migrate/20160707103605_remove_shipping_method_id_from_spree_orders.spree.rb +0 -10
- data/spec/dummy/db/migrate/20160707103606_remove_counter_cache_from_spree_variants_to_spree_stock_items.spree.rb +0 -11
- data/spec/dummy/db/migrate/20160707103607_add_address_id_to_credit_card.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103608_copy_order_bill_address_to_credit_card.spree.rb +0 -13
- data/spec/dummy/db/migrate/20160707103609_remove_unnecessary_indexes.spree.rb +0 -65
- data/spec/dummy/db/migrate/20160707103610_remove_state_lock_version_from_order.spree.rb +0 -12
- data/spec/dummy/db/migrate/20160707103611_add_spree_user_addresses.spree.rb +0 -17
- data/spec/dummy/db/migrate/20160707103612_add_id_and_timestamp_to_promotion_rule_user.spree.rb +0 -14
- data/spec/dummy/db/migrate/20160707103613_remove_mandatory_from_adjustments.spree.rb +0 -6
- data/spec/dummy/db/migrate/20160707103614_add_finalized_to_spree_adjustments.spree.rb +0 -12
- data/spec/dummy/db/migrate/20160707103615_add_store_payment_methods.spree.rb +0 -11
- data/spec/dummy/db/migrate/20160707103616_convert_habtm_to_hmt_for_shipping_methods_zones.spree.rb +0 -18
- data/spec/dummy/db/migrate/20160707103617_convert_habtm_to_hmt_for_products_promotion_rules.spree.rb +0 -18
- data/spec/dummy/db/migrate/20160707103618_drop_spree_gateways.spree.rb +0 -21
- data/spec/dummy/db/migrate/20160707103619_convert_habtm_to_hmt_for_taxon_prototypes.spree.rb +0 -16
- data/spec/dummy/db/migrate/20160707103620_create_variant_properties_and_rules.spree.rb +0 -29
- data/spec/dummy/db/migrate/20160707103621_add_foreign_keys_for_taxons_prototypes.spree.rb +0 -7
- data/spec/dummy/db/migrate/20160707103622_remove_token_permissions_table.spree.rb +0 -17
- data/spec/dummy/db/migrate/20160707103623_rename_identifier_to_number_for_payment.spree.rb +0 -8
- data/spec/dummy/db/migrate/20160707103624_add_foreign_keys_for_product_promotion_rules.spree.rb +0 -10
- data/spec/dummy/db/migrate/20160707103625_add_sale_to_spree_promotions.spree.rb +0 -7
- data/spec/dummy/db/migrate/20160707103626_convert_sale_promotions.spree.rb +0 -29
- data/spec/dummy/db/migrate/20160707103627_convert_habtm_to_hmt_for_properties_prototypes.spree.rb +0 -18
- data/spec/dummy/db/migrate/20160707103628_convert_habtm_to_hmt_for_option_type_prototypes.spree.rb +0 -18
- data/spec/dummy/db/migrate/20160707103629_convert_habtm_to_hmt_for_taxons_promotion_rules.spree.rb +0 -16
- data/spec/dummy/db/migrate/20160707103630_add_stock_item_unique_index.spree.rb +0 -10
@@ -1,26 +0,0 @@
|
|
1
|
-
# This migration comes from spree (originally 20150528125647)
|
2
|
-
class DeleteInventoryUnitsWithoutShipment < ActiveRecord::Migration
|
3
|
-
# Prevent everything from running in one giant transaction in postrgres.
|
4
|
-
disable_ddl_transaction!
|
5
|
-
|
6
|
-
def up
|
7
|
-
order_ids = Spree::InventoryUnit.where(shipment_id: nil).pluck(:order_id).uniq.compact
|
8
|
-
Spree::Order.where(id: order_ids).find_each do |order|
|
9
|
-
# Order may not be completed but have shipped
|
10
|
-
# shipments if it has a pending unreturned exchange
|
11
|
-
next if order.completed?
|
12
|
-
next if order.canceled?
|
13
|
-
next if order.shipments.any? { |s| s.shipped? || s.ready? || s.canceled? }
|
14
|
-
say "Removing inventory units without shipment for order ##{order.number}"
|
15
|
-
order.transaction do
|
16
|
-
order.inventory_units.destroy_all
|
17
|
-
order.shipments.destroy_all
|
18
|
-
order.restart_checkout_flow
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
|
23
|
-
def down
|
24
|
-
# intentionally left blank
|
25
|
-
end
|
26
|
-
end
|
@@ -1,27 +0,0 @@
|
|
1
|
-
# This migration comes from spree (originally 20150609093816)
|
2
|
-
class IncreaseScaleOnPreTaxAmounts < ActiveRecord::Migration
|
3
|
-
def change
|
4
|
-
# set pre_tax_amount on shipments to discounted_amount - included_tax_total
|
5
|
-
# so that the null: false option on the shipment pre_tax_amount doesn't generate
|
6
|
-
# errors.
|
7
|
-
#
|
8
|
-
execute(<<-SQL)
|
9
|
-
UPDATE spree_shipments
|
10
|
-
SET pre_tax_amount = (cost + promo_total) - included_tax_total
|
11
|
-
WHERE pre_tax_amount IS NULL;
|
12
|
-
SQL
|
13
|
-
|
14
|
-
# set pre_tax_amount on line_items to discounted_amount - included_tax_total
|
15
|
-
# so that the null: false option on the line_item pre_tax_amount doesn't generate
|
16
|
-
# errors.
|
17
|
-
#
|
18
|
-
execute(<<-SQL)
|
19
|
-
UPDATE spree_line_items
|
20
|
-
SET pre_tax_amount = (price * quantity + promo_total) - included_tax_total
|
21
|
-
WHERE pre_tax_amount IS NULL;
|
22
|
-
SQL
|
23
|
-
|
24
|
-
change_column :spree_line_items, :pre_tax_amount, :decimal, precision: 12, scale: 4, default: 0.0, null: false
|
25
|
-
change_column :spree_shipments, :pre_tax_amount, :decimal, precision: 12, scale: 4, default: 0.0, null: false
|
26
|
-
end
|
27
|
-
end
|
@@ -1,16 +0,0 @@
|
|
1
|
-
# This migration comes from spree (originally 20150612205731)
|
2
|
-
class RemoveSpreeConfigurations < ActiveRecord::Migration
|
3
|
-
def up
|
4
|
-
drop_table :spree_configurations
|
5
|
-
end
|
6
|
-
|
7
|
-
def down
|
8
|
-
create_table :spree_configurations do |t|
|
9
|
-
t.string :name
|
10
|
-
t.string :type, :limit => 50
|
11
|
-
t.timestamps null: true
|
12
|
-
end
|
13
|
-
|
14
|
-
add_index :spree_configurations, [:name, :type], :name => 'index_spree_configurations_on_name_and_type'
|
15
|
-
end
|
16
|
-
end
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# This migration comes from spree (originally 20150618191713)
|
2
|
-
class RemoveCreditCardAddressId < ActiveRecord::Migration
|
3
|
-
def change
|
4
|
-
# This hasn't been accessible for a long time:
|
5
|
-
# https://github.com/bonobos/spree/commit/0b58afc#diff-b3d9a7a18a30a5fb3372cfcf3f925a3dL4
|
6
|
-
remove_column :spree_credit_cards, :address_id, :integer
|
7
|
-
end
|
8
|
-
end
|
@@ -1,19 +0,0 @@
|
|
1
|
-
# This migration comes from spree (originally 20150619160613)
|
2
|
-
class CreateAdjustmentReason < ActiveRecord::Migration
|
3
|
-
def change
|
4
|
-
create_table :spree_adjustment_reasons do |t|
|
5
|
-
t.string "name"
|
6
|
-
t.string "code"
|
7
|
-
t.boolean "active", default: true
|
8
|
-
|
9
|
-
t.timestamps null: true
|
10
|
-
end
|
11
|
-
|
12
|
-
add_index :spree_adjustment_reasons, :code
|
13
|
-
add_index :spree_adjustment_reasons, :active
|
14
|
-
|
15
|
-
change_table :spree_adjustments do |t|
|
16
|
-
t.references :adjustment_reason
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# This migration comes from spree (originally 20150623194316)
|
2
|
-
class AddReturnAuthorizationReasonIdToReturnItems < ActiveRecord::Migration
|
3
|
-
def change
|
4
|
-
rename_table :spree_return_authorization_reasons, :spree_return_reasons
|
5
|
-
rename_column :spree_return_authorizations, :return_authorization_reason_id, :return_reason_id
|
6
|
-
add_column :spree_return_items, :return_reason_id, :integer
|
7
|
-
end
|
8
|
-
end
|
@@ -1,10 +0,0 @@
|
|
1
|
-
# This migration comes from spree (originally 20150623214058)
|
2
|
-
class SeedStoreCreditUpdateReasons < ActiveRecord::Migration
|
3
|
-
def up
|
4
|
-
Spree::StoreCreditUpdateReason.create!(name: 'Credit Given In Error')
|
5
|
-
end
|
6
|
-
|
7
|
-
def down
|
8
|
-
Spree::StoreCreditUpdateReason.find_by(name: 'Credit Given In Error').try!(:destroy)
|
9
|
-
end
|
10
|
-
end
|
data/spec/dummy/db/migrate/20160707103605_remove_shipping_method_id_from_spree_orders.spree.rb
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
# This migration comes from spree (originally 20150626200816)
|
2
|
-
class RemoveShippingMethodIdFromSpreeOrders < ActiveRecord::Migration
|
3
|
-
def up
|
4
|
-
remove_column :spree_orders, :shipping_method_id, :integer
|
5
|
-
end
|
6
|
-
|
7
|
-
def down
|
8
|
-
add_column :spree_orders, :shipping_method_id, :integer
|
9
|
-
end
|
10
|
-
end
|
@@ -1,11 +0,0 @@
|
|
1
|
-
# This migration comes from spree (originally 20150626214817)
|
2
|
-
class RemoveCounterCacheFromSpreeVariantsToSpreeStockItems < ActiveRecord::Migration
|
3
|
-
def up
|
4
|
-
if column_exists?(:spree_variants, :stock_items_count)
|
5
|
-
remove_column :spree_variants, :stock_items_count
|
6
|
-
end
|
7
|
-
end
|
8
|
-
|
9
|
-
def down
|
10
|
-
end
|
11
|
-
end
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# This migration comes from spree (originally 20150630175644)
|
2
|
-
class CopyOrderBillAddressToCreditCard < ActiveRecord::Migration
|
3
|
-
# Prevent everything from running in one giant transaction in postrgres.
|
4
|
-
disable_ddl_transaction!
|
5
|
-
|
6
|
-
def up
|
7
|
-
Rake::Task["spree:migrations:copy_order_bill_address_to_credit_card:up"].invoke
|
8
|
-
end
|
9
|
-
|
10
|
-
def down
|
11
|
-
Rake::Task["spree:migrations:copy_order_bill_address_to_credit_card:down"].invoke
|
12
|
-
end
|
13
|
-
end
|
@@ -1,65 +0,0 @@
|
|
1
|
-
# This migration comes from spree (originally 20150723224133)
|
2
|
-
# All of these indexes were originally added in
|
3
|
-
# 20140410150358_correct_some_polymorphic_index_and_add_more_missing.rb
|
4
|
-
# However, most are necessary and were removed from that migration. This
|
5
|
-
# migration deletes any of the indexes left around in stores using the
|
6
|
-
# out-dated version of that migration
|
7
|
-
class RemoveUnnecessaryIndexes < ActiveRecord::Migration
|
8
|
-
include Spree::MigrationHelpers
|
9
|
-
|
10
|
-
def up
|
11
|
-
safe_remove_index :spree_credit_cards, :address_id
|
12
|
-
safe_remove_index :spree_gateways, :active
|
13
|
-
safe_remove_index :spree_gateways, :test_mode
|
14
|
-
safe_remove_index :spree_inventory_units, :return_authorization_id
|
15
|
-
safe_remove_index :spree_line_items, :tax_category_id
|
16
|
-
safe_remove_index :spree_orders, :shipping_method_id
|
17
|
-
safe_remove_index :spree_orders, :confirmation_delivered
|
18
|
-
safe_remove_index :spree_prices, :deleted_at
|
19
|
-
safe_remove_index :spree_products, :shipping_category_id
|
20
|
-
safe_remove_index :spree_products, :tax_category_id
|
21
|
-
safe_remove_index :spree_shipping_methods, :deleted_at
|
22
|
-
safe_remove_index :spree_shipping_rates, :selected
|
23
|
-
safe_remove_index :spree_shipping_rates, :tax_rate_id
|
24
|
-
safe_remove_index :spree_stock_items, :backorderable
|
25
|
-
safe_remove_index :spree_stock_locations, :active
|
26
|
-
safe_remove_index :spree_stock_locations, :backorderable_default
|
27
|
-
safe_remove_index :spree_stock_locations, :propagate_all_variants
|
28
|
-
safe_remove_index :spree_tax_categories, :is_default
|
29
|
-
safe_remove_index :spree_tax_categories, :deleted_at
|
30
|
-
safe_remove_index :spree_tax_rates, :show_rate_in_label
|
31
|
-
safe_remove_index :spree_tax_rates, :included_in_price
|
32
|
-
safe_remove_index :spree_trackers, :active
|
33
|
-
safe_remove_index :spree_variants, :is_master
|
34
|
-
safe_remove_index :spree_variants, :deleted_at
|
35
|
-
safe_remove_index :spree_zones, :default_tax
|
36
|
-
end
|
37
|
-
|
38
|
-
def down
|
39
|
-
safe_add_index :spree_credit_cards, :address_id
|
40
|
-
safe_add_index :spree_gateways, :active
|
41
|
-
safe_add_index :spree_gateways, :test_mode
|
42
|
-
safe_add_index :spree_inventory_units, :return_authorization_id
|
43
|
-
safe_add_index :spree_line_items, :tax_category_id
|
44
|
-
safe_add_index :spree_orders, :shipping_method_id
|
45
|
-
safe_add_index :spree_orders, :confirmation_delivered
|
46
|
-
safe_add_index :spree_prices, :deleted_at
|
47
|
-
safe_add_index :spree_products, :shipping_category_id
|
48
|
-
safe_add_index :spree_products, :tax_category_id
|
49
|
-
safe_add_index :spree_shipping_methods, :deleted_at
|
50
|
-
safe_add_index :spree_shipping_rates, :selected
|
51
|
-
safe_add_index :spree_shipping_rates, :tax_rate_id
|
52
|
-
safe_add_index :spree_stock_items, :backorderable
|
53
|
-
safe_add_index :spree_stock_locations, :active
|
54
|
-
safe_add_index :spree_stock_locations, :backorderable_default
|
55
|
-
safe_add_index :spree_stock_locations, :propagate_all_variants
|
56
|
-
safe_add_index :spree_tax_categories, :is_default
|
57
|
-
safe_add_index :spree_tax_categories, :deleted_at
|
58
|
-
safe_add_index :spree_tax_rates, :show_rate_in_label
|
59
|
-
safe_add_index :spree_tax_rates, :included_in_price
|
60
|
-
safe_add_index :spree_trackers, :active
|
61
|
-
safe_add_index :spree_variants, :is_master
|
62
|
-
safe_add_index :spree_variants, :deleted_at
|
63
|
-
safe_add_index :spree_zones, :default_tax
|
64
|
-
end
|
65
|
-
end
|
@@ -1,12 +0,0 @@
|
|
1
|
-
# This migration comes from spree (originally 20150724163716)
|
2
|
-
class RemoveStateLockVersionFromOrder < ActiveRecord::Migration
|
3
|
-
def up
|
4
|
-
if column_exists? :spree_orders, :state_lock_version
|
5
|
-
remove_column :spree_orders, :state_lock_version
|
6
|
-
end
|
7
|
-
end
|
8
|
-
|
9
|
-
def down
|
10
|
-
add_column :spree_orders, :state_lock_version, :integer, default: 0, null: false
|
11
|
-
end
|
12
|
-
end
|
@@ -1,17 +0,0 @@
|
|
1
|
-
# This migration comes from spree (originally 20150731201146)
|
2
|
-
class AddSpreeUserAddresses < ActiveRecord::Migration
|
3
|
-
def change
|
4
|
-
create_table :spree_user_addresses do |t|
|
5
|
-
t.integer :user_id, null: false
|
6
|
-
t.integer :address_id, null: false
|
7
|
-
t.boolean :default, default: false
|
8
|
-
t.boolean :archived, default: false
|
9
|
-
t.timestamps null: false
|
10
|
-
end
|
11
|
-
|
12
|
-
add_index :spree_user_addresses, :user_id
|
13
|
-
add_index :spree_user_addresses, :address_id
|
14
|
-
add_index :spree_user_addresses, [:user_id, :address_id], unique: true
|
15
|
-
end
|
16
|
-
end
|
17
|
-
|
data/spec/dummy/db/migrate/20160707103612_add_id_and_timestamp_to_promotion_rule_user.spree.rb
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
# This migration comes from spree (originally 20150806190833)
|
2
|
-
class AddIdAndTimestampToPromotionRuleUser < ActiveRecord::Migration
|
3
|
-
def up
|
4
|
-
add_column :spree_promotion_rules_users, :id, :primary_key
|
5
|
-
add_column :spree_promotion_rules_users, :created_at, :datetime
|
6
|
-
add_column :spree_promotion_rules_users, :updated_at, :datetime
|
7
|
-
end
|
8
|
-
|
9
|
-
def down
|
10
|
-
remove_column :spree_promotion_rules_users, :updated_at
|
11
|
-
remove_column :spree_promotion_rules_users, :created_at
|
12
|
-
remove_column :spree_promotion_rules_users, :id
|
13
|
-
end
|
14
|
-
end
|
@@ -1,12 +0,0 @@
|
|
1
|
-
# This migration comes from spree (originally 20150811211025)
|
2
|
-
class AddFinalizedToSpreeAdjustments < ActiveRecord::Migration
|
3
|
-
# This migration replaces the open/closed state column of spree_adjustments
|
4
|
-
# with a finalized boolean.
|
5
|
-
# This may cause a few minutes of downtime on very large stores as the
|
6
|
-
# adjustments table can become quite large.
|
7
|
-
def change
|
8
|
-
add_column :spree_adjustments, :finalized, :boolean
|
9
|
-
execute %q(UPDATE spree_adjustments SET finalized=('closed' = state))
|
10
|
-
remove_column :spree_adjustments, :state, :string
|
11
|
-
end
|
12
|
-
end
|
@@ -1,11 +0,0 @@
|
|
1
|
-
# This migration comes from spree (originally 20150820160821)
|
2
|
-
class AddStorePaymentMethods < ActiveRecord::Migration
|
3
|
-
def change
|
4
|
-
create_table :spree_store_payment_methods do |t|
|
5
|
-
t.references :store, null: false, index: true
|
6
|
-
t.references :payment_method, null: false, index: true
|
7
|
-
|
8
|
-
t.timestamps null: false
|
9
|
-
end
|
10
|
-
end
|
11
|
-
end
|
data/spec/dummy/db/migrate/20160707103616_convert_habtm_to_hmt_for_shipping_methods_zones.spree.rb
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
# This migration comes from spree (originally 20150824213633)
|
2
|
-
class ConvertHabtmToHmtForShippingMethodsZones < ActiveRecord::Migration
|
3
|
-
def up
|
4
|
-
add_column :spree_shipping_methods_zones, :id, :primary_key
|
5
|
-
add_column :spree_shipping_methods_zones, :created_at, :datetime
|
6
|
-
add_column :spree_shipping_methods_zones, :updated_at, :datetime
|
7
|
-
|
8
|
-
rename_table :spree_shipping_methods_zones, :spree_shipping_method_zones
|
9
|
-
end
|
10
|
-
|
11
|
-
def down
|
12
|
-
rename_table :spree_shipping_method_zones, :spree_shipping_methods_zones
|
13
|
-
|
14
|
-
remove_column :spree_shipping_methods_zones, :updated_at
|
15
|
-
remove_column :spree_shipping_methods_zones, :created_at
|
16
|
-
remove_column :spree_shipping_methods_zones, :id
|
17
|
-
end
|
18
|
-
end
|
data/spec/dummy/db/migrate/20160707103617_convert_habtm_to_hmt_for_products_promotion_rules.spree.rb
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
# This migration comes from spree (originally 20150824214129)
|
2
|
-
class ConvertHabtmToHmtForProductsPromotionRules < ActiveRecord::Migration
|
3
|
-
def up
|
4
|
-
add_column :spree_products_promotion_rules, :id, :primary_key
|
5
|
-
add_column :spree_products_promotion_rules, :created_at, :datetime
|
6
|
-
add_column :spree_products_promotion_rules, :updated_at, :datetime
|
7
|
-
|
8
|
-
rename_table :spree_products_promotion_rules, :spree_product_promotion_rules
|
9
|
-
end
|
10
|
-
|
11
|
-
def down
|
12
|
-
rename_table :spree_product_promotion_rules, :spree_products_promotion_rules
|
13
|
-
|
14
|
-
remove_column :spree_products_promotion_rules, :id, :primary_key
|
15
|
-
remove_column :spree_products_promotion_rules, :created_at, :datetime
|
16
|
-
remove_column :spree_products_promotion_rules, :updated_at, :datetime
|
17
|
-
end
|
18
|
-
end
|
@@ -1,21 +0,0 @@
|
|
1
|
-
# This migration comes from spree (originally 20150825204216)
|
2
|
-
class DropSpreeGateways < ActiveRecord::Migration
|
3
|
-
def up
|
4
|
-
drop_table :spree_gateways
|
5
|
-
end
|
6
|
-
|
7
|
-
def down
|
8
|
-
create_table "spree_gateways" do |t|
|
9
|
-
t.string "type"
|
10
|
-
t.string "name"
|
11
|
-
t.text "description"
|
12
|
-
t.boolean "active", default: true
|
13
|
-
t.string "environment", default: "development"
|
14
|
-
t.string "server", default: "test"
|
15
|
-
t.boolean "test_mode", default: true
|
16
|
-
t.datetime "created_at"
|
17
|
-
t.datetime "updated_at"
|
18
|
-
t.text "preferences"
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|