spree_storefront 5.0.0.rc1 → 5.0.0
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 +4 -4
- data/app/helpers/spree/storefront_helper.rb +2 -2
- data/config/i18n-tasks.yml +1 -0
- data/config/locales/en.yml +1 -0
- data/lib/spree/storefront/engine.rb +5 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9cea013f2949ce0508547be71ed5c03096ddb6bd3ea2ebbce49424f433a6865c
|
4
|
+
data.tar.gz: f748ff22322dc94d937e3454066a29d5b4a84b9fb3d6af95131f0a32a432b6a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eebfa293c250b8739eea4a36a3eaadaa2b8dfab328c3cc385c030f93ee4121e0ce03b11aff7aceec0492610a75c5d473fc9a7ee02fcedb7835409b95ef6e5ba5
|
7
|
+
data.tar.gz: 4d6f4b8df1b24513364ce15031c63e8bd4816dee386db3084277ba32fe86ce20d661a14aa74f80d7c726447a8d77550c35b53a3ce6fca3c380eb38a96d4cd2d9
|
@@ -3,9 +3,9 @@ module Spree
|
|
3
3
|
include BaseHelper
|
4
4
|
include Heroicon::Engine.helpers
|
5
5
|
|
6
|
-
def render_storefront_partials(section)
|
6
|
+
def render_storefront_partials(section, options = {})
|
7
7
|
Rails.application.config.spree_storefront.send(section).map do |partial|
|
8
|
-
render partial
|
8
|
+
render partial, options
|
9
9
|
end.join.html_safe
|
10
10
|
end
|
11
11
|
|
data/config/i18n-tasks.yml
CHANGED
@@ -147,6 +147,7 @@ ignore_missing:
|
|
147
147
|
ignore_unused:
|
148
148
|
- 'spree.storefront.refund_action_not_required_message.*'
|
149
149
|
- 'spree.storefront.refund_action_required_message.*'
|
150
|
+
- 'spree.storefront.checkout.or_continue_below'
|
150
151
|
|
151
152
|
## Exclude these keys from the `i18n-tasks eq-base' report:
|
152
153
|
# ignore_eq_base:
|
data/config/locales/en.yml
CHANGED
@@ -30,6 +30,7 @@ en:
|
|
30
30
|
one: This item will be removed from your cart because there are no delivery methods available for your address.
|
31
31
|
other: These %{count} items will be removed from your cart because there are no delivery methods available for your address.
|
32
32
|
gift_card_amount_applied: Gift card %{code} applied %{amount} to your order.
|
33
|
+
or_continue_below: or continue below
|
33
34
|
order_already_paid: You don't need to pay anything, just click Place now button to confirm the order.
|
34
35
|
order_success: Your order is confirmed!
|
35
36
|
order_success_message: When your order is ready, you will receive an email confirmation.
|
@@ -14,12 +14,16 @@ module Spree
|
|
14
14
|
:quick_checkout_partials
|
15
15
|
)
|
16
16
|
|
17
|
+
# accessible via Rails.application.config.spree_storefront
|
18
|
+
initializer 'spree.storefront.environment', before: :load_config_initializers do |app|
|
19
|
+
app.config.spree_storefront = Environment.new
|
20
|
+
end
|
21
|
+
|
17
22
|
initializer 'spree.storefront.configuration', before: :load_config_initializers do |_app|
|
18
23
|
Spree::Storefront::Config = Spree::Storefront::Configuration.new
|
19
24
|
end
|
20
25
|
|
21
26
|
initializer 'spree.storefront.assets' do |app|
|
22
|
-
app.config.spree_storefront = Environment.new
|
23
27
|
app.config.assets.paths << root.join('app/javascript')
|
24
28
|
app.config.assets.paths << root.join('vendor/javascript')
|
25
29
|
app.config.assets.precompile += %w[spree_storefront_manifest]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_storefront
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.0
|
4
|
+
version: 5.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vendo Connect Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: spree_core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 5.0.0
|
19
|
+
version: 5.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 5.0.0
|
26
|
+
version: 5.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: active_link_to
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -542,9 +542,9 @@ licenses:
|
|
542
542
|
- AGPL-3.0-or-later
|
543
543
|
metadata:
|
544
544
|
bug_tracker_uri: https://github.com/spree/spree/issues
|
545
|
-
changelog_uri: https://github.com/spree/spree/releases/tag/v5.0.0
|
545
|
+
changelog_uri: https://github.com/spree/spree/releases/tag/v5.0.0
|
546
546
|
documentation_uri: https://docs.spreecommerce.org/
|
547
|
-
source_code_uri: https://github.com/spree/spree/tree/v5.0.0
|
547
|
+
source_code_uri: https://github.com/spree/spree/tree/v5.0.0
|
548
548
|
post_install_message:
|
549
549
|
rdoc_options: []
|
550
550
|
require_paths:
|