pronto-gitlab_resolver 0.1.0 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5af1fa16554a37c187cf4d47bf7665cd008757b60787cd2b69e6754c1a91872a
4
- data.tar.gz: c0b7d55c844040a2c07e62dc11d4457cff61ebb7c85f097786c802f37498f848
3
+ metadata.gz: ca06c7a257c4f030d10907c31900b5124fb5591d57e1433b026367bea087b1c6
4
+ data.tar.gz: da2e2b2ee64d1e02658dcee4e9ab2592aafe2ac3111cf5b70af2cc0a9f7a295e
5
5
  SHA512:
6
- metadata.gz: fa23660d84dc2af2b4d880b0248dfef62c15209c4fb4b64c38b8e1d0d393223ed18f2bdff084b72c871596563f4b515fb2c62193903711c26604aec73adf994a
7
- data.tar.gz: 38e062847e4fca332cf0f76707aa5fdb9297bbb1c0b022cf3b2c985e93e10c886e2a49f6f688468b26c3bc14c5f236df924550bcadeb646fe052e1cac0c53c08
6
+ metadata.gz: 80912da281cd68ee59b384e14387f6ff094cbfd31649918da5ce82f2602c19bbe58ad507b44e7c0ffa024a78146c5ea790eaa6ec74169f05ca64751e8752c3cb
7
+ data.tar.gz: 423e16ffffc5af379ecd78df46d594dbe21b165608e48d96baabc4850cbf2de1f3581001302e8a4dfca1eb6907c60e7fec2af42aaf7ca5e9207743bb3026f766
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pronto-gitlab_resolver (0.1.0)
4
+ pronto-gitlab_resolver (0.1.2)
5
5
  pronto (~> 0.11)
6
6
 
7
7
  GEM
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Pronto
4
4
  module GitlabResolver
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.2"
6
6
  end
7
7
  end
@@ -33,8 +33,8 @@ module Pronto
33
33
  next unless note&.author&.id == bot_id
34
34
  next unless note["position"] && note.position&.[]("new_path")
35
35
  note_position = [note.position.new_path, note.position.new_line]
36
- next if still_actual_comments[note_position].any? { |comment| comment.body == note.body }
37
- thread.notes.size == 1
36
+ next if still_actual_comments[note_position]&.any? { |comment| comment.body == note.body }
37
+ thread.notes.all? { |note| note["system"] || note&.author&.id == bot_id }
38
38
  end
39
39
 
40
40
  threads_to_resolve.each do |thread|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pronto-gitlab_resolver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vasily Fedoseyev