bard 0.39.0 → 0.40.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9c8c7f720260b040c43c17417dd4439a4b805148
4
- data.tar.gz: 631ad4e30441fdd5578590c0870cd74671d521ba
3
+ metadata.gz: 0f900b072c375105e7a47cd8eae8e081a988891d
4
+ data.tar.gz: fd63e6b267845a3fb870951d5d1ad993dbe17a2a
5
5
  SHA512:
6
- metadata.gz: 81d552f46af00644c343c1d1eeb178cc9f5254b88d91fce078b7ca6184f7dd19154596107ff9eac30747bd1df4936d8379c353390c679fc7320f317ebab5139f
7
- data.tar.gz: 82b96deed87a5c1ba783905d8a26b507b5022aba73c137bf102f54e10062dca4d717163e74140c8e48b595af380d6e37a9ad388bbc776ee1eda6a578decf554b
6
+ metadata.gz: 6f4efecbeaeeae40129b7aacd1f22df54a551b674115273250426589c590e81203c92c6fd7e5c470275c03a6d65f750ad43a7f04c3db72569cde8dac8445b043
7
+ data.tar.gz: dcef78a7ae4558c6e462c66fe10d582345b6bab1c27e9074ecf05aaab72735bf75e48db2d3403d6529a37b9acf2cc0eeda625b07ff40c9c8c85f01167abd62f5
@@ -89,7 +89,13 @@ Capistrano::Configuration.instance(:must_exist).load do
89
89
  if role_name == :staging && server_definition.host == "staging.botandrose.com"
90
90
  url = "#{application}.botandrose.com"
91
91
  end
92
- url += server_definition.options.fetch(:ping, "")
92
+
93
+ ping_option = server_definition.options.fetch(:ping, "")
94
+ if ping_option =~ %r{^/}
95
+ url += ping_option
96
+ else
97
+ url = ping_option
98
+ end
93
99
 
94
100
  command = "curl -sfLI #{url} 2>&1 1>/dev/null"
95
101
  unless system command
@@ -1,4 +1,4 @@
1
1
  module Bard
2
- VERSION = "0.39.0"
2
+ VERSION = "0.40.0"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.39.0
4
+ version: 0.40.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-06 00:00:00.000000000 Z
11
+ date: 2019-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor