dependabot-bundler 0.227.0 → 0.228.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: 7023595adf12fbe47753c88f1f18a95d56ef336c503a76fdd1335c33b3bb8494
4
- data.tar.gz: 2e100abbbdf9ac7c9768000c23386556a655c07022240f7a116f33361cbc11cf
3
+ metadata.gz: ebac6a7c9946a6ae4f667692707a5ffe26f8e6e2fa835313ae5b572d2996d3c3
4
+ data.tar.gz: 4169bdf566aeea7ca0b2015c0a2aaabb2a92881d7846b307fe8fe3f61bcc7489
5
5
  SHA512:
6
- metadata.gz: 2834e755780893f71734a610865eb1575974aa20824b9ebd1a1e340c1c7824700eb7a4ae23546288f74da808228d1258ebe7e446d93af987fb3552db7764badd
7
- data.tar.gz: d484aa2915784b4cbfafe2105982531471eb2bc86886f369a4d6797b7cce397243299b22edc33cda782e701d7f96fa812796350094bb716fc1cfc2c3f698d8d4
6
+ metadata.gz: 13014772dbb1504f74623f0a31c456b7110d5fc481159888a6d0a21247152dfb8871839fba07c554632ba9d6f7ce8d893a917b864d865d6c6196f9c1e506a351
7
+ data.tar.gz: 7337fb4b3d6bee80b1ace3de1d6a43cecdf5d266294cec46b51b7c61510693e7ead810a3203b516f3e9871eaecb00a6cff3fbb6fff0301b4083df90f5aa0bf95
@@ -127,7 +127,7 @@ module Functions
127
127
  end
128
128
 
129
129
  def self.set_bundler_flags_and_credentials(dir:, credentials:)
130
- dir = dir ? Pathname.new(dir) : dir
130
+ dir = Pathname.new(dir) if dir
131
131
  Bundler.instance_variable_set(:@root, dir)
132
132
 
133
133
  # Remove installed gems from the default Rubygems index
@@ -8,7 +8,7 @@ require "bundler/resolver/spec_group"
8
8
 
9
9
  module BundlerResolverSpecGroupSaneEql
10
10
  def eql?(other)
11
- return unless other.is_a?(self.class)
11
+ return false unless other.is_a?(self.class)
12
12
 
13
13
  super(other)
14
14
  end
@@ -129,7 +129,7 @@ module Functions
129
129
  end
130
130
 
131
131
  def self.set_bundler_flags_and_credentials(dir:, credentials:)
132
- dir = dir ? Pathname.new(dir) : dir
132
+ dir = Pathname.new(dir) if dir
133
133
  Bundler.instance_variable_set(:@root, dir)
134
134
 
135
135
  # Remove installed gems from the default Rubygems index
@@ -45,7 +45,9 @@ module Dependabot
45
45
  function: function,
46
46
  args: args,
47
47
  env: {
48
- # Prevent the GEM_HOME from being set to a folder owned by root
48
+ # Set BUNDLE_PATH to a thread-safe location
49
+ "BUNDLE_PATH" => File.join(Dependabot::Utils::BUMP_TMP_DIR_PATH, ".bundle"),
50
+ # Set GEM_HOME to where the proper version of Bundler is installed
49
51
  "GEM_HOME" => File.join(helpers_path, ".bundle")
50
52
  }
51
53
  )
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.227.0
4
+ version: 0.228.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-18 00:00:00.000000000 Z
11
+ date: 2023-08-25 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.227.0
19
+ version: 0.228.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.227.0
26
+ version: 0.228.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 1.50.0
117
+ version: 1.56.0
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 1.50.0
124
+ version: 1.56.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rubocop-performance
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -268,7 +268,7 @@ licenses:
268
268
  - Nonstandard
269
269
  metadata:
270
270
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
271
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.227.0
271
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.228.0
272
272
  post_install_message:
273
273
  rdoc_options: []
274
274
  require_paths: