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 +4 -4
- data/lib/bard/capistrano.rb +7 -1
- data/lib/bard/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f900b072c375105e7a47cd8eae8e081a988891d
|
4
|
+
data.tar.gz: fd63e6b267845a3fb870951d5d1ad993dbe17a2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f4efecbeaeeae40129b7aacd1f22df54a551b674115273250426589c590e81203c92c6fd7e5c470275c03a6d65f750ad43a7f04c3db72569cde8dac8445b043
|
7
|
+
data.tar.gz: dcef78a7ae4558c6e462c66fe10d582345b6bab1c27e9074ecf05aaab72735bf75e48db2d3403d6529a37b9acf2cc0eeda625b07ff40c9c8c85f01167abd62f5
|
data/lib/bard/capistrano.rb
CHANGED
@@ -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
|
-
|
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
|
data/lib/bard/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2019-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|