dependabot-bundler 0.291.0 → 0.292.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: f2ed6bdb6fde572ae1800dd0fb3630aa59c3ca038bcd652225f026e369da07bc
4
- data.tar.gz: 9d5f602943e6e597221ff13e8453fd622c424caa0f08fe42459575a7af591960
3
+ metadata.gz: f70e4f844c39cf5ceb31f08f8b89ab0e9016a5c5cc3fb6a2a00c32cfaefcf215
4
+ data.tar.gz: f0a4e9b166d75b58cf4c43d437564dd031791a38480901b76e3a29f95ccab6d0
5
5
  SHA512:
6
- metadata.gz: 122aed5ada72ea686bb64606a1d2ad71764823d3356c529a2327da412b92ccf71881f8162b343a8089bcfdc8329b91e272b69f4b058b6e18fb16499be4eb21be
7
- data.tar.gz: 234bf836683157f98c867f38cf23410ee9e1a220750197bcb75c543bf5e79957e484dd21abe7f1558c5bb014f9a71724b4bf41c0804c9eb633e58b447a2849e3
6
+ metadata.gz: 4819898bf85d5ba1e082910f1d73af12afde17175a851a2f380699427f7e1afe04b5c69480e1487011a6f2021d316f169e20cbd9122d935fd51d067cc00a3b56
7
+ data.tar.gz: 3a09cd58020bfe7bf75aefa5c0f31be81b23666b0535d04ec623f35de008782fbf2fd286c736cc053686ae2d1ebd8ad7ef0834a5704b0da1717fef485553e9a0
@@ -26,7 +26,7 @@ module BundlerDefinitionRubyVersionPatch
26
26
  Gem::Specification.new("Ruby\0", requested_version)
27
27
  end
28
28
 
29
- %w(2.5.3 2.6.10 2.7.8 3.0.7 3.1.5 3.2.4).each do |version|
29
+ %w(2.5.3 2.6.10 2.7.8 3.0.7 3.1.6 3.2.4).each do |version|
30
30
  sources.metadata_source.specs << Gem::Specification.new("Ruby\0", version)
31
31
  end
32
32
 
@@ -50,7 +50,11 @@ module Dependabot
50
50
 
51
51
  sig { returns(Ecosystem::VersionManager) }
52
52
  def package_manager
53
- @package_manager ||= PackageManager.new(bundler_raw_version, package_manager_requirement)
53
+ @package_manager ||= PackageManager.new(
54
+ detected_version: bundler_version,
55
+ raw_version: bundler_raw_version,
56
+ requirement: package_manager_requirement
57
+ )
54
58
  end
55
59
 
56
60
  def package_manager_requirement
@@ -355,7 +359,9 @@ module Dependabot
355
359
  def bundler_raw_version
356
360
  return bundler_raw_version if defined?(@bundler_raw_version)
357
361
 
358
- package_manager = PackageManager.new(bundler_version)
362
+ package_manager = PackageManager.new(
363
+ detected_version: bundler_version
364
+ )
359
365
 
360
366
  # If the selected version is unsupported, an unsupported error will be raised,
361
367
  # so there’s no need to attempt retrieving the raw version.
@@ -12,7 +12,7 @@ module Dependabot
12
12
  class RubyVersionNotFound < StandardError; end
13
13
 
14
14
  RUBY_VERSIONS = %w(
15
- 1.8.7 1.9.3 2.0.0 2.1.10 2.2.10 2.3.8 2.4.10 2.5.9 2.6.9 2.7.6 3.0.6 3.1.4 3.2.2 3.3.3
15
+ 1.8.7 1.9.3 2.0.0 2.1.10 2.2.10 2.3.8 2.4.10 2.5.9 2.6.9 2.7.6 3.0.6 3.1.6 3.2.4 3.3.6
16
16
  ).freeze
17
17
 
18
18
  attr_reader :gemspec
@@ -14,7 +14,10 @@ module Dependabot
14
14
 
15
15
  sig { params(raw_version: String, requirement: T.nilable(Requirement)).void }
16
16
  def initialize(raw_version, requirement = nil)
17
- super(LANGUAGE, Version.new(raw_version), [], [], requirement)
17
+ super(
18
+ name: LANGUAGE,
19
+ version: Version.new(raw_version),
20
+ requirement: requirement)
18
21
  end
19
22
  end
20
23
  end
@@ -25,17 +25,19 @@ module Dependabot
25
25
 
26
26
  sig do
27
27
  params(
28
- raw_version: String,
28
+ detected_version: String,
29
+ raw_version: T.nilable(String),
29
30
  requirement: T.nilable(Requirement)
30
31
  ).void
31
32
  end
32
- def initialize(raw_version, requirement = nil)
33
+ def initialize(detected_version:, raw_version: nil, requirement: nil)
33
34
  super(
34
- PACKAGE_MANAGER,
35
- Version.new(raw_version),
36
- DEPRECATED_BUNDLER_VERSIONS,
37
- SUPPORTED_BUNDLER_VERSIONS,
38
- requirement,
35
+ name: PACKAGE_MANAGER,
36
+ detected_version: Version.new(detected_version),
37
+ version: raw_version ? Version.new(raw_version) : nil,
38
+ deprecated_versions: DEPRECATED_BUNDLER_VERSIONS,
39
+ supported_versions: SUPPORTED_BUNDLER_VERSIONS,
40
+ requirement: requirement,
39
41
  )
40
42
  end
41
43
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-bundler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.291.0
4
+ version: 0.292.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-12-19 00:00:00.000000000 Z
11
+ date: 2025-01-09 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.291.0
19
+ version: 0.292.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.291.0
26
+ version: 0.292.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: parallel
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -322,7 +322,7 @@ licenses:
322
322
  - MIT
323
323
  metadata:
324
324
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
325
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.291.0
325
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.292.0
326
326
  post_install_message:
327
327
  rdoc_options: []
328
328
  require_paths:
@@ -338,7 +338,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
338
338
  - !ruby/object:Gem::Version
339
339
  version: 3.1.0
340
340
  requirements: []
341
- rubygems_version: 3.5.9
341
+ rubygems_version: 3.5.22
342
342
  signing_key:
343
343
  specification_version: 4
344
344
  summary: Provides Dependabot support for Ruby (bundler)