spree_core 3.7.11 → 4.0.0.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/app/controllers/spree/base_controller.rb +0 -1
- data/app/finders/spree/taxons/find.rb +6 -5
- data/app/helpers/spree/base_helper.rb +0 -9
- data/app/helpers/spree/products_helper.rb +1 -1
- data/app/models/concerns/spree/product_scopes.rb +254 -0
- data/app/models/concerns/spree/user_address.rb +5 -2
- data/app/models/friendly_id/slug_decorator.rb +8 -2
- data/app/models/spree/ability.rb +21 -22
- data/app/models/spree/address.rb +37 -24
- data/app/models/spree/adjustment.rb +0 -10
- data/app/models/spree/app_dependencies.rb +2 -2
- data/app/models/spree/asset.rb +1 -12
- data/app/models/spree/country.rb +2 -2
- data/app/models/spree/gateway/bogus.rb +1 -1
- data/app/models/spree/image.rb +8 -1
- data/app/models/spree/image/configuration/active_storage.rb +0 -2
- data/app/models/spree/order.rb +13 -78
- data/app/models/spree/order/address_book.rb +86 -0
- data/app/models/spree/order/checkout.rb +4 -22
- data/app/models/spree/order/currency_updater.rb +1 -1
- data/app/models/spree/order/store_credit.rb +0 -18
- data/app/models/spree/order_merger.rb +1 -0
- data/app/models/spree/payment.rb +4 -2
- data/app/models/spree/payment/gateway_options.rb +1 -1
- data/app/models/spree/payment/processing.rb +2 -0
- data/app/models/spree/preferences/configuration.rb +1 -1
- data/app/models/spree/product.rb +2 -3
- data/app/models/spree/reimbursement_tax_calculator.rb +1 -1
- data/app/models/spree/return_item.rb +1 -1
- data/app/models/spree/return_item/eligibility_validator/default.rb +2 -0
- data/app/models/spree/return_item/eligibility_validator/{rma_required.rb → r_m_a_required.rb} +0 -0
- data/app/models/spree/shipment.rb +1 -1
- data/app/models/spree/store_credit.rb +4 -5
- data/app/models/spree/taxon_image.rb +1 -1
- data/app/models/spree/taxonomy.rb +1 -1
- data/app/services/spree/cart/add_item.rb +3 -1
- data/app/services/spree/cart/update.rb +1 -1
- data/config/locales/en.yml +15 -0
- data/db/default/spree/stores.rb +1 -0
- data/db/default/spree/zones.rb +16 -0
- data/db/migrate/20140806144901_add_type_to_reimbursement_type.rb +1 -1
- data/db/migrate/20141101231208_fix_adjustment_order_presence.rb +2 -2
- data/db/migrate/20170323151450_add_missing_unique_indexes_for_unique_attributes.rb +1 -1
- data/db/migrate/20190305121659_add_iso_and_iso3_validation_on_presence_and_uniqueness.rb +18 -0
- data/db/migrate/20190523092729_add_user_id_and_deleted_at_to_spree_addresses.rb +12 -0
- data/lib/generators/spree/dummy/dummy_generator.rb +2 -0
- data/lib/spree/core.rb +0 -2
- data/lib/spree/core/importer/order.rb +64 -103
- data/lib/spree/core/importer/product.rb +2 -2
- data/lib/spree/core/product_duplicator.rb +1 -5
- data/lib/spree/core/version.rb +1 -1
- data/lib/spree/permitted_attributes.rb +3 -1
- data/lib/spree/testing_support/ability_helpers.rb +3 -11
- data/lib/spree/testing_support/capybara_config.rb +4 -1
- data/lib/spree/testing_support/capybara_ext.rb +22 -98
- data/lib/spree/testing_support/controller_requests.rb +36 -26
- data/lib/spree/testing_support/factories/image_factory.rb +2 -6
- data/lib/spree/testing_support/factories/return_item_factory.rb +2 -2
- data/lib/spree/testing_support/factories/taxon_factory.rb +1 -1
- data/lib/spree/testing_support/i18n.rb +6 -8
- data/lib/spree/testing_support/image_helpers.rb +5 -11
- data/lib/tasks/exchanges.rake +35 -37
- data/spree_core.gemspec +11 -14
- metadata +63 -103
- data/app/models/concerns/spree/acts_as_taggable.rb +0 -11
- data/app/models/spree/image/configuration/paperclip.rb +0 -64
- data/app/models/spree/order_contents.rb +0 -54
- data/app/models/spree/product/scopes.rb +0 -250
- data/app/models/spree/tag.rb +0 -4
- data/app/models/spree/taxon_image/configuration/paperclip.rb +0 -27
- data/config/initializers/acts_as_taggable_on.rb +0 -9
- data/config/initializers/use_paperclip.rb +0 -3
- data/db/migrate/20160511071954_acts_as_taggable_on_spree_migration.rb +0 -40
- data/db/migrate/20160511072249_change_collation_for_spree_tag_names.rb +0 -9
- data/db/migrate/20160511072335_add_missing_indexes_to_spree_taggings.rb +0 -14
- data/lib/spree/core/controller_helpers/respond_with.rb +0 -67
- data/lib/spree/responder.rb +0 -44
- data/lib/spree/testing_support/factories/tag_factory.rb +0 -5
@@ -2,17 +2,11 @@ module Spree
|
|
2
2
|
module TestingSupport
|
3
3
|
module ImageHelpers
|
4
4
|
def create_image(attachable, file)
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
image = attachable.images.new
|
11
|
-
image.attachment.attach(io: file, filename: File.basename(file))
|
12
|
-
image.save!
|
13
|
-
file.rewind
|
14
|
-
image
|
15
|
-
end
|
5
|
+
image = attachable.images.new
|
6
|
+
image.attachment.attach(io: file, filename: File.basename(file))
|
7
|
+
image.save!
|
8
|
+
file.rewind
|
9
|
+
image
|
16
10
|
end
|
17
11
|
end
|
18
12
|
end
|
data/lib/tasks/exchanges.rake
CHANGED
@@ -15,50 +15,48 @@ namespace :exchanges do
|
|
15
15
|
failed_orders = []
|
16
16
|
|
17
17
|
unreturned_return_items.group_by(&:exchange_shipments).each do |shipments, return_items|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
order = Spree::Order.create!(order_attributes)
|
18
|
+
original_order = shipments.first.order
|
19
|
+
order_attributes = {
|
20
|
+
bill_address: original_order.bill_address,
|
21
|
+
ship_address: original_order.ship_address,
|
22
|
+
email: original_order.email
|
23
|
+
}
|
24
|
+
order_attributes[:store_id] = original_order.store_id
|
25
|
+
order = Spree::Order.create!(order_attributes)
|
27
26
|
|
28
|
-
|
27
|
+
order.associate_user!(original_order.user) if original_order.user
|
29
28
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
29
|
+
return_items.group_by(&:exchange_variant).map do |variant, variant_return_items|
|
30
|
+
variant_inventory_units = variant_return_items.map(&:exchange_inventory_units).flatten
|
31
|
+
line_item = Spree::LineItem.create!(variant: variant, quantity: variant_return_items.count, order: order)
|
32
|
+
variant_inventory_units.each { |i| i.update!(line_item_id: line_item.id, order_id: order.id) }
|
33
|
+
end
|
35
34
|
|
36
|
-
|
37
|
-
|
35
|
+
order.reload.update_with_updater!
|
36
|
+
while order.state != order.checkout_steps[-2] && order.next; end
|
38
37
|
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
38
|
+
unless order.payments.present?
|
39
|
+
card_to_reuse = original_order.valid_credit_cards.first
|
40
|
+
card_to_reuse = original_order.user.credit_cards.default.first if !card_to_reuse && original_order.user
|
41
|
+
Spree::Payment.create!(order: order,
|
42
|
+
payment_method_id: card_to_reuse.try(:payment_method_id),
|
43
|
+
source: card_to_reuse,
|
44
|
+
amount: order.total)
|
45
|
+
end
|
47
46
|
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
47
|
+
# the order builds a shipment on its own on transition to delivery, but we want
|
48
|
+
# the original exchange shipment, not the built one
|
49
|
+
order.shipments.destroy_all
|
50
|
+
shipments.each { |shipment| shipment.update(order_id: order.id) }
|
51
|
+
order.update!(state: 'confirm')
|
53
52
|
|
54
|
-
|
55
|
-
|
56
|
-
|
53
|
+
order.reload.next!
|
54
|
+
order.update_with_updater!
|
55
|
+
order.finalize!
|
57
56
|
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
end
|
57
|
+
failed_orders << order unless order.completed? && order.valid?
|
58
|
+
rescue StandardError
|
59
|
+
failed_orders << order
|
62
60
|
end
|
63
61
|
failure_message = failed_orders.map { |o| "#{o.number} - #{o.errors.full_messages}" }.join(', ')
|
64
62
|
raise UnableToChargeForUnreturnedItems, failure_message if failed_orders.present?
|
data/spree_core.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.summary = 'The bare bones necessary for Spree.'
|
10
10
|
s.description = 'The bare bones necessary for Spree.'
|
11
11
|
|
12
|
-
s.required_ruby_version = '>= 2.
|
12
|
+
s.required_ruby_version = '>= 2.5.0'
|
13
13
|
s.required_rubygems_version = '>= 1.8.23'
|
14
14
|
|
15
15
|
s.author = 'Sean Schofield'
|
@@ -22,29 +22,26 @@ Gem::Specification.new do |s|
|
|
22
22
|
|
23
23
|
s.add_dependency 'activemerchant', '~> 1.67'
|
24
24
|
s.add_dependency 'acts_as_list', '~> 0.8'
|
25
|
-
s.add_dependency 'awesome_nested_set', '
|
26
|
-
s.add_dependency 'carmen', '
|
27
|
-
s.add_dependency 'cancancan', '~>
|
28
|
-
s.add_dependency 'deface', '~> 1.0'
|
25
|
+
s.add_dependency 'awesome_nested_set', '>= 3.1.4', '< 3.3.0'
|
26
|
+
s.add_dependency 'carmen', '>= 1.0', '< 1.2'
|
27
|
+
s.add_dependency 'cancancan', '~> 3.0'
|
29
28
|
s.add_dependency 'ffaker', '~> 2.9'
|
30
29
|
s.add_dependency 'friendly_id', '~> 5.2.1'
|
31
30
|
s.add_dependency 'highline', '~> 2.0.0' # Necessary for the install generator
|
32
|
-
s.add_dependency 'kaminari', '
|
31
|
+
s.add_dependency 'kaminari', '>= 1.0.1', '< 1.2.0'
|
33
32
|
s.add_dependency 'money', '~> 6.13'
|
34
33
|
s.add_dependency 'monetize', '~> 1.9'
|
35
|
-
s.add_dependency '
|
36
|
-
s.add_dependency 'paranoia', '~> 2.4.1'
|
34
|
+
s.add_dependency 'paranoia', '~> 2.4.2'
|
37
35
|
s.add_dependency 'premailer-rails'
|
38
|
-
s.add_dependency '
|
39
|
-
s.add_dependency '
|
40
|
-
s.add_dependency 'ransack', '~> 2.1.1'
|
36
|
+
s.add_dependency 'rails', '~> 6.0.0'
|
37
|
+
s.add_dependency 'ransack', '~> 2.3.0'
|
41
38
|
s.add_dependency 'responders'
|
42
|
-
s.add_dependency 'state_machines-activerecord', '~> 0.
|
39
|
+
s.add_dependency 'state_machines-activerecord', '~> 0.6'
|
40
|
+
s.add_dependency 'state_machines-activemodel', '~> 0.7'
|
43
41
|
s.add_dependency 'stringex'
|
44
42
|
s.add_dependency 'twitter_cldr', '~> 4.3'
|
45
|
-
s.add_dependency 'sprockets', '~> 3.7'
|
46
43
|
s.add_dependency 'sprockets-rails'
|
47
44
|
s.add_dependency 'mini_magick', '~> 4.9.4'
|
48
45
|
|
49
|
-
s.add_development_dependency 'email_spec', '~>
|
46
|
+
s.add_development_dependency 'email_spec', '~> 2.2'
|
50
47
|
end
|
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:
|
4
|
+
version: 4.0.0.beta
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Schofield
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemerchant
|
@@ -42,58 +42,56 @@ dependencies:
|
|
42
42
|
name: awesome_nested_set
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 3.1.4
|
48
|
+
- - "<"
|
46
49
|
- !ruby/object:Gem::Version
|
47
|
-
version: 3.
|
50
|
+
version: 3.3.0
|
48
51
|
type: :runtime
|
49
52
|
prerelease: false
|
50
53
|
version_requirements: !ruby/object:Gem::Requirement
|
51
54
|
requirements:
|
52
|
-
- - "
|
55
|
+
- - ">="
|
53
56
|
- !ruby/object:Gem::Version
|
54
|
-
version: 3.
|
57
|
+
version: 3.1.4
|
58
|
+
- - "<"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 3.3.0
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: carmen
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
58
64
|
requirements:
|
59
|
-
- - "
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 1.0.0
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
65
|
+
- - ">="
|
67
66
|
- !ruby/object:Gem::Version
|
68
|
-
version: 1.0
|
69
|
-
-
|
70
|
-
name: cancancan
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
67
|
+
version: '1.0'
|
68
|
+
- - "<"
|
74
69
|
- !ruby/object:Gem::Version
|
75
|
-
version: '2
|
70
|
+
version: '1.2'
|
76
71
|
type: :runtime
|
77
72
|
prerelease: false
|
78
73
|
version_requirements: !ruby/object:Gem::Requirement
|
79
74
|
requirements:
|
80
|
-
- - "
|
75
|
+
- - ">="
|
81
76
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
77
|
+
version: '1.0'
|
78
|
+
- - "<"
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '1.2'
|
83
81
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
82
|
+
name: cancancan
|
85
83
|
requirement: !ruby/object:Gem::Requirement
|
86
84
|
requirements:
|
87
85
|
- - "~>"
|
88
86
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
87
|
+
version: '3.0'
|
90
88
|
type: :runtime
|
91
89
|
prerelease: false
|
92
90
|
version_requirements: !ruby/object:Gem::Requirement
|
93
91
|
requirements:
|
94
92
|
- - "~>"
|
95
93
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
94
|
+
version: '3.0'
|
97
95
|
- !ruby/object:Gem::Dependency
|
98
96
|
name: ffaker
|
99
97
|
requirement: !ruby/object:Gem::Requirement
|
@@ -140,16 +138,22 @@ dependencies:
|
|
140
138
|
name: kaminari
|
141
139
|
requirement: !ruby/object:Gem::Requirement
|
142
140
|
requirements:
|
143
|
-
- - "
|
141
|
+
- - ">="
|
144
142
|
- !ruby/object:Gem::Version
|
145
143
|
version: 1.0.1
|
144
|
+
- - "<"
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: 1.2.0
|
146
147
|
type: :runtime
|
147
148
|
prerelease: false
|
148
149
|
version_requirements: !ruby/object:Gem::Requirement
|
149
150
|
requirements:
|
150
|
-
- - "
|
151
|
+
- - ">="
|
151
152
|
- !ruby/object:Gem::Version
|
152
153
|
version: 1.0.1
|
154
|
+
- - "<"
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: 1.2.0
|
153
157
|
- !ruby/object:Gem::Dependency
|
154
158
|
name: money
|
155
159
|
requirement: !ruby/object:Gem::Requirement
|
@@ -178,34 +182,20 @@ dependencies:
|
|
178
182
|
- - "~>"
|
179
183
|
- !ruby/object:Gem::Version
|
180
184
|
version: '1.9'
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
name: paperclip
|
183
|
-
requirement: !ruby/object:Gem::Requirement
|
184
|
-
requirements:
|
185
|
-
- - "~>"
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
version: 6.1.0
|
188
|
-
type: :runtime
|
189
|
-
prerelease: false
|
190
|
-
version_requirements: !ruby/object:Gem::Requirement
|
191
|
-
requirements:
|
192
|
-
- - "~>"
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
version: 6.1.0
|
195
185
|
- !ruby/object:Gem::Dependency
|
196
186
|
name: paranoia
|
197
187
|
requirement: !ruby/object:Gem::Requirement
|
198
188
|
requirements:
|
199
189
|
- - "~>"
|
200
190
|
- !ruby/object:Gem::Version
|
201
|
-
version: 2.4.
|
191
|
+
version: 2.4.2
|
202
192
|
type: :runtime
|
203
193
|
prerelease: false
|
204
194
|
version_requirements: !ruby/object:Gem::Requirement
|
205
195
|
requirements:
|
206
196
|
- - "~>"
|
207
197
|
- !ruby/object:Gem::Version
|
208
|
-
version: 2.4.
|
198
|
+
version: 2.4.2
|
209
199
|
- !ruby/object:Gem::Dependency
|
210
200
|
name: premailer-rails
|
211
201
|
requirement: !ruby/object:Gem::Requirement
|
@@ -221,7 +211,7 @@ dependencies:
|
|
221
211
|
- !ruby/object:Gem::Version
|
222
212
|
version: '0'
|
223
213
|
- !ruby/object:Gem::Dependency
|
224
|
-
name:
|
214
|
+
name: rails
|
225
215
|
requirement: !ruby/object:Gem::Requirement
|
226
216
|
requirements:
|
227
217
|
- - "~>"
|
@@ -235,67 +225,61 @@ dependencies:
|
|
235
225
|
- !ruby/object:Gem::Version
|
236
226
|
version: 6.0.0
|
237
227
|
- !ruby/object:Gem::Dependency
|
238
|
-
name:
|
228
|
+
name: ransack
|
239
229
|
requirement: !ruby/object:Gem::Requirement
|
240
230
|
requirements:
|
241
231
|
- - "~>"
|
242
232
|
- !ruby/object:Gem::Version
|
243
|
-
version:
|
244
|
-
- - ">="
|
245
|
-
- !ruby/object:Gem::Version
|
246
|
-
version: 5.2.4
|
233
|
+
version: 2.3.0
|
247
234
|
type: :runtime
|
248
235
|
prerelease: false
|
249
236
|
version_requirements: !ruby/object:Gem::Requirement
|
250
237
|
requirements:
|
251
238
|
- - "~>"
|
252
239
|
- !ruby/object:Gem::Version
|
253
|
-
version:
|
254
|
-
- - ">="
|
255
|
-
- !ruby/object:Gem::Version
|
256
|
-
version: 5.2.4
|
240
|
+
version: 2.3.0
|
257
241
|
- !ruby/object:Gem::Dependency
|
258
|
-
name:
|
242
|
+
name: responders
|
259
243
|
requirement: !ruby/object:Gem::Requirement
|
260
244
|
requirements:
|
261
|
-
- - "
|
245
|
+
- - ">="
|
262
246
|
- !ruby/object:Gem::Version
|
263
|
-
version:
|
247
|
+
version: '0'
|
264
248
|
type: :runtime
|
265
249
|
prerelease: false
|
266
250
|
version_requirements: !ruby/object:Gem::Requirement
|
267
251
|
requirements:
|
268
|
-
- - "
|
252
|
+
- - ">="
|
269
253
|
- !ruby/object:Gem::Version
|
270
|
-
version:
|
254
|
+
version: '0'
|
271
255
|
- !ruby/object:Gem::Dependency
|
272
|
-
name:
|
256
|
+
name: state_machines-activerecord
|
273
257
|
requirement: !ruby/object:Gem::Requirement
|
274
258
|
requirements:
|
275
|
-
- - "
|
259
|
+
- - "~>"
|
276
260
|
- !ruby/object:Gem::Version
|
277
|
-
version: '0'
|
261
|
+
version: '0.6'
|
278
262
|
type: :runtime
|
279
263
|
prerelease: false
|
280
264
|
version_requirements: !ruby/object:Gem::Requirement
|
281
265
|
requirements:
|
282
|
-
- - "
|
266
|
+
- - "~>"
|
283
267
|
- !ruby/object:Gem::Version
|
284
|
-
version: '0'
|
268
|
+
version: '0.6'
|
285
269
|
- !ruby/object:Gem::Dependency
|
286
|
-
name: state_machines-
|
270
|
+
name: state_machines-activemodel
|
287
271
|
requirement: !ruby/object:Gem::Requirement
|
288
272
|
requirements:
|
289
273
|
- - "~>"
|
290
274
|
- !ruby/object:Gem::Version
|
291
|
-
version: '0.
|
275
|
+
version: '0.7'
|
292
276
|
type: :runtime
|
293
277
|
prerelease: false
|
294
278
|
version_requirements: !ruby/object:Gem::Requirement
|
295
279
|
requirements:
|
296
280
|
- - "~>"
|
297
281
|
- !ruby/object:Gem::Version
|
298
|
-
version: '0.
|
282
|
+
version: '0.7'
|
299
283
|
- !ruby/object:Gem::Dependency
|
300
284
|
name: stringex
|
301
285
|
requirement: !ruby/object:Gem::Requirement
|
@@ -324,20 +308,6 @@ dependencies:
|
|
324
308
|
- - "~>"
|
325
309
|
- !ruby/object:Gem::Version
|
326
310
|
version: '4.3'
|
327
|
-
- !ruby/object:Gem::Dependency
|
328
|
-
name: sprockets
|
329
|
-
requirement: !ruby/object:Gem::Requirement
|
330
|
-
requirements:
|
331
|
-
- - "~>"
|
332
|
-
- !ruby/object:Gem::Version
|
333
|
-
version: '3.7'
|
334
|
-
type: :runtime
|
335
|
-
prerelease: false
|
336
|
-
version_requirements: !ruby/object:Gem::Requirement
|
337
|
-
requirements:
|
338
|
-
- - "~>"
|
339
|
-
- !ruby/object:Gem::Version
|
340
|
-
version: '3.7'
|
341
311
|
- !ruby/object:Gem::Dependency
|
342
312
|
name: sprockets-rails
|
343
313
|
requirement: !ruby/object:Gem::Requirement
|
@@ -372,14 +342,14 @@ dependencies:
|
|
372
342
|
requirements:
|
373
343
|
- - "~>"
|
374
344
|
- !ruby/object:Gem::Version
|
375
|
-
version: '
|
345
|
+
version: '2.2'
|
376
346
|
type: :development
|
377
347
|
prerelease: false
|
378
348
|
version_requirements: !ruby/object:Gem::Requirement
|
379
349
|
requirements:
|
380
350
|
- - "~>"
|
381
351
|
- !ruby/object:Gem::Version
|
382
|
-
version: '
|
352
|
+
version: '2.2'
|
383
353
|
description: The bare bones necessary for Spree.
|
384
354
|
email: sean@spreecommerce.com
|
385
355
|
executables: []
|
@@ -410,13 +380,13 @@ files:
|
|
410
380
|
- app/mailers/spree/reimbursement_mailer.rb
|
411
381
|
- app/mailers/spree/shipment_mailer.rb
|
412
382
|
- app/mailers/spree/test_mailer.rb
|
413
|
-
- app/models/concerns/spree/acts_as_taggable.rb
|
414
383
|
- app/models/concerns/spree/adjustment_source.rb
|
415
384
|
- app/models/concerns/spree/calculated_adjustments.rb
|
416
385
|
- app/models/concerns/spree/default_price.rb
|
417
386
|
- app/models/concerns/spree/display_money.rb
|
418
387
|
- app/models/concerns/spree/named_type.rb
|
419
388
|
- app/models/concerns/spree/number_as_param.rb
|
389
|
+
- app/models/concerns/spree/product_scopes.rb
|
420
390
|
- app/models/concerns/spree/ransackable_attributes.rb
|
421
391
|
- app/models/concerns/spree/user_address.rb
|
422
392
|
- app/models/concerns/spree/user_methods.rb
|
@@ -463,7 +433,6 @@ files:
|
|
463
433
|
- app/models/spree/gateway/bogus_simple.rb
|
464
434
|
- app/models/spree/image.rb
|
465
435
|
- app/models/spree/image/configuration/active_storage.rb
|
466
|
-
- app/models/spree/image/configuration/paperclip.rb
|
467
436
|
- app/models/spree/inventory_unit.rb
|
468
437
|
- app/models/spree/legacy_user.rb
|
469
438
|
- app/models/spree/line_item.rb
|
@@ -473,11 +442,11 @@ files:
|
|
473
442
|
- app/models/spree/option_value.rb
|
474
443
|
- app/models/spree/option_value_variant.rb
|
475
444
|
- app/models/spree/order.rb
|
445
|
+
- app/models/spree/order/address_book.rb
|
476
446
|
- app/models/spree/order/checkout.rb
|
477
447
|
- app/models/spree/order/currency_updater.rb
|
478
448
|
- app/models/spree/order/payments.rb
|
479
449
|
- app/models/spree/order/store_credit.rb
|
480
|
-
- app/models/spree/order_contents.rb
|
481
450
|
- app/models/spree/order_inventory.rb
|
482
451
|
- app/models/spree/order_merger.rb
|
483
452
|
- app/models/spree/order_promotion.rb
|
@@ -497,7 +466,6 @@ files:
|
|
497
466
|
- app/models/spree/preferences/store.rb
|
498
467
|
- app/models/spree/price.rb
|
499
468
|
- app/models/spree/product.rb
|
500
|
-
- app/models/spree/product/scopes.rb
|
501
469
|
- app/models/spree/product_option_type.rb
|
502
470
|
- app/models/spree/product_promotion_rule.rb
|
503
471
|
- app/models/spree/product_property.rb
|
@@ -552,7 +520,7 @@ files:
|
|
552
520
|
- app/models/spree/return_item/eligibility_validator/inventory_shipped.rb
|
553
521
|
- app/models/spree/return_item/eligibility_validator/no_reimbursements.rb
|
554
522
|
- app/models/spree/return_item/eligibility_validator/order_completed.rb
|
555
|
-
- app/models/spree/return_item/eligibility_validator/
|
523
|
+
- app/models/spree/return_item/eligibility_validator/r_m_a_required.rb
|
556
524
|
- app/models/spree/return_item/eligibility_validator/time_since_purchase.rb
|
557
525
|
- app/models/spree/return_item/exchange_variant_eligibility/same_option_value.rb
|
558
526
|
- app/models/spree/return_item/exchange_variant_eligibility/same_product.rb
|
@@ -593,13 +561,11 @@ files:
|
|
593
561
|
- app/models/spree/store_credit_category.rb
|
594
562
|
- app/models/spree/store_credit_event.rb
|
595
563
|
- app/models/spree/store_credit_type.rb
|
596
|
-
- app/models/spree/tag.rb
|
597
564
|
- app/models/spree/tax_category.rb
|
598
565
|
- app/models/spree/tax_rate.rb
|
599
566
|
- app/models/spree/taxon.rb
|
600
567
|
- app/models/spree/taxon_image.rb
|
601
568
|
- app/models/spree/taxon_image/configuration/active_storage.rb
|
602
|
-
- app/models/spree/taxon_image/configuration/paperclip.rb
|
603
569
|
- app/models/spree/taxonomy.rb
|
604
570
|
- app/models/spree/validations/db_maximum_length_validator.rb
|
605
571
|
- app/models/spree/variant.rb
|
@@ -648,13 +614,11 @@ files:
|
|
648
614
|
- app/views/spree/test_mailer/test_email.html.erb
|
649
615
|
- app/views/spree/test_mailer/test_email.text.erb
|
650
616
|
- config/initializers/active_storage.rb
|
651
|
-
- config/initializers/acts_as_taggable_on.rb
|
652
617
|
- config/initializers/assets.rb
|
653
618
|
- config/initializers/friendly_id.rb
|
654
619
|
- config/initializers/premailer_assets.rb
|
655
620
|
- config/initializers/premailer_rails.rb
|
656
621
|
- config/initializers/state_machine.rb
|
657
|
-
- config/initializers/use_paperclip.rb
|
658
622
|
- config/locales/en.yml
|
659
623
|
- config/routes.rb
|
660
624
|
- db/default/spree/countries.rb
|
@@ -887,9 +851,6 @@ files:
|
|
887
851
|
- db/migrate/20160207191757_add_id_column_to_earlier_habtm_tables.rb
|
888
852
|
- db/migrate/20160219165458_add_indexes.rb
|
889
853
|
- db/migrate/20160509064646_remove_counter_cache_from_spree_variants_to_spree_stock_items.rb
|
890
|
-
- db/migrate/20160511071954_acts_as_taggable_on_spree_migration.rb
|
891
|
-
- db/migrate/20160511072249_change_collation_for_spree_tag_names.rb
|
892
|
-
- db/migrate/20160511072335_add_missing_indexes_to_spree_taggings.rb
|
893
854
|
- db/migrate/20160608090604_add_zipcode_required_to_spree_countries.rb
|
894
855
|
- db/migrate/20161014145148_add_created_at_to_variant.rb
|
895
856
|
- db/migrate/20161014152814_add_null_false_to_spree_variants_timestamps.rb
|
@@ -927,6 +888,8 @@ files:
|
|
927
888
|
- db/migrate/20180613080857_rename_guest_token_to_token_in_orders.rb
|
928
889
|
- db/migrate/20180915160001_add_timestamps_to_spree_prices.rb
|
929
890
|
- db/migrate/20181024100754_add_deleted_at_to_spree_credit_cards.rb
|
891
|
+
- db/migrate/20190305121659_add_iso_and_iso3_validation_on_presence_and_uniqueness.rb
|
892
|
+
- db/migrate/20190523092729_add_user_id_and_deleted_at_to_spree_addresses.rb
|
930
893
|
- db/seeds.rb
|
931
894
|
- lib/friendly_id/slug_rails5_patch.rb
|
932
895
|
- lib/generators/spree/custom_user/custom_user_generator.rb
|
@@ -955,7 +918,6 @@ files:
|
|
955
918
|
- lib/spree/core/controller_helpers/auth.rb
|
956
919
|
- lib/spree/core/controller_helpers/common.rb
|
957
920
|
- lib/spree/core/controller_helpers/order.rb
|
958
|
-
- lib/spree/core/controller_helpers/respond_with.rb
|
959
921
|
- lib/spree/core/controller_helpers/search.rb
|
960
922
|
- lib/spree/core/controller_helpers/store.rb
|
961
923
|
- lib/spree/core/controller_helpers/strong_parameters.rb
|
@@ -983,7 +945,6 @@ files:
|
|
983
945
|
- lib/spree/migrations.rb
|
984
946
|
- lib/spree/money.rb
|
985
947
|
- lib/spree/permitted_attributes.rb
|
986
|
-
- lib/spree/responder.rb
|
987
948
|
- lib/spree/service_module.rb
|
988
949
|
- lib/spree/testing_support/ability_helpers.rb
|
989
950
|
- lib/spree/testing_support/authorization_helpers.rb
|
@@ -1037,7 +998,6 @@ files:
|
|
1037
998
|
- lib/spree/testing_support/factories/store_credit_factory.rb
|
1038
999
|
- lib/spree/testing_support/factories/store_credit_type_factory.rb
|
1039
1000
|
- lib/spree/testing_support/factories/store_factory.rb
|
1040
|
-
- lib/spree/testing_support/factories/tag_factory.rb
|
1041
1001
|
- lib/spree/testing_support/factories/tax_category_factory.rb
|
1042
1002
|
- lib/spree/testing_support/factories/tax_rate_factory.rb
|
1043
1003
|
- lib/spree/testing_support/factories/taxon_factory.rb
|
@@ -1069,7 +1029,7 @@ homepage: http://spreecommerce.org
|
|
1069
1029
|
licenses:
|
1070
1030
|
- BSD-3-Clause
|
1071
1031
|
metadata: {}
|
1072
|
-
post_install_message:
|
1032
|
+
post_install_message:
|
1073
1033
|
rdoc_options: []
|
1074
1034
|
require_paths:
|
1075
1035
|
- lib
|
@@ -1077,15 +1037,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1077
1037
|
requirements:
|
1078
1038
|
- - ">="
|
1079
1039
|
- !ruby/object:Gem::Version
|
1080
|
-
version: 2.
|
1040
|
+
version: 2.5.0
|
1081
1041
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1082
1042
|
requirements:
|
1083
1043
|
- - ">="
|
1084
1044
|
- !ruby/object:Gem::Version
|
1085
1045
|
version: 1.8.23
|
1086
1046
|
requirements: []
|
1087
|
-
rubygems_version: 3.
|
1088
|
-
signing_key:
|
1047
|
+
rubygems_version: 3.0.2
|
1048
|
+
signing_key:
|
1089
1049
|
specification_version: 4
|
1090
1050
|
summary: The bare bones necessary for Spree.
|
1091
1051
|
test_files: []
|