solidus_core 4.3.2 → 4.3.3

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: 0e7208af9a654942a18300e8715c423f9db815aff705b89eb0417da2c0bd6631
4
- data.tar.gz: 024e53ee6af50168922601bb6f55be13e2601ad5bfa93a20d039aa64d44139b2
3
+ metadata.gz: 68e51391276826cbe0b09d52ea9c4952a9f8548b80c166944a88a86de2123c2b
4
+ data.tar.gz: 1204774da0e171b910f618e86aa400d08e2979b5743f28b6b7496776a6dfcf7c
5
5
  SHA512:
6
- metadata.gz: 1737b8f1da9c82d7d36cc2335c88312a54b4d0b2d9f854b4e6e47c59b9977086473ee5c4366760342c59792d45351ef1cdd6837de1f83dfe75b29a5ddb3bb7e8
7
- data.tar.gz: dfbed219adaf6a29a7bf5a811f1e4685cd4c2b136ac9897a72c7754b9abe69f87f2a86559f6d70d0e0fc4a4b725f55960157e773e53be6fa918917869152cf65
6
+ metadata.gz: 202576e624d071884b676be8aa6eeb4a2e78e0430d87eecd203ae762e3f77f62de05eb1ce8dbb2462b1158a12ec4c7b044040154f624d0a6da75880517ac9a14
7
+ data.tar.gz: 422aa33081ab9acff0e9d50afa9cf2861467542e7e9ec061613c2be24c34f3481000084ddb2ed41bf667987aaf4c6b1d78ce82a4633a6c4fd878c32e1568d0e7
@@ -35,6 +35,7 @@ module Solidus
35
35
  class_option :sample, type: :boolean, default: true, banner: 'Load sample data (migrations and seeds must be run)'
36
36
  class_option :active_storage, type: :boolean, default: true, banner: 'Install ActiveStorage as image attachments handler for products and taxons'
37
37
  class_option :admin_preview, type: :boolean, default: true, desc: 'Install the admin preview'
38
+ class_option :build_admin_tailwind, type: :boolean, default: true, desc: 'Build and install Solidus Admin Tailwind CSS file and rake tasks'
38
39
  class_option :auto_accept, type: :boolean
39
40
  class_option :user_class, type: :string
40
41
  class_option :admin_email, type: :string
@@ -175,20 +176,22 @@ module Solidus
175
176
  end
176
177
  end
177
178
 
178
- def install_solidus_admin
179
- return unless options[:admin_preview]
180
-
181
- say_status :installing, "SolidusAdmin", :blue
182
- bundle_command 'add solidus_admin -v ">= 0.2"'
183
- generate 'solidus_admin:install'
184
- end
185
-
186
179
  def install_subcomponents
187
180
  apply_template_for :authentication, @selected_authentication
188
181
  apply_template_for :frontend, @selected_frontend
189
182
  apply_template_for :payment_method, @selected_payment_method
190
183
  end
191
184
 
185
+ def install_solidus_admin
186
+ return unless options[:admin_preview]
187
+
188
+ say_status :installing, "SolidusAdmin", :blue
189
+ unless File.read(app_path.join('Gemfile')).include?('solidus_admin')
190
+ bundle_command 'add solidus_admin -v ">= 0.2"'
191
+ end
192
+ generate "solidus_admin:install #{'--tailwind' if options[:build_admin_tailwind]}"
193
+ end
194
+
192
195
  def populate_seed_data
193
196
  if @load_seed_data
194
197
  say_status :loading, "seed data"
@@ -22,6 +22,8 @@ require "spree/core/search/variant"
22
22
  require 'spree/preferences/configuration'
23
23
  require 'spree/core/environment'
24
24
 
25
+ require 'uri'
26
+
25
27
  module Spree
26
28
  class AppConfiguration < Preferences::Configuration
27
29
  # Preferences (alphabetized to more easily lookup particular preferences)
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Spree
4
- VERSION = "4.3.2"
4
+ VERSION = "4.3.3"
5
5
 
6
6
  def self.solidus_version
7
7
  VERSION
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.3.2
4
+ version: 4.3.3
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-01-22 00:00:00.000000000 Z
11
+ date: 2024-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionmailer
@@ -1052,7 +1052,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1052
1052
  - !ruby/object:Gem::Version
1053
1053
  version: 1.8.23
1054
1054
  requirements: []
1055
- rubygems_version: 3.2.33
1055
+ rubygems_version: 3.4.10
1056
1056
  signing_key:
1057
1057
  specification_version: 4
1058
1058
  summary: Essential models, mailers, and classes for the Solidus e-commerce project.