dependabot-bundler 0.227.0 → 0.229.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: aebdf859dd5aea604a8c209c7e74ed216ccafc206c5cd19c225ee0c8971e0896
4
+ data.tar.gz: f3f2ec8fa7812e9d4e056e9ec22dbb6b76865aa1790461068c9617d1734cec5e
5
5
  SHA512:
6
- metadata.gz: 2834e755780893f71734a610865eb1575974aa20824b9ebd1a1e340c1c7824700eb7a4ae23546288f74da808228d1258ebe7e446d93af987fb3552db7764badd
7
- data.tar.gz: d484aa2915784b4cbfafe2105982531471eb2bc86886f369a4d6797b7cce397243299b22edc33cda782e701d7f96fa812796350094bb716fc1cfc2c3f698d8d4
6
+ metadata.gz: 619a5a6c1ae140eda8468fb3b5a75893094d990b7f4e86860ee7601012cdc61197df57e7cae17f7c25980e844ab9a169f7c88f124d88219d5e612f358b285a37
7
+ data.tar.gz: 6698d2264ce455a7181edda03d4b286e21070286865281982b48ae6044ad830afbbaceeb876999a2ecd3b07e9b5888205064f98c7bedef9f802fcb403939affb
@@ -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.229.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-30 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.229.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.229.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.229.0
272
272
  post_install_message:
273
273
  rdoc_options: []
274
274
  require_paths: