bonobos/spree_wombat — pull request #16 by athal7 (2014-08-29 19:41:03+00:00)
Title: Make update shipment handler accept inventory units

In
https://github.com/spree/spree_wombat/commit/a1c78bbd0c95879054e3a9954f398618f4bfd0c6,
we updated the shipment serializer to push inventory units, so if we are
updating, we should use them as well in case there is a variant mismatch
as there is with exchanges

If a shipment happens to be created using the add_shipment_handler
instead of pushed with the serializer, even though that builds inventory
units from the line items matching the shipment items skus, we should
still be ok because it should match the inventory units similarly to how
it previously matched line items.