pronto-gitlab_resolver 0.1.2 → 0.1.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ca06c7a257c4f030d10907c31900b5124fb5591d57e1433b026367bea087b1c6
4
- data.tar.gz: da2e2b2ee64d1e02658dcee4e9ab2592aafe2ac3111cf5b70af2cc0a9f7a295e
3
+ metadata.gz: 1dedd945ac51a202676e73a0f476fcdf825919a214ae2e0504ba59325c7bff66
4
+ data.tar.gz: 27296284c4710192027d3e810f256b52ad92aec75c99122179123936fafc9a71
5
5
  SHA512:
6
- metadata.gz: 80912da281cd68ee59b384e14387f6ff094cbfd31649918da5ce82f2602c19bbe58ad507b44e7c0ffa024a78146c5ea790eaa6ec74169f05ca64751e8752c3cb
7
- data.tar.gz: 423e16ffffc5af379ecd78df46d594dbe21b165608e48d96baabc4850cbf2de1f3581001302e8a4dfca1eb6907c60e7fec2af42aaf7ca5e9207743bb3026f766
6
+ metadata.gz: a547e8d78907fbdec80c35bfca9451f0c1971bbdcd5b4727f47aa884fad5326de552dfccb8d2c9f42aa080a1550c5ad0c520dd7cfb1ecf01b4d13a9320cfdae3
7
+ data.tar.gz: acf4f553398eca7aae05d27d834f6dda5202dc366e604e5e700762b019e6c3d6b64ad3b1c4acd9d2306ac5b07b81bdefbec43de4797511a9c622926342dbb1c2
data/Gemfile.lock CHANGED
@@ -1,19 +1,20 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pronto-gitlab_resolver (0.1.2)
4
+ pronto-gitlab_resolver (0.1.3)
5
5
  pronto (~> 0.11)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- addressable (2.8.1)
10
+ addressable (2.8.5)
11
11
  public_suffix (>= 2.0.2, < 6.0)
12
12
  ast (2.4.2)
13
+ base64 (0.1.1)
13
14
  crack (0.4.5)
14
15
  rexml
15
16
  diff-lcs (1.5.0)
16
- faraday (2.7.1)
17
+ faraday (2.7.10)
17
18
  faraday-net_http (>= 2.0, < 3.1)
18
19
  ruby2_keywords (>= 0.0.4)
19
20
  faraday-net_http (3.0.2)
@@ -21,74 +22,78 @@ GEM
21
22
  httparty (~> 0.20)
22
23
  terminal-table (>= 1.5.1)
23
24
  hashdiff (1.0.1)
24
- httparty (0.20.0)
25
- mime-types (~> 3.0)
25
+ httparty (0.21.0)
26
+ mini_mime (>= 1.0.0)
26
27
  multi_xml (>= 0.5.2)
27
- json (2.6.2)
28
- mime-types (3.4.1)
29
- mime-types-data (~> 3.2015)
30
- mime-types-data (3.2022.0105)
28
+ json (2.6.3)
29
+ language_server-protocol (3.17.0.3)
30
+ mini_mime (1.1.5)
31
31
  multi_xml (0.6.0)
32
- octokit (4.25.1)
32
+ octokit (6.1.1)
33
33
  faraday (>= 1, < 3)
34
34
  sawyer (~> 0.9)
35
- parallel (1.22.1)
36
- parser (3.1.2.1)
35
+ parallel (1.23.0)
36
+ parser (3.2.2.3)
37
37
  ast (~> 2.4.1)
38
- pronto (0.11.0)
39
- gitlab (~> 4.4, >= 4.4.0)
40
- httparty (>= 0.13.7)
41
- octokit (~> 4.7, >= 4.7.0)
38
+ racc
39
+ pronto (0.11.1)
40
+ gitlab (>= 4.4.0, < 5.0)
41
+ httparty (>= 0.13.7, < 1.0)
42
+ octokit (>= 4.7.0, < 7.0)
42
43
  rainbow (>= 2.2, < 4.0)
43
- rexml (~> 3.2)
44
- rugged (>= 0.23.0, < 1.1.0)
44
+ rexml (>= 3.2.5, < 4.0)
45
+ rugged (>= 0.23.0, < 2.0)
45
46
  thor (>= 0.20.3, < 2.0)
46
- public_suffix (5.0.0)
47
+ public_suffix (5.0.3)
48
+ racc (1.7.1)
47
49
  rainbow (3.1.1)
48
50
  rake (13.0.6)
49
- regexp_parser (2.6.1)
50
- rexml (3.2.5)
51
+ regexp_parser (2.8.1)
52
+ rexml (3.2.6)
51
53
  rspec (3.12.0)
52
54
  rspec-core (~> 3.12.0)
53
55
  rspec-expectations (~> 3.12.0)
54
56
  rspec-mocks (~> 3.12.0)
55
- rspec-core (3.12.0)
57
+ rspec-core (3.12.2)
56
58
  rspec-support (~> 3.12.0)
57
- rspec-expectations (3.12.0)
59
+ rspec-expectations (3.12.3)
58
60
  diff-lcs (>= 1.2.0, < 2.0)
59
61
  rspec-support (~> 3.12.0)
60
- rspec-mocks (3.12.0)
62
+ rspec-mocks (3.12.6)
61
63
  diff-lcs (>= 1.2.0, < 2.0)
62
64
  rspec-support (~> 3.12.0)
63
- rspec-support (3.12.0)
64
- rubocop (1.39.0)
65
+ rspec-support (3.12.1)
66
+ rubocop (1.56.2)
67
+ base64 (~> 0.1.1)
65
68
  json (~> 2.3)
69
+ language_server-protocol (>= 3.17.0)
66
70
  parallel (~> 1.10)
67
- parser (>= 3.1.2.1)
71
+ parser (>= 3.2.2.3)
68
72
  rainbow (>= 2.2.2, < 4.0)
69
73
  regexp_parser (>= 1.8, < 3.0)
70
74
  rexml (>= 3.2.5, < 4.0)
71
- rubocop-ast (>= 1.23.0, < 2.0)
75
+ rubocop-ast (>= 1.28.1, < 2.0)
72
76
  ruby-progressbar (~> 1.7)
73
- unicode-display_width (>= 1.4.0, < 3.0)
74
- rubocop-ast (1.23.0)
75
- parser (>= 3.1.1.0)
76
- ruby-progressbar (1.11.0)
77
+ unicode-display_width (>= 2.4.0, < 3.0)
78
+ rubocop-ast (1.29.0)
79
+ parser (>= 3.2.1.0)
80
+ ruby-progressbar (1.13.0)
77
81
  ruby2_keywords (0.0.5)
78
- rugged (1.0.1)
82
+ rugged (1.7.1)
79
83
  sawyer (0.9.2)
80
84
  addressable (>= 2.3.5)
81
85
  faraday (>= 0.17.3, < 3)
82
86
  terminal-table (3.0.2)
83
87
  unicode-display_width (>= 1.1.1, < 3)
84
- thor (1.2.1)
85
- unicode-display_width (2.3.0)
86
- webmock (3.18.1)
88
+ thor (1.2.2)
89
+ unicode-display_width (2.4.2)
90
+ webmock (3.19.1)
87
91
  addressable (>= 2.8.0)
88
92
  crack (>= 0.3.2)
89
93
  hashdiff (>= 0.4.0, < 2.0.0)
90
94
 
91
95
  PLATFORMS
96
+ arm64-darwin-22
92
97
  x86_64-darwin-21
93
98
 
94
99
  DEPENDENCIES
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Pronto
4
4
  module GitlabResolver
5
- VERSION = "0.1.2"
5
+ VERSION = "0.1.3"
6
6
  end
7
7
  end
@@ -29,6 +29,7 @@ module Pronto
29
29
 
30
30
  threads_to_resolve = client.merge_request_discussions(slug, pull_id).auto_paginate.select do |thread|
31
31
  note = thread.notes&.first
32
+ next if note["resolved"] #|| !note["resolvable"]
32
33
  # NOTE: this may cause issues if bot is reused for some other linters that also add code comments
33
34
  next unless note&.author&.id == bot_id
34
35
  next unless note["position"] && note.position&.[]("new_path")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pronto-gitlab_resolver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vasily Fedoseyev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-22 00:00:00.000000000 Z
11
+ date: 2023-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pronto
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
62
  - !ruby/object:Gem::Version
63
63
  version: '0'
64
64
  requirements: []
65
- rubygems_version: 3.1.6
65
+ rubygems_version: 3.4.10
66
66
  signing_key:
67
67
  specification_version: 4
68
68
  summary: Pronto gitlab formatter extension that marks resolved comments