dependabot-maven 0.139.0 → 0.140.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: c0621b3ac50e3d1a8b20dc7322b59855aaf0abc2fb2913bf54ad09cd28d7b1f2
4
- data.tar.gz: 862f948051d1603e391a58522756971188929d0c6363c7c94ae8f451ccad9ace
3
+ metadata.gz: 38c0a13273bedc0b6e9249ba0bb3bb442f127b0995412f379059d13a35e88bd5
4
+ data.tar.gz: 9231b68540b29bee905a8b65d6a572710ec4440bdf5aa37dc05e2f63618cfd15
5
5
  SHA512:
6
- metadata.gz: dfbf2a9ec1c175bf91894c7417f38e1f768c94c2b7a7ef64793e6450b7b2057b0fbeebd9d344539b242ed59f8f2dff5f472090af398be23f754302f2f4c567a1
7
- data.tar.gz: 928f0c45420bf2dd82c689e172f38ffe05561a134d6ac5f5b0e0a0261bcfffeabc61bb730ef7074a9973643439d8bf7a9c31893c0082a85a9eeed95ffbce8099
6
+ metadata.gz: b0782ac3940e12bdfb061c4e7e9fe4efb686359118fc8c2c8b32649b2f0f5933afd48ddf0247f4c5cde76ebf18158a1c937ca8ded5a7d70e10c16a6f040e25bf
7
+ data.tar.gz: 332bcb67d4d79d3d3626fd7fe1746e9e119cb6a7eb01a86198712511f71b3fd9f56a7c020e3b98a697f0d2234fb3d36edec0c1ea9a6b91e15477adb55e91e991
@@ -175,8 +175,11 @@ module Dependabot
175
175
 
176
176
  return 1 if NAMED_QUALIFIERS_HIERARCHY[other_token]
177
177
 
178
- token = token.to_i if token.match?(/^\d+$/)
179
- other_token = other_token.to_i if other_token.match?(/^\d+$/)
178
+ if token.match?(/\A\d+\z/) && other_token.match?(/\A\d+\z/)
179
+ token = token.to_i
180
+ other_token = other_token.to_i
181
+ end
182
+
180
183
  token <=> other_token
181
184
  end
182
185
  end
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.139.0
4
+ version: 0.140.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-30 00:00:00.000000000 Z
11
+ date: 2021-04-08 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.139.0
19
+ version: 0.140.2
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.139.0
26
+ version: 0.140.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement