apadmi_grout 2.2.2 → 2.2.3

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: 22c82a973e8fcdff8c70360fa27c58ff9f79e3bc6ef9ff4175db7d646da499af
4
- data.tar.gz: aca19ee1e0f6bc2f710cb056efea7d0c8507ec01ab7ebfaa407bcc9eb79f91dd
3
+ metadata.gz: 454ad88ccf8626779e456e3960bf0cb518befae8383418865dceffd8116e4bad
4
+ data.tar.gz: 2e17f78ac813ccb6d7d6571b38c34e98f2584456626e4bd953ebf5346050b379
5
5
  SHA512:
6
- metadata.gz: c6fa52813fe17ff8998ceab124376a4896bf0b01c11270da86f75f9d84ce61686cbe07c509b381e6eaa6878cecd4f7d6d56152e1c8238bded0259f2eab935c80
7
- data.tar.gz: 2f96593677812988550c7c9c89cc0c753271987cf038e93bb5f176cdf8bd80c37ad062b9629101e085e0d4d85eacd675c7b4909fbdd138951a036ea58cfb8500
6
+ metadata.gz: 5d1babf7b932f6c92637c9fe22e2ec9814630043356c3fa36092551b7a181440bd23d539329fe053de27260da2664c2b7ba0db00cc73ee3ffa585584c210a770
7
+ data.tar.gz: b2d9904a1de99ed5bbbe8e401447a98f58b4514616853296828d17f7c743ffafa8a129858bd3bf3fbd90ea5e8701856771f2a45492ada3d6afe34bc651013f13
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Core Changelog
2
2
 
3
+ ## [2.2.3] - 2023-01-26
4
+ * Filter tickets with id 0 from changelog since these are almost always just placeholders.
5
+
3
6
  ## [2.2.2] - 2022-08-24
4
7
  * Suppress ADO errors when requesting tickets that don't exist - match JIRA behaviour
5
8
 
@@ -28,7 +28,9 @@ module Apadmi
28
28
  # Changelog often has the pull request number in it, this can mess up the parsing so strip it out if we can
29
29
  changelog = changelog.gsub(/\(pull request.*\)/, "")
30
30
 
31
- changelog.scan(/(#{@ticket_prefix}\d+)/).flatten.uniq
31
+ changelog.scan(/(#{@ticket_prefix}\d+)/).flatten.uniq.filter do |id|
32
+ Integer(id.delete_prefix(@ticket_prefix), exception: false) != 0 # Filter out tickets with ID 0 since these are always placeholders
33
+ end
32
34
  end
33
35
  end
34
36
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Apadmi
4
4
  module Grout
5
- VERSION = "2.2.2"
5
+ VERSION = "2.2.3"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apadmi_grout
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.2
4
+ version: 2.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Apadmi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-08-24 00:00:00.000000000 Z
11
+ date: 2023-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday