bard 0.19.1 → 0.19.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/bard.rb +2 -1
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.19.1
1
+ 0.19.2
@@ -183,7 +183,8 @@ EOF
183
183
 
184
184
  def get_last_build_number
185
185
  response = `curl -s #{ci_host}/lastBuild/api/xml?token=botandrose`
186
- response.match(/<number>(\d+)<\/number>/)[1].to_i
186
+ response.match(/<number>(\d+)<\/number>/)
187
+ $1 ? $1.to_i : nil
187
188
  end
188
189
 
189
190
  def get_last_time_elapsed
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: bard
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.19.1
5
+ version: 0.19.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Micah Geisel