dependabot-bundler 0.159.0 → 0.160.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: 43a5ea333318db1e189cc9c026230e92d1bdf8a426f03f3bdbf2999c06b6eb66
4
- data.tar.gz: 827f2f7c39b6eb478786c6a446f1c4f2e20222c2162c7273876b522b1022bf63
3
+ metadata.gz: 191a073daaf7e5c9cc46184bfa27aa32985f5fd099a7ac51d7e5d391a65011b3
4
+ data.tar.gz: c1ed1bb33e2162b8af47b0ff829d1d9c43d5545e3ab5535418fc7900bb3c26db
5
5
  SHA512:
6
- metadata.gz: ee9ff5afb034a97aaaf21597e6314f552210bb8865555ed1db4d55ff98ab0a5c2340f5c04841b7a8c9c569b250bc05726cf4dd2f942450638c47a9defc589c5b
7
- data.tar.gz: 5479f8158dfd594b0ec46c276cb196800be99b2b5c5067e20dbea24cc24452b7dece870699923b217ec77a39f2878242b04b3859f519008a88cd03e2706661aa
6
+ metadata.gz: 58c2220e977f068febcf8df6f637489a3201718ee210716301ead513497900b181c7c2d67845e3a2fb3b8e3e5b86cf04db1b545f7bb96f4d9d1f8ce6135c614a
7
+ data.tar.gz: 429998c47da50a554324ad1cd7bf238f810547260a4e83232924c42df8beba23de9065fb9a22655d0463c6102f4c98d6eb8d19f7bf7dff8486bc174f91b42f96
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.0
4
+ version: 0.160.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-08-04 00:00:00.000000000 Z
11
+ date: 2021-08-26 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.0
19
+ version: 0.160.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.159.0
26
+ version: 0.160.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement