dependabot-bundler 0.251.0 → 0.253.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: ba73dba0b4c1818a3974d48de55ed45907c6313b7a7d93a7e7f438af22cf20ac
4
- data.tar.gz: 38594d1b08adc8b5e65c1b7716a762c28acd36af9bacde2c38dd88f507407ae7
3
+ metadata.gz: 8308752a979115637d445363c2d8260f39f8322817bb90b8e176e45001e0f127
4
+ data.tar.gz: cb8e40cc5445beddac8b30a1ae689be7d1da12cfe729840fd632d21dd8111028
5
5
  SHA512:
6
- metadata.gz: e5a26067edfaaaec12e58558f015f0632f2c17a9c929ed2e9714e3767f425cbb6cd441322ee4b4128a245b54b66ec15a405d3338cae9668a8232ef5564c6a53a
7
- data.tar.gz: d56e1a245336c959b9c09c89890efde80cadf9ffd851266fa8be959330d89646894ce00c8c8a93b5e579762ad2d26972292669acb79e41861fac29fcbeaa4ec2
6
+ metadata.gz: 6bf5d34f12beb56c184bc27c61585289fa8554d7558565b1eb4f6688579cfd146f3d0c7f9573fcea5795de8d78517f521c8e90ae0d9e04b29b766350dd800833
7
+ data.tar.gz: 3836d4c3cf47d235c8637768ad202f5c20ec55665d0ac46717d3ea8b358e17e4fa42c2f6c2b7955de6a16d535d08c007abb9aeec19bb51de306defc5429977cd
@@ -75,7 +75,9 @@ module Dependabot
75
75
  dependencies
76
76
  end
77
77
 
78
- def gemspec_dependencies
78
+ def gemspec_dependencies # rubocop:disable Metrics/PerceivedComplexity
79
+ return @gemspec_dependencies if defined?(@gemspec_dependencies)
80
+
79
81
  queue = Queue.new
80
82
 
81
83
  SharedHelpers.in_a_temporary_repo_directory(base_directory, repo_contents_path) do
@@ -108,7 +110,7 @@ module Dependabot
108
110
 
109
111
  dependency_set = DependencySet.new
110
112
  dependency_set << queue.pop(true) while queue.size.positive?
111
- dependency_set
113
+ @gemspec_dependencies ||= dependency_set
112
114
  end
113
115
 
114
116
  def lockfile_dependencies
@@ -30,9 +30,9 @@ module Dependabot
30
30
  return "unknown" unless lockfile
31
31
 
32
32
  if (matches = lockfile.content.match(BUNDLER_MAJOR_VERSION_REGEX))
33
- matches[:version]
33
+ matches[:version].to_i.to_s
34
34
  else
35
- "1"
35
+ "unspecified"
36
36
  end
37
37
  end
38
38
  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.251.0
4
+ version: 0.253.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-04-05 00:00:00.000000000 Z
11
+ date: 2024-04-18 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.251.0
19
+ version: 0.253.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.251.0
26
+ version: 0.253.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: parallel
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -178,20 +178,6 @@ dependencies:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
180
  version: 0.7.3
181
- - !ruby/object:Gem::Dependency
182
- name: stackprof
183
- requirement: !ruby/object:Gem::Requirement
184
- requirements:
185
- - - "~>"
186
- - !ruby/object:Gem::Version
187
- version: 0.2.16
188
- type: :development
189
- prerelease: false
190
- version_requirements: !ruby/object:Gem::Requirement
191
- requirements:
192
- - - "~>"
193
- - !ruby/object:Gem::Version
194
- version: 0.2.16
195
181
  - !ruby/object:Gem::Dependency
196
182
  name: turbo_tests
197
183
  requirement: !ruby/object:Gem::Requirement
@@ -342,7 +328,7 @@ licenses:
342
328
  - Nonstandard
343
329
  metadata:
344
330
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
345
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.251.0
331
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.253.0
346
332
  post_install_message:
347
333
  rdoc_options: []
348
334
  require_paths: