obbistrano 1.1.94 → 1.1.95

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,13 +21,13 @@ Capistrano::Configuration.instance(:must_exist).load do
21
21
 
22
22
  def puts_ok
23
23
  if logger.level == Capistrano::Logger::IMPORTANT && !$error
24
- puts ''.green
24
+ puts '✔\n'.green
25
25
  end
26
26
  $error = false
27
27
  end
28
28
 
29
29
  def puts_fail
30
- puts ''.red
30
+ puts '✘\n'.red
31
31
  end
32
32
 
33
33
 
@@ -666,8 +666,14 @@ Capistrano::Configuration.instance(:must_exist).load do
666
666
  end
667
667
 
668
668
  pretty_print "--> Dumping an optimized autoloader"
669
- run "sh -c 'cd #{deploy_to} && #{composer_bin} dump-autoload --optimize'"
670
- puts_ok
669
+ begin
670
+ run "sh -c 'cd #{deploy_to} && #{composer_bin} dump-autoload --optimize'"
671
+ puts_ok
672
+ rescue
673
+ puts_fail
674
+ end
675
+
676
+
671
677
  end
672
678
 
673
679
  task :copy_vendors, :except => { :no_release => true } do
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{obbistrano}
5
- s.version = "1.1.94"
5
+ s.version = "1.1.95"
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=
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 94
9
- version: 1.1.94
8
+ - 95
9
+ version: 1.1.95
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ross Riley