solidus_core 4.3.2 → 4.3.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea120769fbc14df12db50f04ac8d60a7c6bc3de7980da4311b3a67e2483a5033
|
4
|
+
data.tar.gz: 2f5e3466c7e09fde1e015400c044e785bb9dd177a6a2b69fd67ae0d32cd561a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 304df05695271fc1d8011e563688fb1078f9dc5e81f136576f84c1fbd2291f7514cfbff613df8d45520ed24a9ee82283635d2dd13c2cfb68adee3caa4367e817
|
7
|
+
data.tar.gz: 2a9a5f58a7de0bbac0d4ecc2691898ad0a826137d7d25396479cec9880b449afa822509d79146bc88f4dc9e901d762e2d195e53e8b65c9e8c9f1f1945d1771a2
|
@@ -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.4
|
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-04-05 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.19
|
1056
1056
|
signing_key:
|
1057
1057
|
specification_version: 4
|
1058
1058
|
summary: Essential models, mailers, and classes for the Solidus e-commerce project.
|