bullet_train-themes-light 1.0.28 → 1.0.29
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: 126519b619cca29b479bbc6246433b33bc39a01ed8395aaadcdf1e8127ff22a1
|
|
4
|
+
data.tar.gz: 7e4d34264c5a1454cee655c037ce793656e132e4f22424cb44e0223aa2a255a5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 23656b11ae0508e6c2ac6d351ed7e037ebfc8c9a552aac0758768c0ca1452798125d138dfbf925a9ba3bc483d7fc4e7ade2f63e0121451927f473cbf6da4f8e1
|
|
7
|
+
data.tar.gz: '09e4eb9333585a7063b4ad3b8f1835a52e120ffd9e37138a1624c38e2d65d2f162a618994aeeb8ec001f9e4041c0d58fb5a47efffc40f614293ac25843afc2f7'
|
|
@@ -9,6 +9,10 @@ namespace :bullet_train do
|
|
|
9
9
|
puts "Ejecting Tailwind configuration into `./tailwind.#{args[:destination]}.config.js`."
|
|
10
10
|
`cp #{theme_base_path}/tailwind.light.config.js #{Rails.root}/tailwind.#{args[:destination]}.config.js`
|
|
11
11
|
|
|
12
|
+
puts "Ejecting Tailwind mailer configuration into `./tailwind.mailer.#{args[:destination]}.config.js`."
|
|
13
|
+
`cp #{theme_base_path}/tailwind.mailer.light.config.js #{Rails.root}/tailwind.mailer.#{args[:destination]}.config.js`
|
|
14
|
+
`sed -i #{'""' if `echo $OSTYPE`.include?("darwin")} "s/light/#{args[:destination]}/g" #{Rails.root}/tailwind.mailer.#{args[:destination]}.config.js`
|
|
15
|
+
|
|
12
16
|
puts "Ejecting stylesheets into `./app/assets/stylesheets/#{args[:destination]}`."
|
|
13
17
|
`mkdir #{Rails.root}/app/assets/stylesheets`
|
|
14
18
|
`cp -R #{theme_base_path}/app/assets/stylesheets/light #{Rails.root}/app/assets/stylesheets/#{args[:destination]}`
|
|
@@ -31,7 +35,7 @@ namespace :bullet_train do
|
|
|
31
35
|
|
|
32
36
|
# Stub out the class that represents this theme and establishes its inheritance structure.
|
|
33
37
|
target_path = "#{Rails.root}/app/lib/bullet_train/themes/#{args[:destination]}.rb"
|
|
34
|
-
puts "Stubbing out a class that represents this theme in
|
|
38
|
+
puts "Stubbing out a class that represents this theme in `.#{target_path}`."
|
|
35
39
|
`mkdir -p #{Rails.root}/app/lib/bullet_train/themes`
|
|
36
40
|
`cp #{theme_base_path}/lib/bullet_train/themes/light.rb #{target_path}`
|
|
37
41
|
`sed -i #{'""' if `echo $OSTYPE`.include?("darwin")} "s/module Light/module #{args[:destination].titlecase}/g" #{target_path}`
|