dependabot-bundler 0.257.0 → 0.258.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/helpers/v1/spec/functions/conflicting_dependency_resolver_spec.rb +2 -2
- data/helpers/v1/spec/functions/dependency_source_spec.rb +7 -7
- data/helpers/v1/spec/functions/file_parser_spec.rb +1 -1
- data/helpers/v1/spec/functions/force_updater_spec.rb +2 -2
- data/helpers/v1/spec/functions/version_resolver_spec.rb +3 -3
- data/helpers/v1/spec/shared_contexts.rb +2 -2
- data/helpers/v2/spec/functions/conflicting_dependency_resolver_spec.rb +2 -2
- data/helpers/v2/spec/functions/dependency_source_spec.rb +7 -7
- data/helpers/v2/spec/functions/file_parser_spec.rb +1 -1
- data/helpers/v2/spec/functions/force_updater_spec.rb +2 -2
- data/helpers/v2/spec/functions/version_resolver_spec.rb +3 -3
- data/helpers/v2/spec/functions_spec.rb +1 -1
- data/helpers/v2/spec/ruby_version_spec.rb +2 -2
- data/helpers/v2/spec/shared_contexts.rb +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c05e36a108ee23327e96a2d23aa12c70539d40817036e5f06d173145a7bcca22
|
|
4
|
+
data.tar.gz: a71ba498133687bec52f73cfa49047526026bbfe9dbe6d1c91b5180613c19c90
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 319e8308114b8d774ce11e62d85c1937e71d7f6090f0c53d01af71df2d555cbdd297a0bf02e7da8d26b2a32ca8e696fac79077882d6c7eeb20e822e34d543402
|
|
7
|
+
data.tar.gz: c60531c805a0624d8c24a105d91abfc5724482ba1f904bd5f5ea2d428d788bac09204e868daba3896ce67c55221b5319b712341ee1d07bf2555a6427a9d5b26c
|
|
@@ -5,7 +5,7 @@ require "native_spec_helper"
|
|
|
5
5
|
require "shared_contexts"
|
|
6
6
|
|
|
7
7
|
RSpec.describe Functions::ConflictingDependencyResolver do
|
|
8
|
-
include_context "in a temporary bundler directory"
|
|
8
|
+
include_context "when in a temporary bundler directory"
|
|
9
9
|
|
|
10
10
|
let(:conflicting_dependency_resolver) do
|
|
11
11
|
described_class.new(
|
|
@@ -36,7 +36,7 @@ RSpec.describe Functions::ConflictingDependencyResolver do
|
|
|
36
36
|
)
|
|
37
37
|
end
|
|
38
38
|
|
|
39
|
-
context "
|
|
39
|
+
context "with nested transitive dependencies" do
|
|
40
40
|
let(:project_name) { "transitive_blocking" }
|
|
41
41
|
let(:dependency_name) { "activesupport" }
|
|
42
42
|
let(:target_version) { "6.0.0" }
|
|
@@ -5,7 +5,7 @@ require "native_spec_helper"
|
|
|
5
5
|
require "shared_contexts"
|
|
6
6
|
|
|
7
7
|
RSpec.describe Functions::DependencySource do
|
|
8
|
-
include_context "in a temporary bundler directory"
|
|
8
|
+
include_context "when in a temporary bundler directory"
|
|
9
9
|
|
|
10
10
|
let(:dependency_source) do
|
|
11
11
|
described_class.new(
|
|
@@ -47,7 +47,7 @@ RSpec.describe Functions::DependencySource do
|
|
|
47
47
|
])
|
|
48
48
|
end
|
|
49
49
|
|
|
50
|
-
context "specified as the default source" do
|
|
50
|
+
context "with specified as the default source" do
|
|
51
51
|
let(:project_name) { "specified_default_source_no_lockfile" }
|
|
52
52
|
|
|
53
53
|
it "returns all versions from the private source" do
|
|
@@ -59,7 +59,7 @@ RSpec.describe Functions::DependencySource do
|
|
|
59
59
|
end
|
|
60
60
|
end
|
|
61
61
|
|
|
62
|
-
context "that we don't have authentication details for" do
|
|
62
|
+
context "when that we don't have authentication details for" do
|
|
63
63
|
before do
|
|
64
64
|
stub_request(:get, registry_url + "versions")
|
|
65
65
|
.with(basic_auth: ["SECRET_CODES", ""])
|
|
@@ -83,7 +83,7 @@ RSpec.describe Functions::DependencySource do
|
|
|
83
83
|
end
|
|
84
84
|
end
|
|
85
85
|
|
|
86
|
-
context "that we have bad authentication details for" do
|
|
86
|
+
context "when that we have bad authentication details for" do
|
|
87
87
|
before do
|
|
88
88
|
stub_request(:get, registry_url + "versions")
|
|
89
89
|
.with(basic_auth: ["SECRET_CODES", ""])
|
|
@@ -107,7 +107,7 @@ RSpec.describe Functions::DependencySource do
|
|
|
107
107
|
end
|
|
108
108
|
end
|
|
109
109
|
|
|
110
|
-
context "that bad-requested, but was a private repo" do
|
|
110
|
+
context "when that bad-requested, but was a private repo" do
|
|
111
111
|
before do
|
|
112
112
|
stub_request(:get, registry_url + "versions")
|
|
113
113
|
.with(basic_auth: ["SECRET_CODES", ""])
|
|
@@ -130,7 +130,7 @@ RSpec.describe Functions::DependencySource do
|
|
|
130
130
|
end
|
|
131
131
|
end
|
|
132
132
|
|
|
133
|
-
context "that doesn't have details of the gem" do
|
|
133
|
+
context "when that doesn't have details of the gem" do
|
|
134
134
|
before do
|
|
135
135
|
stub_request(:get, gemfury_business_url)
|
|
136
136
|
.with(basic_auth: ["SECRET_CODES", ""])
|
|
@@ -152,7 +152,7 @@ RSpec.describe Functions::DependencySource do
|
|
|
152
152
|
it { is_expected.to be_empty }
|
|
153
153
|
end
|
|
154
154
|
|
|
155
|
-
context "that only implements the old Bundler index format..." do
|
|
155
|
+
context "when that only implements the old Bundler index format..." do
|
|
156
156
|
let(:project_name) { "sidekiq_pro" }
|
|
157
157
|
let(:dependency_name) { "sidekiq-pro" }
|
|
158
158
|
let(:registry_url) { "https://gems.contribsys.com/" }
|
|
@@ -5,7 +5,7 @@ require "native_spec_helper"
|
|
|
5
5
|
require "shared_contexts"
|
|
6
6
|
|
|
7
7
|
RSpec.describe Functions::FileParser do
|
|
8
|
-
include_context "in a temporary bundler directory"
|
|
8
|
+
include_context "when in a temporary bundler directory"
|
|
9
9
|
|
|
10
10
|
let(:dependency_source) do
|
|
11
11
|
described_class.new(
|
|
@@ -5,8 +5,8 @@ require "native_spec_helper"
|
|
|
5
5
|
require "shared_contexts"
|
|
6
6
|
|
|
7
7
|
RSpec.describe Functions::ForceUpdater do
|
|
8
|
-
include_context "in a temporary bundler directory"
|
|
9
|
-
include_context "stub rubygems compact index"
|
|
8
|
+
include_context "when in a temporary bundler directory"
|
|
9
|
+
include_context "when stub rubygems compact index"
|
|
10
10
|
|
|
11
11
|
let(:force_updater) do
|
|
12
12
|
described_class.new(
|
|
@@ -5,8 +5,8 @@ require "native_spec_helper"
|
|
|
5
5
|
require "shared_contexts"
|
|
6
6
|
|
|
7
7
|
RSpec.describe Functions::VersionResolver do
|
|
8
|
-
include_context "in a temporary bundler directory"
|
|
9
|
-
include_context "stub rubygems compact index"
|
|
8
|
+
include_context "when in a temporary bundler directory"
|
|
9
|
+
include_context "when stub rubygems compact index"
|
|
10
10
|
|
|
11
11
|
let(:version_resolver) do
|
|
12
12
|
described_class.new(
|
|
@@ -43,7 +43,7 @@ RSpec.describe Functions::VersionResolver do
|
|
|
43
43
|
its([:fetcher]) { is_expected.to eq("Bundler::Fetcher::CompactIndex") }
|
|
44
44
|
|
|
45
45
|
context "with a private gemserver source" do
|
|
46
|
-
include_context "stub rubygems compact index"
|
|
46
|
+
include_context "when stub rubygems compact index"
|
|
47
47
|
|
|
48
48
|
let(:project_name) { "specified_source" }
|
|
49
49
|
let(:requirement_string) { ">= 0" }
|
|
@@ -6,7 +6,7 @@ require "bundler/compact_index_client/updater"
|
|
|
6
6
|
|
|
7
7
|
TMP_DIR_PATH = File.expand_path("../tmp", __dir__)
|
|
8
8
|
|
|
9
|
-
RSpec.shared_context "in a temporary bundler directory" do
|
|
9
|
+
RSpec.shared_context "when in a temporary bundler directory" do
|
|
10
10
|
let(:project_name) { "gemfile" }
|
|
11
11
|
|
|
12
12
|
let(:tmp_path) do
|
|
@@ -34,7 +34,7 @@ RSpec.shared_context "without caching rubygems" do
|
|
|
34
34
|
end
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
-
RSpec.shared_context "stub rubygems compact index" do
|
|
37
|
+
RSpec.shared_context "when stub rubygems compact index" do
|
|
38
38
|
include_context "without caching rubygems"
|
|
39
39
|
|
|
40
40
|
before do
|
|
@@ -5,7 +5,7 @@ require "native_spec_helper"
|
|
|
5
5
|
require "shared_contexts"
|
|
6
6
|
|
|
7
7
|
RSpec.describe Functions::ConflictingDependencyResolver do
|
|
8
|
-
include_context "in a temporary bundler directory"
|
|
8
|
+
include_context "when in a temporary bundler directory"
|
|
9
9
|
|
|
10
10
|
let(:conflicting_dependency_resolver) do
|
|
11
11
|
described_class.new(
|
|
@@ -36,7 +36,7 @@ RSpec.describe Functions::ConflictingDependencyResolver do
|
|
|
36
36
|
)
|
|
37
37
|
end
|
|
38
38
|
|
|
39
|
-
context "
|
|
39
|
+
context "with nested transitive dependencies" do
|
|
40
40
|
let(:project_name) { "transitive_blocking" }
|
|
41
41
|
let(:dependency_name) { "activesupport" }
|
|
42
42
|
let(:target_version) { "6.0.0" }
|
|
@@ -5,7 +5,7 @@ require "native_spec_helper"
|
|
|
5
5
|
require "shared_contexts"
|
|
6
6
|
|
|
7
7
|
RSpec.describe Functions::DependencySource do
|
|
8
|
-
include_context "in a temporary bundler directory"
|
|
8
|
+
include_context "when in a temporary bundler directory"
|
|
9
9
|
|
|
10
10
|
let(:dependency_source) do
|
|
11
11
|
described_class.new(
|
|
@@ -47,7 +47,7 @@ RSpec.describe Functions::DependencySource do
|
|
|
47
47
|
])
|
|
48
48
|
end
|
|
49
49
|
|
|
50
|
-
context "specified as the default source" do
|
|
50
|
+
context "with specified as the default source" do
|
|
51
51
|
let(:project_name) { "specified_default_source_no_lockfile" }
|
|
52
52
|
|
|
53
53
|
it "returns all versions from the private source" do
|
|
@@ -59,7 +59,7 @@ RSpec.describe Functions::DependencySource do
|
|
|
59
59
|
end
|
|
60
60
|
end
|
|
61
61
|
|
|
62
|
-
context "that we don't have authentication details for" do
|
|
62
|
+
context "when that we don't have authentication details for" do
|
|
63
63
|
before do
|
|
64
64
|
stub_request(:get, registry_url + "versions")
|
|
65
65
|
.with(basic_auth: ["SECRET_CODES", ""])
|
|
@@ -82,7 +82,7 @@ RSpec.describe Functions::DependencySource do
|
|
|
82
82
|
end
|
|
83
83
|
end
|
|
84
84
|
|
|
85
|
-
context "that we have bad authentication details for" do
|
|
85
|
+
context "when that we have bad authentication details for" do
|
|
86
86
|
before do
|
|
87
87
|
stub_request(:get, registry_url + "versions")
|
|
88
88
|
.with(basic_auth: ["SECRET_CODES", ""])
|
|
@@ -105,7 +105,7 @@ RSpec.describe Functions::DependencySource do
|
|
|
105
105
|
end
|
|
106
106
|
end
|
|
107
107
|
|
|
108
|
-
context "that bad-requested, but was a private repo" do
|
|
108
|
+
context "when that bad-requested, but was a private repo" do
|
|
109
109
|
before do
|
|
110
110
|
stub_request(:get, registry_url + "versions")
|
|
111
111
|
.with(basic_auth: ["SECRET_CODES", ""])
|
|
@@ -131,7 +131,7 @@ RSpec.describe Functions::DependencySource do
|
|
|
131
131
|
end
|
|
132
132
|
end
|
|
133
133
|
|
|
134
|
-
context "that doesn't have details of the gem" do
|
|
134
|
+
context "when that doesn't have details of the gem" do
|
|
135
135
|
before do
|
|
136
136
|
stub_request(:get, gemfury_business_url)
|
|
137
137
|
.with(basic_auth: ["SECRET_CODES", ""])
|
|
@@ -153,7 +153,7 @@ RSpec.describe Functions::DependencySource do
|
|
|
153
153
|
it { is_expected.to be_empty }
|
|
154
154
|
end
|
|
155
155
|
|
|
156
|
-
context "that only implements the old Bundler index format..." do
|
|
156
|
+
context "when that only implements the old Bundler index format..." do
|
|
157
157
|
let(:project_name) { "sidekiq_pro" }
|
|
158
158
|
let(:dependency_name) { "sidekiq-pro" }
|
|
159
159
|
let(:registry_url) { "https://gems.contribsys.com/" }
|
|
@@ -5,7 +5,7 @@ require "native_spec_helper"
|
|
|
5
5
|
require "shared_contexts"
|
|
6
6
|
|
|
7
7
|
RSpec.describe Functions::FileParser do
|
|
8
|
-
include_context "in a temporary bundler directory"
|
|
8
|
+
include_context "when in a temporary bundler directory"
|
|
9
9
|
|
|
10
10
|
let(:dependency_source) do
|
|
11
11
|
described_class.new(
|
|
@@ -5,8 +5,8 @@ require "native_spec_helper"
|
|
|
5
5
|
require "shared_contexts"
|
|
6
6
|
|
|
7
7
|
RSpec.describe Functions::ForceUpdater do
|
|
8
|
-
include_context "in a temporary bundler directory"
|
|
9
|
-
include_context "stub rubygems compact index"
|
|
8
|
+
include_context "when in a temporary bundler directory"
|
|
9
|
+
include_context "when stub rubygems compact index"
|
|
10
10
|
|
|
11
11
|
let(:force_updater) do
|
|
12
12
|
described_class.new(
|
|
@@ -5,8 +5,8 @@ require "native_spec_helper"
|
|
|
5
5
|
require "shared_contexts"
|
|
6
6
|
|
|
7
7
|
RSpec.describe Functions::VersionResolver do
|
|
8
|
-
include_context "in a temporary bundler directory"
|
|
9
|
-
include_context "stub rubygems compact index"
|
|
8
|
+
include_context "when in a temporary bundler directory"
|
|
9
|
+
include_context "when stub rubygems compact index"
|
|
10
10
|
|
|
11
11
|
let(:version_resolver) do
|
|
12
12
|
described_class.new(
|
|
@@ -52,7 +52,7 @@ RSpec.describe Functions::VersionResolver do
|
|
|
52
52
|
its([:fetcher]) { is_expected.to eq("Bundler::Fetcher::CompactIndex") }
|
|
53
53
|
|
|
54
54
|
context "with a private gemserver source" do
|
|
55
|
-
include_context "stub rubygems compact index"
|
|
55
|
+
include_context "when stub rubygems compact index"
|
|
56
56
|
|
|
57
57
|
let(:project_name) { "specified_source" }
|
|
58
58
|
let(:requirement_string) { ">= 0" }
|
|
@@ -5,7 +5,7 @@ require "native_spec_helper"
|
|
|
5
5
|
require "shared_contexts"
|
|
6
6
|
|
|
7
7
|
RSpec.describe Functions do
|
|
8
|
-
include_context "in a temporary bundler directory"
|
|
8
|
+
include_context "when in a temporary bundler directory"
|
|
9
9
|
|
|
10
10
|
describe "#jfrog_source" do
|
|
11
11
|
let(:project_name) { "jfrog_source" }
|
|
@@ -5,8 +5,8 @@ require "native_spec_helper"
|
|
|
5
5
|
require "shared_contexts"
|
|
6
6
|
|
|
7
7
|
RSpec.describe BundlerDefinitionRubyVersionPatch do
|
|
8
|
-
include_context "in a temporary bundler directory"
|
|
9
|
-
include_context "stub rubygems compact index"
|
|
8
|
+
include_context "when in a temporary bundler directory"
|
|
9
|
+
include_context "when stub rubygems compact index"
|
|
10
10
|
|
|
11
11
|
let(:project_name) { "ruby_version_implied" }
|
|
12
12
|
before do
|
|
@@ -7,7 +7,7 @@ require "bundler/compact_index_client/updater"
|
|
|
7
7
|
|
|
8
8
|
TMP_DIR_PATH = File.expand_path("../tmp", __dir__)
|
|
9
9
|
|
|
10
|
-
RSpec.shared_context "in a temporary bundler directory" do
|
|
10
|
+
RSpec.shared_context "when in a temporary bundler directory" do
|
|
11
11
|
let(:project_name) { "gemfile" }
|
|
12
12
|
|
|
13
13
|
let(:tmp_path) do
|
|
@@ -27,7 +27,7 @@ RSpec.shared_context "in a temporary bundler directory" do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
RSpec.shared_context "stub rubygems compact index" do
|
|
30
|
+
RSpec.shared_context "when stub rubygems compact index" do
|
|
31
31
|
before do
|
|
32
32
|
# Stub the Rubygems index
|
|
33
33
|
stub_request(:get, "https://index.rubygems.org/versions")
|
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.258.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-05-
|
|
11
|
+
date: 2024-05-16 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.258.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.258.0
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: parallel
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -345,7 +345,7 @@ licenses:
|
|
|
345
345
|
- MIT
|
|
346
346
|
metadata:
|
|
347
347
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
|
348
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
|
348
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.258.0
|
|
349
349
|
post_install_message:
|
|
350
350
|
rdoc_options: []
|
|
351
351
|
require_paths:
|