solidus_core 3.3.0 → 3.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6b882356a483b6ec07df20020cfdf2429122ed885165c9626384017479b26442
4
- data.tar.gz: a840c6d60aab4097f5159588a9b648ac5baac0fba6704ea21e1928eb7dc1dd88
3
+ metadata.gz: 41166c504ad4a467ac0d444551669efca2f6ff36b8083b11483ca1d6953c838e
4
+ data.tar.gz: f9c8abd6767eb3aaecf807d1e360defbb57ba7af0590d88b6019f0cd8bf2f1b1
5
5
  SHA512:
6
- metadata.gz: fdcc5ba0f68af828dd0d0908c55e4f69fdf14b7ca12ad80ad63d0083c73a49924a3d575ddc60ab3786c240faa120f1543aafbeed01c037e7246161d129d2bb0b
7
- data.tar.gz: fae363d934fae8f8bbfcb26ce5f9187984c4e1094c11d43ad9e3f956f0682414d284195f13e390cda73bd4791dfe8ea8ab2e81ef71a8831300b0d5b39beaabe3
6
+ metadata.gz: 5f9384ee4d463107d31e2cff1670ee587e7c2ad61795f11d1120bb69049fcc0bec3f04a0edee1e10e4c951a5b287cd9b93986c4194b87303e1a2a1ee38a7062a
7
+ data.tar.gz: 6d924bbc21a024712b1579c6bb73390904b456fc4671f1dc15b17de255d2f543b7cdcd2a4484e005444be085041a98819c6b3d2a1d55469305ce5b85108327e3
@@ -1,3 +1,3 @@
1
1
  apply "#{__dir__}/break_down_solidus_gem.rb"
2
2
  run_bundle
3
- apply 'https://github.com/solidusio/solidus_starter_frontend/raw/main/template.rb'
3
+ apply 'https://github.com/solidusio/solidus_starter_frontend/raw/v3.3/template.rb'
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.define_singleton_method(:publish) do |*args, **kwargs, &block|
12
+ def Bus.publish(event, **kwargs)
13
13
  if Spree::Config.use_legacy_events
14
- Spree::Event.fire(*args, **kwargs, &block)
14
+ Spree::Event.fire(event, **kwargs)
15
15
  else
16
16
  # Override caller_location to point to the actual event publisher
17
- super(*args, **kwargs, caller_location: caller_locations(1)[0], &block)
17
+ super(event, **kwargs, caller_location: caller_locations(1)[0])
18
18
  end
19
19
  end
20
20
  end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Spree
4
- VERSION = "3.3.0"
4
+ VERSION = "3.3.1"
5
5
 
6
6
  def self.solidus_version
7
7
  VERSION
@@ -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'].present?
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.0
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-01-24 00:00:00.000000000 Z
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.26
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: []