dependabot-bundler 0.159.1 → 0.161.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: bafc194dcbec62dc7b1cc4e246310c01583e18d60eef371fd679d5b2f4c9b71d
4
- data.tar.gz: c3b6eb616bef55146816c8b7aebcb8930d4509927ffcec7a86527f6942058883
3
+ metadata.gz: '014832ac22eea20c716e79b1b0a26c398449d0f61e11bd9fb95d14c7fb71bddf'
4
+ data.tar.gz: e2aab25ac25c9f16067fa0e1925e91c8edfb571b914d25957aac7074934f9c9f
5
5
  SHA512:
6
- metadata.gz: e5c72891dbef2b8ed8a3385c339870be714fa0353974c9874ad14e693af89da2615fbe2eb957dde4416a542ab088a9521de03de25f70791b227074f068d440c1
7
- data.tar.gz: 1e30f7ea3ef10a36cd38379487f6aec93ed8c1fabedd192092591645bc59babc048ecc8c314f6ca6ffec240cbefec1da613b1e56a82dc468b848a366ad3b199f
6
+ metadata.gz: cd842792cc5d71ab552d3bc698f0f6ab9810c55f1587788639ccf1063c6d0f8bb3d468591380a70f1cf97fc80c4037c5a53e838c292a17510d03191cadb8d510
7
+ data.tar.gz: 3936d2e8c1e8f7a6a9f9522a6f269af7b89874f283f9b60365dc275178cb0d0ff5da4d3bb18d435ac84b7ea7d8b2b4c2804e2902919b1040aa04149e5f9cad3d
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.1
4
+ version: 0.161.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-16 00:00:00.000000000 Z
11
+ date: 2021-09-01 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.1
19
+ version: 0.161.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.1
26
+ version: 0.161.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement