obbistrano 1.1.131 → 1.1.132
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 +7 -3
- data/obbistrano.gemspec +1 -1
- metadata +2 -2
data/lib/obbistrano_tasks.rb
CHANGED
@@ -6,7 +6,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
6
6
|
$error = false
|
7
7
|
|
8
8
|
# Be less verbose by default
|
9
|
-
logger.level = Capistrano::Logger::
|
9
|
+
logger.level = Capistrano::Logger::IMPORTANT
|
10
10
|
|
11
11
|
def pretty_print(msg)
|
12
12
|
if logger.level == Capistrano::Logger::IMPORTANT
|
@@ -654,7 +654,9 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
654
654
|
task :self_update, :roles => :web, :except => { :no_release => true } do
|
655
655
|
pretty_print "--> Updating Composer"
|
656
656
|
begin
|
657
|
-
run "sh -c 'cd #{deploy_to} && #{composer_bin} self-update'"
|
657
|
+
run "sh -c 'cd #{deploy_to} && #{composer_bin} self-update'" do |channel, stream, data|
|
658
|
+
puts data.yellow
|
659
|
+
end
|
658
660
|
puts_ok
|
659
661
|
rescue
|
660
662
|
puts_fail
|
@@ -672,7 +674,9 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
672
674
|
|
673
675
|
pretty_print "--> Installing Composer dependencies"
|
674
676
|
begin
|
675
|
-
|
677
|
+
run "cd #{deploy_to} && #{composer_bin} install #{composer_options}" do |channel, stream, data|
|
678
|
+
puts data.yellow
|
679
|
+
end
|
676
680
|
puts_ok
|
677
681
|
rescue
|
678
682
|
puts_fail
|
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.132"
|
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=
|