dependabot-nuget 0.180.0 → 0.180.3

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: c97787fe1e32f572dfcd5e8b9f06a1e2b6cca450eee714b7d363d6c7ae50fb05
4
+ data.tar.gz: 54c2efb5a363376047012c51b24be78d86f1f46b8c7d34bb5e1c7cb24b0c124c
5
5
  SHA512:
6
- metadata.gz: ed5950167c92acc5eec81a0724d4543598e440b3ddc94db697ca5ee9172846251553773fb29511ec3aa4d40681dbcd1cc64b80fe45b67b8f3000c66d5b6574f7
7
- data.tar.gz: 3db1fefd7f1fe58b5de4f88b46b682c382fb2b0167678ebb3de0a8509e9f0ce4fc1937595817ebd75956ae9470bdfc0081aa8d62d51b8ddd97592db5169e08e4
6
+ metadata.gz: d04c15a7c05471ad7f1f0b3bef38702201685e5abc1e883d339da6394f7e829af36ce8f2c3a797841bffa553e6929d8cc4d1fd314f6224e110628a188b7540c3
7
+ data.tar.gz: 13272d428855dcf94e0c6351215d3f1eb53255ccd88bd4dc48a8281b19fc065a282457eb3b5f22f1e9d77eef4c8033eeba23e34e75c6fdf5b850815c8502d960
@@ -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.3
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-04-04 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.3
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.3
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