dri 0.10.0 → 0.10.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: b5791162eb6afd6c20228dc94f5c247233a1f9703743fb671df15f0cef3258c2
4
- data.tar.gz: 2629b72f72f18669b362b7f904bce44a4abc63b8fa421a4dbb515c1dd17ee8cb
3
+ metadata.gz: 958c7eb6122525773d9bde35f97de76f3a30cb0377a9379805dd7967a92b69ec
4
+ data.tar.gz: 47982fd399963bfc28559a1c7b6f7305da3167f2eb787ab4a71f7a571d87d171
5
5
  SHA512:
6
- metadata.gz: 6ffc4003b8ea2cc342c88a3f457f3ea9701f9dfe0e7ca0ff7a5f54e2ec1a8ccc896dea9e16bb4ea1655d3e9d1eadadaa0ef2d01652ffb4740fb94fcc01690397
7
- data.tar.gz: f302fd36aa8cc2385e6c83e6de915481b3515097be2d5e7137ea63af3ef70e7462ad2a4f64a575777cd734b1320699b01c4efd99fd60941d59b0b8b65a4b005a
6
+ metadata.gz: a7d0d91a974b2070b1137d8f88bc515823b1279c0fcc8a4768d9d4ad5ce498f0400d8e0fac988a74ab0847edf111c9438d87678aa560d3167d95a6937a4f8096
7
+ data.tar.gz: f167422d5531320a5eb0efd4efa9f1c77c7bed7d7eba0432c3c9235330e9511aa657a19fc8a77b043e139c4b217e0886424aa1d2cbb5c925b8a702ff1b2085cc
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dri (0.10.0)
4
+ dri (0.10.2)
5
5
  amatch (~> 0.4.1)
6
6
  gitlab (~> 4.19)
7
7
  httparty (~> 0.21.0)
@@ -193,7 +193,7 @@ module Dri
193
193
  def fetch_new_failures(project_id:, start_date:, end_date:, state:)
194
194
  gitlab.issues(
195
195
  project_id,
196
- labels: FAILURE_NEW,
196
+ labels: [FAILURE_NEW, QA].join(','),
197
197
  order_by: "created_at",
198
198
  sort: 'desc',
199
199
  state: state,
@@ -82,8 +82,8 @@ module Dri
82
82
  triaged_counter += 1
83
83
  end
84
84
 
85
- sorted_failures << { title: title, triaged: triaged, environment: envs.first, author: author, url: url,
86
- updated_at: updated_at }
85
+ sorted_failures << { title: title, triaged: triaged, environment: envs.first || 'none', author: author,
86
+ url: url, updated_at: updated_at }
87
87
  end
88
88
 
89
89
  sorted_failures.sort_by! { |failure| failure[@options[:sort_by]&.to_sym || :environment] }
@@ -18,9 +18,9 @@ module Dri
18
18
  FOUND = 'found:'
19
19
  FAILURE = 'failure::'
20
20
  FAILURE_NEW = "#{FAILURE}new"
21
+ QA = "QA"
21
22
  INCIDENT = 'Incident::'
22
23
  SERVICE = 'Service::'
23
- QA = 'QA'
24
24
  QUALITY = 'Quality'
25
25
  QUARANTINE = 'quarantine'
26
26
  end
data/lib/dri/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dri
4
- VERSION = "0.10.0"
4
+ VERSION = "0.10.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dri
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitLab Quality
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-31 00:00:00.000000000 Z
11
+ date: 2023-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: amatch