solidus_core 1.0.7 → 1.1.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of solidus_core might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/controllers/spree/base_controller.rb +1 -2
- data/app/helpers/spree/base_helper.rb +4 -5
- data/app/helpers/spree/products_helper.rb +0 -8
- data/app/mailers/spree/carton_mailer.rb +17 -5
- data/app/mailers/spree/order_mailer.rb +12 -4
- data/app/models/concerns/spree/adjustment_source.rb +7 -8
- data/app/models/concerns/spree/default_price.rb +8 -2
- data/app/models/concerns/spree/named_type.rb +1 -1
- data/app/models/concerns/spree/ordered_property_value_list.rb +28 -0
- data/app/models/concerns/spree/user_address_book.rb +125 -0
- data/app/models/concerns/spree/user_api_authentication.rb +6 -2
- data/app/models/concerns/spree/user_methods.rb +5 -6
- data/app/models/spree/ability.rb +1 -38
- data/app/models/spree/address.rb +79 -36
- data/app/models/spree/adjustment.rb +74 -25
- data/app/models/spree/adjustment_reason.rb +1 -1
- data/app/models/spree/app_configuration.rb +35 -0
- data/app/models/spree/carton.rb +3 -3
- data/app/models/spree/country.rb +7 -1
- data/app/models/spree/credit_card.rb +5 -1
- data/app/models/spree/gateway.rb +0 -8
- data/app/models/spree/inventory_unit.rb +1 -1
- data/app/models/spree/item_adjustments.rb +1 -1
- data/app/models/spree/line_item_action.rb +1 -1
- data/app/models/spree/option_type.rb +3 -2
- data/app/models/spree/option_value.rb +1 -1
- data/app/models/spree/option_values_variant.rb +1 -1
- data/app/models/spree/order.rb +28 -56
- data/app/models/spree/order/checkout.rb +18 -20
- data/app/models/spree/order_mutex.rb +1 -1
- data/app/models/spree/order_promotion.rb +1 -1
- data/app/models/spree/order_shipping.rb +6 -12
- data/app/models/spree/order_stock_location.rb +1 -1
- data/app/models/spree/payment.rb +3 -14
- data/app/models/spree/payment/processing.rb +7 -14
- data/app/models/spree/payment_method.rb +5 -5
- data/app/models/spree/permission_sets/default_customer.rb +31 -0
- data/app/models/spree/permission_sets/order_display.rb +4 -0
- data/app/models/spree/permission_sets/order_management.rb +3 -0
- data/app/models/spree/permission_sets/promotion_display.rb +2 -1
- data/app/models/spree/permission_sets/restricted_stock_display.rb +16 -0
- data/app/models/spree/permission_sets/restricted_stock_management.rb +16 -0
- data/app/models/spree/permission_sets/restricted_stock_transfer_display.rb +17 -0
- data/app/models/spree/permission_sets/restricted_stock_transfer_management.rb +51 -0
- data/app/models/spree/permission_sets/stock_display.rb +1 -1
- data/app/models/spree/permission_sets/stock_management.rb +1 -2
- data/app/models/spree/permission_sets/stock_transfer_display.rb +10 -0
- data/app/models/spree/permission_sets/stock_transfer_management.rb +11 -0
- data/app/models/spree/permission_sets/super_user.rb +9 -0
- data/app/models/spree/product.rb +66 -28
- data/app/models/spree/product/scopes.rb +7 -22
- data/app/models/spree/product_option_type.rb +1 -1
- data/app/models/spree/product_promotion_rule.rb +6 -0
- data/app/models/spree/product_property.rb +2 -20
- data/app/models/spree/promotion/rules/product.rb +2 -1
- data/app/models/spree/refund.rb +0 -10
- data/app/models/spree/reimbursement.rb +1 -1
- data/app/models/spree/return_item.rb +5 -3
- data/app/models/spree/return_item/exchange_variant_eligibility/same_option_value.rb +13 -4
- data/app/models/spree/return_item/exchange_variant_eligibility/same_product.rb +2 -2
- data/app/models/spree/return_reason.rb +1 -1
- data/app/models/spree/role.rb +1 -1
- data/app/models/spree/role_user.rb +1 -1
- data/app/models/spree/shipment.rb +13 -4
- data/app/models/spree/shipping_manifest.rb +9 -3
- data/app/models/spree/shipping_method.rb +2 -3
- data/app/models/spree/shipping_method_zone.rb +6 -0
- data/app/models/spree/state.rb +1 -1
- data/app/models/spree/stock_item.rb +15 -3
- data/app/models/spree/stock_movement.rb +1 -1
- data/app/models/spree/store.rb +3 -0
- data/app/models/spree/store_credit.rb +1 -1
- data/app/models/spree/store_credit_category.rb +1 -1
- data/app/models/spree/store_credit_event.rb +1 -1
- data/app/models/spree/store_credit_type.rb +1 -1
- data/app/models/spree/store_credit_update_reason.rb +1 -1
- data/app/models/spree/store_payment_method.rb +6 -0
- data/app/models/spree/tax_rate.rb +3 -10
- data/app/models/spree/taxonomy.rb +1 -1
- data/app/models/spree/transfer_item.rb +1 -1
- data/app/models/spree/unit_cancel.rb +2 -2
- data/app/models/spree/user_address.rb +21 -0
- data/app/models/spree/user_stock_location.rb +1 -1
- data/app/models/spree/variant.rb +28 -13
- data/app/models/spree/variant_property_rule.rb +42 -0
- data/app/models/spree/variant_property_rule_condition.rb +8 -0
- data/app/models/spree/variant_property_rule_value.rb +8 -0
- data/app/models/spree/zone.rb +4 -2
- data/app/views/spree/carton_mailer/shipped_email.text.erb +1 -1
- data/config/locales/en.yml +13 -0
- data/db/default/spree/store_credit.rb +0 -1
- data/db/default/spree/zones.rb +1 -1
- data/db/migrate/20130228210442_create_shipping_method_zone.rb +1 -1
- data/db/migrate/20150121022521_remove_environment_from_payment_method.rb +6 -0
- data/db/migrate/20150506181611_create_spree_store_credit_payment_method.rb +9 -5
- data/db/migrate/20150731201146_add_spree_user_addresses.rb +16 -0
- data/db/migrate/20150811210350_remove_mandatory_from_adjustments.rb +5 -0
- data/db/migrate/20150811211025_add_finalized_to_spree_adjustments.rb +11 -0
- data/db/migrate/20150820160821_add_store_payment_methods.rb +10 -0
- data/db/migrate/20150824213633_convert_habtm_to_hmt_for_shipping_methods_zones.rb +17 -0
- data/db/migrate/20150824214129_convert_habtm_to_hmt_for_products_promotion_rules.rb +17 -0
- data/db/migrate/20150825204216_drop_spree_gateways.rb +20 -0
- data/db/migrate/20150909123605_create_variant_properties_and_rules.rb +28 -0
- data/lib/generators/spree/dummy/dummy_generator.rb +1 -1
- data/lib/generators/spree/install/templates/config/initializers/spree.rb +4 -3
- data/lib/spree/core.rb +4 -0
- data/lib/spree/core/controller_helpers/payment_parameters.rb +67 -0
- data/lib/spree/core/delegate_belongs_to.rb +1 -0
- data/lib/spree/core/engine.rb +9 -1
- data/lib/spree/core/importer/order.rb +1 -1
- data/lib/spree/core/role_configuration.rb +1 -1
- data/lib/spree/core/search/variant.rb +20 -2
- data/lib/spree/core/unreturned_item_charger.rb +21 -16
- data/lib/spree/i18n.rb +6 -24
- data/lib/spree/mailer_previews/carton_preview.rb +10 -0
- data/lib/spree/mailer_previews/order_preview.rb +18 -0
- data/lib/spree/permitted_attributes.rb +4 -1
- data/lib/spree/testing_support/capybara_ext.rb +2 -1
- data/lib/spree/testing_support/factories/address_factory.rb +9 -1
- data/lib/spree/testing_support/factories/credit_card_factory.rb +1 -0
- data/lib/spree/testing_support/factories/image_factory.rb +5 -0
- data/lib/spree/testing_support/factories/payment_method_factory.rb +4 -8
- data/lib/spree/testing_support/factories/user_factory.rb +8 -2
- data/lib/spree/testing_support/factories/variant_property_rule_condition_factory.rb +6 -0
- data/lib/spree/testing_support/factories/variant_property_rule_factory.rb +16 -0
- data/lib/spree/testing_support/factories/variant_property_rule_value_factory.rb +6 -0
- data/lib/tasks/migrations/migrate_user_addresses.rake +29 -0
- data/vendor/assets/javascripts/jquery-migrate-1.0.0.js +498 -0
- metadata +40 -238
- data/CHANGELOG.md +0 -1
- data/Gemfile +0 -3
- data/Rakefile +0 -16
- data/app/models/concerns/spree/user_address.rb +0 -30
- data/app/models/spree/permission_sets/restricted_transfer_management.rb +0 -35
- data/app/views/spree/admin/orders/customer_details/_autocomplete.js.erb +0 -19
- data/lib/spree/i18n/base.rb +0 -17
- data/lib/spree/i18n/initializer.rb +0 -1
- data/lib/spree/testing_support/mail.rb +0 -20
- data/script/rails +0 -9
- data/solidus_core.gemspec +0 -48
- data/spec/fixtures/thinking-cat.jpg +0 -0
- data/spec/helpers/base_helper_spec.rb +0 -173
- data/spec/helpers/order_helper_spec.rb +0 -12
- data/spec/helpers/products_helper_spec.rb +0 -220
- data/spec/helpers/taxons_helper_spec.rb +0 -17
- data/spec/lib/calculated_adjustments_spec.rb +0 -7
- data/spec/lib/i18n_spec.rb +0 -123
- data/spec/lib/search/base_spec.rb +0 -86
- data/spec/lib/search/variant_spec.rb +0 -92
- data/spec/lib/spree/core/controller_helpers/auth_spec.rb +0 -66
- data/spec/lib/spree/core/controller_helpers/order_spec.rb +0 -92
- data/spec/lib/spree/core/controller_helpers/search_spec.rb +0 -17
- data/spec/lib/spree/core/controller_helpers/store_spec.rb +0 -16
- data/spec/lib/spree/core/controller_helpers/strong_parameters_spec.rb +0 -39
- data/spec/lib/spree/core/current_store_spec.rb +0 -36
- data/spec/lib/spree/core/delegate_belongs_to_spec.rb +0 -22
- data/spec/lib/spree/core/importer/order_spec.rb +0 -431
- data/spec/lib/spree/core/role_configuration_spec.rb +0 -138
- data/spec/lib/spree/core/validators/email_spec.rb +0 -48
- data/spec/lib/spree/localized_number_spec.rb +0 -38
- data/spec/lib/spree/migrations_spec.rb +0 -36
- data/spec/lib/spree/money_spec.rb +0 -127
- data/spec/lib/tasks/exchanges_spec.rb +0 -231
- data/spec/lib/tasks/migrations/copy_shipped_shipments_to_cartons_spec.rb +0 -115
- data/spec/lib/tasks/order_capturing_spec.rb +0 -56
- data/spec/mailers/carton_mailer_spec.rb +0 -43
- data/spec/mailers/order_mailer_spec.rb +0 -122
- data/spec/mailers/reimbursement_mailer_spec.rb +0 -40
- data/spec/mailers/test_mailer_spec.rb +0 -15
- data/spec/models/spree/ability_spec.rb +0 -276
- data/spec/models/spree/address_spec.rb +0 -250
- data/spec/models/spree/adjustment_reason_spec.rb +0 -13
- data/spec/models/spree/adjustment_spec.rb +0 -177
- data/spec/models/spree/app_configuration_spec.rb +0 -20
- data/spec/models/spree/asset_spec.rb +0 -24
- data/spec/models/spree/calculator/default_tax_spec.rb +0 -127
- data/spec/models/spree/calculator/flat_percent_item_total_spec.rb +0 -25
- data/spec/models/spree/calculator/flat_rate_spec.rb +0 -47
- data/spec/models/spree/calculator/flexi_rate_spec.rb +0 -41
- data/spec/models/spree/calculator/percent_on_line_item_spec.rb +0 -15
- data/spec/models/spree/calculator/price_sack_spec.rb +0 -30
- data/spec/models/spree/calculator/refunds/default_refund_amount_spec.rb +0 -51
- data/spec/models/spree/calculator/shipping/flat_percent_item_total_spec.rb +0 -23
- data/spec/models/spree/calculator/shipping/flat_rate_spec.rb +0 -13
- data/spec/models/spree/calculator/shipping/flexi_rate_spec.rb +0 -52
- data/spec/models/spree/calculator/shipping/per_item_spec.rb +0 -20
- data/spec/models/spree/calculator/shipping/price_sack_spec.rb +0 -30
- data/spec/models/spree/calculator/tiered_flat_rate_spec.rb +0 -36
- data/spec/models/spree/calculator/tiered_percent_spec.rb +0 -47
- data/spec/models/spree/calculator_spec.rb +0 -36
- data/spec/models/spree/carton_spec.rb +0 -133
- data/spec/models/spree/classification_spec.rb +0 -15
- data/spec/models/spree/concerns/display_money_spec.rb +0 -43
- data/spec/models/spree/concerns/user_methods_spec.rb +0 -41
- data/spec/models/spree/credit_card_spec.rb +0 -334
- data/spec/models/spree/customer_return_spec.rb +0 -276
- data/spec/models/spree/exchange_spec.rb +0 -79
- data/spec/models/spree/gateway/bogus_simple.rb +0 -20
- data/spec/models/spree/gateway/bogus_spec.rb +0 -13
- data/spec/models/spree/gateway_spec.rb +0 -82
- data/spec/models/spree/inventory_unit_spec.rb +0 -307
- data/spec/models/spree/item_adjustments_spec.rb +0 -256
- data/spec/models/spree/line_item_spec.rb +0 -191
- data/spec/models/spree/option_type_spec.rb +0 -14
- data/spec/models/spree/option_value_spec.rb +0 -22
- data/spec/models/spree/order/address_spec.rb +0 -50
- data/spec/models/spree/order/adjustments_spec.rb +0 -39
- data/spec/models/spree/order/callbacks_spec.rb +0 -42
- data/spec/models/spree/order/checkout_spec.rb +0 -902
- data/spec/models/spree/order/currency_updater_spec.rb +0 -32
- data/spec/models/spree/order/finalizing_spec.rb +0 -111
- data/spec/models/spree/order/payment_spec.rb +0 -210
- data/spec/models/spree/order/risk_assessment_spec.rb +0 -68
- data/spec/models/spree/order/state_machine_spec.rb +0 -221
- data/spec/models/spree/order/tax_spec.rb +0 -84
- data/spec/models/spree/order/totals_spec.rb +0 -24
- data/spec/models/spree/order/updating_spec.rb +0 -18
- data/spec/models/spree/order/validations_spec.rb +0 -15
- data/spec/models/spree/order_cancellations_spec.rb +0 -120
- data/spec/models/spree/order_capturing_spec.rb +0 -116
- data/spec/models/spree/order_contents_spec.rb +0 -265
- data/spec/models/spree/order_inventory_spec.rb +0 -228
- data/spec/models/spree/order_mutex_spec.rb +0 -85
- data/spec/models/spree/order_promotion_spec.rb +0 -31
- data/spec/models/spree/order_shipping_spec.rb +0 -247
- data/spec/models/spree/order_spec.rb +0 -1464
- data/spec/models/spree/order_stock_location_spec.rb +0 -18
- data/spec/models/spree/order_updater_spec.rb +0 -299
- data/spec/models/spree/payment_method/store_credit_spec.rb +0 -294
- data/spec/models/spree/payment_method_spec.rb +0 -96
- data/spec/models/spree/payment_spec.rb +0 -1045
- data/spec/models/spree/permission_sets/base_spec.rb +0 -12
- data/spec/models/spree/permission_sets/configuration_display.rb +0 -82
- data/spec/models/spree/permission_sets/configuration_management_spec.rb +0 -50
- data/spec/models/spree/permission_sets/dashboard_display_spec.rb +0 -22
- data/spec/models/spree/permission_sets/order_display_spec.rb +0 -49
- data/spec/models/spree/permission_sets/order_management_spec.rb +0 -36
- data/spec/models/spree/permission_sets/product_display_spec.rb +0 -60
- data/spec/models/spree/permission_sets/product_management_spec.rb +0 -40
- data/spec/models/spree/permission_sets/promotion_display_spec.rb +0 -34
- data/spec/models/spree/permission_sets/promotion_management_spec.rb +0 -26
- data/spec/models/spree/permission_sets/report_display_spec.rb +0 -24
- data/spec/models/spree/permission_sets/restricted_transfer_management_spec.rb +0 -132
- data/spec/models/spree/permission_sets/stock_display_spec.rb +0 -26
- data/spec/models/spree/permission_sets/stock_management_spec.rb +0 -24
- data/spec/models/spree/permission_sets/user_display_spec.rb +0 -36
- data/spec/models/spree/permission_sets/user_management_spec.rb +0 -28
- data/spec/models/spree/preference_spec.rb +0 -80
- data/spec/models/spree/preferences/configuration_spec.rb +0 -30
- data/spec/models/spree/preferences/preferable_spec.rb +0 -294
- data/spec/models/spree/preferences/scoped_store_spec.rb +0 -58
- data/spec/models/spree/preferences/static_model_preferences_spec.rb +0 -78
- data/spec/models/spree/preferences/statically_configurable_spec.rb +0 -60
- data/spec/models/spree/preferences/store_spec.rb +0 -39
- data/spec/models/spree/price_spec.rb +0 -42
- data/spec/models/spree/product/scopes_spec.rb +0 -148
- data/spec/models/spree/product_duplicator_spec.rb +0 -103
- data/spec/models/spree/product_filter_spec.rb +0 -26
- data/spec/models/spree/product_property_spec.rb +0 -20
- data/spec/models/spree/product_spec.rb +0 -437
- data/spec/models/spree/promotion/actions/create_adjustment_spec.rb +0 -96
- data/spec/models/spree/promotion/actions/create_item_adjustments_spec.rb +0 -165
- data/spec/models/spree/promotion/actions/create_quantity_adjustments_spec.rb +0 -115
- data/spec/models/spree/promotion/actions/free_shipping_spec.rb +0 -40
- data/spec/models/spree/promotion/rules/first_order_spec.rb +0 -75
- data/spec/models/spree/promotion/rules/item_total_spec.rb +0 -67
- data/spec/models/spree/promotion/rules/nth_order_spec.rb +0 -70
- data/spec/models/spree/promotion/rules/one_use_per_user_spec.rb +0 -42
- data/spec/models/spree/promotion/rules/option_value_spec.rb +0 -94
- data/spec/models/spree/promotion/rules/product_spec.rb +0 -143
- data/spec/models/spree/promotion/rules/taxon_spec.rb +0 -102
- data/spec/models/spree/promotion/rules/user_logged_in_spec.rb +0 -27
- data/spec/models/spree/promotion/rules/user_spec.rb +0 -37
- data/spec/models/spree/promotion_builder_spec.rb +0 -118
- data/spec/models/spree/promotion_category_spec.rb +0 -17
- data/spec/models/spree/promotion_code/code_builder_spec.rb +0 -79
- data/spec/models/spree/promotion_code_spec.rb +0 -187
- data/spec/models/spree/promotion_handler/cart_spec.rb +0 -114
- data/spec/models/spree/promotion_handler/coupon_spec.rb +0 -335
- data/spec/models/spree/promotion_handler/free_shipping_spec.rb +0 -47
- data/spec/models/spree/promotion_handler/page_spec.rb +0 -44
- data/spec/models/spree/promotion_rule_spec.rb +0 -28
- data/spec/models/spree/promotion_spec.rb +0 -767
- data/spec/models/spree/refund_spec.rb +0 -204
- data/spec/models/spree/reimbursement/credit_spec.rb +0 -36
- data/spec/models/spree/reimbursement/reimbursement_type_engine_spec.rb +0 -140
- data/spec/models/spree/reimbursement/reimbursement_type_validator_spec.rb +0 -83
- data/spec/models/spree/reimbursement_performer_spec.rb +0 -30
- data/spec/models/spree/reimbursement_spec.rb +0 -231
- data/spec/models/spree/reimbursement_tax_calculator_spec.rb +0 -51
- data/spec/models/spree/reimbursement_type/credit_spec.rb +0 -53
- data/spec/models/spree/reimbursement_type/exchange_spec.rb +0 -46
- data/spec/models/spree/reimbursement_type/original_payment_spec.rb +0 -107
- data/spec/models/spree/reimbursement_type/store_credit_spec.rb +0 -97
- data/spec/models/spree/return_authorization_spec.rb +0 -290
- data/spec/models/spree/return_item/eligibility_validator/default_spec.rb +0 -77
- data/spec/models/spree/return_item/eligibility_validator/inventory_shipped_spec.rb +0 -58
- data/spec/models/spree/return_item/eligibility_validator/no_reimbursements_spec.rb +0 -85
- data/spec/models/spree/return_item/eligibility_validator/order_completed_spec.rb +0 -32
- data/spec/models/spree/return_item/eligibility_validator/rma_required_spec.rb +0 -29
- data/spec/models/spree/return_item/eligibility_validator/time_since_purchase_spec.rb +0 -35
- data/spec/models/spree/return_item/exchange_variant_eligibility/same_option_value_spec.rb +0 -65
- data/spec/models/spree/return_item/exchange_variant_eligibility/same_product_spec.rb +0 -43
- data/spec/models/spree/return_item_spec.rb +0 -775
- data/spec/models/spree/returns_calculator_spec.rb +0 -14
- data/spec/models/spree/shipment_spec.rb +0 -709
- data/spec/models/spree/shipping_calculator_spec.rb +0 -45
- data/spec/models/spree/shipping_method_spec.rb +0 -88
- data/spec/models/spree/shipping_rate_spec.rb +0 -142
- data/spec/models/spree/state_spec.rb +0 -14
- data/spec/models/spree/stock/availability_validator_spec.rb +0 -83
- data/spec/models/spree/stock/coordinator_spec.rb +0 -116
- data/spec/models/spree/stock/differentiator_spec.rb +0 -39
- data/spec/models/spree/stock/estimator_spec.rb +0 -146
- data/spec/models/spree/stock/inventory_unit_builder_spec.rb +0 -38
- data/spec/models/spree/stock/package_spec.rb +0 -163
- data/spec/models/spree/stock/packer_spec.rb +0 -91
- data/spec/models/spree/stock/prioritizer_spec.rb +0 -125
- data/spec/models/spree/stock/quantifier_spec.rb +0 -115
- data/spec/models/spree/stock/splitter/backordered_spec.rb +0 -29
- data/spec/models/spree/stock/splitter/base_spec.rb +0 -21
- data/spec/models/spree/stock/splitter/shipping_category_spec.rb +0 -50
- data/spec/models/spree/stock/splitter/weight_spec.rb +0 -29
- data/spec/models/spree/stock_item_spec.rb +0 -426
- data/spec/models/spree/stock_location_spec.rb +0 -279
- data/spec/models/spree/stock_movement_spec.rb +0 -56
- data/spec/models/spree/stock_transfer_spec.rb +0 -290
- data/spec/models/spree/store_credit_category_spec.rb +0 -17
- data/spec/models/spree/store_credit_event_spec.rb +0 -314
- data/spec/models/spree/store_credit_spec.rb +0 -876
- data/spec/models/spree/store_spec.rb +0 -55
- data/spec/models/spree/tax_category_spec.rb +0 -27
- data/spec/models/spree/tax_rate_spec.rb +0 -378
- data/spec/models/spree/taxon_spec.rb +0 -74
- data/spec/models/spree/taxonomy_spec.rb +0 -18
- data/spec/models/spree/tracker_spec.rb +0 -21
- data/spec/models/spree/transfer_item_spec.rb +0 -264
- data/spec/models/spree/unit_cancel_spec.rb +0 -148
- data/spec/models/spree/user_spec.rb +0 -223
- data/spec/models/spree/validations/db_maximum_length_validator_spec.rb +0 -23
- data/spec/models/spree/variant/scopes_spec.rb +0 -55
- data/spec/models/spree/variant_spec.rb +0 -546
- data/spec/models/spree/zone_spec.rb +0 -305
- data/spec/spec_helper.rb +0 -78
- data/spec/support/big_decimal.rb +0 -5
- data/spec/support/concerns/default_price.rb +0 -34
- data/spec/support/dummy_ability.rb +0 -4
- data/spec/support/test_gateway.rb +0 -2
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.1.0.beta1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Solidus Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemerchant
|
@@ -352,30 +352,13 @@ dependencies:
|
|
352
352
|
- - "~>"
|
353
353
|
- !ruby/object:Gem::Version
|
354
354
|
version: '1.6'
|
355
|
-
- !ruby/object:Gem::Dependency
|
356
|
-
name: sprockets-rails
|
357
|
-
requirement: !ruby/object:Gem::Requirement
|
358
|
-
requirements:
|
359
|
-
- - "~>"
|
360
|
-
- !ruby/object:Gem::Version
|
361
|
-
version: '2.0'
|
362
|
-
type: :runtime
|
363
|
-
prerelease: false
|
364
|
-
version_requirements: !ruby/object:Gem::Requirement
|
365
|
-
requirements:
|
366
|
-
- - "~>"
|
367
|
-
- !ruby/object:Gem::Version
|
368
|
-
version: '2.0'
|
369
355
|
description: Essential models, mailers, and classes for the Solidus e-commerce project.
|
370
356
|
email: contact@solidus.io
|
371
357
|
executables: []
|
372
358
|
extensions: []
|
373
359
|
extra_rdoc_files: []
|
374
360
|
files:
|
375
|
-
- CHANGELOG.md
|
376
|
-
- Gemfile
|
377
361
|
- LICENSE
|
378
|
-
- Rakefile
|
379
362
|
- app/assets/images/logo/solidus_logo.png
|
380
363
|
- app/assets/images/noimage/large.png
|
381
364
|
- app/assets/images/noimage/mini.png
|
@@ -399,8 +382,9 @@ files:
|
|
399
382
|
- app/models/concerns/spree/default_price.rb
|
400
383
|
- app/models/concerns/spree/display_money.rb
|
401
384
|
- app/models/concerns/spree/named_type.rb
|
385
|
+
- app/models/concerns/spree/ordered_property_value_list.rb
|
402
386
|
- app/models/concerns/spree/ransackable_attributes.rb
|
403
|
-
- app/models/concerns/spree/
|
387
|
+
- app/models/concerns/spree/user_address_book.rb
|
404
388
|
- app/models/concerns/spree/user_api_authentication.rb
|
405
389
|
- app/models/concerns/spree/user_methods.rb
|
406
390
|
- app/models/concerns/spree/user_payment_source.rb
|
@@ -472,6 +456,7 @@ files:
|
|
472
456
|
- app/models/spree/permission_sets/configuration_display.rb
|
473
457
|
- app/models/spree/permission_sets/configuration_management.rb
|
474
458
|
- app/models/spree/permission_sets/dashboard_display.rb
|
459
|
+
- app/models/spree/permission_sets/default_customer.rb
|
475
460
|
- app/models/spree/permission_sets/order_display.rb
|
476
461
|
- app/models/spree/permission_sets/order_management.rb
|
477
462
|
- app/models/spree/permission_sets/product_display.rb
|
@@ -479,9 +464,15 @@ files:
|
|
479
464
|
- app/models/spree/permission_sets/promotion_display.rb
|
480
465
|
- app/models/spree/permission_sets/promotion_management.rb
|
481
466
|
- app/models/spree/permission_sets/report_display.rb
|
482
|
-
- app/models/spree/permission_sets/
|
467
|
+
- app/models/spree/permission_sets/restricted_stock_display.rb
|
468
|
+
- app/models/spree/permission_sets/restricted_stock_management.rb
|
469
|
+
- app/models/spree/permission_sets/restricted_stock_transfer_display.rb
|
470
|
+
- app/models/spree/permission_sets/restricted_stock_transfer_management.rb
|
483
471
|
- app/models/spree/permission_sets/stock_display.rb
|
484
472
|
- app/models/spree/permission_sets/stock_management.rb
|
473
|
+
- app/models/spree/permission_sets/stock_transfer_display.rb
|
474
|
+
- app/models/spree/permission_sets/stock_transfer_management.rb
|
475
|
+
- app/models/spree/permission_sets/super_user.rb
|
485
476
|
- app/models/spree/permission_sets/user_display.rb
|
486
477
|
- app/models/spree/permission_sets/user_management.rb
|
487
478
|
- app/models/spree/preference.rb
|
@@ -496,6 +487,7 @@ files:
|
|
496
487
|
- app/models/spree/product.rb
|
497
488
|
- app/models/spree/product/scopes.rb
|
498
489
|
- app/models/spree/product_option_type.rb
|
490
|
+
- app/models/spree/product_promotion_rule.rb
|
499
491
|
- app/models/spree/product_property.rb
|
500
492
|
- app/models/spree/product_scope/scopes.rb
|
501
493
|
- app/models/spree/promotion.rb
|
@@ -561,6 +553,7 @@ files:
|
|
561
553
|
- app/models/spree/shipping_manifest.rb
|
562
554
|
- app/models/spree/shipping_method.rb
|
563
555
|
- app/models/spree/shipping_method_category.rb
|
556
|
+
- app/models/spree/shipping_method_zone.rb
|
564
557
|
- app/models/spree/shipping_rate.rb
|
565
558
|
- app/models/spree/state.rb
|
566
559
|
- app/models/spree/state_change.rb
|
@@ -590,6 +583,7 @@ files:
|
|
590
583
|
- app/models/spree/store_credit_event.rb
|
591
584
|
- app/models/spree/store_credit_type.rb
|
592
585
|
- app/models/spree/store_credit_update_reason.rb
|
586
|
+
- app/models/spree/store_payment_method.rb
|
593
587
|
- app/models/spree/tax_category.rb
|
594
588
|
- app/models/spree/tax_rate.rb
|
595
589
|
- app/models/spree/taxon.rb
|
@@ -597,15 +591,18 @@ files:
|
|
597
591
|
- app/models/spree/tracker.rb
|
598
592
|
- app/models/spree/transfer_item.rb
|
599
593
|
- app/models/spree/unit_cancel.rb
|
594
|
+
- app/models/spree/user_address.rb
|
600
595
|
- app/models/spree/user_class_handle.rb
|
601
596
|
- app/models/spree/user_stock_location.rb
|
602
597
|
- app/models/spree/validations/db_maximum_length_validator.rb
|
603
598
|
- app/models/spree/variant.rb
|
604
599
|
- app/models/spree/variant/scopes.rb
|
600
|
+
- app/models/spree/variant_property_rule.rb
|
601
|
+
- app/models/spree/variant_property_rule_condition.rb
|
602
|
+
- app/models/spree/variant_property_rule_value.rb
|
605
603
|
- app/models/spree/zone.rb
|
606
604
|
- app/models/spree/zone_member.rb
|
607
605
|
- app/views/layouts/spree/base_mailer.html.erb
|
608
|
-
- app/views/spree/admin/orders/customer_details/_autocomplete.js.erb
|
609
606
|
- app/views/spree/carton_mailer/shipped_email.text.erb
|
610
607
|
- app/views/spree/order_mailer/cancel_email.html.erb
|
611
608
|
- app/views/spree/order_mailer/cancel_email.text.erb
|
@@ -825,6 +822,7 @@ files:
|
|
825
822
|
- db/migrate/20150112194216_add_position_to_stock_location.rb
|
826
823
|
- db/migrate/20150113002122_create_spree_promotion_codes.rb
|
827
824
|
- db/migrate/20150113002123_create_adjustment_promotion_code_association.rb
|
825
|
+
- db/migrate/20150121022521_remove_environment_from_payment_method.rb
|
828
826
|
- db/migrate/20150121202544_add_restock_inventory_to_stock_location.rb
|
829
827
|
- db/migrate/20150122202432_add_code_to_spree_promotion_categories.rb
|
830
828
|
- db/migrate/20150127161843_create_order_stock_locations.rb
|
@@ -883,7 +881,15 @@ files:
|
|
883
881
|
- db/migrate/20150630175644_copy_order_bill_address_to_credit_card.rb
|
884
882
|
- db/migrate/20150723224133_remove_unnecessary_indexes.rb
|
885
883
|
- db/migrate/20150724163716_remove_state_lock_version_from_order.rb
|
884
|
+
- db/migrate/20150731201146_add_spree_user_addresses.rb
|
886
885
|
- db/migrate/20150806190833_add_id_and_timestamp_to_promotion_rule_user.rb
|
886
|
+
- db/migrate/20150811210350_remove_mandatory_from_adjustments.rb
|
887
|
+
- db/migrate/20150811211025_add_finalized_to_spree_adjustments.rb
|
888
|
+
- db/migrate/20150820160821_add_store_payment_methods.rb
|
889
|
+
- db/migrate/20150824213633_convert_habtm_to_hmt_for_shipping_methods_zones.rb
|
890
|
+
- db/migrate/20150824214129_convert_habtm_to_hmt_for_products_promotion_rules.rb
|
891
|
+
- db/migrate/20150825204216_drop_spree_gateways.rb
|
892
|
+
- db/migrate/20150909123605_create_variant_properties_and_rules.rb
|
887
893
|
- db/seeds.rb
|
888
894
|
- lib/generators/spree/custom_user/custom_user_generator.rb
|
889
895
|
- lib/generators/spree/custom_user/templates/authentication_helpers.rb.tt
|
@@ -909,6 +915,7 @@ files:
|
|
909
915
|
- lib/spree/core/controller_helpers/auth.rb
|
910
916
|
- lib/spree/core/controller_helpers/common.rb
|
911
917
|
- lib/spree/core/controller_helpers/order.rb
|
918
|
+
- lib/spree/core/controller_helpers/payment_parameters.rb
|
912
919
|
- lib/spree/core/controller_helpers/respond_with.rb
|
913
920
|
- lib/spree/core/controller_helpers/search.rb
|
914
921
|
- lib/spree/core/controller_helpers/store.rb
|
@@ -933,9 +940,9 @@ files:
|
|
933
940
|
- lib/spree/core/validators/email.rb
|
934
941
|
- lib/spree/core/version.rb
|
935
942
|
- lib/spree/i18n.rb
|
936
|
-
- lib/spree/i18n/base.rb
|
937
|
-
- lib/spree/i18n/initializer.rb
|
938
943
|
- lib/spree/localized_number.rb
|
944
|
+
- lib/spree/mailer_previews/carton_preview.rb
|
945
|
+
- lib/spree/mailer_previews/order_preview.rb
|
939
946
|
- lib/spree/migrations.rb
|
940
947
|
- lib/spree/money.rb
|
941
948
|
- lib/spree/permitted_attributes.rb
|
@@ -958,6 +965,7 @@ files:
|
|
958
965
|
- lib/spree/testing_support/factories/country_factory.rb
|
959
966
|
- lib/spree/testing_support/factories/credit_card_factory.rb
|
960
967
|
- lib/spree/testing_support/factories/customer_return_factory.rb
|
968
|
+
- lib/spree/testing_support/factories/image_factory.rb
|
961
969
|
- lib/spree/testing_support/factories/inventory_unit_factory.rb
|
962
970
|
- lib/spree/testing_support/factories/line_item_factory.rb
|
963
971
|
- lib/spree/testing_support/factories/options_factory.rb
|
@@ -1002,10 +1010,12 @@ files:
|
|
1002
1010
|
- lib/spree/testing_support/factories/tracker_factory.rb
|
1003
1011
|
- lib/spree/testing_support/factories/user_factory.rb
|
1004
1012
|
- lib/spree/testing_support/factories/variant_factory.rb
|
1013
|
+
- lib/spree/testing_support/factories/variant_property_rule_condition_factory.rb
|
1014
|
+
- lib/spree/testing_support/factories/variant_property_rule_factory.rb
|
1015
|
+
- lib/spree/testing_support/factories/variant_property_rule_value_factory.rb
|
1005
1016
|
- lib/spree/testing_support/factories/zone_factory.rb
|
1006
1017
|
- lib/spree/testing_support/flash.rb
|
1007
1018
|
- lib/spree/testing_support/i18n.rb
|
1008
|
-
- lib/spree/testing_support/mail.rb
|
1009
1019
|
- lib/spree/testing_support/order_walkthrough.rb
|
1010
1020
|
- lib/spree/testing_support/preferences.rb
|
1011
1021
|
- lib/spree/testing_support/url_helpers.rb
|
@@ -1015,217 +1025,9 @@ files:
|
|
1015
1025
|
- lib/tasks/exchanges.rake
|
1016
1026
|
- lib/tasks/migrations/copy_order_bill_address_to_credit_card.rake
|
1017
1027
|
- lib/tasks/migrations/copy_shipped_shipments_to_cartons.rake
|
1028
|
+
- lib/tasks/migrations/migrate_user_addresses.rake
|
1018
1029
|
- lib/tasks/order_capturing.rake
|
1019
|
-
-
|
1020
|
-
- solidus_core.gemspec
|
1021
|
-
- spec/fixtures/thinking-cat.jpg
|
1022
|
-
- spec/helpers/base_helper_spec.rb
|
1023
|
-
- spec/helpers/order_helper_spec.rb
|
1024
|
-
- spec/helpers/products_helper_spec.rb
|
1025
|
-
- spec/helpers/taxons_helper_spec.rb
|
1026
|
-
- spec/lib/calculated_adjustments_spec.rb
|
1027
|
-
- spec/lib/i18n_spec.rb
|
1028
|
-
- spec/lib/search/base_spec.rb
|
1029
|
-
- spec/lib/search/variant_spec.rb
|
1030
|
-
- spec/lib/spree/core/controller_helpers/auth_spec.rb
|
1031
|
-
- spec/lib/spree/core/controller_helpers/order_spec.rb
|
1032
|
-
- spec/lib/spree/core/controller_helpers/search_spec.rb
|
1033
|
-
- spec/lib/spree/core/controller_helpers/store_spec.rb
|
1034
|
-
- spec/lib/spree/core/controller_helpers/strong_parameters_spec.rb
|
1035
|
-
- spec/lib/spree/core/current_store_spec.rb
|
1036
|
-
- spec/lib/spree/core/delegate_belongs_to_spec.rb
|
1037
|
-
- spec/lib/spree/core/importer/order_spec.rb
|
1038
|
-
- spec/lib/spree/core/role_configuration_spec.rb
|
1039
|
-
- spec/lib/spree/core/validators/email_spec.rb
|
1040
|
-
- spec/lib/spree/localized_number_spec.rb
|
1041
|
-
- spec/lib/spree/migrations_spec.rb
|
1042
|
-
- spec/lib/spree/money_spec.rb
|
1043
|
-
- spec/lib/tasks/exchanges_spec.rb
|
1044
|
-
- spec/lib/tasks/migrations/copy_shipped_shipments_to_cartons_spec.rb
|
1045
|
-
- spec/lib/tasks/order_capturing_spec.rb
|
1046
|
-
- spec/mailers/carton_mailer_spec.rb
|
1047
|
-
- spec/mailers/order_mailer_spec.rb
|
1048
|
-
- spec/mailers/reimbursement_mailer_spec.rb
|
1049
|
-
- spec/mailers/test_mailer_spec.rb
|
1050
|
-
- spec/models/spree/ability_spec.rb
|
1051
|
-
- spec/models/spree/address_spec.rb
|
1052
|
-
- spec/models/spree/adjustment_reason_spec.rb
|
1053
|
-
- spec/models/spree/adjustment_spec.rb
|
1054
|
-
- spec/models/spree/app_configuration_spec.rb
|
1055
|
-
- spec/models/spree/asset_spec.rb
|
1056
|
-
- spec/models/spree/calculator/default_tax_spec.rb
|
1057
|
-
- spec/models/spree/calculator/flat_percent_item_total_spec.rb
|
1058
|
-
- spec/models/spree/calculator/flat_rate_spec.rb
|
1059
|
-
- spec/models/spree/calculator/flexi_rate_spec.rb
|
1060
|
-
- spec/models/spree/calculator/percent_on_line_item_spec.rb
|
1061
|
-
- spec/models/spree/calculator/price_sack_spec.rb
|
1062
|
-
- spec/models/spree/calculator/refunds/default_refund_amount_spec.rb
|
1063
|
-
- spec/models/spree/calculator/shipping/flat_percent_item_total_spec.rb
|
1064
|
-
- spec/models/spree/calculator/shipping/flat_rate_spec.rb
|
1065
|
-
- spec/models/spree/calculator/shipping/flexi_rate_spec.rb
|
1066
|
-
- spec/models/spree/calculator/shipping/per_item_spec.rb
|
1067
|
-
- spec/models/spree/calculator/shipping/price_sack_spec.rb
|
1068
|
-
- spec/models/spree/calculator/tiered_flat_rate_spec.rb
|
1069
|
-
- spec/models/spree/calculator/tiered_percent_spec.rb
|
1070
|
-
- spec/models/spree/calculator_spec.rb
|
1071
|
-
- spec/models/spree/carton_spec.rb
|
1072
|
-
- spec/models/spree/classification_spec.rb
|
1073
|
-
- spec/models/spree/concerns/display_money_spec.rb
|
1074
|
-
- spec/models/spree/concerns/user_methods_spec.rb
|
1075
|
-
- spec/models/spree/credit_card_spec.rb
|
1076
|
-
- spec/models/spree/customer_return_spec.rb
|
1077
|
-
- spec/models/spree/exchange_spec.rb
|
1078
|
-
- spec/models/spree/gateway/bogus_simple.rb
|
1079
|
-
- spec/models/spree/gateway/bogus_spec.rb
|
1080
|
-
- spec/models/spree/gateway_spec.rb
|
1081
|
-
- spec/models/spree/inventory_unit_spec.rb
|
1082
|
-
- spec/models/spree/item_adjustments_spec.rb
|
1083
|
-
- spec/models/spree/line_item_spec.rb
|
1084
|
-
- spec/models/spree/option_type_spec.rb
|
1085
|
-
- spec/models/spree/option_value_spec.rb
|
1086
|
-
- spec/models/spree/order/address_spec.rb
|
1087
|
-
- spec/models/spree/order/adjustments_spec.rb
|
1088
|
-
- spec/models/spree/order/callbacks_spec.rb
|
1089
|
-
- spec/models/spree/order/checkout_spec.rb
|
1090
|
-
- spec/models/spree/order/currency_updater_spec.rb
|
1091
|
-
- spec/models/spree/order/finalizing_spec.rb
|
1092
|
-
- spec/models/spree/order/payment_spec.rb
|
1093
|
-
- spec/models/spree/order/risk_assessment_spec.rb
|
1094
|
-
- spec/models/spree/order/state_machine_spec.rb
|
1095
|
-
- spec/models/spree/order/tax_spec.rb
|
1096
|
-
- spec/models/spree/order/totals_spec.rb
|
1097
|
-
- spec/models/spree/order/updating_spec.rb
|
1098
|
-
- spec/models/spree/order/validations_spec.rb
|
1099
|
-
- spec/models/spree/order_cancellations_spec.rb
|
1100
|
-
- spec/models/spree/order_capturing_spec.rb
|
1101
|
-
- spec/models/spree/order_contents_spec.rb
|
1102
|
-
- spec/models/spree/order_inventory_spec.rb
|
1103
|
-
- spec/models/spree/order_mutex_spec.rb
|
1104
|
-
- spec/models/spree/order_promotion_spec.rb
|
1105
|
-
- spec/models/spree/order_shipping_spec.rb
|
1106
|
-
- spec/models/spree/order_spec.rb
|
1107
|
-
- spec/models/spree/order_stock_location_spec.rb
|
1108
|
-
- spec/models/spree/order_updater_spec.rb
|
1109
|
-
- spec/models/spree/payment_method/store_credit_spec.rb
|
1110
|
-
- spec/models/spree/payment_method_spec.rb
|
1111
|
-
- spec/models/spree/payment_spec.rb
|
1112
|
-
- spec/models/spree/permission_sets/base_spec.rb
|
1113
|
-
- spec/models/spree/permission_sets/configuration_display.rb
|
1114
|
-
- spec/models/spree/permission_sets/configuration_management_spec.rb
|
1115
|
-
- spec/models/spree/permission_sets/dashboard_display_spec.rb
|
1116
|
-
- spec/models/spree/permission_sets/order_display_spec.rb
|
1117
|
-
- spec/models/spree/permission_sets/order_management_spec.rb
|
1118
|
-
- spec/models/spree/permission_sets/product_display_spec.rb
|
1119
|
-
- spec/models/spree/permission_sets/product_management_spec.rb
|
1120
|
-
- spec/models/spree/permission_sets/promotion_display_spec.rb
|
1121
|
-
- spec/models/spree/permission_sets/promotion_management_spec.rb
|
1122
|
-
- spec/models/spree/permission_sets/report_display_spec.rb
|
1123
|
-
- spec/models/spree/permission_sets/restricted_transfer_management_spec.rb
|
1124
|
-
- spec/models/spree/permission_sets/stock_display_spec.rb
|
1125
|
-
- spec/models/spree/permission_sets/stock_management_spec.rb
|
1126
|
-
- spec/models/spree/permission_sets/user_display_spec.rb
|
1127
|
-
- spec/models/spree/permission_sets/user_management_spec.rb
|
1128
|
-
- spec/models/spree/preference_spec.rb
|
1129
|
-
- spec/models/spree/preferences/configuration_spec.rb
|
1130
|
-
- spec/models/spree/preferences/preferable_spec.rb
|
1131
|
-
- spec/models/spree/preferences/scoped_store_spec.rb
|
1132
|
-
- spec/models/spree/preferences/static_model_preferences_spec.rb
|
1133
|
-
- spec/models/spree/preferences/statically_configurable_spec.rb
|
1134
|
-
- spec/models/spree/preferences/store_spec.rb
|
1135
|
-
- spec/models/spree/price_spec.rb
|
1136
|
-
- spec/models/spree/product/scopes_spec.rb
|
1137
|
-
- spec/models/spree/product_duplicator_spec.rb
|
1138
|
-
- spec/models/spree/product_filter_spec.rb
|
1139
|
-
- spec/models/spree/product_property_spec.rb
|
1140
|
-
- spec/models/spree/product_spec.rb
|
1141
|
-
- spec/models/spree/promotion/actions/create_adjustment_spec.rb
|
1142
|
-
- spec/models/spree/promotion/actions/create_item_adjustments_spec.rb
|
1143
|
-
- spec/models/spree/promotion/actions/create_quantity_adjustments_spec.rb
|
1144
|
-
- spec/models/spree/promotion/actions/free_shipping_spec.rb
|
1145
|
-
- spec/models/spree/promotion/rules/first_order_spec.rb
|
1146
|
-
- spec/models/spree/promotion/rules/item_total_spec.rb
|
1147
|
-
- spec/models/spree/promotion/rules/nth_order_spec.rb
|
1148
|
-
- spec/models/spree/promotion/rules/one_use_per_user_spec.rb
|
1149
|
-
- spec/models/spree/promotion/rules/option_value_spec.rb
|
1150
|
-
- spec/models/spree/promotion/rules/product_spec.rb
|
1151
|
-
- spec/models/spree/promotion/rules/taxon_spec.rb
|
1152
|
-
- spec/models/spree/promotion/rules/user_logged_in_spec.rb
|
1153
|
-
- spec/models/spree/promotion/rules/user_spec.rb
|
1154
|
-
- spec/models/spree/promotion_builder_spec.rb
|
1155
|
-
- spec/models/spree/promotion_category_spec.rb
|
1156
|
-
- spec/models/spree/promotion_code/code_builder_spec.rb
|
1157
|
-
- spec/models/spree/promotion_code_spec.rb
|
1158
|
-
- spec/models/spree/promotion_handler/cart_spec.rb
|
1159
|
-
- spec/models/spree/promotion_handler/coupon_spec.rb
|
1160
|
-
- spec/models/spree/promotion_handler/free_shipping_spec.rb
|
1161
|
-
- spec/models/spree/promotion_handler/page_spec.rb
|
1162
|
-
- spec/models/spree/promotion_rule_spec.rb
|
1163
|
-
- spec/models/spree/promotion_spec.rb
|
1164
|
-
- spec/models/spree/refund_spec.rb
|
1165
|
-
- spec/models/spree/reimbursement/credit_spec.rb
|
1166
|
-
- spec/models/spree/reimbursement/reimbursement_type_engine_spec.rb
|
1167
|
-
- spec/models/spree/reimbursement/reimbursement_type_validator_spec.rb
|
1168
|
-
- spec/models/spree/reimbursement_performer_spec.rb
|
1169
|
-
- spec/models/spree/reimbursement_spec.rb
|
1170
|
-
- spec/models/spree/reimbursement_tax_calculator_spec.rb
|
1171
|
-
- spec/models/spree/reimbursement_type/credit_spec.rb
|
1172
|
-
- spec/models/spree/reimbursement_type/exchange_spec.rb
|
1173
|
-
- spec/models/spree/reimbursement_type/original_payment_spec.rb
|
1174
|
-
- spec/models/spree/reimbursement_type/store_credit_spec.rb
|
1175
|
-
- spec/models/spree/return_authorization_spec.rb
|
1176
|
-
- spec/models/spree/return_item/eligibility_validator/default_spec.rb
|
1177
|
-
- spec/models/spree/return_item/eligibility_validator/inventory_shipped_spec.rb
|
1178
|
-
- spec/models/spree/return_item/eligibility_validator/no_reimbursements_spec.rb
|
1179
|
-
- spec/models/spree/return_item/eligibility_validator/order_completed_spec.rb
|
1180
|
-
- spec/models/spree/return_item/eligibility_validator/rma_required_spec.rb
|
1181
|
-
- spec/models/spree/return_item/eligibility_validator/time_since_purchase_spec.rb
|
1182
|
-
- spec/models/spree/return_item/exchange_variant_eligibility/same_option_value_spec.rb
|
1183
|
-
- spec/models/spree/return_item/exchange_variant_eligibility/same_product_spec.rb
|
1184
|
-
- spec/models/spree/return_item_spec.rb
|
1185
|
-
- spec/models/spree/returns_calculator_spec.rb
|
1186
|
-
- spec/models/spree/shipment_spec.rb
|
1187
|
-
- spec/models/spree/shipping_calculator_spec.rb
|
1188
|
-
- spec/models/spree/shipping_method_spec.rb
|
1189
|
-
- spec/models/spree/shipping_rate_spec.rb
|
1190
|
-
- spec/models/spree/state_spec.rb
|
1191
|
-
- spec/models/spree/stock/availability_validator_spec.rb
|
1192
|
-
- spec/models/spree/stock/coordinator_spec.rb
|
1193
|
-
- spec/models/spree/stock/differentiator_spec.rb
|
1194
|
-
- spec/models/spree/stock/estimator_spec.rb
|
1195
|
-
- spec/models/spree/stock/inventory_unit_builder_spec.rb
|
1196
|
-
- spec/models/spree/stock/package_spec.rb
|
1197
|
-
- spec/models/spree/stock/packer_spec.rb
|
1198
|
-
- spec/models/spree/stock/prioritizer_spec.rb
|
1199
|
-
- spec/models/spree/stock/quantifier_spec.rb
|
1200
|
-
- spec/models/spree/stock/splitter/backordered_spec.rb
|
1201
|
-
- spec/models/spree/stock/splitter/base_spec.rb
|
1202
|
-
- spec/models/spree/stock/splitter/shipping_category_spec.rb
|
1203
|
-
- spec/models/spree/stock/splitter/weight_spec.rb
|
1204
|
-
- spec/models/spree/stock_item_spec.rb
|
1205
|
-
- spec/models/spree/stock_location_spec.rb
|
1206
|
-
- spec/models/spree/stock_movement_spec.rb
|
1207
|
-
- spec/models/spree/stock_transfer_spec.rb
|
1208
|
-
- spec/models/spree/store_credit_category_spec.rb
|
1209
|
-
- spec/models/spree/store_credit_event_spec.rb
|
1210
|
-
- spec/models/spree/store_credit_spec.rb
|
1211
|
-
- spec/models/spree/store_spec.rb
|
1212
|
-
- spec/models/spree/tax_category_spec.rb
|
1213
|
-
- spec/models/spree/tax_rate_spec.rb
|
1214
|
-
- spec/models/spree/taxon_spec.rb
|
1215
|
-
- spec/models/spree/taxonomy_spec.rb
|
1216
|
-
- spec/models/spree/tracker_spec.rb
|
1217
|
-
- spec/models/spree/transfer_item_spec.rb
|
1218
|
-
- spec/models/spree/unit_cancel_spec.rb
|
1219
|
-
- spec/models/spree/user_spec.rb
|
1220
|
-
- spec/models/spree/validations/db_maximum_length_validator_spec.rb
|
1221
|
-
- spec/models/spree/variant/scopes_spec.rb
|
1222
|
-
- spec/models/spree/variant_spec.rb
|
1223
|
-
- spec/models/spree/zone_spec.rb
|
1224
|
-
- spec/spec_helper.rb
|
1225
|
-
- spec/support/big_decimal.rb
|
1226
|
-
- spec/support/concerns/default_price.rb
|
1227
|
-
- spec/support/dummy_ability.rb
|
1228
|
-
- spec/support/test_gateway.rb
|
1030
|
+
- vendor/assets/javascripts/jquery-migrate-1.0.0.js
|
1229
1031
|
- vendor/assets/javascripts/jquery.payment.js
|
1230
1032
|
- vendor/assets/javascripts/jsuri.js
|
1231
1033
|
- vendor/assets/stylesheets/normalize.css
|
@@ -1245,12 +1047,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1245
1047
|
version: 2.1.0
|
1246
1048
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1247
1049
|
requirements:
|
1248
|
-
- - "
|
1050
|
+
- - ">"
|
1249
1051
|
- !ruby/object:Gem::Version
|
1250
|
-
version:
|
1052
|
+
version: 1.3.1
|
1251
1053
|
requirements: []
|
1252
1054
|
rubyforge_project:
|
1253
|
-
rubygems_version: 2.
|
1055
|
+
rubygems_version: 2.4.5
|
1254
1056
|
signing_key:
|
1255
1057
|
specification_version: 4
|
1256
1058
|
summary: Essential models, mailers, and classes for the Solidus e-commerce project.
|
data/CHANGELOG.md
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
## Spree 2.4.0 (unreleased) ##
|
data/Gemfile
DELETED
data/Rakefile
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'rake'
|
3
|
-
require 'rake/testtask'
|
4
|
-
require 'rspec/core/rake_task'
|
5
|
-
require 'spree/testing_support/common_rake'
|
6
|
-
load 'lib/tasks/exchanges.rake'
|
7
|
-
|
8
|
-
RSpec::Core::RakeTask.new
|
9
|
-
|
10
|
-
task :default => :spec
|
11
|
-
|
12
|
-
desc "Generates a dummy app for testing"
|
13
|
-
task :test_app do
|
14
|
-
ENV['LIB_NAME'] = 'spree/core'
|
15
|
-
Rake::Task['common:test_app'].invoke
|
16
|
-
end
|
@@ -1,30 +0,0 @@
|
|
1
|
-
module Spree
|
2
|
-
module UserAddress
|
3
|
-
extend ActiveSupport::Concern
|
4
|
-
|
5
|
-
included do
|
6
|
-
belongs_to :bill_address, foreign_key: :bill_address_id, class_name: 'Spree::Address'
|
7
|
-
alias_attribute :billing_address, :bill_address
|
8
|
-
|
9
|
-
belongs_to :ship_address, foreign_key: :ship_address_id, class_name: 'Spree::Address'
|
10
|
-
alias_attribute :shipping_address, :ship_address
|
11
|
-
|
12
|
-
accepts_nested_attributes_for :ship_address, :bill_address
|
13
|
-
|
14
|
-
def persist_order_address(order)
|
15
|
-
b_address = self.bill_address || self.build_bill_address
|
16
|
-
b_address.attributes = order.bill_address.attributes.except('id', 'updated_at', 'created_at')
|
17
|
-
b_address.save
|
18
|
-
self.update_attributes(bill_address_id: b_address.id)
|
19
|
-
|
20
|
-
# May not be present if delivery step has been removed
|
21
|
-
if order.ship_address
|
22
|
-
s_address = self.ship_address || self.build_ship_address
|
23
|
-
s_address.attributes = order.ship_address.attributes.except('id', 'updated_at', 'created_at')
|
24
|
-
s_address.save
|
25
|
-
self.update_attributes(ship_address_id: s_address.id)
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|