obbistrano 1.1.85 → 1.1.86
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.
- data/lib/obbistrano_tasks.rb +5 -5
- data/obbistrano.gemspec +1 -1
- metadata +2 -2
data/lib/obbistrano_tasks.rb
CHANGED
@@ -609,7 +609,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
609
609
|
|
610
610
|
namespace :composer do
|
611
611
|
desc "Gets composer and installs it"
|
612
|
-
task :get, :roles => :
|
612
|
+
task :get, :roles => :web, :except => { :no_release => true } do
|
613
613
|
if !remote_file_exists?("#{deploy_to}/composer.phar")
|
614
614
|
pretty_print "--> Downloading Composer"
|
615
615
|
|
@@ -623,14 +623,14 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
623
623
|
end
|
624
624
|
|
625
625
|
desc "Updates composer"
|
626
|
-
task :self_update, :roles => :
|
626
|
+
task :self_update, :roles => :web, :except => { :no_release => true } do
|
627
627
|
pretty_print "--> Updating Composer"
|
628
628
|
run "#{try_sudo} sh -c 'cd #{deploy_to} && #{composer_bin} self-update'"
|
629
629
|
puts_ok
|
630
630
|
end
|
631
631
|
|
632
632
|
desc "Runs composer to install vendors from composer.lock file"
|
633
|
-
task :install, :roles => :
|
633
|
+
task :install, :roles => :web, :except => { :no_release => true } do
|
634
634
|
if composer_bin
|
635
635
|
composer.self_update
|
636
636
|
else
|
@@ -644,7 +644,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
644
644
|
end
|
645
645
|
|
646
646
|
desc "Runs composer to update vendors, and composer.lock file"
|
647
|
-
task :update, :roles => :
|
647
|
+
task :update, :roles => :web, :except => { :no_release => true } do
|
648
648
|
if composer_bin
|
649
649
|
composer.self_update
|
650
650
|
else
|
@@ -658,7 +658,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
658
658
|
end
|
659
659
|
|
660
660
|
desc "Dumps an optimized autoloader"
|
661
|
-
task :dump_autoload, :roles => :
|
661
|
+
task :dump_autoload, :roles => :web, :except => { :no_release => true } do
|
662
662
|
if composer_bin
|
663
663
|
composer.self_update
|
664
664
|
else
|
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.86"
|
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=
|