obbistrano 1.1.157 → 1.1.159
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/obbistrano_tasks.rb +8 -13
- data/obbistrano.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 390af4ac08007595555355753935caedea344d08
|
4
|
+
data.tar.gz: a631d0d0efd674aa006534b2b9f348fd31ba26c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af4f1971fc60b02093c5b3fe6896e33cfcfa0e676782c18772b61bf8bc28227223b14b22fda097707456bf8ff646c2a35ed2b9336547c1c48758dd5741718507
|
7
|
+
data.tar.gz: 62ae76f7e111e7b643bbf1ae1e932a317099c0ca5d7071dbb10e94dd67c20a071de06fe3c61701d89015b97e7dae2285347667da06e0e0cb3a6c73ed965aa2be
|
data/lib/obbistrano_tasks.rb
CHANGED
@@ -19,7 +19,6 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def puts_ok
|
22
|
-
if logger.level == Capistrano::Logger::IMPORTANT && !$error
|
23
22
|
puts '✔'.green
|
24
23
|
end
|
25
24
|
$error = false
|
@@ -513,12 +512,10 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
513
512
|
task :css, :roles => [:web] do
|
514
513
|
paths = get_top_level_directories("#{build_to}/public/stylesheets")
|
515
514
|
if defined? newdeploy then
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
paths << "#{build_to}/plugins/#{plugin}/resources/public/stylesheets"
|
521
|
-
end
|
515
|
+
plugins.each do |plugin|
|
516
|
+
pretty_print "--> Adding Plugin: #{plugin}"
|
517
|
+
puts_ok
|
518
|
+
paths << "#{build_to}/plugins/#{plugin}/resources/public/stylesheets"
|
522
519
|
end
|
523
520
|
|
524
521
|
Dir.mkdir("#{build_to}/public/stylesheets/build") rescue ""
|
@@ -562,12 +559,10 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
562
559
|
task :js , :roles => [:web] do
|
563
560
|
paths = get_top_level_directories("#{build_to}/public/javascripts")
|
564
561
|
if defined? newdeploy then
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
paths << "#{build_to}/plugins/#{plugin}/resources/public/javascripts"
|
570
|
-
end
|
562
|
+
plugins.each do |plugin|
|
563
|
+
pretty_print "--> Adding plugin: #{plugin}"
|
564
|
+
puts_ok
|
565
|
+
paths << "#{build_to}/plugins/#{plugin}/resources/public/javascripts"
|
571
566
|
end
|
572
567
|
|
573
568
|
Dir.mkdir("#{build_to}/public/javascripts/build") rescue ""
|
data/obbistrano.gemspec
CHANGED