spree_core 4.7.2 → 4.7.3
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/named_type.rb +1 -1
- data/app/models/spree/address.rb +1 -1
- data/app/models/spree/asset.rb +1 -1
- data/app/models/spree/calculator/default_tax.rb +1 -1
- data/app/models/spree/cms_page.rb +2 -2
- data/app/models/spree/cms_section.rb +1 -1
- data/app/models/spree/credit_card.rb +1 -1
- data/app/models/spree/customer_return.rb +2 -2
- data/app/models/spree/image.rb +2 -2
- data/app/models/spree/legacy_user.rb +3 -3
- data/app/models/spree/line_item.rb +1 -1
- data/app/models/spree/menu.rb +1 -1
- data/app/models/spree/option_type.rb +3 -3
- data/app/models/spree/option_value.rb +2 -2
- data/app/models/spree/order.rb +4 -4
- data/app/models/spree/payment.rb +3 -3
- data/app/models/spree/payment_method.rb +1 -1
- data/app/models/spree/payment_source.rb +1 -1
- data/app/models/spree/price.rb +1 -1
- data/app/models/spree/product.rb +6 -6
- data/app/models/spree/product_property.rb +1 -1
- data/app/models/spree/promotion.rb +2 -2
- data/app/models/spree/property.rb +2 -2
- data/app/models/spree/prototype.rb +1 -1
- data/app/models/spree/refund.rb +1 -1
- data/app/models/spree/reimbursement.rb +1 -1
- data/app/models/spree/return_authorization.rb +1 -1
- data/app/models/spree/role.rb +1 -1
- data/app/models/spree/shipment.rb +3 -3
- data/app/models/spree/shipping_category.rb +1 -1
- data/app/models/spree/shipping_method.rb +1 -1
- data/app/models/spree/stock/estimator.rb +1 -1
- data/app/models/spree/stock_item.rb +1 -1
- data/app/models/spree/stock_location.rb +1 -1
- data/app/models/spree/stock_transfer.rb +3 -3
- data/app/models/spree/store.rb +1 -1
- data/app/models/spree/store_credit.rb +2 -2
- data/app/models/spree/taxon.rb +3 -3
- data/app/models/spree/taxon_image.rb +2 -2
- data/app/models/spree/taxonomy.rb +2 -2
- data/app/models/spree/variant.rb +2 -2
- data/app/models/spree/wishlist.rb +1 -1
- data/app/models/spree/zone.rb +1 -1
- data/lib/spree/core/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96a1ab3dd325e2cd0053b0ad881b73ddb153624fd04dba62dd61d4e01ab2aca4
|
4
|
+
data.tar.gz: 1e947a1bba157dd1df4ba6773d869675da4bffa856f4f1c57f63a4c7b5a592aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6307ed6baf1241414853b53c6528f08448fb465fcdd4603e96f29aaf507fa2188a7f481f4e000b5ec9370e7894c49680ad86ad61d39b1c2e36d7735988c36c95
|
7
|
+
data.tar.gz: 1d75cd60145ae2fe99f9d9a8e2c13cd7c3b9026847b561c31299ce1bbd0596c7f4e14499e01f658dfe0e8c87e5335ee718d6983213d8ac1d8338a3300836d1f3
|
data/app/models/spree/address.rb
CHANGED
data/app/models/spree/asset.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
module Spree
|
2
2
|
class CustomerReturn < Spree::Base
|
3
3
|
include Spree::Core::NumberGenerator.new(prefix: 'CR', length: 9)
|
4
|
-
include NumberIdentifier
|
5
|
-
include Metadata
|
4
|
+
include Spree::NumberIdentifier
|
5
|
+
include Spree::Metadata
|
6
6
|
if defined?(Spree::Webhooks)
|
7
7
|
include Spree::Webhooks::HasWebhooks
|
8
8
|
end
|
data/app/models/spree/image.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
module Spree
|
2
2
|
class Image < Asset
|
3
|
-
include Configuration::ActiveStorage
|
3
|
+
include Spree::Image::Configuration::ActiveStorage
|
4
4
|
include Rails.application.routes.url_helpers
|
5
|
-
include
|
5
|
+
include Spree::ImageMethods
|
6
6
|
|
7
7
|
# In Rails 5.x class constants are being undefined/redefined during the code reloading process
|
8
8
|
# in a rails development environment, after which the actual ruby objects stored in those class constants
|
@@ -1,9 +1,9 @@
|
|
1
1
|
# Default implementation of User. This class is intended to be modified by extensions (ex. spree_auth_devise)
|
2
2
|
module Spree
|
3
3
|
class LegacyUser < Spree::Base
|
4
|
-
include UserAddress
|
5
|
-
include UserPaymentSource
|
6
|
-
include UserMethods
|
4
|
+
include Spree::UserAddress
|
5
|
+
include Spree::UserPaymentSource
|
6
|
+
include Spree::UserMethods
|
7
7
|
include Spree::Metadata
|
8
8
|
|
9
9
|
self.table_name = 'spree_users'
|
data/app/models/spree/menu.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
module Spree
|
2
2
|
class OptionType < Spree::Base
|
3
|
-
include UniqueName
|
4
|
-
include Metadata
|
5
|
-
include TranslatableResource
|
3
|
+
include Spree::UniqueName
|
4
|
+
include Spree::Metadata
|
5
|
+
include Spree::TranslatableResource
|
6
6
|
if defined?(Spree::Webhooks)
|
7
7
|
include Spree::Webhooks::HasWebhooks
|
8
8
|
end
|
data/app/models/spree/order.rb
CHANGED
@@ -20,10 +20,10 @@ module Spree
|
|
20
20
|
include Spree::Core::NumberGenerator.new(prefix: 'R')
|
21
21
|
include Spree::Core::TokenGenerator
|
22
22
|
|
23
|
-
include NumberIdentifier
|
24
|
-
include NumberAsParam
|
25
|
-
include SingleStoreResource
|
26
|
-
include MemoizedData
|
23
|
+
include Spree::NumberIdentifier
|
24
|
+
include Spree::NumberAsParam
|
25
|
+
include Spree::SingleStoreResource
|
26
|
+
include Spree::MemoizedData
|
27
27
|
include Spree::Metadata
|
28
28
|
if defined?(Spree::Webhooks)
|
29
29
|
include Spree::Webhooks::HasWebhooks
|
data/app/models/spree/payment.rb
CHANGED
@@ -3,9 +3,9 @@ require_dependency 'spree/payment/processing'
|
|
3
3
|
module Spree
|
4
4
|
class Payment < Spree::Base
|
5
5
|
include Spree::Core::NumberGenerator.new(prefix: 'P', letters: true, length: 7)
|
6
|
-
include NumberIdentifier
|
7
|
-
include NumberAsParam
|
8
|
-
include Metadata
|
6
|
+
include Spree::NumberIdentifier
|
7
|
+
include Spree::NumberAsParam
|
8
|
+
include Spree::Metadata
|
9
9
|
if defined?(Spree::Webhooks)
|
10
10
|
include Spree::Webhooks::HasWebhooks
|
11
11
|
end
|
data/app/models/spree/price.rb
CHANGED
data/app/models/spree/product.rb
CHANGED
@@ -21,12 +21,12 @@
|
|
21
21
|
module Spree
|
22
22
|
class Product < Spree::Base
|
23
23
|
extend FriendlyId
|
24
|
-
include ProductScopes
|
25
|
-
include MultiStoreResource
|
26
|
-
include TranslatableResource
|
27
|
-
include TranslatableResourceSlug
|
28
|
-
include MemoizedData
|
29
|
-
include Metadata
|
24
|
+
include Spree::ProductScopes
|
25
|
+
include Spree::MultiStoreResource
|
26
|
+
include Spree::TranslatableResource
|
27
|
+
include Spree::TranslatableResourceSlug
|
28
|
+
include Spree::MemoizedData
|
29
|
+
include Spree::Metadata
|
30
30
|
if defined?(Spree::Webhooks)
|
31
31
|
include Spree::Webhooks::HasWebhooks
|
32
32
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
module Spree
|
2
2
|
class Property < Spree::Base
|
3
3
|
include Spree::FilterParam
|
4
|
-
include Metadata
|
5
|
-
include TranslatableResource
|
4
|
+
include Spree::Metadata
|
5
|
+
include Spree::TranslatableResource
|
6
6
|
if defined?(Spree::Webhooks)
|
7
7
|
include Spree::Webhooks::HasWebhooks
|
8
8
|
end
|
data/app/models/spree/refund.rb
CHANGED
data/app/models/spree/role.rb
CHANGED
@@ -3,9 +3,9 @@ require 'ostruct'
|
|
3
3
|
module Spree
|
4
4
|
class Shipment < Spree::Base
|
5
5
|
include Spree::Core::NumberGenerator.new(prefix: 'H', length: 11)
|
6
|
-
include NumberIdentifier
|
7
|
-
include NumberAsParam
|
8
|
-
include Metadata
|
6
|
+
include Spree::NumberIdentifier
|
7
|
+
include Spree::NumberAsParam
|
8
|
+
include Spree::Metadata
|
9
9
|
if defined?(Spree::Webhooks)
|
10
10
|
include Spree::Webhooks::HasWebhooks
|
11
11
|
end
|
@@ -1,9 +1,9 @@
|
|
1
1
|
module Spree
|
2
2
|
class StockTransfer < Spree::Base
|
3
3
|
include Spree::Core::NumberGenerator.new(prefix: 'T')
|
4
|
-
include NumberIdentifier
|
5
|
-
include NumberAsParam
|
6
|
-
include Metadata
|
4
|
+
include Spree::NumberIdentifier
|
5
|
+
include Spree::NumberAsParam
|
6
|
+
include Spree::Metadata
|
7
7
|
if defined?(Spree::Webhooks)
|
8
8
|
include Spree::Webhooks::HasWebhooks
|
9
9
|
end
|
data/app/models/spree/store.rb
CHANGED
data/app/models/spree/taxon.rb
CHANGED
@@ -3,9 +3,9 @@ require 'stringex'
|
|
3
3
|
|
4
4
|
module Spree
|
5
5
|
class Taxon < Spree::Base
|
6
|
-
include TranslatableResource
|
7
|
-
include TranslatableResourceSlug
|
8
|
-
include Metadata
|
6
|
+
include Spree::TranslatableResource
|
7
|
+
include Spree::TranslatableResourceSlug
|
8
|
+
include Spree::Metadata
|
9
9
|
if defined?(Spree::Webhooks)
|
10
10
|
include Spree::Webhooks::HasWebhooks
|
11
11
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
module Spree
|
2
2
|
class TaxonImage < Asset
|
3
|
-
include Configuration::ActiveStorage
|
3
|
+
include Spree::TaxonImage::Configuration::ActiveStorage
|
4
4
|
include Rails.application.routes.url_helpers
|
5
|
-
include
|
5
|
+
include Spree::ImageMethods
|
6
6
|
|
7
7
|
def styles
|
8
8
|
self.class.styles.map do |_, size|
|
data/app/models/spree/variant.rb
CHANGED
data/app/models/spree/zone.rb
CHANGED
data/lib/spree/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.7.
|
4
|
+
version: 4.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Schofield
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-04-
|
12
|
+
date: 2024-04-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -1122,9 +1122,9 @@ licenses:
|
|
1122
1122
|
- BSD-3-Clause
|
1123
1123
|
metadata:
|
1124
1124
|
bug_tracker_uri: https://github.com/spree/spree/issues
|
1125
|
-
changelog_uri: https://github.com/spree/spree/releases/tag/v4.7.
|
1125
|
+
changelog_uri: https://github.com/spree/spree/releases/tag/v4.7.3
|
1126
1126
|
documentation_uri: https://dev-docs.spreecommerce.org/
|
1127
|
-
source_code_uri: https://github.com/spree/spree/tree/v4.7.
|
1127
|
+
source_code_uri: https://github.com/spree/spree/tree/v4.7.3
|
1128
1128
|
post_install_message:
|
1129
1129
|
rdoc_options: []
|
1130
1130
|
require_paths:
|