Skip to content

Commit

Permalink
Temp: Use unrelease solidus_support version
Browse files Browse the repository at this point in the history
  • Loading branch information
mamhoff committed Jan 15, 2025
1 parent 2faf6a8 commit 230478e
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 7 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ end
group :legacy_promotions, :promotions do
gem 'solidus_legacy_promotions', path: 'legacy_promotions', require: false
gem 'solidus_backend', path: 'backend', require: false
gem 'solidus_support', github: "mamhoff/solidus_support", branch: "re-enable-flickwerk"
end

group :promotions do
Expand Down
4 changes: 1 addition & 3 deletions legacy_promotions/lib/solidus_legacy_promotions/engine.rb
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
# frozen_string_literal: true

require 'solidus_legacy_promotions'
require 'flickwerk'

module SolidusLegacyPromotions
class Engine < ::Rails::Engine
include SolidusSupport::EngineExtensions

include Flickwerk

initializer "solidus_legacy_promotions.add_backend_menu_item" do
if SolidusSupport.backend_available?
promotions_menu_item = Spree::BackendConfiguration::MenuItem.new(
Expand Down
1 change: 0 additions & 1 deletion legacy_promotions/solidus_legacy_promotions.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ Gem::Specification.new do |s|
s.required_ruby_version = '>= 3.1.0'
s.required_rubygems_version = '>= 1.8.23'

s.add_dependency 'flickwerk', '~> 0.3.1'
s.add_dependency 'solidus_api', s.version
s.add_dependency 'solidus_core', s.version
s.add_dependency 'solidus_support', '>= 0.12.0'
Expand Down
2 changes: 0 additions & 2 deletions promotions/lib/solidus_promotions/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@

require "solidus_core"
require "solidus_support"
require "flickwerk"

module SolidusPromotions
class Engine < Rails::Engine
include SolidusSupport::EngineExtensions
include Flickwerk
Flickwerk.aliases["Spree::Config.order_recalculator_class"] = Spree::Config.order_recalculator_class_name

isolate_namespace ::SolidusPromotions
Expand Down
1 change: 0 additions & 1 deletion promotions/solidus_promotions.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ Gem::Specification.new do |spec|
files = Dir.chdir(__dir__) { `git ls-files -z`.split("\x0") }
spec.files = files.grep_v(%r{^(spec|bin)/})

spec.add_dependency "flickwerk", "~> 0.3.1"
spec.add_dependency "importmap-rails", "~> 1.2"
spec.add_dependency "ransack-enum", "~> 1.0"
spec.add_dependency "solidus_core", [">= 4.0.0", "< 5"]
Expand Down

0 comments on commit 230478e

Please sign in to comment.