spree 6.0.0 → 6.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 04d45dd55314722008a7dd7d81980278fbbfc85d353ac54fe9a464486fa7448a
|
|
4
|
+
data.tar.gz: 67c94ddac72b03c7f8986fb505b10ede5ad3edbcee3f79ce1e4929c9ec65cb7a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 63c34fcc40617a122f78ad0d8a96ce5df5c72d2a8807a7b2dfb41e7ea071a7e62a1eb5ff7a9ff5f0b17488409979abe774039924cc7455fee9c871e4568ad09e
|
|
7
|
+
data.tar.gz: 48ae06fd9c61a7f9059ffc6f4c314d43a2a5348c3731bc64312a8364f944add06985dde0aa72ec94d8db1c068d28f861ce2db2157b69bd9ce7f6998fa2c37880
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
require 'rails/generators'
|
|
2
|
-
require 'highline/import'
|
|
3
|
-
require 'bundler'
|
|
4
|
-
require 'bundler/cli'
|
|
5
2
|
require 'active_support/core_ext/string/indent'
|
|
6
3
|
require 'spree/core'
|
|
7
4
|
|
|
@@ -15,8 +12,6 @@ module Spree
|
|
|
15
12
|
class_option :admin_user_class, type: :string
|
|
16
13
|
class_option :admin_email, type: :string
|
|
17
14
|
class_option :admin_password, type: :string
|
|
18
|
-
class_option :enforce_available_locales, type: :boolean, default: nil
|
|
19
|
-
class_option :authentication, type: :string, default: nil
|
|
20
15
|
|
|
21
16
|
def self.source_paths
|
|
22
17
|
paths = superclass.source_paths
|
|
@@ -28,7 +23,6 @@ module Spree
|
|
|
28
23
|
@run_migrations = options[:migrate]
|
|
29
24
|
@load_seed_data = options[:seed]
|
|
30
25
|
@load_sample_data = options[:sample]
|
|
31
|
-
@authentication = options[:authentication]
|
|
32
26
|
|
|
33
27
|
unless @run_migrations
|
|
34
28
|
@load_seed_data = false
|
|
@@ -40,10 +34,6 @@ module Spree
|
|
|
40
34
|
template 'config/initializers/spree.rb', 'config/initializers/spree.rb'
|
|
41
35
|
end
|
|
42
36
|
|
|
43
|
-
def install_authentication
|
|
44
|
-
generate 'spree:authentication:dummy' if @authentication == 'dummy'
|
|
45
|
-
end
|
|
46
|
-
|
|
47
37
|
def configure_application
|
|
48
38
|
application <<-APP.strip_heredoc.indent!(4)
|
|
49
39
|
|
|
@@ -54,13 +44,6 @@ module Spree
|
|
|
54
44
|
end
|
|
55
45
|
end
|
|
56
46
|
APP
|
|
57
|
-
|
|
58
|
-
unless options[:enforce_available_locales].nil?
|
|
59
|
-
application <<-APP.strip_heredoc.indent!(4)
|
|
60
|
-
# Prevent this deprecation message: https://github.com/svenfuchs/i18n/commit/3b6e56e
|
|
61
|
-
I18n.enforce_available_locales = #{options[:enforce_available_locales]}
|
|
62
|
-
APP
|
|
63
|
-
end
|
|
64
47
|
end
|
|
65
48
|
|
|
66
49
|
def include_seed_data
|
|
@@ -91,7 +74,6 @@ module Spree
|
|
|
91
74
|
if @load_seed_data
|
|
92
75
|
say_status :loading, 'seed data'
|
|
93
76
|
rake_options = []
|
|
94
|
-
rake_options << 'AUTO_ACCEPT=1' if options[:auto_accept]
|
|
95
77
|
rake_options << "ADMIN_EMAIL=#{options[:admin_email]}" if options[:admin_email]
|
|
96
78
|
rake_options << "ADMIN_PASSWORD=#{options[:admin_password]}" if options[:admin_password]
|
|
97
79
|
|
|
@@ -126,14 +108,6 @@ module Spree
|
|
|
126
108
|
insert_into_file(File.join('config', 'routes.rb'),
|
|
127
109
|
after: "Rails.application.routes.draw do\n") do
|
|
128
110
|
<<-ROUTES.strip_heredoc.indent!(2)
|
|
129
|
-
# This line mounts Spree's routes at the root of your application.
|
|
130
|
-
# This means, any requests to URLs such as /products, will go to
|
|
131
|
-
# Spree::ProductsController.
|
|
132
|
-
# If you would like to change where this engine is mounted, simply change the
|
|
133
|
-
# :at option to something different.
|
|
134
|
-
#
|
|
135
|
-
# We ask that you don't use the :as option here, as Spree relies on it being
|
|
136
|
-
# the default of "spree".
|
|
137
111
|
mount Spree::Core::Engine, at: '/'
|
|
138
112
|
ROUTES
|
|
139
113
|
end
|
|
@@ -1,29 +1,17 @@
|
|
|
1
1
|
# Spree settings are configured with environment variables — see
|
|
2
|
-
# https://
|
|
2
|
+
# https://spreecommerce.org/docs/developer/customization/configuration
|
|
3
3
|
# for every setting and the variable that sets it.
|
|
4
4
|
#
|
|
5
5
|
# SPREE_MINIMUM_PASSWORD_LENGTH=10
|
|
6
6
|
#
|
|
7
7
|
# Anything that shapes how a shop sells — currency, taxes, when customers are
|
|
8
8
|
# charged — belongs to the store and is edited in the dashboard, not here.
|
|
9
|
-
#
|
|
10
|
-
# Use a Spree.config block only for a value that has to be computed in Ruby;
|
|
11
|
-
# it is applied at boot and wins over the environment.
|
|
12
|
-
#
|
|
13
|
-
# Spree.config do |config|
|
|
14
|
-
# config.minimum_password_length = 10
|
|
15
|
-
# end
|
|
16
9
|
|
|
17
10
|
# Use a CDN host for images, eg. Cloudfront
|
|
18
11
|
# This is used in the frontend to generate absolute URLs to images
|
|
19
12
|
# Default is nil and your application host will be used
|
|
20
13
|
# Spree.cdn_host = 'cdn.example.com'
|
|
21
14
|
|
|
22
|
-
# Multi-store setup
|
|
23
|
-
# You need to set a wildcard `root_domain` on the store to enable multi-store setup
|
|
24
|
-
# all new stores will be created in a subdomain of the root domain, eg. store1.lvh.me, store2.lvh.me, etc.
|
|
25
|
-
# Spree.root_domain = ENV.fetch('SPREE_ROOT_DOMAIN', 'lvh.me')
|
|
26
|
-
|
|
27
15
|
# Use a different service for storage (S3, google, etc)
|
|
28
16
|
# unless Rails.env.test?
|
|
29
17
|
# Spree.public_storage_service_name = :amazon_public # public assets, such as product images
|
|
@@ -31,7 +19,7 @@
|
|
|
31
19
|
# end
|
|
32
20
|
|
|
33
21
|
# Swap a Spree service for your own — see
|
|
34
|
-
# https://
|
|
22
|
+
# https://spreecommerce.org/docs/developer/customization/dependencies
|
|
35
23
|
Spree.dependencies do |dependencies|
|
|
36
24
|
# Example:
|
|
37
25
|
# Uncomment to change the default workflow handling adding items to the cart
|
|
@@ -50,7 +38,7 @@ Rails.application.config.after_initialize do
|
|
|
50
38
|
|
|
51
39
|
# Stock splitters and adjusters
|
|
52
40
|
# Spree.stock_splitters << Spree::Stock::Splitters::SecretLogicSplitter
|
|
53
|
-
# Spree.adjusters << Spree::
|
|
41
|
+
# Spree.adjusters << Spree::Adjusters::TaxTheRich
|
|
54
42
|
|
|
55
43
|
# Custom promotions
|
|
56
44
|
# Spree.calculators.promotion_actions_create_adjustments << Spree::Calculators::PromotionActions::CreateAdjustments::AddDiscountForFriends
|
|
@@ -90,6 +78,7 @@ end
|
|
|
90
78
|
# Spree.queues.gift_cards = :default
|
|
91
79
|
# Spree.queues.images = :default
|
|
92
80
|
# Spree.queues.imports = :default
|
|
81
|
+
# Spree.queues.maintenance_tasks = :default
|
|
93
82
|
# Spree.queues.payment_webhooks = :default
|
|
94
83
|
# Spree.queues.payouts = :default
|
|
95
84
|
# Spree.queues.products = :default
|
|
@@ -97,7 +86,6 @@ end
|
|
|
97
86
|
# Spree.queues.stock_location_stock_levels = :default
|
|
98
87
|
# Spree.queues.stock_reservations = :default
|
|
99
88
|
# Spree.queues.tax_identifiers = :default
|
|
100
|
-
# Spree.queues.themes = :default
|
|
101
89
|
# Spree.queues.variants = :default
|
|
102
90
|
# Spree.queues.webhooks = :default
|
|
103
91
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spree
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 6.0.
|
|
4
|
+
version: 6.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sean Schofield
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2026-
|
|
13
|
+
date: 2026-11-02 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: spree_core
|
|
@@ -18,28 +18,28 @@ dependencies:
|
|
|
18
18
|
requirements:
|
|
19
19
|
- - '='
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 6.0.
|
|
21
|
+
version: 6.0.2
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
25
|
requirements:
|
|
26
26
|
- - '='
|
|
27
27
|
- !ruby/object:Gem::Version
|
|
28
|
-
version: 6.0.
|
|
28
|
+
version: 6.0.2
|
|
29
29
|
- !ruby/object:Gem::Dependency
|
|
30
30
|
name: spree_api
|
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
|
32
32
|
requirements:
|
|
33
33
|
- - '='
|
|
34
34
|
- !ruby/object:Gem::Version
|
|
35
|
-
version: 6.0.
|
|
35
|
+
version: 6.0.2
|
|
36
36
|
type: :runtime
|
|
37
37
|
prerelease: false
|
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
|
39
39
|
requirements:
|
|
40
40
|
- - '='
|
|
41
41
|
- !ruby/object:Gem::Version
|
|
42
|
-
version: 6.0.
|
|
42
|
+
version: 6.0.2
|
|
43
43
|
description: Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel.
|
|
44
44
|
REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it.
|
|
45
45
|
Own your data. No vendor lock-in. Zero platform fees.
|
|
@@ -58,9 +58,9 @@ licenses:
|
|
|
58
58
|
- BSD-3-Clause
|
|
59
59
|
metadata:
|
|
60
60
|
bug_tracker_uri: https://github.com/spree/spree/issues
|
|
61
|
-
changelog_uri: https://github.com/spree/spree/releases/tag/v6.0.
|
|
62
|
-
documentation_uri: https://
|
|
63
|
-
source_code_uri: https://github.com/spree/spree/tree/v6.0.
|
|
61
|
+
changelog_uri: https://github.com/spree/spree/releases/tag/v6.0.2
|
|
62
|
+
documentation_uri: https://spreecommerce.org/docs/
|
|
63
|
+
source_code_uri: https://github.com/spree/spree/tree/v6.0.2
|
|
64
64
|
post_install_message:
|
|
65
65
|
rdoc_options: []
|
|
66
66
|
require_paths:
|