bellows 2.0.3 → 2.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/CHANGELOG +3 -0
  2. data/VERSION +1 -1
  3. data/lib/bellows/tasks.rb +1 -1
  4. metadata +3 -3
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ * Wed Aug 21 2013 Dan Prince <dprince@redhat.com> - 2.0.4
2
+ - Fix issue where gerrit -1's were calculated incorrectly.
3
+
1
4
  * Mon Aug 19 2013 Dan Prince <dprince@redhat.com> - 2.0.3
2
5
  - Fix issue encoding the '%' character in smokestack POST requests.
3
6
  - Comment a 'Failed' result for build and test failures.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.3
1
+ 2.0.4
data/lib/bellows/tasks.rb CHANGED
@@ -172,11 +172,11 @@ module Bellows
172
172
  status = 'SUCCESS'
173
173
  elsif ['Failed', 'BuildFail', 'TestFail'].include?(job_data['status']) then
174
174
  status = 'FAILED'
175
+ verify_vote = -1
175
176
  end
176
177
 
177
178
  message += "- #{comment_config['description']} #{configs['smokestack_url']}/?go=/jobs/#{job_data['id']} : #{status} #{job_data['msg']}\n"
178
179
 
179
- verify_vote = -1 if job_data['status'] == 'Failed'
180
180
  end
181
181
  puts message if not options[:quiet]
182
182
  out = Bellows::Gerrit.comment(review['currentPatchSet']['revision'], message, verify_vote) if not test
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bellows
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-19 00:00:00.000000000 Z
12
+ date: 2013-08-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -173,7 +173,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
173
173
  version: '0'
174
174
  segments:
175
175
  - 0
176
- hash: -2379210457275294056
176
+ hash: 4218275081643374456
177
177
  required_rubygems_version: !ruby/object:Gem::Requirement
178
178
  none: false
179
179
  requirements: