Permalink
Commits on Apr 1, 2013
  1. Revert "Fix ambiguous column name in UpdateShipmentStateForCanceledOr…

    …ders"
    
    This reverts commit 0c04aad.
    
    rake test_app was getting SQLite3::SQLException: near ".": syntax error
    committed Apr 1, 2013
  2. Change migration to avoid tiggering callback and use private send:

    * Skip :after callbacks on StockLocation and StockItem when creating
    intitial instances. Regression due to 0ba60a0 and 630afbb
    * Use private send to set StockItem.count_on_hand
    because :count_on_hand= is now private. Regression due to 9acf57f
    
    [Closes #2789]
    sohara committed with joneslee85 Mar 30, 2013
  3. Refactor Spree::Zone:

    * ruby19 hash syntax
    * indentation
    * scope logic refactor
    joneslee85 committed Apr 1, 2013
Commits on Mar 31, 2013
  1. [core] Refactor Spree::InventoryUnit:

    * Use symbol for state machine consistency
    * Re-enable commeted out test for #finalize_units!
    * Use scope shipped in .backordered_for_stock_item
    joneslee85 committed Mar 30, 2013
  2. Fix unshippable_spec

    BDQ committed Mar 31, 2013
  3. Fix removal of polymorphic associations

    josv committed with BDQ Mar 30, 2013
Commits on Mar 30, 2013
  1. [core] various refactoring:

    * Use ruby19 hash syntax
    * Add lambda to scopes
    joneslee85 committed Mar 30, 2013
Commits on Mar 29, 2013
  1. Create OrderContents and OrderInventory classes to manage adding line…

    … items and inventorys / shipment assignment for orders
    BDQ committed Mar 29, 2013
  2. pessimistic locking for stock_items

    committed Mar 29, 2013
  3. unshippable items request spec

    committed Mar 29, 2013
  4. Removing Unused Helper

    GeekOnCoffee committed Mar 29, 2013
  5. Use new Stock::AvailabilityValidator

    BDQ committed Mar 29, 2013
  6. Add Stock::Quantifier and Stock::AvailabilityValidator to ensure suff…

    …icient stock is available to fulfill order
    BDQ committed Mar 29, 2013
Commits on Mar 28, 2013
  1. Admin order edit request specs

    LBRapid committed Mar 28, 2013
  2. fix request checkout spec

    committed Mar 28, 2013
  3. Fix promotion_adjustment_spec

    BDQ committed Mar 28, 2013