obbistrano 1.1.115 → 1.1.116

Sign up to get free protection for your applications and to get access to all the features.
@@ -134,8 +134,14 @@ Capistrano::Configuration.instance(:must_exist).load do
134
134
  end
135
135
 
136
136
  pretty_print "--> Updating code from remote repository"
137
- run "cd #{deploy_to} && git fetch"
138
-
137
+ logger.level = -1
138
+ begin
139
+ run "cd #{deploy_to} && git fetch"
140
+ rescue
141
+ puts_fail
142
+ puts "Unable to connect to remote repository, check your configuration, and that a valid ssh key exists for remote server.".red
143
+ end
144
+ logger.level = 0
139
145
  if defined? "#{commit}"
140
146
  run "cd #{deploy_to} && git checkout #{commit} && git submodule update --init --recursive"
141
147
  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.115"
5
+ s.version = "1.1.116"
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
- - 115
9
- version: 1.1.115
8
+ - 116
9
+ version: 1.1.116
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ross Riley