solidus_core 4.4.1 → 4.4.2

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: 26085f8db02874db3e6107dee9429c843c213f42d32a55a71a10cba46acf75b7
4
- data.tar.gz: bc4bf5cfb609e38878f5abbac50be9d6565b5ca555f19bf662506b42992f0312
3
+ metadata.gz: 9a77feaec973407e0036df672af2decbf5a3a0fcae38d4041dcbd5fea19bfbaf
4
+ data.tar.gz: ed69345a425cef54bb72257aa687711c9379903866886035f54510dc076aedb4
5
5
  SHA512:
6
- metadata.gz: e0c721a6c89879768639749bb8f3ff110beb622b2d93442ec77e3a5ef1e4511def197a38aecd436ec9e1962821d0a26b8a5348499f9696b467be1bf32441c6bd
7
- data.tar.gz: d6e9c27b1441d31ffd3c25a6e205a38c363d7b6c1dc63e69db3bea9c74370552ab63bdd61632faec39a690cf836be1f97f94a6ad54547f0eb235de6e6e3075a7
6
+ metadata.gz: 47c13a634466741aa45278e9fd7007eed9621ac595ae9bcfd9c5f8bbeeeae932b2419e620ec574b00a68c4f90a8a8e866042744895cf71d5443dc42ff39577b8
7
+ data.tar.gz: 3d8a8943ae006304d636ba1c54108a01d46b390bf10085c917002caaeb2b3b4c55986ba528efa8a6b18ce2b2f39d49b40d589cff4233a7c67977e634adeacf13
@@ -44,7 +44,6 @@ class Spree::OrderShipping
44
44
  # @return The carton created.
45
45
  def ship(inventory_units:, stock_location:, address:, shipping_method:,
46
46
  shipped_at: Time.current, external_number: nil, tracking_number: nil, suppress_mailer: false)
47
-
48
47
  carton = nil
49
48
 
50
49
  Spree::InventoryUnit.transaction do
@@ -1516,6 +1516,7 @@ en:
1516
1516
  end: End
1517
1517
  ending_in: Ending in
1518
1518
  error: error
1519
+ error_user_destroy_with_orders: Cannot delete a user with orders
1519
1520
  errors:
1520
1521
  messages:
1521
1522
  cannot_delete_finalized_stock_location: Stock Location cannot be destroyed if you have open stock transfers.
@@ -2096,6 +2097,7 @@ en:
2096
2097
  scope: Scope
2097
2098
  search: Search
2098
2099
  search_results: Search results for '%{keywords}'
2100
+ search_results_all: Show all results for '%{keywords}'
2099
2101
  searching: Searching
2100
2102
  secure_connection_type: Secure Connection Type
2101
2103
  security_settings: Security Settings
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Spree
4
- VERSION = "4.4.1"
4
+ VERSION = "4.4.2"
5
5
 
6
6
  def self.solidus_version
7
7
  VERSION
data/lib/spree/core.rb CHANGED
@@ -39,6 +39,10 @@ module Spree
39
39
  end
40
40
  end
41
41
 
42
+ def self.user_class_name
43
+ @@user_class
44
+ end
45
+
42
46
  # Load the same version defaults for all available Solidus components
43
47
  #
44
48
  # @see Spree::Preferences::Configuration#load_defaults
@@ -4,8 +4,8 @@ require 'spree/testing_support/common_rake'
4
4
 
5
5
  desc "Generates a dummy app for testing an extension"
6
6
  namespace :extension do
7
- task :test_app, [:user_class] do |_t, _args|
7
+ task :test_app, [:user_class] do |_t, args|
8
8
  Spree::DummyGeneratorHelper.inject_extension_requirements = true
9
- Rake::Task['common:test_app'].invoke
9
+ Rake::Task['common:test_app'].invoke(args[:user_class])
10
10
  end
11
11
  end
@@ -21,8 +21,8 @@ module Spree
21
21
  # @return [String] the name of the user class as a string.
22
22
  # @raise [RuntimeError] if Spree.user_class is nil
23
23
  def to_s
24
- fail "'Spree.user_class' has not been set yet." unless Spree.user_class
25
- "::#{Spree.user_class}"
24
+ fail "'Spree.user_class' has not been set yet." unless Spree.user_class_name
25
+ "::#{Spree.user_class_name}"
26
26
  end
27
27
  end
28
28
  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: 4.4.1
4
+ version: 4.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-18 00:00:00.000000000 Z
11
+ date: 2024-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionmailer
@@ -1019,7 +1019,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1019
1019
  - !ruby/object:Gem::Version
1020
1020
  version: 1.8.23
1021
1021
  requirements: []
1022
- rubygems_version: 3.5.22
1022
+ rubygems_version: 3.5.3
1023
1023
  signing_key:
1024
1024
  specification_version: 4
1025
1025
  summary: Essential models, mailers, and classes for the Solidus e-commerce project.