solidus_core 3.2.5 → 3.2.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/spree/tax_rate.rb +1 -2
- data/config/locales/en.yml +4 -0
- data/lib/spree/bus.rb +3 -3
- data/lib/spree/core/version.rb +1 -1
- data/lib/spree/testing_support/dummy_app.rb +3 -3
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44848f344bbc0758db56eaebe0aeeac5f6fe11a130fa745dfd79675e26db52ba
|
4
|
+
data.tar.gz: c56e74d595de71a9d4fa74c4220d1ae91d7af38ed9e7132766bcb4608eb5f080
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ed3a7e4f5d99f0c114b78182920af674eca75b6367f4ce93e0b683e65743e3e077eecdb27f1f02c3b65fa5cf4ec1a842f82363c4e66becad01b50b22f92cf98
|
7
|
+
data.tar.gz: a35530c9833699ad3cfee06f1c9474e67762b29ad6e57665790f1b310b5859d9dd173fb239ee68467c2e6c6ddc686e03dae62b8b80f543ab1d4272853fb971ee
|
data/config/locales/en.yml
CHANGED
@@ -751,6 +751,10 @@ en:
|
|
751
751
|
not_saved:
|
752
752
|
one: '1 error prohibited this %{resource} from being saved:'
|
753
753
|
other: "%{count} errors prohibited this %{resource} from being saved:"
|
754
|
+
number:
|
755
|
+
percentage:
|
756
|
+
format:
|
757
|
+
precision: 1
|
754
758
|
spree:
|
755
759
|
abbreviation: Abbreviation
|
756
760
|
accept: Accept
|
data/lib/spree/bus.rb
CHANGED
@@ -9,12 +9,12 @@ module Spree
|
|
9
9
|
# It has some modifications to support internal usage of the legacy event
|
10
10
|
# system {see Spree::AppConfiguration#use_legacy_events}.
|
11
11
|
Bus = Omnes::Bus.new
|
12
|
-
Bus.
|
12
|
+
def Bus.publish(event, **kwargs)
|
13
13
|
if Spree::Config.use_legacy_events
|
14
|
-
Spree::Event.fire(
|
14
|
+
Spree::Event.fire(event, **kwargs)
|
15
15
|
else
|
16
16
|
# Override caller_location to point to the actual event publisher
|
17
|
-
super(
|
17
|
+
super(event, **kwargs, caller_location: caller_locations(1)[0])
|
18
18
|
end
|
19
19
|
end
|
20
20
|
end
|
data/lib/spree/core/version.rb
CHANGED
@@ -90,7 +90,7 @@ module DummyApp
|
|
90
90
|
config.active_record.dump_schema_after_migration = false
|
91
91
|
|
92
92
|
# Configure active storage to use storage within tmp folder
|
93
|
-
unless ENV['DISABLE_ACTIVE_STORAGE']
|
93
|
+
unless (ENV['DISABLE_ACTIVE_STORAGE'] == 'true')
|
94
94
|
initializer 'solidus.active_storage' do
|
95
95
|
config.active_storage.service_configurations = {
|
96
96
|
test: {
|
@@ -138,9 +138,9 @@ Spree.user_class = 'Spree::LegacyUser'
|
|
138
138
|
Spree.load_defaults(Spree.solidus_version)
|
139
139
|
Spree.config do |config|
|
140
140
|
config.mails_from = "store@example.com"
|
141
|
-
config.use_legacy_events = ENV['USE_LEGACY_EVENTS']
|
141
|
+
config.use_legacy_events = (ENV['USE_LEGACY_EVENTS'] == 'true')
|
142
142
|
|
143
|
-
if ENV['DISABLE_ACTIVE_STORAGE']
|
143
|
+
if (ENV['DISABLE_ACTIVE_STORAGE'] == 'true')
|
144
144
|
config.image_attachment_module = 'Spree::Image::PaperclipAttachment'
|
145
145
|
config.taxon_attachment_module = 'Spree::Taxon::PaperclipAttachment'
|
146
146
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Solidus Team
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionmailer
|
@@ -1023,8 +1023,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1023
1023
|
- !ruby/object:Gem::Version
|
1024
1024
|
version: 1.8.23
|
1025
1025
|
requirements: []
|
1026
|
-
rubygems_version: 3.3.
|
1027
|
-
signing_key:
|
1026
|
+
rubygems_version: 3.3.7
|
1027
|
+
signing_key:
|
1028
1028
|
specification_version: 4
|
1029
1029
|
summary: Essential models, mailers, and classes for the Solidus e-commerce project.
|
1030
1030
|
test_files: []
|