dependabot-bundler 0.159.2 → 0.162.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: 1d65296794048f6e8d506164a37be0417746bbe2b536166262a86578f77fea89
4
- data.tar.gz: 7700181a3955b0a843a5fa4288a231debe8b0080b18fd85b85f8869bbc21c281
3
+ metadata.gz: 1cf2c5b2a8e0b5bb7cc387ad78774f79bb0b945983829521ae526def463cfdcd
4
+ data.tar.gz: fbe6a332290864c9525a5b1b6dc5877b275883ddd004d27dccc25c66bb3c1bd8
5
5
  SHA512:
6
- metadata.gz: aa2935f4563617e7147c72b1684f450ee46b78e1eb1f5697526229e7377142072d6d02fda545060113b47c7de2188ec951e88f61ecb1935b71ba9eb867dea182
7
- data.tar.gz: 3dbd87d4cc4de4214ec659e538d685be7d7619fa95656ec54c4a192114de614efe6488d5306e1d1b5d1497fdd42e4a3da3aeff47a348db3fd45cfe4054829c1b
6
+ metadata.gz: 63f7f145c1184a2c23054711608c7d8280f2d8e211ef084df7614933ab4cbe0faa020f58752d7be6b7fbdcc1e6ed5c4e13b874d3660c4b1c924411486f028aa3
7
+ data.tar.gz: 61ef440e27fb6ea60a0cfd6c47c8df32d33dd67900f1b1497d6648265e8c37bf6ff98b1c861615c63d28739cecb75629bb96a3000eac7bd207c67b0bb78bcbfa
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
@@ -106,7 +106,7 @@ module Functions
106
106
  gemfile_name,
107
107
  lockfile_name,
108
108
  gems: gems_to_unlock + subdependencies,
109
- lock_shared_dependencies: true
109
+ conservative: true
110
110
  )
111
111
 
112
112
  # Remove the Gemfile / gemspec requirements on the gems we're
@@ -97,7 +97,7 @@ module Functions
97
97
  gemfile_name,
98
98
  lockfile_name,
99
99
  gems: dependencies_to_unlock,
100
- lock_shared_dependencies: true
100
+ conservative: true
101
101
  )
102
102
  end
103
103
 
@@ -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
- FAILOVER
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: 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: bundler_version), "Gemfile"),
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: bundler_version), ".bundle")
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.159.2
4
+ version: 0.162.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-17 00:00:00.000000000 Z
11
+ date: 2021-09-07 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.159.2
19
+ version: 0.162.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.159.2
26
+ version: 0.162.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement