pullermann 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/pullermann/pullermann.rb +1 -2
  2. metadata +1 -1
@@ -123,6 +123,7 @@ class Pullermann
123
123
  comments = comments.select{ |c| [username, username_fail].include?(c.user.login) }.reverse
124
124
  # Initialize shas to ensure it will live on after the 'each' block.
125
125
  shas = nil
126
+ @comment = nil
126
127
  comments.each do |comment|
127
128
  shas = /master sha# ([\w]+) ; pull sha# ([\w]+)/.match(comment.body)
128
129
  if shas && shas[1] && shas[2]
@@ -208,8 +209,6 @@ class Pullermann
208
209
  @log.info "Adding new #{notion(@test_success)} comment."
209
210
  call_github(@test_success).add_comment(@project, @request_id, message)
210
211
  end
211
- # Once we're done, reset @comment to ensure it's not carried over to the next iteration.
212
- @comment = nil
213
212
  end
214
213
 
215
214
  def notion(success)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pullermann
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: