solidus_core 4.4.0 → 4.4.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: 2a65544dbf1bc4080f863f20536ce1d7d886183329e9c7fc456c575fbf17c856
4
- data.tar.gz: f23b80167add2aa1d054af79397ca03c1dc4210ee0a7649276440e519cd4b8e1
3
+ metadata.gz: 26085f8db02874db3e6107dee9429c843c213f42d32a55a71a10cba46acf75b7
4
+ data.tar.gz: bc4bf5cfb609e38878f5abbac50be9d6565b5ca555f19bf662506b42992f0312
5
5
  SHA512:
6
- metadata.gz: cf3fe6657b4884a70e838d8bf7ec6c77d5b83fe5ba242e49d33c808c71cb9228b36525aae42532aeecf12c28ec5cb41beead0b851f0bcc6ba8d3b44f4dd297f6
7
- data.tar.gz: 8185232f7e5a42224db6b7b201b49d312e762608813caffed760aa4c212894ea56ad602e996da69573391c5593d88fbdff60bb36392afff8ee6ead3e64302b55
6
+ metadata.gz: e0c721a6c89879768639749bb8f3ff110beb622b2d93442ec77e3a5ef1e4511def197a38aecd436ec9e1962821d0a26b8a5348499f9696b467be1bf32441c6bd
7
+ data.tar.gz: d6e9c27b1441d31ffd3c25a6e205a38c363d7b6c1dc63e69db3bea9c74370552ab63bdd61632faec39a690cf836be1f97f94a6ad54547f0eb235de6e6e3075a7
@@ -19,9 +19,6 @@ module Spree
19
19
  has_many :adjustments, as: :adjustable, inverse_of: :adjustable, dependent: :destroy
20
20
  has_many :inventory_units, inverse_of: :line_item
21
21
 
22
- has_many :line_item_actions, dependent: :destroy
23
- has_many :actions, through: :line_item_actions
24
-
25
22
  before_validation :normalize_quantity
26
23
  before_validation :set_required_attributes
27
24
 
@@ -197,16 +197,6 @@ class SolidusOneFour < ActiveRecord::Migration[5.0]
197
197
  t.index ["variant_id"], name: "index_inventory_units_on_variant_id"
198
198
  end
199
199
 
200
- create_table "spree_line_item_actions", force: :cascade do |t|
201
- t.integer "line_item_id", null: false
202
- t.integer "action_id", null: false
203
- t.integer "quantity", default: 0
204
- t.datetime "created_at", precision: 6
205
- t.datetime "updated_at", precision: 6
206
- t.index ["action_id"], name: "index_spree_line_item_actions_on_action_id"
207
- t.index ["line_item_id"], name: "index_spree_line_item_actions_on_line_item_id"
208
- end
209
-
210
200
  create_table "spree_line_items", force: :cascade do |t|
211
201
  t.integer "variant_id"
212
202
  t.integer "order_id"
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Spree
4
- VERSION = "4.4.0"
4
+ VERSION = "4.4.1"
5
5
 
6
6
  def self.solidus_version
7
7
  VERSION
data/solidus_core.gemspec CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
17
17
  s.metadata['rubygems_mfa_required'] = 'true'
18
18
 
19
19
  s.files = `git ls-files -z`.split("\x0").reject do |f|
20
- f.match(%r{^(spec|script)/})
20
+ f.match(%r{^(spec|bin)/})
21
21
  end
22
22
 
23
23
  s.required_ruby_version = '>= 3.1.0'
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.0
4
+ version: 4.4.1
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-12 00:00:00.000000000 Z
11
+ date: 2024-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionmailer
@@ -536,7 +536,6 @@ files:
536
536
  - app/models/spree/inventory_unit.rb
537
537
  - app/models/spree/legacy_user.rb
538
538
  - app/models/spree/line_item.rb
539
- - app/models/spree/line_item_action.rb
540
539
  - app/models/spree/log_entry.rb
541
540
  - app/models/spree/null_promotion_adjuster.rb
542
541
  - app/models/spree/null_promotion_advertiser.rb
@@ -711,7 +710,6 @@ files:
711
710
  - app/views/spree/shared/_error_messages.html.erb
712
711
  - app/views/spree/test_mailer/test_email.html.erb
713
712
  - app/views/spree/test_mailer/test_email.text.erb
714
- - bin/rails
715
713
  - config/i18n-tasks.yml
716
714
  - config/initializers/assets.rb
717
715
  - config/initializers/friendly_id.rb
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Spree
4
- class LineItemAction < Spree::Base
5
- belongs_to :line_item, optional: true
6
- belongs_to :action, class_name: "Spree::PromotionAction", optional: true
7
- end
8
- end
data/bin/rails DELETED
@@ -1,13 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # This command will automatically be run when you run "rails" with Rails gems
3
- # installed from the root of your application.
4
-
5
- ENGINE_ROOT = File.expand_path('..', __dir__)
6
- ENGINE_PATH = File.expand_path('../lib/spree/core/engine', __dir__)
7
-
8
- # Set up gems listed in the Gemfile.
9
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __dir__)
10
- require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"])
11
-
12
- require "rails/all"
13
- require "rails/engine/commands"