solidus_core 4.3.2 → 4.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 68e51391276826cbe0b09d52ea9c4952a9f8548b80c166944a88a86de2123c2b
|
|
4
|
+
data.tar.gz: 1204774da0e171b910f618e86aa400d08e2979b5743f28b6b7496776a6dfcf7c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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)
|
data/lib/spree/core/version.rb
CHANGED
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.
|
|
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-
|
|
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.
|
|
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.
|