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.
Files changed (339) hide show
  1. checksums.yaml +4 -4
  2. data/app/jobs/order_reporting/recurring_report_delayed_job.rb +4 -1
  3. data/lib/order_reporting/report.rb +2 -0
  4. data/lib/order_reporting/schedulers/delayed_job_scheduler.rb +4 -0
  5. data/lib/order_reporting/version.rb +1 -1
  6. data/spec/dummy/app/assets/stylesheets/application.css +1 -1
  7. data/spec/dummy/bin/rails +1 -1
  8. data/spec/dummy/config.ru +1 -1
  9. data/spec/dummy/config/application.rb +1 -4
  10. data/spec/dummy/config/environments/development.rb +0 -4
  11. data/spec/dummy/config/environments/production.rb +12 -13
  12. data/spec/dummy/config/environments/test.rb +1 -1
  13. data/spec/dummy/config/initializers/assets.rb +0 -3
  14. data/spec/dummy/config/initializers/cookies_serializer.rb +1 -1
  15. data/spec/dummy/config/initializers/devise.rb +1 -1
  16. data/spec/dummy/config/initializers/spree.rb +8 -51
  17. data/spec/dummy/config/secrets.yml +2 -2
  18. data/spec/dummy/config/spree.yml +2 -0
  19. data/spec/dummy/db/migrate/{20160707103353_spree_one_two.spree.rb → 20160708163029_spree_one_two.spree.rb} +36 -36
  20. data/spec/dummy/db/migrate/{20160707103354_spree_promo_one_two.spree.rb → 20160708163030_spree_promo_one_two.spree.rb} +1 -1
  21. data/spec/dummy/db/migrate/{20160707103355_add_tax_rate_label.spree.rb → 20160708163031_add_tax_rate_label.spree.rb} +0 -0
  22. data/spec/dummy/db/migrate/{20160707103356_add_toggle_tax_rate_display.spree.rb → 20160708163032_add_toggle_tax_rate_display.spree.rb} +0 -0
  23. data/spec/dummy/db/migrate/{20160707103357_remove_unused_preference_columns.spree.rb → 20160708163033_remove_unused_preference_columns.spree.rb} +0 -0
  24. data/spec/dummy/db/migrate/{20160707103358_add_lock_version_to_variant.spree.rb → 20160708163034_add_lock_version_to_variant.spree.rb} +0 -0
  25. data/spec/dummy/db/migrate/{20160707103359_add_states_required_to_countries.spree.rb → 20160708163035_add_states_required_to_countries.spree.rb} +0 -0
  26. 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
  27. 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
  28. data/spec/dummy/db/migrate/{20160707103362_split_prices_from_variants.spree.rb → 20160708163038_split_prices_from_variants.spree.rb} +0 -0
  29. 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
  30. data/spec/dummy/db/migrate/{20160707103364_add_currency_to_line_items.spree.rb → 20160708163040_add_currency_to_line_items.spree.rb} +0 -0
  31. data/spec/dummy/db/migrate/{20160707103365_add_currency_to_orders.spree.rb → 20160708163041_add_currency_to_orders.spree.rb} +0 -0
  32. data/spec/dummy/db/migrate/{20160707103366_add_cost_currency_to_variants.spree.rb → 20160708163042_add_cost_currency_to_variants.spree.rb} +0 -0
  33. 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
  34. data/spec/dummy/db/migrate/{20160707103368_add_position_to_taxonomies.spree.rb → 20160708163044_add_position_to_taxonomies.spree.rb} +0 -0
  35. 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
  36. data/spec/dummy/db/migrate/{20160707103370_add_state_to_spree_adjustments.spree.rb → 20160708163046_add_state_to_spree_adjustments.spree.rb} +0 -0
  37. 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
  38. data/spec/dummy/db/migrate/{20160707103372_add_position_to_product_properties.spree.rb → 20160708163048_add_position_to_product_properties.spree.rb} +0 -0
  39. data/spec/dummy/db/migrate/{20160707103373_add_identifier_to_spree_payments.spree.rb → 20160708163049_add_identifier_to_spree_payments.spree.rb} +0 -0
  40. 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
  41. 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
  42. data/spec/dummy/db/migrate/{20160707103376_create_spree_stock_items.spree.rb → 20160708163052_create_spree_stock_items.spree.rb} +1 -1
  43. data/spec/dummy/db/migrate/{20160707103377_create_spree_stock_locations.spree.rb → 20160708163053_create_spree_stock_locations.spree.rb} +1 -1
  44. data/spec/dummy/db/migrate/{20160707103378_create_default_stock.spree.rb → 20160708163054_create_default_stock.spree.rb} +1 -1
  45. 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
  46. 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
  47. 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
  48. data/spec/dummy/db/migrate/{20160707103382_add_pending_to_inventory_unit.spree.rb → 20160708163058_add_pending_to_inventory_unit.spree.rb} +0 -0
  49. 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
  50. data/spec/dummy/db/migrate/20160708163060_create_shipping_method_zone.spree.rb +23 -0
  51. 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
  52. data/spec/dummy/db/migrate/{20160707103386_create_shipping_method_categories.spree.rb → 20160708163062_create_shipping_method_categories.spree.rb} +1 -1
  53. 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
  54. data/spec/dummy/db/migrate/{20160707103388_create_spree_shipping_rates.spree.rb → 20160708163064_create_spree_shipping_rates.spree.rb} +1 -1
  55. 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
  56. data/spec/dummy/db/migrate/{20160707103390_create_stock_movements.spree.rb → 20160708163066_create_stock_movements.spree.rb} +1 -1
  57. 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
  58. 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
  59. data/spec/dummy/db/migrate/{20160707103393_add_backorderable_to_stock_item.spree.rb → 20160708163069_add_backorderable_to_stock_item.spree.rb} +0 -0
  60. 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
  61. 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
  62. data/spec/dummy/db/migrate/{20160707103396_change_orders_total_precision.spree.rb → 20160708163072_change_orders_total_precision.spree.rb} +0 -0
  63. data/spec/dummy/db/migrate/{20160707103397_change_spree_payments_amount_precision.spree.rb → 20160708163073_change_spree_payments_amount_precision.spree.rb} +0 -0
  64. 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
  65. data/spec/dummy/db/migrate/{20160707103399_change_adjustments_amount_precision.spree.rb → 20160708163075_change_adjustments_amount_precision.spree.rb} +0 -0
  66. data/spec/dummy/db/migrate/{20160707103400_add_originator_to_stock_movement.spree.rb → 20160708163076_add_originator_to_stock_movement.spree.rb} +0 -0
  67. 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
  68. 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
  69. data/spec/dummy/db/migrate/{20160707103403_add_stock_location_to_rma.spree.rb → 20160708163079_add_stock_location_to_rma.spree.rb} +0 -0
  70. 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
  71. data/spec/dummy/db/migrate/{20160707103405_add_seo_metas_to_taxons.spree.rb → 20160708163081_add_seo_metas_to_taxons.spree.rb} +0 -0
  72. 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
  73. 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
  74. 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
  75. 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
  76. data/spec/dummy/db/migrate/{20160707103410_update_adjustment_states.spree.rb → 20160708163086_update_adjustment_states.spree.rb} +0 -0
  77. data/spec/dummy/db/migrate/{20160707103411_add_shipping_rates_to_shipments.spree.rb → 20160708163087_add_shipping_rates_to_shipments.spree.rb} +0 -0
  78. data/spec/dummy/db/migrate/{20160707103412_create_spree_stock_transfers.spree.rb → 20160708163088_create_spree_stock_transfers.spree.rb} +1 -1
  79. data/spec/dummy/db/migrate/{20160707103413_drop_products_count_on_hand.spree.rb → 20160708163089_drop_products_count_on_hand.spree.rb} +0 -0
  80. data/spec/dummy/db/migrate/{20160707103414_set_default_shipping_rate_cost.spree.rb → 20160708163090_set_default_shipping_rate_cost.spree.rb} +0 -0
  81. data/spec/dummy/db/migrate/{20160707103415_add_number_to_stock_transfer.spree.rb → 20160708163091_add_number_to_stock_transfer.spree.rb} +1 -1
  82. 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
  83. 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
  84. 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
  85. data/spec/dummy/db/migrate/20160708163095_rename_shipping_methods_zones_to_spree_shipping_methods_zones.spree.rb +11 -0
  86. 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
  87. 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
  88. 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
  89. 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
  90. 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
  91. 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
  92. 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
  93. 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
  94. 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
  95. 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
  96. 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
  97. 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
  98. 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
  99. 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
  100. data/spec/dummy/db/migrate/{20160707103434_drop_spree_mail_methods.spree.rb → 20160708163110_drop_spree_mail_methods.spree.rb} +0 -0
  101. 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
  102. data/spec/dummy/db/migrate/{20160707103436_upgrade_adjustments.spree.rb → 20160708163112_upgrade_adjustments.spree.rb} +0 -0
  103. data/spec/dummy/db/migrate/{20160707103437_rename_adjustment_fields.spree.rb → 20160708163113_rename_adjustment_fields.spree.rb} +0 -0
  104. 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
  105. 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
  106. 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
  107. data/spec/dummy/db/migrate/{20160707103441_expand_order_number_size.spree.rb → 20160708163117_expand_order_number_size.spree.rb} +0 -0
  108. data/spec/dummy/db/migrate/{20160707103442_rename_activators_to_promotions.spree.rb → 20160708163118_rename_activators_to_promotions.spree.rb} +0 -0
  109. 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
  110. data/spec/dummy/db/migrate/{20160707103444_add_adjustment_total_to_shipments.spree.rb → 20160708163120_add_adjustment_total_to_shipments.spree.rb} +0 -0
  111. data/spec/dummy/db/migrate/{20160707103445_add_depth_to_spree_taxons.spree.rb → 20160708163121_add_depth_to_spree_taxons.spree.rb} +0 -0
  112. 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
  113. 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
  114. data/spec/dummy/db/migrate/{20160707103448_migrate_old_shipping_calculators.spree.rb → 20160708163124_migrate_old_shipping_calculators.spree.rb} +0 -0
  115. 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
  116. data/spec/dummy/db/migrate/{20160707103450_change_states_required_for_countries.spree.rb → 20160708163126_change_states_required_for_countries.spree.rb} +0 -0
  117. 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
  118. data/spec/dummy/db/migrate/{20160707103452_remove_promotions_event_name_field.spree.rb → 20160708163128_remove_promotions_event_name_field.spree.rb} +0 -0
  119. 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
  120. data/spec/dummy/db/migrate/{20160707103454_remove_unused_credit_card_fields.spree.rb → 20160708163130_remove_unused_credit_card_fields.spree.rb} +0 -0
  121. data/spec/dummy/db/migrate/{20160707103455_add_track_inventory_to_variant.spree.rb → 20160708163131_add_track_inventory_to_variant.spree.rb} +0 -0
  122. data/spec/dummy/db/migrate/{20160707103456_add_tax_category_to_variants.spree.rb → 20160708163132_add_tax_category_to_variants.spree.rb} +0 -0
  123. data/spec/dummy/db/migrate/{20160707103457_add_channel_to_spree_orders.spree.rb → 20160708163133_add_channel_to_spree_orders.spree.rb} +0 -0
  124. data/spec/dummy/db/migrate/{20160707103458_add_included_to_adjustments.spree.rb → 20160708163134_add_included_to_adjustments.spree.rb} +0 -0
  125. data/spec/dummy/db/migrate/{20160707103459_rename_tax_total_fields.spree.rb → 20160708163135_rename_tax_total_fields.spree.rb} +0 -0
  126. 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
  127. data/spec/dummy/db/migrate/{20160707103461_add_updated_at_to_variants.spree.rb → 20160708163137_add_updated_at_to_variants.spree.rb} +0 -0
  128. data/spec/dummy/db/migrate/{20160707103462_add_position_to_classifications.spree.rb → 20160708163138_add_position_to_classifications.spree.rb} +0 -0
  129. data/spec/dummy/db/migrate/{20160707103463_create_spree_orders_promotions.spree.rb → 20160708163139_create_spree_orders_promotions.spree.rb} +0 -0
  130. data/spec/dummy/db/migrate/{20160707103464_unique_shipping_method_categories.spree.rb → 20160708163140_unique_shipping_method_categories.spree.rb} +0 -0
  131. 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
  132. 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
  133. 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
  134. 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
  135. 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
  136. 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
  137. 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
  138. 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
  139. 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
  140. data/spec/dummy/db/migrate/{20160707103474_create_spree_payment_capture_events.spree.rb → 20160708163150_create_spree_payment_capture_events.spree.rb} +1 -1
  141. data/spec/dummy/db/migrate/{20160707103475_add_uncaptured_amount_to_payments.spree.rb → 20160708163151_add_uncaptured_amount_to_payments.spree.rb} +0 -0
  142. data/spec/dummy/db/migrate/{20160707103476_default_variant_weight_to_zero.spree.rb → 20160708163152_default_variant_weight_to_zero.spree.rb} +0 -0
  143. 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
  144. 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
  145. 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
  146. data/spec/dummy/db/migrate/{20160707103480_add_more_indexes.spree.rb → 20160708163156_add_more_indexes.spree.rb} +0 -0
  147. data/spec/dummy/db/migrate/{20160707103481_add_considered_risky_to_orders.spree.rb → 20160708163157_add_considered_risky_to_orders.spree.rb} +0 -0
  148. data/spec/dummy/db/migrate/{20160707103482_add_preference_store_to_everything.spree.rb → 20160708163158_add_preference_store_to_everything.spree.rb} +0 -0
  149. 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
  150. data/spec/dummy/db/migrate/20160708163160_migrate_old_preferences.spree.rb +24 -0
  151. data/spec/dummy/db/migrate/{20160707103485_create_spree_stores.spree.rb → 20160708163161_create_spree_stores.spree.rb} +1 -1
  152. data/spec/dummy/db/migrate/{20160707103486_create_store_from_preferences.spree.rb → 20160708163162_create_store_from_preferences.spree.rb} +12 -8
  153. data/spec/dummy/db/migrate/{20160707103487_add_timestamps_to_spree_assets.spree.rb → 20160708163163_add_timestamps_to_spree_assets.spree.rb} +0 -0
  154. data/spec/dummy/db/migrate/{20160707103488_create_spree_taxons_promotion_rules.spree.rb → 20160708163164_create_spree_taxons_promotion_rules.spree.rb} +0 -0
  155. data/spec/dummy/db/migrate/{20160707103489_add_additional_store_fields.spree.rb → 20160708163165_add_additional_store_fields.spree.rb} +0 -0
  156. data/spec/dummy/db/migrate/20160708163166_add_many_missing_indexes.spree.rb +19 -0
  157. data/spec/dummy/db/migrate/20160708163167_correct_some_polymorphic_index_and_add_more_missing.spree.rb +67 -0
  158. 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
  159. data/spec/dummy/db/migrate/{20160707103493_change_spree_price_amount_precision.spree.rb → 20160708163169_change_spree_price_amount_precision.spree.rb} +0 -0
  160. data/spec/dummy/db/migrate/{20160707103494_add_token_to_spree_orders.spree.rb → 20160708163170_add_token_to_spree_orders.spree.rb} +0 -0
  161. 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
  162. 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
  163. 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
  164. 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
  165. 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
  166. data/spec/dummy/db/migrate/{20160707103500_create_spree_refunds.spree.rb → 20160708163176_create_spree_refunds.spree.rb} +1 -1
  167. 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
  168. 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
  169. 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
  170. data/spec/dummy/db/migrate/{20160707103505_recreate_spree_return_authorizations.spree.rb → 20160708163180_recreate_spree_return_authorizations.spree.rb} +0 -0
  171. 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
  172. data/spec/dummy/db/migrate/{20160707103507_drop_return_authorization_amount.spree.rb → 20160708163182_drop_return_authorization_amount.spree.rb} +0 -0
  173. data/spec/dummy/db/migrate/20160708163183_create_spree_return_authorization_reasons.spree.rb +29 -0
  174. data/spec/dummy/db/migrate/{20160707103509_create_spree_refund_reasons.spree.rb → 20160708163184_create_spree_refund_reasons.spree.rb} +1 -1
  175. data/spec/dummy/db/migrate/{20160707103510_rename_return_authorization_reason.spree.rb → 20160708163185_rename_return_authorization_reason.spree.rb} +0 -0
  176. data/spec/dummy/db/migrate/{20160707103511_create_spree_promotion_categories.spree.rb → 20160708163186_create_spree_promotion_categories.spree.rb} +1 -1
  177. 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
  178. 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
  179. data/spec/dummy/db/migrate/{20160707103514_create_default_refund_reason.spree.rb → 20160708163189_create_default_refund_reason.spree.rb} +0 -0
  180. 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
  181. data/spec/dummy/db/migrate/{20160707103516_create_spree_customer_returns.spree.rb → 20160708163191_create_spree_customer_returns.spree.rb} +1 -1
  182. 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
  183. data/spec/dummy/db/migrate/{20160707103518_create_friendly_id_slugs.spree.rb → 20160708163193_create_friendly_id_slugs.spree.rb} +0 -0
  184. 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
  185. 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
  186. 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
  187. data/spec/dummy/db/migrate/{20160707103522_create_spree_reimbursements.spree.rb → 20160708163197_create_spree_reimbursements.spree.rb} +1 -1
  188. data/spec/dummy/db/migrate/{20160707103523_add_promotionable_to_spree_products.spree.rb → 20160708163198_add_promotionable_to_spree_products.spree.rb} +0 -0
  189. 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
  190. 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
  191. data/spec/dummy/db/migrate/{20160707103526_create_spree_reimbursement_types.spree.rb → 20160708163201_create_spree_reimbursement_types.spree.rb} +1 -1
  192. data/spec/dummy/db/migrate/{20160707103527_add_default_to_shipment_cost.spree.rb → 20160708163202_add_default_to_shipment_cost.spree.rb} +0 -0
  193. 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
  194. data/spec/dummy/db/migrate/{20160707103529_make_existing_credit_cards_default.spree.rb → 20160708163204_make_existing_credit_cards_default.spree.rb} +0 -0
  195. data/spec/dummy/db/migrate/{20160707103530_add_type_to_reimbursement_type.spree.rb → 20160708163205_add_type_to_reimbursement_type.spree.rb} +0 -0
  196. data/spec/dummy/db/migrate/{20160707103531_create_spree_reimbursement_credits.spree.rb → 20160708163206_create_spree_reimbursement_credits.spree.rb} +0 -0
  197. 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
  198. 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
  199. 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
  200. 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
  201. 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
  202. data/spec/dummy/db/migrate/20160708163212_add_store_id_to_orders.spree.rb +9 -0
  203. data/spec/dummy/db/migrate/{20160707103538_create_spree_taxons_prototypes.spree.rb → 20160708163213_create_spree_taxons_prototypes.spree.rb} +0 -0
  204. data/spec/dummy/db/migrate/20160708163214_add_state_lock_version_to_order.spree.rb +6 -0
  205. data/spec/dummy/db/migrate/20160708163215_add_counter_cache_from_spree_variants_to_spree_stock_items.spree.rb +14 -0
  206. data/spec/dummy/db/migrate/{20160707103540_fix_adjustment_order_presence.spree.rb → 20160708163216_fix_adjustment_order_presence.spree.rb} +1 -1
  207. data/spec/dummy/db/migrate/{20160707103541_update_classifications_positions.spree.rb → 20160708163217_update_classifications_positions.spree.rb} +0 -0
  208. 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
  209. data/spec/dummy/db/migrate/20160708163219_fix_adjustment_order_id.spree.rb +71 -0
  210. data/spec/dummy/db/migrate/20160708163220_add_deleted_at_to_friendly_id_slugs.spree.rb +7 -0
  211. data/spec/dummy/db/migrate/20160708163221_enable_acts_as_paranoid_on_calculators.spree.rb +7 -0
  212. 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
  213. data/spec/dummy/db/migrate/{20160707103632_resize_api_key_field.spree_api.rb → 20160708163223_resize_api_key_field.spree_api.rb} +0 -0
  214. 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
  215. 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
  216. data/spec/dummy/db/migrate/{20160707103635_create_users.solidus_auth.rb → 20160708163226_create_users.spree_auth.rb} +1 -1
  217. data/spec/dummy/db/migrate/{20160707103636_rename_columns_for_devise.solidus_auth.rb → 20160708163227_rename_columns_for_devise.spree_auth.rb} +1 -1
  218. data/spec/dummy/db/migrate/{20160707103637_convert_user_remember_field.solidus_auth.rb → 20160708163228_convert_user_remember_field.spree_auth.rb} +1 -1
  219. 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
  220. 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
  221. 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
  222. data/spec/dummy/db/migrate/{20160707103641_add_confirmable_to_users.solidus_auth.rb → 20160708163232_add_confirmable_to_users.spree_auth.rb} +1 -1
  223. data/spec/dummy/db/migrate/{20160707103642_create_delayed_jobs.rb → 20160708163233_create_delayed_jobs.rb} +0 -0
  224. data/spec/dummy/db/schema.rb +210 -397
  225. data/spec/dummy/db/spree_test.sqlite3 +0 -0
  226. data/spec/dummy/log/test.log +15949 -8818
  227. data/spec/dummy/tmp/cache/2CC/B21/spree%2Fapp_configuration%2Frequire_master_price +1 -0
  228. data/spec/dummy/tmp/cache/397/F31/spree%2Fapp_configuration%2Fbinary_inventory_cache +1 -0
  229. data/spec/dummy/tmp/cache/39C/F91/spree%2Fapp_configuration%2Ftax_using_ship_address +1 -0
  230. data/spec/dummy/tmp/cache/3A7/4A1/spree%2Fapp_configuration%2Faddress_requires_state +1 -0
  231. data/spec/dummy/tmp/cache/3BE/851/spree%2Fapp_configuration%2Ftrack_inventory_levels +1 -0
  232. data/spec/dummy/tmp/cache/5AE/6A1/spree%2Fapp_configuration%2Falways_include_confirm_step +1 -0
  233. data/spec/dummy/tmp/cache/DDD/2D0/spree%2Fapp_configuration%2Fcurrency +1 -0
  234. data/spec/dummy/tmp/cache/F65/550/spree%2Fauth_configuration%2Fconfirmable +1 -1
  235. data/spec/dummy/vendor/assets/javascripts/spree/backend/all.js +3 -0
  236. data/spec/dummy/vendor/assets/javascripts/spree/frontend/all.js +3 -0
  237. data/spec/dummy/vendor/assets/stylesheets/spree/backend/all.css +3 -0
  238. data/spec/dummy/vendor/assets/stylesheets/spree/frontend/all.css +3 -0
  239. data/spec/features/recurring_reports_spec.rb +1 -1
  240. data/spec/unit/lib/order_reporting/delayed_job_scheduler_spec.rb +12 -2
  241. metadata +428 -584
  242. data/spec/dummy/bin/setup +0 -29
  243. data/spec/dummy/db/migrate/20160707103384_create_shipping_method_zone.spree.rb +0 -22
  244. data/spec/dummy/db/migrate/20160707103419_rename_shipping_methods_zones_to_spree_shipping_methods_zones.spree.rb +0 -6
  245. data/spec/dummy/db/migrate/20160707103484_migrate_old_preferences.spree.rb +0 -52
  246. data/spec/dummy/db/migrate/20160707103490_add_many_missing_indexes.spree.rb +0 -20
  247. data/spec/dummy/db/migrate/20160707103491_correct_some_polymorphic_index_and_add_more_missing.spree.rb +0 -66
  248. data/spec/dummy/db/migrate/20160707103503_create_order_mutex.spree.rb +0 -12
  249. data/spec/dummy/db/migrate/20160707103508_create_spree_return_authorization_reasons.spree.rb +0 -33
  250. data/spec/dummy/db/migrate/20160707103537_add_store_id_to_orders.spree.rb +0 -13
  251. data/spec/dummy/db/migrate/20160707103539_add_counter_cache_from_spree_variants_to_spree_stock_items.spree.rb +0 -9
  252. data/spec/dummy/db/migrate/20160707103543_remove_extra_products_slug_index.spree.rb +0 -6
  253. data/spec/dummy/db/migrate/20160707103544_update_product_slug_index.spree.rb +0 -9
  254. data/spec/dummy/db/migrate/20160707103545_add_default_column_to_price.spree.rb +0 -6
  255. data/spec/dummy/db/migrate/20160707103546_add_position_to_stock_location.spree.rb +0 -6
  256. data/spec/dummy/db/migrate/20160707103547_create_spree_promotion_codes.spree.rb +0 -14
  257. data/spec/dummy/db/migrate/20160707103548_create_adjustment_promotion_code_association.spree.rb +0 -7
  258. data/spec/dummy/db/migrate/20160707103549_remove_environment_from_payment_method.spree.rb +0 -7
  259. data/spec/dummy/db/migrate/20160707103550_add_restock_inventory_to_stock_location.spree.rb +0 -6
  260. data/spec/dummy/db/migrate/20160707103551_add_code_to_spree_promotion_categories.spree.rb +0 -6
  261. data/spec/dummy/db/migrate/20160707103552_create_order_stock_locations.spree.rb +0 -13
  262. data/spec/dummy/db/migrate/20160707103553_remove_environment_from_tracker.spree.rb +0 -7
  263. data/spec/dummy/db/migrate/20160707103554_add_fulfillable_to_stock_location.spree.rb +0 -6
  264. data/spec/dummy/db/migrate/20160707103555_add_code_to_refund_reason.spree.rb +0 -6
  265. data/spec/dummy/db/migrate/20160707103556_add_promotion_code_id_to_orders_promotions.spree.rb +0 -8
  266. data/spec/dummy/db/migrate/20160707103557_add_approver_name_to_spree_orders.spree.rb +0 -6
  267. data/spec/dummy/db/migrate/20160707103558_move_promotion_code_to_promotion_code_value.spree.rb +0 -66
  268. data/spec/dummy/db/migrate/20160707103559_downcase_promotion_codes_values.spree.rb +0 -12
  269. data/spec/dummy/db/migrate/20160707103560_add_order_ids_to_adjustments_where_missing.spree.rb +0 -10
  270. data/spec/dummy/db/migrate/20160707103561_add_per_code_usage_limit_to_promotions.spree.rb +0 -6
  271. data/spec/dummy/db/migrate/20160707103562_remove_usage_limit_from_promotion_codes.spree.rb +0 -6
  272. data/spec/dummy/db/migrate/20160707103563_add_timestamps_to_order_promotions.spree.rb +0 -7
  273. data/spec/dummy/db/migrate/20160707103564_create_spree_cartons.spree.rb +0 -25
  274. data/spec/dummy/db/migrate/20160707103565_add_timestamps_to_spree_roles_users.spree.rb +0 -8
  275. data/spec/dummy/db/migrate/20160707103566_remove_considered_risky_from_spree_orders.spree.rb +0 -6
  276. data/spec/dummy/db/migrate/20160707103567_add_index_to_inventory_units_carton_id.spree.rb +0 -6
  277. data/spec/dummy/db/migrate/20160707103568_add_imported_from_shipment_id_to_cartons.spree.rb +0 -9
  278. data/spec/dummy/db/migrate/20160707103569_copy_shipped_shipments_to_cartons.spree.rb +0 -14
  279. data/spec/dummy/db/migrate/20160707103570_create_spree_user_stock_locations.spree.rb +0 -11
  280. data/spec/dummy/db/migrate/20160707103571_add_stock_location_code.spree.rb +0 -6
  281. data/spec/dummy/db/migrate/20160707103572_create_unit_cancels.spree.rb +0 -11
  282. data/spec/dummy/db/migrate/20160707103573_add_fields_to_stock_transfer.spree.rb +0 -13
  283. data/spec/dummy/db/migrate/20160707103574_create_transfer_items.spree.rb +0 -15
  284. data/spec/dummy/db/migrate/20160707103575_drop_stock_transfer_type.spree.rb +0 -11
  285. data/spec/dummy/db/migrate/20160707103576_add_stock_transfer_finalized_at.spree.rb +0 -9
  286. data/spec/dummy/db/migrate/20160707103577_rename_stock_transfer_reference.spree.rb +0 -6
  287. data/spec/dummy/db/migrate/20160707103578_create_line_item_actions.spree.rb +0 -11
  288. data/spec/dummy/db/migrate/20160707103579_create_spree_store_credit_categories.spree.rb +0 -11
  289. data/spec/dummy/db/migrate/20160707103580_create_spree_store_credits.spree.rb +0 -20
  290. data/spec/dummy/db/migrate/20160707103581_create_spree_store_credit_events.spree.rb +0 -18
  291. data/spec/dummy/db/migrate/20160707103582_create_spree_store_credit_payment_method.spree.rb +0 -22
  292. data/spec/dummy/db/migrate/20160707103583_create_store_credit_types.spree.rb +0 -18
  293. data/spec/dummy/db/migrate/20160707103584_create_store_credit_reimbursement_type.spree.rb +0 -6
  294. data/spec/dummy/db/migrate/20160707103585_add_resellable_to_return_items.spree.rb +0 -6
  295. data/spec/dummy/db/migrate/20160707103586_add_invalidated_at_to_spree_store_credits.spree.rb +0 -6
  296. data/spec/dummy/db/migrate/20160707103587_migrate_deleted_store_credits_to_invalidated.spree.rb +0 -14
  297. data/spec/dummy/db/migrate/20160707103588_add_check_stock_on_transfer.spree.rb +0 -6
  298. data/spec/dummy/db/migrate/20160707103589_fix_adjustment_order_id.spree.rb +0 -81
  299. data/spec/dummy/db/migrate/20160707103590_delete_inventory_units_without_shipment.spree.rb +0 -26
  300. data/spec/dummy/db/migrate/20160707103591_add_deleted_at_to_stock_transfers.spree.rb +0 -6
  301. data/spec/dummy/db/migrate/20160707103592_add_deleted_at_to_transfer_items.spree.rb +0 -6
  302. data/spec/dummy/db/migrate/20160707103593_increase_scale_on_pre_tax_amounts.spree.rb +0 -27
  303. data/spec/dummy/db/migrate/20160707103594_add_preferences_to_promotion_actions.spree.rb +0 -6
  304. data/spec/dummy/db/migrate/20160707103595_add_id_to_spree_option_values_variants.spree.rb +0 -6
  305. data/spec/dummy/db/migrate/20160707103596_add_frontend_viewable_to_spree_orders.spree.rb +0 -6
  306. data/spec/dummy/db/migrate/20160707103597_remove_spree_configurations.spree.rb +0 -16
  307. data/spec/dummy/db/migrate/20160707103598_add_preference_source_to_spree_payment_methods.spree.rb +0 -6
  308. data/spec/dummy/db/migrate/20160707103599_remove_credit_card_address_id.spree.rb +0 -8
  309. data/spec/dummy/db/migrate/20160707103600_create_spree_store_credit_update_reasons.spree.rb +0 -9
  310. data/spec/dummy/db/migrate/20160707103601_create_adjustment_reason.spree.rb +0 -19
  311. data/spec/dummy/db/migrate/20160707103602_add_update_reason_to_store_credit_events.spree.rb +0 -6
  312. data/spec/dummy/db/migrate/20160707103603_add_return_authorization_reason_id_to_return_items.spree.rb +0 -8
  313. data/spec/dummy/db/migrate/20160707103604_seed_store_credit_update_reasons.spree.rb +0 -10
  314. data/spec/dummy/db/migrate/20160707103605_remove_shipping_method_id_from_spree_orders.spree.rb +0 -10
  315. data/spec/dummy/db/migrate/20160707103606_remove_counter_cache_from_spree_variants_to_spree_stock_items.spree.rb +0 -11
  316. data/spec/dummy/db/migrate/20160707103607_add_address_id_to_credit_card.spree.rb +0 -6
  317. data/spec/dummy/db/migrate/20160707103608_copy_order_bill_address_to_credit_card.spree.rb +0 -13
  318. data/spec/dummy/db/migrate/20160707103609_remove_unnecessary_indexes.spree.rb +0 -65
  319. data/spec/dummy/db/migrate/20160707103610_remove_state_lock_version_from_order.spree.rb +0 -12
  320. data/spec/dummy/db/migrate/20160707103611_add_spree_user_addresses.spree.rb +0 -17
  321. data/spec/dummy/db/migrate/20160707103612_add_id_and_timestamp_to_promotion_rule_user.spree.rb +0 -14
  322. data/spec/dummy/db/migrate/20160707103613_remove_mandatory_from_adjustments.spree.rb +0 -6
  323. data/spec/dummy/db/migrate/20160707103614_add_finalized_to_spree_adjustments.spree.rb +0 -12
  324. data/spec/dummy/db/migrate/20160707103615_add_store_payment_methods.spree.rb +0 -11
  325. data/spec/dummy/db/migrate/20160707103616_convert_habtm_to_hmt_for_shipping_methods_zones.spree.rb +0 -18
  326. data/spec/dummy/db/migrate/20160707103617_convert_habtm_to_hmt_for_products_promotion_rules.spree.rb +0 -18
  327. data/spec/dummy/db/migrate/20160707103618_drop_spree_gateways.spree.rb +0 -21
  328. data/spec/dummy/db/migrate/20160707103619_convert_habtm_to_hmt_for_taxon_prototypes.spree.rb +0 -16
  329. data/spec/dummy/db/migrate/20160707103620_create_variant_properties_and_rules.spree.rb +0 -29
  330. data/spec/dummy/db/migrate/20160707103621_add_foreign_keys_for_taxons_prototypes.spree.rb +0 -7
  331. data/spec/dummy/db/migrate/20160707103622_remove_token_permissions_table.spree.rb +0 -17
  332. data/spec/dummy/db/migrate/20160707103623_rename_identifier_to_number_for_payment.spree.rb +0 -8
  333. data/spec/dummy/db/migrate/20160707103624_add_foreign_keys_for_product_promotion_rules.spree.rb +0 -10
  334. data/spec/dummy/db/migrate/20160707103625_add_sale_to_spree_promotions.spree.rb +0 -7
  335. data/spec/dummy/db/migrate/20160707103626_convert_sale_promotions.spree.rb +0 -29
  336. data/spec/dummy/db/migrate/20160707103627_convert_habtm_to_hmt_for_properties_prototypes.spree.rb +0 -18
  337. data/spec/dummy/db/migrate/20160707103628_convert_habtm_to_hmt_for_option_type_prototypes.spree.rb +0 -18
  338. data/spec/dummy/db/migrate/20160707103629_convert_habtm_to_hmt_for_taxons_promotion_rules.spree.rb +0 -16
  339. data/spec/dummy/db/migrate/20160707103630_add_stock_item_unique_index.spree.rb +0 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7263a53957c780a378dc610972b849020d84cf66
4
- data.tar.gz: 1594359c8fbf45812e3a0cc82d15f74bda606930
3
+ metadata.gz: edcf697cf996bd51352b2212dad592e83830f68d
4
+ data.tar.gz: b740df8bf3a8bb68446807b7a2c0e54e331cc4e5
5
5
  SHA512:
6
- metadata.gz: 20dac91708a611885968f814ee5912da68841e9397153a9b563f89d6900dba2d213d087baa299c803b083c7eb5559493c0171ccbf2059dd8c8b42ab240c87935
7
- data.tar.gz: 7e5be726dbd1768961ee3dba21b4b8c5cbbf370f50ff66223c01d58eec39195862cb64c27591aff7afd9a34b592f12e745b41fe4a554ffe93239b26d136d2dfd
6
+ metadata.gz: 6583553d587d0a9b8f494dbe31aa959a6c7eefa6a35bcd905a952f9b700c97a60ccaead2e80d8e41f570c666299dbbdf70cf1f73623ea022c0626fcb5455a4ac
7
+ data.tar.gz: 291c035253b896467c88a82243732b575b852125d109554f9e0af0d9dd83ce69fcd129d3efa974c146adb2bc96d4a172d841c79e3865de79f91b3dae3189b8dd
@@ -4,7 +4,10 @@ module OrderReporting
4
4
  class RecurringReportDelayedJob < RecurringReportJob
5
5
  def perform
6
6
  report.send_report
7
- ensure
7
+ end
8
+
9
+ def success
10
+ options[:even_if_job_exists] = true
8
11
  scheduler.schedule(report, options)
9
12
  end
10
13
  end
@@ -1,5 +1,7 @@
1
1
  module OrderReporting
2
2
  class Report
3
+ attr_reader :name
4
+
3
5
  def initialize(name)
4
6
  @name = name
5
7
  end
@@ -1,6 +1,10 @@
1
1
  module OrderReporting
2
2
  class DelayedJobScheduler
3
3
  def schedule(report, options)
4
+ unless options[:even_if_job_exists]
5
+ return if Delayed::Job.where('handler LIKE ?', "%#{report.name}%").any?
6
+ end
7
+
4
8
  job = RecurringReportDelayedJob.new(self, report, options)
5
9
  Delayed::Job.enqueue(job, run_at: options[:send_every].from_now)
6
10
  end
@@ -1,3 +1,3 @@
1
1
  module OrderReporting
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
@@ -3,7 +3,7 @@
3
3
  * listed below.
4
4
  *
5
5
  * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
6
+ * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
7
7
  *
8
8
  * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
9
  * compiled file so the styles you add here take precedence over styles defined in any styles
data/spec/dummy/bin/rails CHANGED
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env ruby
2
- APP_PATH = File.expand_path('../../config/application', __FILE__)
2
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
3
3
  require_relative '../config/boot'
4
4
  require 'rails/commands'
data/spec/dummy/config.ru CHANGED
@@ -1,4 +1,4 @@
1
1
  # This file is used by Rack-based servers to start the application.
2
2
 
3
- require ::File.expand_path('../config/environment', __FILE__)
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
4
  run Rails.application
@@ -22,7 +22,7 @@ begin
22
22
  rescue LoadError
23
23
  # spree_api is not available.
24
24
  end
25
- require 'solidus_order_reporting'
25
+ require 'spree_order_reporting'
26
26
 
27
27
  module Dummy
28
28
  class Application < Rails::Application
@@ -50,9 +50,6 @@ module Dummy
50
50
  # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
51
51
  # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
52
52
  # config.i18n.default_locale = :de
53
-
54
- # Do not swallow errors in after_commit/after_rollback callbacks.
55
- config.active_record.raise_in_transactional_callbacks = true
56
53
  end
57
54
  end
58
55
 
@@ -27,10 +27,6 @@ Rails.application.configure do
27
27
  # number of complex assets.
28
28
  config.assets.debug = true
29
29
 
30
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
31
- # yet still be able to expire them through the digest params.
32
- config.assets.digest = true
33
-
34
30
  # Adds additional error checking when serving assets at runtime.
35
31
  # Checks for improperly declared sprockets dependencies.
36
32
  # Raises helpful error messages.
@@ -16,13 +16,11 @@ Rails.application.configure do
16
16
 
17
17
  # Enable Rack::Cache to put a simple HTTP cache in front of your application
18
18
  # Add `rack-cache` to your Gemfile before enabling this.
19
- # For large-scale production use, consider using a caching reverse proxy like
20
- # NGINX, varnish or squid.
19
+ # For large-scale production use, consider using a caching reverse proxy like nginx, varnish or squid.
21
20
  # config.action_dispatch.rack_cache = true
22
21
 
23
- # Disable serving static files from the `/public` folder by default since
24
- # Apache or NGINX already handles this.
25
- config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
22
+ # Disable Rails's static asset server (Apache or nginx will already do this).
23
+ config.serve_static_assets = false
26
24
 
27
25
  # Compress JavaScripts and CSS.
28
26
  config.assets.js_compressor = :uglifier
@@ -31,22 +29,20 @@ Rails.application.configure do
31
29
  # Do not fallback to assets pipeline if a precompiled asset is missed.
32
30
  config.assets.compile = false
33
31
 
34
- # Asset digests allow you to set far-future HTTP expiration dates on all assets,
35
- # yet still be able to expire them through the digest params.
32
+ # Generate digests for assets URLs.
36
33
  config.assets.digest = true
37
34
 
38
35
  # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
39
36
 
40
37
  # Specifies the header that your server uses for sending files.
41
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
42
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
38
+ # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
39
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
43
40
 
44
41
  # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
45
42
  # config.force_ssl = true
46
43
 
47
- # Use the lowest log level to ensure availability of diagnostic information
48
- # when problems arise.
49
- config.log_level = :debug
44
+ # Set to :debug to see everything in the log.
45
+ config.log_level = :info
50
46
 
51
47
  # Prepend all log lines with the following tags.
52
48
  # config.log_tags = [ :subdomain, :uuid ]
@@ -58,7 +54,7 @@ Rails.application.configure do
58
54
  # config.cache_store = :mem_cache_store
59
55
 
60
56
  # Enable serving of images, stylesheets, and JavaScripts from an asset server.
61
- # config.action_controller.asset_host = 'http://assets.example.com'
57
+ # config.action_controller.asset_host = "http://assets.example.com"
62
58
 
63
59
  # Ignore bad email addresses and do not raise email delivery errors.
64
60
  # Set this to true and configure the email server for immediate delivery to raise delivery errors.
@@ -71,6 +67,9 @@ Rails.application.configure do
71
67
  # Send deprecation notices to registered listeners.
72
68
  config.active_support.deprecation = :notify
73
69
 
70
+ # Disable automatic flushing of the log to improve performance.
71
+ # config.autoflush_log = false
72
+
74
73
  # Use default logging formatter so that PID and timestamp are not suppressed.
75
74
  config.log_formatter = ::Logger::Formatter.new
76
75
 
@@ -8,7 +8,7 @@ Dummy::Application.configure do
8
8
  config.cache_classes = true
9
9
 
10
10
  # Configure static asset server for tests with Cache-Control for performance
11
- config.serve_static_files = true
11
+ config.serve_static_assets = true
12
12
  config.static_cache_control = "public, max-age=3600"
13
13
 
14
14
  # Show full error reports and disable caching
@@ -3,9 +3,6 @@
3
3
  # Version of your assets, change this if you want to expire all your assets.
4
4
  Rails.application.config.assets.version = '1.0'
5
5
 
6
- # Add additional assets to the asset load path
7
- # Rails.application.config.assets.paths << Emoji.images_path
8
-
9
6
  # Precompile additional assets.
10
7
  # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
11
8
  # Rails.application.config.assets.precompile += %w( search.js )
@@ -1,3 +1,3 @@
1
1
  # Be sure to restart your server when you modify this file.
2
2
 
3
- Rails.application.config.action_dispatch.cookies_serializer = :json
3
+ Rails.application.config.action_dispatch.cookies_serializer = :json
@@ -1,3 +1,3 @@
1
1
  if Object.const_defined?("Devise")
2
- Devise.secret_key = "7c86621b0551ccc23c777d687764da0126d7d0d2d5a1d101616c39fda2eb730b9aa5d949c5dd4c2696c50ad775829e1d1b7a"
2
+ Devise.secret_key = "c24d7942ef4a7fcc007f2529c37e47b3deb17da0aa0aa08f0dc7856c87aaf4993be22f2087811be32d8eddde1c8120786bf9"
3
3
  end
@@ -1,57 +1,14 @@
1
- # Configure Solidus Preferences
2
- # See http://docs.solidus.io/Spree/AppConfiguration.html for details
3
-
1
+ # Configure Spree Preferences
2
+ #
3
+ # Note: Initializing preferences available within the Admin will overwrite any changes that were made through the user interface when you restart.
4
+ # If you would like users to be able to update a setting with the Admin it should NOT be set here.
5
+ #
6
+ # In order to initialize a setting do:
7
+ # config.setting_name = 'new value'
4
8
  Spree.config do |config|
5
- # Without this preferences are loaded and persisted to the database. This
6
- # changes them to be stored in memory.
7
- # This will be the default in a future version.
8
- config.use_static_preferences!
9
-
10
- # Core:
11
-
12
- # Default currency for new sites
13
- config.currency = "USD"
14
-
15
- # from address for transactional emails
16
- config.mails_from = "store@example.com"
17
-
9
+ # Example:
18
10
  # Uncomment to stop tracking inventory levels in the application
19
11
  # config.track_inventory_levels = false
20
-
21
- # When set, product caches are only invalidated when they fall below or rise
22
- # above the inventory_cache_threshold that is set. Default is to invalidate cache on
23
- # any inventory changes.
24
- # config.inventory_cache_threshold = 3
25
-
26
-
27
- # Frontend:
28
-
29
- # Custom logo for the frontend
30
- # config.logo = "logo/solidus_logo.png"
31
-
32
- # Template to use when rendering layout
33
- # config.layout = "spree/layouts/spree_application"
34
-
35
-
36
- # Admin:
37
-
38
- # Custom logo for the admin
39
- # config.admin_interface_logo = "logo/solidus_logo.png"
40
-
41
- # Gateway credentials can be configured statically here and referenced from
42
- # the admin. They can also be fully configured from the admin.
43
- #
44
- # config.static_model_preferences.add(
45
- # Spree::Gateway::StripeGateway,
46
- # 'stripe_env_credentials',
47
- # secret_key: ENV['STRIPE_SECRET_KEY'],
48
- # publishable_key: ENV['STRIPE_PUBLISHABLE_KEY'],
49
- # server: Rails.env.production? ? 'production' : 'test',
50
- # test_mode: !Rails.env.production?
51
- # )
52
12
  end
53
13
 
54
-
55
-
56
-
57
14
  Spree.user_class = "Spree::LegacyUser"
@@ -11,10 +11,10 @@
11
11
  # if you're sharing your code publicly.
12
12
 
13
13
  development:
14
- secret_key_base: c600a252726c72eb90fbde355fe6cab623cb636f27e55c461b503084cd41ac135a29b0cb1f554d33df350a080ad76d8629b3ca43404bd992eafbb934645ef072
14
+ secret_key_base: c8566737f29570d1940e65caac2b8694554afce800e1bb7dc0ec8afa505f0dfb49710f5bf7a344a425af9db90c9a7dc3a24d1e74ab4cfde4e37980dbf4bd15cf
15
15
 
16
16
  test:
17
- secret_key_base: ab3fda1f77541e6a3c730cc501cd8195cbba37ee8efa6fc8ed6a8e083988c00e36991fdf1187e36146d6f657265776ca2cd5ae59a8624eb5efe8619f279e98ee
17
+ secret_key_base: 593f2b5ea2ac1d56cc587cc9c52ae5b7f730542c5321c2ca8a0c0048fbf4d650e9c7103a1331e33ec85eb80372b70366d4c48b173b2ffab43d7fde10e54c1540
18
18
 
19
19
  # Do not keep production secrets in the repository,
20
20
  # instead read values from the environment.
@@ -0,0 +1,2 @@
1
+ ---
2
+ version: 2.4.11.beta
@@ -19,7 +19,7 @@ class SpreeOneTwo < ActiveRecord::Migration
19
19
  t.string :code
20
20
  t.boolean :advertise, :default => false
21
21
  t.string :path
22
- t.timestamps null: true
22
+ t.timestamps
23
23
  end
24
24
 
25
25
  create_table :spree_addresses do |t|
@@ -35,7 +35,7 @@ class SpreeOneTwo < ActiveRecord::Migration
35
35
  t.string :company
36
36
  t.references :state
37
37
  t.references :country
38
- t.timestamps null: true
38
+ t.timestamps
39
39
  end
40
40
 
41
41
  add_index :spree_addresses, [:firstname], :name => 'index_addresses_on_firstname'
@@ -50,7 +50,7 @@ class SpreeOneTwo < ActiveRecord::Migration
50
50
  t.boolean :mandatory
51
51
  t.boolean :locked
52
52
  t.boolean :eligible, :default => true
53
- t.timestamps null: true
53
+ t.timestamps
54
54
  end
55
55
 
56
56
  add_index :spree_adjustments, [:adjustable_id], :name => 'index_adjustments_on_order_id'
@@ -74,13 +74,13 @@ class SpreeOneTwo < ActiveRecord::Migration
74
74
  create_table :spree_calculators do |t|
75
75
  t.string :type
76
76
  t.references :calculable, :polymorphic => true
77
- t.timestamps null: true
77
+ t.timestamps
78
78
  end
79
79
 
80
80
  create_table :spree_configurations do |t|
81
81
  t.string :name
82
82
  t.string :type, :limit => 50
83
- t.timestamps null: true
83
+ t.timestamps
84
84
  end
85
85
 
86
86
  add_index :spree_configurations, [:name, :type], :name => 'index_spree_configurations_on_name_and_type'
@@ -106,7 +106,7 @@ class SpreeOneTwo < ActiveRecord::Migration
106
106
  t.references :address
107
107
  t.string :gateway_customer_profile_id
108
108
  t.string :gateway_payment_profile_id
109
- t.timestamps null: true
109
+ t.timestamps
110
110
  end
111
111
 
112
112
  create_table :spree_gateways do |t|
@@ -117,7 +117,7 @@ class SpreeOneTwo < ActiveRecord::Migration
117
117
  t.string :environment, :default => 'development'
118
118
  t.string :server, :default => 'test'
119
119
  t.boolean :test_mode, :default => true
120
- t.timestamps null: true
120
+ t.timestamps
121
121
  end
122
122
 
123
123
  create_table :spree_inventory_units do |t|
@@ -127,7 +127,7 @@ class SpreeOneTwo < ActiveRecord::Migration
127
127
  t.references :order
128
128
  t.references :shipment
129
129
  t.references :return_authorization
130
- t.timestamps null: true
130
+ t.timestamps
131
131
  end
132
132
 
133
133
  add_index :spree_inventory_units, [:order_id], :name => 'index_inventory_units_on_order_id'
@@ -139,7 +139,7 @@ class SpreeOneTwo < ActiveRecord::Migration
139
139
  t.references :order
140
140
  t.integer :quantity, :null => false
141
141
  t.decimal :price, :precision => 8, :scale => 2, :null => false
142
- t.timestamps null: true
142
+ t.timestamps
143
143
  end
144
144
 
145
145
  add_index :spree_line_items, [:order_id], :name => 'index_spree_line_items_on_order_id'
@@ -148,20 +148,20 @@ class SpreeOneTwo < ActiveRecord::Migration
148
148
  create_table :spree_log_entries do |t|
149
149
  t.references :source, :polymorphic => true
150
150
  t.text :details
151
- t.timestamps null: true
151
+ t.timestamps
152
152
  end
153
153
 
154
154
  create_table :spree_mail_methods do |t|
155
155
  t.string :environment
156
156
  t.boolean :active, :default => true
157
- t.timestamps null: true
157
+ t.timestamps
158
158
  end
159
159
 
160
160
  create_table :spree_option_types do |t|
161
161
  t.string :name, :limit => 100
162
162
  t.string :presentation, :limit => 100
163
163
  t.integer :position, :default => 0, :null => false
164
- t.timestamps null: true
164
+ t.timestamps
165
165
  end
166
166
 
167
167
  create_table :spree_option_types_prototypes, :id => false do |t|
@@ -174,7 +174,7 @@ class SpreeOneTwo < ActiveRecord::Migration
174
174
  t.string :name
175
175
  t.string :presentation
176
176
  t.references :option_type
177
- t.timestamps null: true
177
+ t.timestamps
178
178
  end
179
179
 
180
180
  create_table :spree_option_values_variants, :id => false do |t|
@@ -201,7 +201,7 @@ class SpreeOneTwo < ActiveRecord::Migration
201
201
  t.string :payment_state
202
202
  t.string :email
203
203
  t.text :special_instructions
204
- t.timestamps null: true
204
+ t.timestamps
205
205
  end
206
206
 
207
207
  add_index :spree_orders, [:number], :name => 'index_spree_orders_on_number'
@@ -214,7 +214,7 @@ class SpreeOneTwo < ActiveRecord::Migration
214
214
  t.string :environment, :default => 'development'
215
215
  t.datetime :deleted_at
216
216
  t.string :display_on
217
- t.timestamps null: true
217
+ t.timestamps
218
218
  end
219
219
 
220
220
  create_table :spree_payments do |t|
@@ -225,7 +225,7 @@ class SpreeOneTwo < ActiveRecord::Migration
225
225
  t.string :state
226
226
  t.string :response_code
227
227
  t.string :avs_response
228
- t.timestamps null: true
228
+ t.timestamps
229
229
  end
230
230
 
231
231
  create_table :spree_preferences do |t|
@@ -234,7 +234,7 @@ class SpreeOneTwo < ActiveRecord::Migration
234
234
  t.text :value
235
235
  t.string :key
236
236
  t.string :value_type
237
- t.timestamps null: true
237
+ t.timestamps
238
238
  end
239
239
 
240
240
  add_index :spree_preferences, [:key], :name => 'index_spree_preferences_on_key', :unique => true
@@ -243,14 +243,14 @@ class SpreeOneTwo < ActiveRecord::Migration
243
243
  t.integer :position
244
244
  t.references :product
245
245
  t.references :option_type
246
- t.timestamps null: true
246
+ t.timestamps
247
247
  end
248
248
 
249
249
  create_table :spree_product_properties do |t|
250
250
  t.string :value
251
251
  t.references :product
252
252
  t.references :property
253
- t.timestamps null: true
253
+ t.timestamps
254
254
  end
255
255
 
256
256
  add_index :spree_product_properties, [:product_id], :name => 'index_product_properties_on_product_id'
@@ -266,7 +266,7 @@ class SpreeOneTwo < ActiveRecord::Migration
266
266
  t.references :tax_category
267
267
  t.references :shipping_category
268
268
  t.integer :count_on_hand, :default => 0, :null => false
269
- t.timestamps null: true
269
+ t.timestamps
270
270
  end
271
271
 
272
272
  add_index :spree_products, [:available_on], :name => 'index_spree_products_on_available_on'
@@ -285,7 +285,7 @@ class SpreeOneTwo < ActiveRecord::Migration
285
285
  create_table :spree_properties do |t|
286
286
  t.string :name
287
287
  t.string :presentation, :null => false
288
- t.timestamps null: true
288
+ t.timestamps
289
289
  end
290
290
 
291
291
  create_table :spree_properties_prototypes, :id => false do |t|
@@ -295,7 +295,7 @@ class SpreeOneTwo < ActiveRecord::Migration
295
295
 
296
296
  create_table :spree_prototypes do |t|
297
297
  t.string :name
298
- t.timestamps null: true
298
+ t.timestamps
299
299
  end
300
300
 
301
301
  create_table :spree_return_authorizations do |t|
@@ -304,7 +304,7 @@ class SpreeOneTwo < ActiveRecord::Migration
304
304
  t.decimal :amount, :precision => 8, :scale => 2, :default => 0.0, :null => false
305
305
  t.references :order
306
306
  t.text :reason
307
- t.timestamps null: true
307
+ t.timestamps
308
308
  end
309
309
 
310
310
  create_table :spree_roles do |t|
@@ -328,14 +328,14 @@ class SpreeOneTwo < ActiveRecord::Migration
328
328
  t.references :shipping_method
329
329
  t.references :address
330
330
  t.string :state
331
- t.timestamps null: true
331
+ t.timestamps
332
332
  end
333
333
 
334
334
  add_index :spree_shipments, [:number], :name => 'index_shipments_on_number'
335
335
 
336
336
  create_table :spree_shipping_categories do |t|
337
337
  t.string :name
338
- t.timestamps null: true
338
+ t.timestamps
339
339
  end
340
340
 
341
341
  create_table :spree_shipping_methods do |t|
@@ -347,7 +347,7 @@ class SpreeOneTwo < ActiveRecord::Migration
347
347
  t.boolean :match_all
348
348
  t.boolean :match_one
349
349
  t.datetime :deleted_at
350
- t.timestamps null: true
350
+ t.timestamps
351
351
  end
352
352
 
353
353
  create_table :spree_state_changes do |t|
@@ -357,7 +357,7 @@ class SpreeOneTwo < ActiveRecord::Migration
357
357
  t.references :user
358
358
  t.string :stateful_type
359
359
  t.string :next_state
360
- t.timestamps null: true
360
+ t.timestamps
361
361
  end
362
362
 
363
363
  create_table :spree_states do |t|
@@ -371,7 +371,7 @@ class SpreeOneTwo < ActiveRecord::Migration
371
371
  t.string :description
372
372
  t.boolean :is_default, :default => false
373
373
  t.datetime :deleted_at
374
- t.timestamps null: true
374
+ t.timestamps
375
375
  end
376
376
 
377
377
  create_table :spree_tax_rates do |t|
@@ -379,12 +379,12 @@ class SpreeOneTwo < ActiveRecord::Migration
379
379
  t.references :zone
380
380
  t.references :tax_category
381
381
  t.boolean :included_in_price, :default => false
382
- t.timestamps null: true
382
+ t.timestamps
383
383
  end
384
384
 
385
385
  create_table :spree_taxonomies do |t|
386
386
  t.string :name, :null => false
387
- t.timestamps null: true
387
+ t.timestamps
388
388
  end
389
389
 
390
390
  create_table :spree_taxons do |t|
@@ -400,7 +400,7 @@ class SpreeOneTwo < ActiveRecord::Migration
400
400
  t.integer :icon_file_size
401
401
  t.datetime :icon_updated_at
402
402
  t.text :description
403
- t.timestamps null: true
403
+ t.timestamps
404
404
  end
405
405
 
406
406
  add_index :spree_taxons, [:parent_id], :name => 'index_taxons_on_parent_id'
@@ -410,7 +410,7 @@ class SpreeOneTwo < ActiveRecord::Migration
410
410
  create_table :spree_tokenized_permissions, :force => true do |t|
411
411
  t.references :permissable, :polymorphic => true
412
412
  t.string :token
413
- t.timestamps null: true
413
+ t.timestamps
414
414
  end
415
415
 
416
416
  add_index :spree_tokenized_permissions, [:permissable_id, :permissable_type], :name => 'index_tokenized_name_and_type'
@@ -419,7 +419,7 @@ class SpreeOneTwo < ActiveRecord::Migration
419
419
  t.string :environment
420
420
  t.string :analytics_id
421
421
  t.boolean :active, :default => true
422
- t.timestamps null: true
422
+ t.timestamps
423
423
  end
424
424
 
425
425
  create_table :spree_users do |t|
@@ -445,7 +445,7 @@ class SpreeOneTwo < ActiveRecord::Migration
445
445
  t.datetime :locked_at
446
446
  t.datetime :remember_created_at
447
447
  t.datetime :reset_password_sent_at
448
- t.timestamps null: true
448
+ t.timestamps
449
449
  end
450
450
 
451
451
  create_table :spree_variants do |t|
@@ -468,7 +468,7 @@ class SpreeOneTwo < ActiveRecord::Migration
468
468
  create_table :spree_zone_members do |t|
469
469
  t.references :zoneable, :polymorphic => true
470
470
  t.references :zone
471
- t.timestamps null: true
471
+ t.timestamps
472
472
  end
473
473
 
474
474
  create_table :spree_zones do |t|
@@ -476,7 +476,7 @@ class SpreeOneTwo < ActiveRecord::Migration
476
476
  t.string :description
477
477
  t.boolean :default_tax, :default => false
478
478
  t.integer :zone_members_count, :default => 0
479
- t.timestamps null: true
479
+ t.timestamps
480
480
  end
481
481
  end
482
482
  end