bullet_train-themes-light 1.0.21 → 1.0.22
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: 34f10e6da7000e49343ea48f34436dff11e8dd9ba81657e87831fbdedca628b9
|
4
|
+
data.tar.gz: b2239440d0ff3677c34c629fcd0655628723928479178833cc539116fcc4aedd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46660b278af4ea2accc5530d89238894c99a4b0c09b9156e54f486db9f766d6c6b8b3ccb95d20a6731714b69468205c60c8006adc8654541a92b84732acdc106
|
7
|
+
data.tar.gz: 5b12616bd5af8e068c61624d5045f6a475c94ca67dd6d19793f2dd5359c2715e310e35ddb3e8be1d5ea087ca613566142a8f8845fe9a30df73b9512e3d529f2f
|
@@ -21,6 +21,7 @@ namespace :bullet_train do
|
|
21
21
|
puts "Ejecting all theme partials into `./app/views/themes/#{args[:destination]}`."
|
22
22
|
`mkdir #{Rails.root}/app/views/themes`
|
23
23
|
`cp -R #{theme_base_path}/app/views/themes/light #{Rails.root}/app/views/themes/#{args[:destination]}`
|
24
|
+
`sed -i #{'""' if `echo $OSTYPE`.include?("darwin")} "s/light/#{args[:destination]}/g" #{Rails.root}/app/views/themes/#{args[:destination]}/layouts/_head.html.erb`
|
24
25
|
|
25
26
|
puts "Cutting local `Procfile.dev` over from `light` to `#{args[:destination]}`."
|
26
27
|
`sed -i #{'""' if `echo $OSTYPE`.include?("darwin")} "s/light/#{args[:destination]}/g" #{Rails.root}/Procfile.dev`
|