obbistrano 1.1.88 → 1.1.89
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/obbistrano_tasks.rb +6 -6
- data/obbistrano.gemspec +1 -1
- metadata +2 -2
data/lib/obbistrano_tasks.rb
CHANGED
@@ -607,11 +607,11 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
607
607
|
if !remote_file_exists?("#{deploy_to}/composer.phar")
|
608
608
|
pretty_print "--> Downloading Composer"
|
609
609
|
|
610
|
-
run "
|
610
|
+
run "sh -c 'cd #{deploy_to} && curl -s http://getcomposer.org/installer | #{php_bin}'"
|
611
611
|
else
|
612
612
|
pretty_print "--> Updating Composer"
|
613
613
|
|
614
|
-
run "
|
614
|
+
run "sh -c 'cd #{deploy_to} && #{php_bin} composer.phar self-update'"
|
615
615
|
end
|
616
616
|
puts_ok
|
617
617
|
end
|
@@ -619,7 +619,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
619
619
|
desc "Updates composer"
|
620
620
|
task :self_update, :roles => :web, :except => { :no_release => true } do
|
621
621
|
pretty_print "--> Updating Composer"
|
622
|
-
run "
|
622
|
+
run "sh -c 'cd #{deploy_to} && #{composer_bin} self-update'"
|
623
623
|
puts_ok
|
624
624
|
end
|
625
625
|
|
@@ -633,7 +633,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
633
633
|
end
|
634
634
|
|
635
635
|
pretty_print "--> Installing Composer dependencies"
|
636
|
-
run "
|
636
|
+
run "sh -c 'cd #{deploy_to} && #{composer_bin} install #{composer_options}'"
|
637
637
|
puts_ok
|
638
638
|
end
|
639
639
|
|
@@ -647,7 +647,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
647
647
|
end
|
648
648
|
|
649
649
|
pretty_print "--> Updating Composer dependencies"
|
650
|
-
run "
|
650
|
+
run "sh -c 'cd #{deploy_to} && #{composer_bin} update #{composer_options}'"
|
651
651
|
puts_ok
|
652
652
|
end
|
653
653
|
|
@@ -661,7 +661,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
661
661
|
end
|
662
662
|
|
663
663
|
pretty_print "--> Dumping an optimized autoloader"
|
664
|
-
run "
|
664
|
+
run "sh -c 'cd #{deploy_to} && #{composer_bin} dump-autoload --optimize'"
|
665
665
|
puts_ok
|
666
666
|
end
|
667
667
|
|
data/obbistrano.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{obbistrano}
|
5
|
-
s.version = "1.1.
|
5
|
+
s.version = "1.1.89"
|
6
6
|
s.authors = ["Ross Riley", "One Black Bear"]
|
7
7
|
s.date = Time.now
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|