dependabot-bundler 0.160.0 → 0.162.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46eac32046a98cf8dedca70f1cafd1b1545c189b001ceb749f0ed36cbb86c0b1
|
4
|
+
data.tar.gz: 1991fdada04eb6f6e5304632ca054365ca2fee45f7950e81978eb38dfb76c692
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59db9df1ea7e5ff841221a4da23924a6261a972628a77b3a044dc67e68c90f10b93cb722dac10ecc7cb73b6ea63f55cba027221b3bfb2e2053bd4025140808f1
|
7
|
+
data.tar.gz: 36f88c9d0d83533bedf4dd208c58c71367e499a8dda9cbc813e85cf0e0cc3eae7615596a88a5cf1044362ac44c85625ccdd85a8a74190b7ec23d106c201dbd39
|
data/helpers/v1/build
CHANGED
@@ -20,6 +20,6 @@ cd "$install_dir"
|
|
20
20
|
|
21
21
|
# NOTE: Sets `BUNDLED WITH` to match the installed v1 version in Gemfile.lock
|
22
22
|
# forcing native helpers to run with the same version
|
23
|
-
BUNDLER_VERSION=1 bundle config set --local path ".bundle"
|
24
|
-
BUNDLER_VERSION=1 bundle config set --local without "test"
|
25
|
-
BUNDLER_VERSION=1 bundle install
|
23
|
+
BUNDLER_VERSION=1.17.3 bundle config set --local path ".bundle"
|
24
|
+
BUNDLER_VERSION=1.17.3 bundle config set --local without "test"
|
25
|
+
BUNDLER_VERSION=1.17.3 bundle install
|
data/helpers/v2/build
CHANGED
@@ -20,6 +20,6 @@ cd "$install_dir"
|
|
20
20
|
|
21
21
|
# NOTE: Sets `BUNDLED WITH` to match the installed v2 version in Gemfile.lock
|
22
22
|
# forcing specs and native helpers to run with the same version
|
23
|
-
BUNDLER_VERSION=2 bundle config set --local path ".bundle"
|
24
|
-
BUNDLER_VERSION=2 bundle config set --local without "test"
|
25
|
-
BUNDLER_VERSION=2 bundle install
|
23
|
+
BUNDLER_VERSION=2.2.26 bundle config set --local path ".bundle"
|
24
|
+
BUNDLER_VERSION=2.2.26 bundle config set --local without "test"
|
25
|
+
BUNDLER_VERSION=2.2.26 bundle install
|
@@ -3,8 +3,8 @@
|
|
3
3
|
module Dependabot
|
4
4
|
module Bundler
|
5
5
|
module Helpers
|
6
|
-
V1 = "1"
|
7
|
-
V2 = "2"
|
6
|
+
V1 = "1.17.3"
|
7
|
+
V2 = "2.2.26"
|
8
8
|
# If we are updating a project with no Gemfile.lock, we default to the
|
9
9
|
# newest version we support
|
10
10
|
DEFAULT = V2
|
@@ -31,7 +31,7 @@ module Dependabot
|
|
31
31
|
if (matches = lockfile.content.match(BUNDLER_MAJOR_VERSION_REGEX))
|
32
32
|
matches[:version]
|
33
33
|
else
|
34
|
-
|
34
|
+
"1"
|
35
35
|
end
|
36
36
|
end
|
37
37
|
end
|
@@ -8,17 +8,18 @@ module Dependabot
|
|
8
8
|
module NativeHelpers
|
9
9
|
def self.run_bundler_subprocess(function:, args:, bundler_version:)
|
10
10
|
# Run helper suprocess with all bundler-related ENV variables removed
|
11
|
+
bundler_major_version = bundler_version.split(".").first
|
11
12
|
::Bundler.with_original_env do
|
12
13
|
SharedHelpers.run_helper_subprocess(
|
13
|
-
command: helper_path(bundler_version:
|
14
|
+
command: helper_path(bundler_version: bundler_major_version),
|
14
15
|
function: function,
|
15
16
|
args: args,
|
16
17
|
env: {
|
17
18
|
# Bundler will pick the matching installed major version
|
18
19
|
"BUNDLER_VERSION" => bundler_version,
|
19
|
-
"BUNDLE_GEMFILE" => File.join(versioned_helper_path(bundler_version:
|
20
|
+
"BUNDLE_GEMFILE" => File.join(versioned_helper_path(bundler_version: bundler_major_version), "Gemfile"),
|
20
21
|
# Prevent the GEM_HOME from being set to a folder owned by root
|
21
|
-
"GEM_HOME" => File.join(versioned_helper_path(bundler_version:
|
22
|
+
"GEM_HOME" => File.join(versioned_helper_path(bundler_version: bundler_major_version), ".bundle")
|
22
23
|
}
|
23
24
|
)
|
24
25
|
rescue SharedHelpers::HelperSubprocessFailed => e
|
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.162.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-20 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.162.1
|
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.162.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|