dependabot-common 0.118.5 → 0.118.6

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: a6f61e2bbd9d3064a50b6ca908f2f251e5a67ff1ecc7430697d6bf8216c97ecf
4
- data.tar.gz: 0fe6d7c7a4fbcc20ed5e0e4940a18284a6f4f8ed9871f0eaaf6e205535702421
3
+ metadata.gz: 70cb431e0b24eaf5333f1a868234fff74026c1d2100d602ace8930b3fcdab8d6
4
+ data.tar.gz: 571102655827a49ee3bb5aabab49ddd13d48568652134c871eb996db1291fcb7
5
5
  SHA512:
6
- metadata.gz: 76911b025d47ca297fee442f64c253b2678f02eca39cad85aea38df78697edc1f975fe5a8829166f0c7c5e53d3cee9252ad87a32aaf73a80759aef6b394c5a84
7
- data.tar.gz: 1232cf6994b1823a0937b6f26744c3c4b857fbd9cda04f0980b82124ad92d54715592e2ae07856909edc3928e0b1ef8b6b2afe2316043d9805b4b42f99a27dd2
6
+ metadata.gz: efc89ed94109360cc5b3ecd85ff04a091a759385431d5201d9f8d8e5b07f4cd089b0c923e98786044a3e77d917628b7cd1557ca571e27b2849ebc04c3edce158
7
+ data.tar.gz: 88683da344b4ef6fe8e1c54bfeb715151e77ea607ca5e8d9e72b8a9909d76ef9db7b35890aa31e412f666c4a60a4ea932c00579e41b02ba3fd804487aa624114
@@ -191,8 +191,10 @@ module Dependabot
191
191
  !security_label.nil?
192
192
  end
193
193
 
194
+ # Find the exact match first and then fallback to * security* label
194
195
  def security_label
195
- labels.find { |l| l.match?(/security/i) }
196
+ labels.find { |l| l == DEFAULT_SECURITY_LABEL } ||
197
+ labels.find { |l| l.match?(/security/i) }
196
198
  end
197
199
 
198
200
  def label_update_type?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dependabot
4
- VERSION = "0.118.5"
4
+ VERSION = "0.118.6"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-common
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.118.5
4
+ version: 0.118.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-24 00:00:00.000000000 Z
11
+ date: 2020-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-codecommit