dependabot-bundler 0.232.0 → 0.234.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/helpers/v1/lib/functions.rb +2 -2
- data/helpers/v2/lib/functions.rb +2 -2
- data/lib/dependabot/bundler/file_updater/ruby_requirement_setter.rb +1 -1
- data/lib/dependabot/bundler/update_checker/file_preparer.rb +1 -1
- data/lib/dependabot/bundler/update_checker/force_updater.rb +1 -1
- data/lib/dependabot/bundler/update_checker/latest_version_finder/dependency_source.rb +1 -1
- data/lib/dependabot/bundler/update_checker/version_resolver.rb +1 -1
- data/lib/dependabot/bundler/update_checker.rb +1 -1
- metadata +19 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d26201f1e3f35e54830b46511f495996de7578e79e4c155b37f8d4a276f59f5
|
4
|
+
data.tar.gz: 6ca680989cdc4422b39b546f6870c611e38b573b8b8a0b8b3773ddebef6a5a5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b868c617d8a9be3524f12223ce297fda451ea708917016889907faabfe25944b3a2b432ed7b08cfcbf577fab3f16d9c63eee709b81e959e99b9f5e816928ffd7
|
7
|
+
data.tar.gz: a1e6df8ec00521f7cb949551112292c12a008d978e09f9337516958325e82e746139ab21cb92fef6f65db493dbe1980937700c7070ae67e7fe12626da527886a
|
data/helpers/v1/lib/functions.rb
CHANGED
@@ -55,7 +55,7 @@ module Functions
|
|
55
55
|
).type
|
56
56
|
end
|
57
57
|
|
58
|
-
def self.
|
58
|
+
def self.dependency_source_latest_git_version(**args)
|
59
59
|
set_bundler_flags_and_credentials(dir: args.fetch(:dir), credentials: args.fetch(:credentials))
|
60
60
|
DependencySource.new(
|
61
61
|
gemfile_name: args.fetch(:gemfile_name),
|
@@ -93,7 +93,7 @@ module Functions
|
|
93
93
|
.send(:sources)
|
94
94
|
.rubygems_remotes
|
95
95
|
.find { |uri| uri.host.include?("jfrog") }
|
96
|
-
|
96
|
+
&.host
|
97
97
|
end
|
98
98
|
|
99
99
|
def self.git_specs(**args)
|
data/helpers/v2/lib/functions.rb
CHANGED
@@ -57,7 +57,7 @@ module Functions
|
|
57
57
|
).type
|
58
58
|
end
|
59
59
|
|
60
|
-
def self.
|
60
|
+
def self.dependency_source_latest_git_version(**args)
|
61
61
|
set_bundler_flags_and_credentials(dir: args.fetch(:dir), credentials: args.fetch(:credentials))
|
62
62
|
DependencySource.new(
|
63
63
|
gemfile_name: args.fetch(:gemfile_name),
|
@@ -95,7 +95,7 @@ module Functions
|
|
95
95
|
.send(:sources)
|
96
96
|
.rubygems_remotes
|
97
97
|
.find { |uri| uri.host.include?("jfrog") }
|
98
|
-
|
98
|
+
&.host
|
99
99
|
end
|
100
100
|
|
101
101
|
def self.git_specs(**args)
|
@@ -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.
|
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
|
16
16
|
).freeze
|
17
17
|
|
18
18
|
attr_reader :gemspec
|
@@ -216,7 +216,7 @@ module Dependabot
|
|
216
216
|
def updated_version_req_lower_bound(filename)
|
217
217
|
original_req = dependency.requirements
|
218
218
|
.find { |r| r.fetch(:file) == filename }
|
219
|
-
|
219
|
+
&.fetch(:requirement)
|
220
220
|
|
221
221
|
if original_req && !unlock_requirement? then original_req
|
222
222
|
elsif dependency.version&.match?(/^[0-9a-f]{40}$/) then ">= 0"
|
@@ -62,7 +62,7 @@ module Dependabot
|
|
62
62
|
in_a_native_bundler_context do |tmp_dir|
|
63
63
|
NativeHelpers.run_bundler_subprocess(
|
64
64
|
bundler_version: bundler_version,
|
65
|
-
function: "
|
65
|
+
function: "dependency_source_latest_git_version",
|
66
66
|
options: options,
|
67
67
|
args: {
|
68
68
|
dir: tmp_dir,
|
@@ -206,7 +206,7 @@ module Dependabot
|
|
206
206
|
ruby_requirement =
|
207
207
|
JSON.parse(versions.body)
|
208
208
|
.find { |version| version["number"] == details[:version] }
|
209
|
-
|
209
|
+
&.fetch("ruby_version", nil)
|
210
210
|
|
211
211
|
# Give the benefit of the doubt if we can't find the version's
|
212
212
|
# required Ruby version.
|
@@ -260,7 +260,7 @@ module Dependabot
|
|
260
260
|
return nil unless latest_version.is_a?(Gem::Version)
|
261
261
|
|
262
262
|
latest_resolvable_version_details(remove_git_source: true)
|
263
|
-
|
263
|
+
&.fetch(:version)
|
264
264
|
rescue Dependabot::DependencyFileNotResolvable
|
265
265
|
nil
|
266
266
|
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.
|
4
|
+
version: 0.234.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-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.
|
19
|
+
version: 0.234.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.234.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: debug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,20 +52,6 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '2.0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: parallel_tests
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 4.2.0
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 4.2.0
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: rake
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -164,6 +150,20 @@ dependencies:
|
|
164
150
|
- - "~>"
|
165
151
|
- !ruby/object:Gem::Version
|
166
152
|
version: 0.2.16
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: turbo_tests
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 2.2.0
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 2.2.0
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: vcr
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -282,7 +282,7 @@ licenses:
|
|
282
282
|
- Nonstandard
|
283
283
|
metadata:
|
284
284
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
285
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
285
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.234.0
|
286
286
|
post_install_message:
|
287
287
|
rdoc_options: []
|
288
288
|
require_paths:
|