bard 0.9.8 → 0.9.9
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bard.gemspec +1 -1
- data/lib/bard.rb +3 -3
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.9
|
data/bard.gemspec
CHANGED
data/lib/bard.rb
CHANGED
@@ -82,11 +82,11 @@ class Bard < Thor
|
|
82
82
|
run_crucial "git push origin master"
|
83
83
|
run_crucial "git checkout integration"
|
84
84
|
|
85
|
-
if `curl -s -I http://integrity.botandrose.com/#{project_name}` !~ /\
|
85
|
+
if `curl -s -I --user botandrose:thecakeisalie http://integrity.botandrose.com/#{project_name}` !~ /\bStatus: 404\b/
|
86
86
|
puts "Integrity: verifying build..."
|
87
|
-
system "curl -sX POST http://integrity.botandrose.com/#{project_name}/builds"
|
87
|
+
system "curl -sX POST --user botandrose:thecakeisalie http://integrity.botandrose.com/#{project_name}/builds"
|
88
88
|
while true
|
89
|
-
response = `curl -s http://integrity.botandrose.com/#{project_name}`
|
89
|
+
response = `curl -s --user botandrose:thecakeisalie http://integrity.botandrose.com/#{project_name}`
|
90
90
|
break unless response =~ /div class='(building|pending)' id='last_build'/
|
91
91
|
sleep(2)
|
92
92
|
end
|