dependabot-maven 0.281.0 → 0.282.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dependabot/maven/version.rb +9 -4
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bf9f7686a3cbcde7aec78a885563f57ccd6065b335752a1aacd79af36725f83
|
4
|
+
data.tar.gz: a39c086f41077801e24376641a2786ec6f17b4c6fce488ae561847d4ec3bde92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c522dd5900cec227bb8349adf509f2b350d9cd1ee0b7f7d4ae1f7d5241205b3b975deeb410a8b16c33b6f6102c52543173bf0160ff902d53282a9d99a127890
|
7
|
+
data.tar.gz: 96928d15c8a3733c362ff3df19b4bca4ec6e155c2987e8a9badba477f87845db59fbfffcdbf3cb0a3fa1e9ae1fd5c4249210c0be87eda6a5e9667f4ca4b67ed1
|
@@ -65,6 +65,11 @@ module Dependabot
|
|
65
65
|
end
|
66
66
|
end
|
67
67
|
|
68
|
+
sig { returns(String) }
|
69
|
+
def lowest_prerelease_suffix
|
70
|
+
"a0"
|
71
|
+
end
|
72
|
+
|
68
73
|
sig { params(other: VersionParameter).returns(Integer) }
|
69
74
|
def <=>(other)
|
70
75
|
other = Dependabot::Maven::Version.new(other.to_s) unless other.is_a? Dependabot::Maven::Version
|
@@ -78,7 +83,7 @@ module Dependabot
|
|
78
83
|
|
79
84
|
version_parts = parts.fill("0", parts.length...2)
|
80
85
|
# the a0 is so we can get the next earliest prerelease patch version
|
81
|
-
upper_parts = version_parts.first(1) + [version_parts[1].to_i + 1] + [
|
86
|
+
upper_parts = version_parts.first(1) + [version_parts[1].to_i + 1] + [lowest_prerelease_suffix]
|
82
87
|
lower_bound = "> #{to_semver}"
|
83
88
|
upper_bound = "< #{upper_parts.join('.')}"
|
84
89
|
|
@@ -91,8 +96,8 @@ module Dependabot
|
|
91
96
|
return [] if parts.empty? # for non-semver versions
|
92
97
|
|
93
98
|
version_parts = parts.fill("0", parts.length...2)
|
94
|
-
lower_parts = version_parts.first(1) + [version_parts[1].to_i + 1] + [
|
95
|
-
upper_parts = version_parts.first(0) + [version_parts[0].to_i + 1] + [
|
99
|
+
lower_parts = version_parts.first(1) + [version_parts[1].to_i + 1] + [lowest_prerelease_suffix]
|
100
|
+
upper_parts = version_parts.first(0) + [version_parts[0].to_i + 1] + [lowest_prerelease_suffix]
|
96
101
|
lower_bound = ">= #{lower_parts.join('.')}"
|
97
102
|
upper_bound = "< #{upper_parts.join('.')}"
|
98
103
|
|
@@ -104,7 +109,7 @@ module Dependabot
|
|
104
109
|
version_parts = token_bucket.tokens # e.g [1,2,3] if version is 1.2.3-alpha3
|
105
110
|
return [] if version_parts.empty? # for non-semver versions
|
106
111
|
|
107
|
-
lower_parts = [version_parts[0].to_i + 1] + [
|
112
|
+
lower_parts = [version_parts[0].to_i + 1] + [lowest_prerelease_suffix] # earliest next major version prerelease
|
108
113
|
lower_bound = ">= #{lower_parts.join('.')}"
|
109
114
|
|
110
115
|
[lower_bound]
|
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.
|
4
|
+
version: 0.282.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-24 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.
|
19
|
+
version: 0.282.0
|
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.
|
26
|
+
version: 0.282.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: debug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,28 +114,28 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 1.
|
117
|
+
version: 1.67.0
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 1.
|
124
|
+
version: 1.67.0
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: rubocop-performance
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 1.
|
131
|
+
version: 1.22.1
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 1.
|
138
|
+
version: 1.22.1
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: rubocop-rspec
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -266,7 +266,7 @@ licenses:
|
|
266
266
|
- MIT
|
267
267
|
metadata:
|
268
268
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
269
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
269
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.282.0
|
270
270
|
post_install_message:
|
271
271
|
rdoc_options: []
|
272
272
|
require_paths:
|