dependabot-dotnet_sdk 0.289.0 → 0.290.0

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: f8795c84cdd56d0e004026a7cb75ad9c5d7e7c929a2d3cbbdec1690db0f9d40f
4
- data.tar.gz: c6d6b9137f99c7e2319c76622901c921f1c284a7f83fd3ee1ed88ede8d3f6f94
3
+ metadata.gz: 24715c6324bf1a3a027601963006c47cfc1457890c62c7c020962ceea8b5ad68
4
+ data.tar.gz: 7a0ab4302330d19491ed01cb3e810cbfe7bf26aa8ed2c5c6663f511c50b0eb60
5
5
  SHA512:
6
- metadata.gz: 803d8eb0fbe1505a549a28aab7ab9557c4364983c518bc01bb7b5f998db4ebf8564425e963bc831de98110802bea48f4de5d545e58962936c006953243b44113
7
- data.tar.gz: 823ccb64565c29328f18b575da97f2306c93620e7d9174e1a37fe8cf69906688d4537cbe11da2181add74cb888801fd97752169370a37be396d3b350037c3545
6
+ metadata.gz: 52ec9cf176547ac55a7790ffe68c4c60055339282ab7a371c5b50d319c38f8e4ec031d50c14a5c92914eaa5dbec4757943ec91f8e6f1ada3b2b0f167f947c02b
7
+ data.tar.gz: 75dc68b631203519f79e1aacad2aa7c6ca3335158e1793ecfa076c86eaff688117b321bc57b00992335b2e2d547ad16276c85d746a9944ffe42b30b05ad3afbe
@@ -16,6 +16,17 @@ module Dependabot
16
16
  def self.requirements_array(requirement_string)
17
17
  [new(requirement_string)]
18
18
  end
19
+
20
+ # Patches Gem::Requirement to make it accept requirement strings like
21
+ # "~> 4.2.5, >= 4.2.5.1" without first needing to split them.
22
+ sig { params(requirements: T.nilable(String)).void }
23
+ def initialize(*requirements)
24
+ requirements = requirements.flatten.flat_map do |req_string|
25
+ req_string&.split(",")&.map(&:strip)
26
+ end.compact
27
+
28
+ super(requirements)
29
+ end
19
30
  end
20
31
  end
21
32
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-dotnet_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.289.0
4
+ version: 0.290.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-05 00:00:00.000000000 Z
11
+ date: 2024-12-12 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.289.0
19
+ version: 0.290.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.289.0
26
+ version: 0.290.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -255,8 +255,8 @@ licenses:
255
255
  - MIT
256
256
  metadata:
257
257
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
258
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.289.0
259
- post_install_message:
258
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.290.0
259
+ post_install_message:
260
260
  rdoc_options: []
261
261
  require_paths:
262
262
  - lib
@@ -272,7 +272,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
272
272
  version: 3.1.0
273
273
  requirements: []
274
274
  rubygems_version: 3.5.9
275
- signing_key:
275
+ signing_key:
276
276
  specification_version: 4
277
277
  summary: Provides Dependabot support for .NET SDK
278
278
  test_files: []