solidus_core 3.3.0 → 3.3.1
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: 41166c504ad4a467ac0d444551669efca2f6ff36b8083b11483ca1d6953c838e
|
|
4
|
+
data.tar.gz: f9c8abd6767eb3aaecf807d1e360defbb57ba7af0590d88b6019f0cd8bf2f1b1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5f9384ee4d463107d31e2cff1670ee587e7c2ad61795f11d1120bb69049fcc0bec3f04a0edee1e10e4c951a5b287cd9b93986c4194b87303e1a2a1ee38a7062a
|
|
7
|
+
data.tar.gz: 6d924bbc21a024712b1579c6bb73390904b456fc4671f1dc15b17de255d2f543b7cdcd2a4484e005444be085041a98819c6b3d2a1d55469305ce5b85108327e3
|
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 @@ end
|
|
|
138
138
|
Spree.user_class = 'Spree::LegacyUser'
|
|
139
139
|
Spree.load_defaults(Spree.solidus_version)
|
|
140
140
|
Spree.config do |config|
|
|
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.3.
|
|
4
|
+
version: 3.3.1
|
|
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: 2023-
|
|
11
|
+
date: 2023-02-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: actionmailer
|
|
@@ -1034,8 +1034,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
1034
1034
|
- !ruby/object:Gem::Version
|
|
1035
1035
|
version: 1.8.23
|
|
1036
1036
|
requirements: []
|
|
1037
|
-
rubygems_version: 3.3.
|
|
1038
|
-
signing_key:
|
|
1037
|
+
rubygems_version: 3.3.7
|
|
1038
|
+
signing_key:
|
|
1039
1039
|
specification_version: 4
|
|
1040
1040
|
summary: Essential models, mailers, and classes for the Solidus e-commerce project.
|
|
1041
1041
|
test_files: []
|