spree_core 3.1.5 → 3.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/concerns/spree/ransackable_attributes.rb +6 -1
- data/app/models/concerns/spree/user_methods.rb +10 -0
- data/app/models/spree/legacy_user.rb +0 -8
- data/app/models/spree/order.rb +1 -1
- data/app/models/spree/product.rb +8 -0
- data/app/models/spree/product/scopes.rb +7 -3
- data/app/models/spree/stock_transfer.rb +1 -1
- data/config/locales/en.yml +2 -0
- data/lib/spree/core/version.rb +1 -1
- data/spree_core.gemspec +2 -2
- metadata +11 -208
- data/spec/fixtures/microdata.html +0 -22
- data/spec/fixtures/microdata_itemref.html +0 -15
- data/spec/fixtures/microdata_no_itemscope.html +0 -20
- data/spec/fixtures/thinking-cat.jpg +0 -0
- data/spec/helpers/base_helper_spec.rb +0 -200
- data/spec/helpers/products_helper_spec.rb +0 -296
- 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/spree/core/controller_helpers/auth_spec.rb +0 -103
- data/spec/lib/spree/core/controller_helpers/order_spec.rb +0 -110
- data/spec/lib/spree/core/controller_helpers/search_spec.rb +0 -17
- data/spec/lib/spree/core/controller_helpers/store_spec.rb +0 -72
- data/spec/lib/spree/core/controller_helpers/strong_parameters_spec.rb +0 -39
- data/spec/lib/spree/core/delegate_belongs_to_spec.rb +0 -22
- data/spec/lib/spree/core/importer/order_spec.rb +0 -605
- data/spec/lib/spree/core/number_generator_spec.rb +0 -175
- data/spec/lib/spree/core/token_generator_spec.rb +0 -24
- data/spec/lib/spree/core/validators/email_spec.rb +0 -53
- data/spec/lib/spree/core_spec.rb +0 -23
- data/spec/lib/spree/localized_number_spec.rb +0 -48
- data/spec/lib/spree/migrations_spec.rb +0 -36
- data/spec/lib/spree/money_spec.rb +0 -122
- data/spec/lib/tasks/exchanges_spec.rb +0 -136
- data/spec/mailers/order_mailer_spec.rb +0 -122
- data/spec/mailers/reimbursement_mailer_spec.rb +0 -47
- data/spec/mailers/shipment_mailer_spec.rb +0 -81
- data/spec/mailers/test_mailer_spec.rb +0 -38
- data/spec/models/option_type_prototype_spec.rb +0 -9
- data/spec/models/spree/ability_spec.rb +0 -251
- data/spec/models/spree/address_spec.rb +0 -291
- data/spec/models/spree/adjustable/adjuster/base_spec.rb +0 -10
- data/spec/models/spree/adjustable/adjuster/promotion_spec.rb +0 -211
- data/spec/models/spree/adjustable/adjuster/tax_spec.rb +0 -86
- data/spec/models/spree/adjustable/adjustments_updater_spec.rb +0 -26
- data/spec/models/spree/adjustment_spec.rb +0 -189
- data/spec/models/spree/app_configuration_spec.rb +0 -26
- data/spec/models/spree/asset_spec.rb +0 -28
- data/spec/models/spree/calculator/default_tax_spec.rb +0 -152
- 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.rb +0 -8
- 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 -29
- data/spec/models/spree/calculator/tiered_flat_rate_spec.rb +0 -40
- data/spec/models/spree/calculator/tiered_percent_spec.rb +0 -51
- data/spec/models/spree/calculator_spec.rb +0 -69
- data/spec/models/spree/classification_spec.rb +0 -93
- data/spec/models/spree/concerns/display_money_spec.rb +0 -43
- data/spec/models/spree/concerns/user_methods_spec.rb +0 -55
- data/spec/models/spree/concerns/vat_price_calculation_spec.rb +0 -66
- data/spec/models/spree/country_spec.rb +0 -55
- data/spec/models/spree/credit_card_spec.rb +0 -328
- data/spec/models/spree/customer_return_spec.rb +0 -240
- data/spec/models/spree/exchange_spec.rb +0 -75
- 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 -61
- data/spec/models/spree/image_spec.rb +0 -8
- data/spec/models/spree/inventory_unit_spec.rb +0 -225
- data/spec/models/spree/line_item_spec.rb +0 -327
- data/spec/models/spree/option_type_spec.rb +0 -14
- data/spec/models/spree/option_value_spec.rb +0 -18
- data/spec/models/spree/order/address_spec.rb +0 -50
- data/spec/models/spree/order/adjustments_spec.rb +0 -29
- data/spec/models/spree/order/callbacks_spec.rb +0 -42
- data/spec/models/spree/order/checkout_spec.rb +0 -782
- data/spec/models/spree/order/currency_updater_spec.rb +0 -32
- data/spec/models/spree/order/finalizing_spec.rb +0 -114
- data/spec/models/spree/order/helpers_spec.rb +0 -5
- data/spec/models/spree/order/payment_spec.rb +0 -214
- data/spec/models/spree/order/risk_assessment_spec.rb +0 -84
- data/spec/models/spree/order/shipments_spec.rb +0 -43
- data/spec/models/spree/order/state_machine_spec.rb +0 -211
- data/spec/models/spree/order/store_credit_spec.rb +0 -426
- 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_contents_spec.rb +0 -297
- data/spec/models/spree/order_inventory_spec.rb +0 -238
- data/spec/models/spree/order_merger_spec.rb +0 -135
- data/spec/models/spree/order_spec.rb +0 -967
- data/spec/models/spree/order_updater_spec.rb +0 -305
- data/spec/models/spree/payment/gateway_options_spec.rb +0 -127
- data/spec/models/spree/payment/store_credit_spec.rb +0 -60
- data/spec/models/spree/payment_method/store_credit_spec.rb +0 -291
- data/spec/models/spree/payment_method_spec.rb +0 -103
- data/spec/models/spree/payment_spec.rb +0 -919
- 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 -348
- data/spec/models/spree/preferences/scoped_store_spec.rb +0 -58
- data/spec/models/spree/preferences/store_spec.rb +0 -46
- data/spec/models/spree/price_spec.rb +0 -128
- data/spec/models/spree/product/scopes_spec.rb +0 -183
- 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_option_type_spec.rb +0 -9
- data/spec/models/spree/product_promotion_rule_spec.rb +0 -9
- data/spec/models/spree/product_property_spec.rb +0 -22
- data/spec/models/spree/product_spec.rb +0 -540
- data/spec/models/spree/promotion/actions/create_adjustment_spec.rb +0 -50
- data/spec/models/spree/promotion/actions/create_item_adjustments_spec.rb +0 -148
- data/spec/models/spree/promotion/actions/create_line_items_spec.rb +0 -86
- data/spec/models/spree/promotion/actions/free_shipping_spec.rb +0 -36
- data/spec/models/spree/promotion/rules/first_order_spec.rb +0 -75
- data/spec/models/spree/promotion/rules/item_total_spec.rb +0 -282
- 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 -90
- 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 -45
- data/spec/models/spree/promotion_action_spec.rb +0 -10
- data/spec/models/spree/promotion_category_spec.rb +0 -17
- data/spec/models/spree/promotion_handler/cart_spec.rb +0 -102
- data/spec/models/spree/promotion_handler/coupon_spec.rb +0 -323
- data/spec/models/spree/promotion_handler/free_shipping_spec.rb +0 -48
- data/spec/models/spree/promotion_handler/page_spec.rb +0 -44
- data/spec/models/spree/promotion_rule_spec.rb +0 -29
- data/spec/models/spree/promotion_rule_taxon_spec.rb +0 -9
- data/spec/models/spree/promotion_rule_user_spec.rb +0 -9
- data/spec/models/spree/promotion_spec.rb +0 -644
- data/spec/models/spree/property_prototype_spec.rb +0 -9
- data/spec/models/spree/property_spec.rb +0 -5
- data/spec/models/spree/prototype_spec.rb +0 -5
- data/spec/models/spree/prototype_taxon_spec.rb +0 -9
- data/spec/models/spree/refund_reason_spec.rb +0 -7
- data/spec/models/spree/refund_spec.rb +0 -195
- 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 -188
- data/spec/models/spree/reimbursement_tax_calculator_spec.rb +0 -63
- 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 -55
- data/spec/models/spree/reimbursement_type/store_credit_spec.rb +0 -101
- data/spec/models/spree/return_authorization_reason_spec.rb +0 -7
- data/spec/models/spree/return_authorization_spec.rb +0 -230
- 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 -61
- 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 -731
- data/spec/models/spree/returns_calculator_spec.rb +0 -14
- data/spec/models/spree/role_spec.rb +0 -7
- data/spec/models/spree/shipment_spec.rb +0 -740
- data/spec/models/spree/shipping_calculator_spec.rb +0 -45
- data/spec/models/spree/shipping_category_spec.rb +0 -19
- data/spec/models/spree/shipping_method_spec.rb +0 -95
- data/spec/models/spree/shipping_rate_spec.rb +0 -140
- data/spec/models/spree/state_spec.rb +0 -29
- data/spec/models/spree/stock/availability_validator_spec.rb +0 -36
- data/spec/models/spree/stock/content_item_spec.rb +0 -31
- data/spec/models/spree/stock/coordinator_spec.rb +0 -51
- data/spec/models/spree/stock/differentiator_spec.rb +0 -39
- data/spec/models/spree/stock/estimator_spec.rb +0 -202
- data/spec/models/spree/stock/inventory_unit_builder_spec.rb +0 -38
- data/spec/models/spree/stock/package_spec.rb +0 -194
- data/spec/models/spree/stock/packer_spec.rb +0 -70
- data/spec/models/spree/stock/prioritizer_spec.rb +0 -125
- data/spec/models/spree/stock/quantifier_spec.rb +0 -126
- 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 -47
- data/spec/models/spree/stock/splitter/weight_spec.rb +0 -32
- data/spec/models/spree/stock_item_spec.rb +0 -428
- data/spec/models/spree/stock_location_spec.rb +0 -243
- data/spec/models/spree/stock_movement_spec.rb +0 -56
- data/spec/models/spree/stock_transfer_spec.rb +0 -50
- data/spec/models/spree/store_credit_event_spec.rb +0 -101
- data/spec/models/spree/store_credit_spec.rb +0 -786
- data/spec/models/spree/store_spec.rb +0 -78
- data/spec/models/spree/tax_category_spec.rb +0 -32
- data/spec/models/spree/tax_rate_spec.rb +0 -542
- 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/user_spec.rb +0 -203
- data/spec/models/spree/variant_spec.rb +0 -795
- data/spec/models/spree/zone_member_spec.rb +0 -38
- data/spec/models/spree/zone_spec.rb +0 -470
- data/spec/spec_helper.rb +0 -77
- data/spec/support/big_decimal.rb +0 -5
- data/spec/support/concerns/adjustment_source.rb +0 -23
- data/spec/support/concerns/default_price.rb +0 -37
- data/spec/support/rake.rb +0 -13
- data/spec/support/test_gateway.rb +0 -2
- data/spec/validators/db_maximum_length_validator_spec.rb +0 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c472ca75b2962657a6312f4e01b13630ab719613
|
4
|
+
data.tar.gz: caa7069c782639d4073c45b953010122f70041da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c50ba8a21f237214d164f930a581be054bb7a2b2f1afbf087e21e38a5f73922271a14efb2457f346f68a69379a09199cdbe47288df750fe88b868264cf13cdc5
|
7
|
+
data.tar.gz: 7373d178297eec7b4f18d79be8ce8f59638972af9a552eabe6d677b2c0fdf38584b5b1e98a423ff939cd3db81c5d9568d82d509076009bafbcc049db4200ba14
|
@@ -3,9 +3,10 @@ module Spree::RansackableAttributes
|
|
3
3
|
included do
|
4
4
|
class_attribute :whitelisted_ransackable_associations
|
5
5
|
class_attribute :whitelisted_ransackable_attributes
|
6
|
+
class_attribute :whitelisted_ransackable_scopes
|
6
7
|
|
7
8
|
class_attribute :default_ransackable_attributes
|
8
|
-
self.default_ransackable_attributes = %w[id name]
|
9
|
+
self.default_ransackable_attributes = %w[id name updated_at created_at]
|
9
10
|
|
10
11
|
def self.ransackable_associations(*args)
|
11
12
|
self.whitelisted_ransackable_associations || []
|
@@ -14,6 +15,10 @@ module Spree::RansackableAttributes
|
|
14
15
|
def self.ransackable_attributes(*args)
|
15
16
|
self.default_ransackable_attributes | (self.whitelisted_ransackable_attributes || [])
|
16
17
|
end
|
18
|
+
|
19
|
+
def self.ransackable_scopes(*args)
|
20
|
+
whitelisted_ransackable_scopes || []
|
21
|
+
end
|
17
22
|
end
|
18
23
|
|
19
24
|
end
|
@@ -8,6 +8,10 @@ module Spree
|
|
8
8
|
include Spree::RansackableAttributes
|
9
9
|
|
10
10
|
included do
|
11
|
+
# we need to have this callback before any dependent: :destroy associations
|
12
|
+
# https://github.com/rails/rails/issues/3458
|
13
|
+
before_destroy :check_completed_orders
|
14
|
+
|
11
15
|
has_many :role_users, class_name: 'Spree::RoleUser', foreign_key: :user_id, dependent: :destroy
|
12
16
|
has_many :spree_roles, through: :role_users, class_name: 'Spree::Role', source: :role
|
13
17
|
|
@@ -43,5 +47,11 @@ module Spree
|
|
43
47
|
def total_available_store_credit
|
44
48
|
store_credits.reload.to_a.sum(&:amount_remaining)
|
45
49
|
end
|
50
|
+
|
51
|
+
private
|
52
|
+
|
53
|
+
def check_completed_orders
|
54
|
+
raise Spree::Core::DestroyWithOrdersError if orders.complete.present?
|
55
|
+
end
|
46
56
|
end
|
47
57
|
end
|
@@ -7,15 +7,7 @@ module Spree
|
|
7
7
|
|
8
8
|
self.table_name = 'spree_users'
|
9
9
|
|
10
|
-
before_destroy :check_completed_orders
|
11
|
-
|
12
10
|
attr_accessor :password
|
13
11
|
attr_accessor :password_confirmation
|
14
|
-
|
15
|
-
private
|
16
|
-
|
17
|
-
def check_completed_orders
|
18
|
-
raise Spree::Core::DestroyWithOrdersError if orders.complete.present?
|
19
|
-
end
|
20
12
|
end
|
21
13
|
end
|
data/app/models/spree/order.rb
CHANGED
@@ -53,7 +53,7 @@ module Spree
|
|
53
53
|
end
|
54
54
|
|
55
55
|
self.whitelisted_ransackable_associations = %w[shipments user promotions bill_address ship_address line_items]
|
56
|
-
self.whitelisted_ransackable_attributes =
|
56
|
+
self.whitelisted_ransackable_attributes = %w[completed_at email number state payment_state shipment_state total considered_risky]
|
57
57
|
|
58
58
|
attr_reader :coupon_code
|
59
59
|
attr_accessor :temporary_address, :temporary_credit_card
|
data/app/models/spree/product.rb
CHANGED
@@ -105,6 +105,7 @@ module Spree
|
|
105
105
|
end
|
106
106
|
|
107
107
|
validates :slug, length: { minimum: 3 }, allow_blank: true, uniqueness: true
|
108
|
+
validate :discontinue_on_must_be_later_than_available_on, if: -> { available_on && discontinue_on }
|
108
109
|
|
109
110
|
attr_accessor :option_values_hash
|
110
111
|
|
@@ -114,6 +115,7 @@ module Spree
|
|
114
115
|
|
115
116
|
self.whitelisted_ransackable_associations = %w[stores variants_including_master master variants]
|
116
117
|
self.whitelisted_ransackable_attributes = %w[description name slug discontinue_on]
|
118
|
+
self.whitelisted_ransackable_scopes = %w[not_discontinued]
|
117
119
|
|
118
120
|
# the master variant is not a member of the variants array
|
119
121
|
def has_variants?
|
@@ -370,6 +372,12 @@ module Spree
|
|
370
372
|
removed_classifications = classifications.where(taxon: taxon)
|
371
373
|
removed_classifications.each &:remove_from_list
|
372
374
|
end
|
375
|
+
|
376
|
+
def discontinue_on_must_be_later_than_available_on
|
377
|
+
if discontinue_on < available_on
|
378
|
+
errors.add(:discontinue_on, :invalid_date_range)
|
379
|
+
end
|
380
|
+
end
|
373
381
|
end
|
374
382
|
end
|
375
383
|
|
@@ -186,10 +186,14 @@ module Spree
|
|
186
186
|
where("#{Product.quoted_table_name}.deleted_at IS NULL or #{Product.quoted_table_name}.deleted_at >= ?", Time.zone.now)
|
187
187
|
end
|
188
188
|
|
189
|
-
|
190
|
-
|
189
|
+
def self.not_discontinued(only_not_discontinued = true)
|
190
|
+
if only_not_discontinued != '0' && only_not_discontinued
|
191
|
+
where("#{Product.quoted_table_name}.discontinue_on IS NULL or #{Product.quoted_table_name}.discontinue_on >= ?", Time.zone.now)
|
192
|
+
else
|
193
|
+
all
|
194
|
+
end
|
191
195
|
end
|
192
|
-
|
196
|
+
search_scopes << :not_discontinued
|
193
197
|
# Can't use add_search_scope for this as it needs a default argument
|
194
198
|
def self.available(available_on = nil, currency = nil)
|
195
199
|
available_on ||= Time.current
|
@@ -10,7 +10,7 @@ module Spree
|
|
10
10
|
belongs_to :source_location, class_name: 'StockLocation'
|
11
11
|
belongs_to :destination_location, class_name: 'StockLocation'
|
12
12
|
|
13
|
-
self.whitelisted_ransackable_attributes = %w[reference source_location_id destination_location_id
|
13
|
+
self.whitelisted_ransackable_attributes = %w[reference source_location_id destination_location_id number]
|
14
14
|
|
15
15
|
def to_param
|
16
16
|
number
|
data/config/locales/en.yml
CHANGED
@@ -315,6 +315,8 @@ en:
|
|
315
315
|
invalid_date_range: must be later than start date
|
316
316
|
spree/product:
|
317
317
|
attributes:
|
318
|
+
discontinue_on:
|
319
|
+
invalid_date_range: must be later than available date
|
318
320
|
base:
|
319
321
|
cannot_destroy_if_attached_to_line_items: Cannot delete products once they are attached to line items.
|
320
322
|
spree/refund:
|
data/lib/spree/core/version.rb
CHANGED
data/spree_core.gemspec
CHANGED
@@ -16,11 +16,11 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.homepage = 'http://spreecommerce.com'
|
17
17
|
s.license = 'BSD-3'
|
18
18
|
|
19
|
-
s.files = `git ls-files`.split("\n")
|
19
|
+
s.files = `git ls-files`.split("\n").reject { |f| f.match(/^spec/) }
|
20
20
|
s.require_path = 'lib'
|
21
21
|
|
22
22
|
s.add_dependency 'activemerchant', '~> 1.59'
|
23
|
-
s.add_dependency 'acts_as_list', '0.7.2'
|
23
|
+
s.add_dependency 'acts_as_list', '~> 0.7', '>= 0.7.2'
|
24
24
|
s.add_dependency 'awesome_nested_set', '~> 3.0.1'
|
25
25
|
s.add_dependency 'carmen', '~> 1.0.0'
|
26
26
|
s.add_dependency 'cancancan', '~> 1.10.1'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Schofield
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemerchant
|
@@ -28,14 +28,20 @@ dependencies:
|
|
28
28
|
name: acts_as_list
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.7'
|
34
|
+
- - ">="
|
32
35
|
- !ruby/object:Gem::Version
|
33
36
|
version: 0.7.2
|
34
37
|
type: :runtime
|
35
38
|
prerelease: false
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
38
|
-
- -
|
41
|
+
- - "~>"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0.7'
|
44
|
+
- - ">="
|
39
45
|
- !ruby/object:Gem::Version
|
40
46
|
version: 0.7.2
|
41
47
|
- !ruby/object:Gem::Dependency
|
@@ -934,209 +940,6 @@ files:
|
|
934
940
|
- lib/tasks/email.rake
|
935
941
|
- lib/tasks/exchanges.rake
|
936
942
|
- script/rails
|
937
|
-
- spec/fixtures/microdata.html
|
938
|
-
- spec/fixtures/microdata_itemref.html
|
939
|
-
- spec/fixtures/microdata_no_itemscope.html
|
940
|
-
- spec/fixtures/thinking-cat.jpg
|
941
|
-
- spec/helpers/base_helper_spec.rb
|
942
|
-
- spec/helpers/products_helper_spec.rb
|
943
|
-
- spec/lib/calculated_adjustments_spec.rb
|
944
|
-
- spec/lib/i18n_spec.rb
|
945
|
-
- spec/lib/search/base_spec.rb
|
946
|
-
- spec/lib/spree/core/controller_helpers/auth_spec.rb
|
947
|
-
- spec/lib/spree/core/controller_helpers/order_spec.rb
|
948
|
-
- spec/lib/spree/core/controller_helpers/search_spec.rb
|
949
|
-
- spec/lib/spree/core/controller_helpers/store_spec.rb
|
950
|
-
- spec/lib/spree/core/controller_helpers/strong_parameters_spec.rb
|
951
|
-
- spec/lib/spree/core/delegate_belongs_to_spec.rb
|
952
|
-
- spec/lib/spree/core/importer/order_spec.rb
|
953
|
-
- spec/lib/spree/core/number_generator_spec.rb
|
954
|
-
- spec/lib/spree/core/token_generator_spec.rb
|
955
|
-
- spec/lib/spree/core/validators/email_spec.rb
|
956
|
-
- spec/lib/spree/core_spec.rb
|
957
|
-
- spec/lib/spree/localized_number_spec.rb
|
958
|
-
- spec/lib/spree/migrations_spec.rb
|
959
|
-
- spec/lib/spree/money_spec.rb
|
960
|
-
- spec/lib/tasks/exchanges_spec.rb
|
961
|
-
- spec/mailers/order_mailer_spec.rb
|
962
|
-
- spec/mailers/reimbursement_mailer_spec.rb
|
963
|
-
- spec/mailers/shipment_mailer_spec.rb
|
964
|
-
- spec/mailers/test_mailer_spec.rb
|
965
|
-
- spec/models/option_type_prototype_spec.rb
|
966
|
-
- spec/models/spree/ability_spec.rb
|
967
|
-
- spec/models/spree/address_spec.rb
|
968
|
-
- spec/models/spree/adjustable/adjuster/base_spec.rb
|
969
|
-
- spec/models/spree/adjustable/adjuster/promotion_spec.rb
|
970
|
-
- spec/models/spree/adjustable/adjuster/tax_spec.rb
|
971
|
-
- spec/models/spree/adjustable/adjustments_updater_spec.rb
|
972
|
-
- spec/models/spree/adjustment_spec.rb
|
973
|
-
- spec/models/spree/app_configuration_spec.rb
|
974
|
-
- spec/models/spree/asset_spec.rb
|
975
|
-
- spec/models/spree/calculator/default_tax_spec.rb
|
976
|
-
- spec/models/spree/calculator/flat_percent_item_total_spec.rb
|
977
|
-
- spec/models/spree/calculator/flat_rate_spec.rb
|
978
|
-
- spec/models/spree/calculator/flexi_rate_spec.rb
|
979
|
-
- spec/models/spree/calculator/percent_on_line_item_spec.rb
|
980
|
-
- spec/models/spree/calculator/price_sack_spec.rb
|
981
|
-
- spec/models/spree/calculator/refunds/default_refund_amount_spec.rb
|
982
|
-
- spec/models/spree/calculator/shipping.rb
|
983
|
-
- spec/models/spree/calculator/shipping/flat_percent_item_total_spec.rb
|
984
|
-
- spec/models/spree/calculator/shipping/flat_rate_spec.rb
|
985
|
-
- spec/models/spree/calculator/shipping/flexi_rate_spec.rb
|
986
|
-
- spec/models/spree/calculator/shipping/per_item_spec.rb
|
987
|
-
- spec/models/spree/calculator/shipping/price_sack_spec.rb
|
988
|
-
- spec/models/spree/calculator/tiered_flat_rate_spec.rb
|
989
|
-
- spec/models/spree/calculator/tiered_percent_spec.rb
|
990
|
-
- spec/models/spree/calculator_spec.rb
|
991
|
-
- spec/models/spree/classification_spec.rb
|
992
|
-
- spec/models/spree/concerns/display_money_spec.rb
|
993
|
-
- spec/models/spree/concerns/user_methods_spec.rb
|
994
|
-
- spec/models/spree/concerns/vat_price_calculation_spec.rb
|
995
|
-
- spec/models/spree/country_spec.rb
|
996
|
-
- spec/models/spree/credit_card_spec.rb
|
997
|
-
- spec/models/spree/customer_return_spec.rb
|
998
|
-
- spec/models/spree/exchange_spec.rb
|
999
|
-
- spec/models/spree/gateway/bogus_simple.rb
|
1000
|
-
- spec/models/spree/gateway/bogus_spec.rb
|
1001
|
-
- spec/models/spree/gateway_spec.rb
|
1002
|
-
- spec/models/spree/image_spec.rb
|
1003
|
-
- spec/models/spree/inventory_unit_spec.rb
|
1004
|
-
- spec/models/spree/line_item_spec.rb
|
1005
|
-
- spec/models/spree/option_type_spec.rb
|
1006
|
-
- spec/models/spree/option_value_spec.rb
|
1007
|
-
- spec/models/spree/order/address_spec.rb
|
1008
|
-
- spec/models/spree/order/adjustments_spec.rb
|
1009
|
-
- spec/models/spree/order/callbacks_spec.rb
|
1010
|
-
- spec/models/spree/order/checkout_spec.rb
|
1011
|
-
- spec/models/spree/order/currency_updater_spec.rb
|
1012
|
-
- spec/models/spree/order/finalizing_spec.rb
|
1013
|
-
- spec/models/spree/order/helpers_spec.rb
|
1014
|
-
- spec/models/spree/order/payment_spec.rb
|
1015
|
-
- spec/models/spree/order/risk_assessment_spec.rb
|
1016
|
-
- spec/models/spree/order/shipments_spec.rb
|
1017
|
-
- spec/models/spree/order/state_machine_spec.rb
|
1018
|
-
- spec/models/spree/order/store_credit_spec.rb
|
1019
|
-
- spec/models/spree/order/tax_spec.rb
|
1020
|
-
- spec/models/spree/order/totals_spec.rb
|
1021
|
-
- spec/models/spree/order/updating_spec.rb
|
1022
|
-
- spec/models/spree/order/validations_spec.rb
|
1023
|
-
- spec/models/spree/order_contents_spec.rb
|
1024
|
-
- spec/models/spree/order_inventory_spec.rb
|
1025
|
-
- spec/models/spree/order_merger_spec.rb
|
1026
|
-
- spec/models/spree/order_spec.rb
|
1027
|
-
- spec/models/spree/order_updater_spec.rb
|
1028
|
-
- spec/models/spree/payment/gateway_options_spec.rb
|
1029
|
-
- spec/models/spree/payment/store_credit_spec.rb
|
1030
|
-
- spec/models/spree/payment_method/store_credit_spec.rb
|
1031
|
-
- spec/models/spree/payment_method_spec.rb
|
1032
|
-
- spec/models/spree/payment_spec.rb
|
1033
|
-
- spec/models/spree/preference_spec.rb
|
1034
|
-
- spec/models/spree/preferences/configuration_spec.rb
|
1035
|
-
- spec/models/spree/preferences/preferable_spec.rb
|
1036
|
-
- spec/models/spree/preferences/scoped_store_spec.rb
|
1037
|
-
- spec/models/spree/preferences/store_spec.rb
|
1038
|
-
- spec/models/spree/price_spec.rb
|
1039
|
-
- spec/models/spree/product/scopes_spec.rb
|
1040
|
-
- spec/models/spree/product_duplicator_spec.rb
|
1041
|
-
- spec/models/spree/product_filter_spec.rb
|
1042
|
-
- spec/models/spree/product_option_type_spec.rb
|
1043
|
-
- spec/models/spree/product_promotion_rule_spec.rb
|
1044
|
-
- spec/models/spree/product_property_spec.rb
|
1045
|
-
- spec/models/spree/product_spec.rb
|
1046
|
-
- spec/models/spree/promotion/actions/create_adjustment_spec.rb
|
1047
|
-
- spec/models/spree/promotion/actions/create_item_adjustments_spec.rb
|
1048
|
-
- spec/models/spree/promotion/actions/create_line_items_spec.rb
|
1049
|
-
- spec/models/spree/promotion/actions/free_shipping_spec.rb
|
1050
|
-
- spec/models/spree/promotion/rules/first_order_spec.rb
|
1051
|
-
- spec/models/spree/promotion/rules/item_total_spec.rb
|
1052
|
-
- spec/models/spree/promotion/rules/one_use_per_user_spec.rb
|
1053
|
-
- spec/models/spree/promotion/rules/option_value_spec.rb
|
1054
|
-
- spec/models/spree/promotion/rules/product_spec.rb
|
1055
|
-
- spec/models/spree/promotion/rules/taxon_spec.rb
|
1056
|
-
- spec/models/spree/promotion/rules/user_logged_in_spec.rb
|
1057
|
-
- spec/models/spree/promotion/rules/user_spec.rb
|
1058
|
-
- spec/models/spree/promotion_action_spec.rb
|
1059
|
-
- spec/models/spree/promotion_category_spec.rb
|
1060
|
-
- spec/models/spree/promotion_handler/cart_spec.rb
|
1061
|
-
- spec/models/spree/promotion_handler/coupon_spec.rb
|
1062
|
-
- spec/models/spree/promotion_handler/free_shipping_spec.rb
|
1063
|
-
- spec/models/spree/promotion_handler/page_spec.rb
|
1064
|
-
- spec/models/spree/promotion_rule_spec.rb
|
1065
|
-
- spec/models/spree/promotion_rule_taxon_spec.rb
|
1066
|
-
- spec/models/spree/promotion_rule_user_spec.rb
|
1067
|
-
- spec/models/spree/promotion_spec.rb
|
1068
|
-
- spec/models/spree/property_prototype_spec.rb
|
1069
|
-
- spec/models/spree/property_spec.rb
|
1070
|
-
- spec/models/spree/prototype_spec.rb
|
1071
|
-
- spec/models/spree/prototype_taxon_spec.rb
|
1072
|
-
- spec/models/spree/refund_reason_spec.rb
|
1073
|
-
- spec/models/spree/refund_spec.rb
|
1074
|
-
- spec/models/spree/reimbursement/credit_spec.rb
|
1075
|
-
- spec/models/spree/reimbursement/reimbursement_type_engine_spec.rb
|
1076
|
-
- spec/models/spree/reimbursement/reimbursement_type_validator_spec.rb
|
1077
|
-
- spec/models/spree/reimbursement_performer_spec.rb
|
1078
|
-
- spec/models/spree/reimbursement_spec.rb
|
1079
|
-
- spec/models/spree/reimbursement_tax_calculator_spec.rb
|
1080
|
-
- spec/models/spree/reimbursement_type/credit_spec.rb
|
1081
|
-
- spec/models/spree/reimbursement_type/exchange_spec.rb
|
1082
|
-
- spec/models/spree/reimbursement_type/original_payment_spec.rb
|
1083
|
-
- spec/models/spree/reimbursement_type/store_credit_spec.rb
|
1084
|
-
- spec/models/spree/return_authorization_reason_spec.rb
|
1085
|
-
- spec/models/spree/return_authorization_spec.rb
|
1086
|
-
- spec/models/spree/return_item/eligibility_validator/default_spec.rb
|
1087
|
-
- spec/models/spree/return_item/eligibility_validator/inventory_shipped_spec.rb
|
1088
|
-
- spec/models/spree/return_item/eligibility_validator/no_reimbursements_spec.rb
|
1089
|
-
- spec/models/spree/return_item/eligibility_validator/order_completed_spec.rb
|
1090
|
-
- spec/models/spree/return_item/eligibility_validator/rma_required_spec.rb
|
1091
|
-
- spec/models/spree/return_item/eligibility_validator/time_since_purchase_spec.rb
|
1092
|
-
- spec/models/spree/return_item/exchange_variant_eligibility/same_option_value_spec.rb
|
1093
|
-
- spec/models/spree/return_item/exchange_variant_eligibility/same_product_spec.rb
|
1094
|
-
- spec/models/spree/return_item_spec.rb
|
1095
|
-
- spec/models/spree/returns_calculator_spec.rb
|
1096
|
-
- spec/models/spree/role_spec.rb
|
1097
|
-
- spec/models/spree/shipment_spec.rb
|
1098
|
-
- spec/models/spree/shipping_calculator_spec.rb
|
1099
|
-
- spec/models/spree/shipping_category_spec.rb
|
1100
|
-
- spec/models/spree/shipping_method_spec.rb
|
1101
|
-
- spec/models/spree/shipping_rate_spec.rb
|
1102
|
-
- spec/models/spree/state_spec.rb
|
1103
|
-
- spec/models/spree/stock/availability_validator_spec.rb
|
1104
|
-
- spec/models/spree/stock/content_item_spec.rb
|
1105
|
-
- spec/models/spree/stock/coordinator_spec.rb
|
1106
|
-
- spec/models/spree/stock/differentiator_spec.rb
|
1107
|
-
- spec/models/spree/stock/estimator_spec.rb
|
1108
|
-
- spec/models/spree/stock/inventory_unit_builder_spec.rb
|
1109
|
-
- spec/models/spree/stock/package_spec.rb
|
1110
|
-
- spec/models/spree/stock/packer_spec.rb
|
1111
|
-
- spec/models/spree/stock/prioritizer_spec.rb
|
1112
|
-
- spec/models/spree/stock/quantifier_spec.rb
|
1113
|
-
- spec/models/spree/stock/splitter/backordered_spec.rb
|
1114
|
-
- spec/models/spree/stock/splitter/base_spec.rb
|
1115
|
-
- spec/models/spree/stock/splitter/shipping_category_spec.rb
|
1116
|
-
- spec/models/spree/stock/splitter/weight_spec.rb
|
1117
|
-
- spec/models/spree/stock_item_spec.rb
|
1118
|
-
- spec/models/spree/stock_location_spec.rb
|
1119
|
-
- spec/models/spree/stock_movement_spec.rb
|
1120
|
-
- spec/models/spree/stock_transfer_spec.rb
|
1121
|
-
- spec/models/spree/store_credit_event_spec.rb
|
1122
|
-
- spec/models/spree/store_credit_spec.rb
|
1123
|
-
- spec/models/spree/store_spec.rb
|
1124
|
-
- spec/models/spree/tax_category_spec.rb
|
1125
|
-
- spec/models/spree/tax_rate_spec.rb
|
1126
|
-
- spec/models/spree/taxon_spec.rb
|
1127
|
-
- spec/models/spree/taxonomy_spec.rb
|
1128
|
-
- spec/models/spree/tracker_spec.rb
|
1129
|
-
- spec/models/spree/user_spec.rb
|
1130
|
-
- spec/models/spree/variant_spec.rb
|
1131
|
-
- spec/models/spree/zone_member_spec.rb
|
1132
|
-
- spec/models/spree/zone_spec.rb
|
1133
|
-
- spec/spec_helper.rb
|
1134
|
-
- spec/support/big_decimal.rb
|
1135
|
-
- spec/support/concerns/adjustment_source.rb
|
1136
|
-
- spec/support/concerns/default_price.rb
|
1137
|
-
- spec/support/rake.rb
|
1138
|
-
- spec/support/test_gateway.rb
|
1139
|
-
- spec/validators/db_maximum_length_validator_spec.rb
|
1140
943
|
- spree_core.gemspec
|
1141
944
|
- vendor/assets/javascripts/jquery-migrate-1.0.0.js
|
1142
945
|
- vendor/assets/javascripts/jquery.payment.js
|
@@ -1163,7 +966,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1163
966
|
version: 1.8.23
|
1164
967
|
requirements: []
|
1165
968
|
rubyforge_project:
|
1166
|
-
rubygems_version: 2.6.
|
969
|
+
rubygems_version: 2.6.11
|
1167
970
|
signing_key:
|
1168
971
|
specification_version: 4
|
1169
972
|
summary: The bare bones necessary for Spree.
|
@@ -1,22 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<!-- shameless -->
|
4
|
-
<head>
|
5
|
-
<title>Jason Ronallo</title>
|
6
|
-
</head>
|
7
|
-
|
8
|
-
<body>
|
9
|
-
<span itemscope itemtype="http://schema.org/Person"
|
10
|
-
itemid="http://ronallo.com#me">
|
11
|
-
<a itemprop="url" href="http://twitter.com/ronallo">
|
12
|
-
<span itemprop="name">Jason Ronallo</span>
|
13
|
-
</a> is the
|
14
|
-
<span itemprop="jobTitle">Associate Head of Digital Library Initiatives</span> at
|
15
|
-
<span itemprop="affiliation" itemscope itemtype="http://schema.org/Library" itemid="http://lib.ncsu.edu">
|
16
|
-
<span itemprop="name">
|
17
|
-
<a itemprop="url" href="http://www.lib.ncsu.edu">NCSU Libraries</a>
|
18
|
-
</span>
|
19
|
-
</span>
|
20
|
-
</span>
|
21
|
-
</body>
|
22
|
-
</html>
|