dependabot-nuget 0.180.0 → 0.180.1

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: 7a780eaa66d7c13725db1a57ab973089fc503d5940f4eb2e32ed03efaaa31b7a
4
- data.tar.gz: 41b0a12b4f17aef0cf5f8501ee16e9a557a5913c8fbea52d4a1b6b3eaab318b0
3
+ metadata.gz: c566469b0898b87246fe3df11d95ba2d83ca57bd28806b093eec292fb35be814
4
+ data.tar.gz: 3e3ce92e250735f2086e88c9ca121aefaa6642d283314c8e1cf5664e4a814b88
5
5
  SHA512:
6
- metadata.gz: ed5950167c92acc5eec81a0724d4543598e440b3ddc94db697ca5ee9172846251553773fb29511ec3aa4d40681dbcd1cc64b80fe45b67b8f3000c66d5b6574f7
7
- data.tar.gz: 3db1fefd7f1fe58b5de4f88b46b682c382fb2b0167678ebb3de0a8509e9f0ce4fc1937595817ebd75956ae9470bdfc0081aa8d62d51b8ddd97592db5169e08e4
6
+ metadata.gz: c78fd1bcf9f820b8a81c5b47dc3c2c2bfc64e60d1d7c17705dcaac1e4f1c4e4f61af08e015c6dfbb076da6207ff75ce5dcf327ce4cfa7154d18e8e40bec323c3
7
+ data.tar.gz: da21fb5f86cdf87cb3768c84952007e0bfcfa0e4a2b57c84f00cd265d4e4b755f790db4a98803350c3bfe44fff710ef4c90802cea4e78084a53e0c6ae4b68558
@@ -76,7 +76,10 @@ module Dependabot
76
76
  split_prerelease_string = prerelease_string.split(".")
77
77
  other_split_prerelease_string = other_prerelease_string.split(".")
78
78
 
79
- split_prerelease_string.zip(other_split_prerelease_string).each do |lhs, rhs|
79
+ length = [split_prerelease_string.length, other_split_prerelease_string.length].max - 1
80
+ (0..length).to_a.each do |index|
81
+ lhs = split_prerelease_string[index]
82
+ rhs = other_split_prerelease_string[index]
80
83
  result = compare_dot_separated_part(lhs, rhs)
81
84
  return result unless result.zero?
82
85
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-nuget
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.180.0
4
+ version: 0.180.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-18 00:00:00.000000000 Z
11
+ date: 2022-03-23 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.180.0
19
+ version: 0.180.1
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.180.0
26
+ version: 0.180.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
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.23.0
103
+ version: 1.26.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.23.0
110
+ version: 1.26.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: simplecov
113
113
  requirement: !ruby/object:Gem::Requirement