dependabot-maven 0.169.3 → 0.169.7

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: 43295a7637163d2719dcdf314778b3e89421d1db8b31df4828690b945ee57da9
4
- data.tar.gz: 2e8ad71c58119af6f3ece95ee92f777116f174c0e11503c04734d74835118be9
3
+ metadata.gz: 9e3cd336403b73b3a9807b21d92d92c62bb5ef1877ad5400d6fb05deb734e523
4
+ data.tar.gz: cf1239e652edc27b8d4c13671b65131ac4e2de31f3ebb216c7dc2e9c59306e2e
5
5
  SHA512:
6
- metadata.gz: 4a05217d833f7de15e1143ea144a7654f58616173abad6dbb867e418aa358105527b19294eb0c085ed83dd5b7ea59b4069c03fb0bb9b33e6fbfc9dc6eeca7246
7
- data.tar.gz: 989df4dd17f1e7afff383238fa815f44ff3f0a938fd778d199fa4aaaec213716f33237c8de1a001eea6d45eaadf825bd789a0a2ae5c651573686c765a9a9dc7e
6
+ metadata.gz: 1c6f241b79d72fd2c075b0f8740e95d522f0ea5da06467a09bc0bb81969d0372ae8ee26752752a4a6341f5b8175fa55a41b6dce4379c0b2ce7b91119f83ee80e
7
+ data.tar.gz: 9d82096e3c38871e1bfe5234c67bbd1eae2324e2112dd4c4a0c1a56b46bac9ed38932b2fd40a3cb312e72ee8188339e5d0ad30eecee8c23cf09b908f2dc5bd7a
@@ -11,7 +11,7 @@ module Dependabot
11
11
  class DeclarationFinder
12
12
  DECLARATION_REGEX =
13
13
  %r{<parent>.*?</parent>|<dependency>.*?</dependency>|
14
- <plugin>.*?</plugin>|<extension>.*?</extension>}mx.freeze
14
+ <plugin>.*?(?:<plugin>.*?</plugin>.*)?</plugin>|<extension>.*?</extension>}mx.freeze
15
15
 
16
16
  attr_reader :dependency, :declaring_requirement, :dependency_files
17
17
 
@@ -81,13 +81,15 @@ module Dependabot
81
81
  lower_b =
82
82
  if ["(", "["].include?(lower_b) then nil
83
83
  elsif lower_b.start_with?("(") then "> #{lower_b.sub(/\(\s*/, '')}"
84
- else ">= #{lower_b.sub(/\[\s*/, '').strip}"
84
+ else
85
+ ">= #{lower_b.sub(/\[\s*/, '').strip}"
85
86
  end
86
87
 
87
88
  upper_b =
88
89
  if [")", "]"].include?(upper_b) then nil
89
90
  elsif upper_b.end_with?(")") then "< #{upper_b.sub(/\s*\)/, '')}"
90
- else "<= #{upper_b.sub(/\s*\]/, '').strip}"
91
+ else
92
+ "<= #{upper_b.sub(/\s*\]/, '').strip}"
91
93
  end
92
94
 
93
95
  [lower_b, upper_b].compact
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-maven
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.169.3
4
+ version: 0.169.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-02 00:00:00.000000000 Z
11
+ date: 2021-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dependabot-common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.169.3
19
+ version: 0.169.7
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.169.3
26
+ version: 0.169.7
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 1.18.0
103
+ version: 1.23.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 1.18.0
110
+ version: 1.23.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: simplecov
113
113
  requirement: !ruby/object:Gem::Requirement