dependabot-bundler 0.206.0 → 0.209.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: b16dd945a2a652080c9b02c86874696262337129b6f329265d66cf693b1d3dad
4
- data.tar.gz: 65e2dcd35fd85f14a23a4c4f87b421b1212e870b2b0c3e783124337e5e0bc632
3
+ metadata.gz: d9d8b9774b16416f4fbf76d2f440bf7b7b5d5be091612374f4302e06996ed234
4
+ data.tar.gz: 6f35bae9423fc567e242dc88e3021bb3093d9bbeaeb6efb5b10597ab3d2fc70e
5
5
  SHA512:
6
- metadata.gz: f6090bd9378682f20d42b5bf773cff077bb2e709236e9ecf4f9c61421c5546f44942a4cf6af3a994d86671308e4eaa29636c0315418830e0aca86c13c67f565c
7
- data.tar.gz: d1d5e114bbc3957f1992f59aa85fb893af66aaeaeb6ea14a57016c8cbe9ad003d46502752f6ea5ba97bbb5195851c90e239eab56a45b1c92a2199d516fa655d8
6
+ metadata.gz: 2225dd38240e6a4c717fea6f5c9ba1d43079eecf248ed779311a036956a09f4739928c18fc300979ace5ce1610228d216d76c0291a453b9fa715619f73cda4ad
7
+ data.tar.gz: 3b7c4ad7a1ac48370ae2a0360948b383da6d55974538e4e712a0ca5c7447266f679aa960e24dcd17260fb599e3a07f503cec0afd87085c5d13acee8b322b2639
data/helpers/v1/Gemfile CHANGED
@@ -4,7 +4,6 @@ source "https://rubygems.org"
4
4
 
5
5
  # NOTE: Used to run native helper specs
6
6
  group :test do
7
- gem "debug", ">= 1.0.0"
8
7
  gem "rspec", "~> 3.8"
9
8
  gem "rspec-its", "~> 1.2"
10
9
  gem "vcr", "6.1.0"
data/helpers/v1/build CHANGED
@@ -2,13 +2,13 @@
2
2
 
3
3
  set -e
4
4
 
5
- if [ -z $DEPENDABOT_NATIVE_HELPERS_PATH ]; then
5
+ if [ -z "$DEPENDABOT_NATIVE_HELPERS_PATH" ]; then
6
6
  echo "Unable to build, DEPENDABOT_NATIVE_HELPERS_PATH is not set"
7
7
  exit 1
8
8
  fi
9
9
 
10
10
  install_dir="$DEPENDABOT_NATIVE_HELPERS_PATH/bundler/v1"
11
- mkdir -p $install_dir
11
+ mkdir -p "$install_dir"
12
12
 
13
13
  helpers_dir="$(dirname "${BASH_SOURCE[0]}")"
14
14
  cp -r \
@@ -2,7 +2,6 @@
2
2
 
3
3
  require "rspec/its"
4
4
  require "webmock/rspec"
5
- require "debug"
6
5
  require "tmpdir"
7
6
 
8
7
  $LOAD_PATH.unshift(File.expand_path("../lib", __dir__))
data/helpers/v2/build CHANGED
@@ -2,13 +2,13 @@
2
2
 
3
3
  set -e
4
4
 
5
- if [ -z $DEPENDABOT_NATIVE_HELPERS_PATH ]; then
5
+ if [ -z "$DEPENDABOT_NATIVE_HELPERS_PATH" ]; then
6
6
  echo "Unable to build, DEPENDABOT_NATIVE_HELPERS_PATH is not set"
7
7
  exit 1
8
8
  fi
9
9
 
10
10
  install_dir="$DEPENDABOT_NATIVE_HELPERS_PATH/bundler/v2"
11
- mkdir -p $install_dir
11
+ mkdir -p "$install_dir"
12
12
 
13
13
  helpers_dir="$(dirname "${BASH_SOURCE[0]}")"
14
14
  cp -r \
@@ -143,7 +143,7 @@ module Functions
143
143
 
144
144
  Bundler.settings.set_command_option(
145
145
  cred.fetch("host"),
146
- token.gsub("@", "%40F").gsub("?", "%3F")
146
+ token.gsub("@", "%40").gsub("?", "%3F")
147
147
  )
148
148
  end
149
149
 
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/endpoint_specification"
4
+
5
+ module EndpointSpecificationPatch
6
+ def required_ruby_version
7
+ @required_ruby_version ||= Gem::Requirement.default
8
+ end
9
+
10
+ def required_rubygems_version
11
+ @required_rubygems_version ||= Gem::Requirement.default
12
+ end
13
+ end
14
+
15
+ Bundler::EndpointSpecification.prepend(EndpointSpecificationPatch)
data/helpers/v2/run.rb CHANGED
@@ -15,6 +15,7 @@ end
15
15
  # Bundler monkey patches
16
16
  require "definition_ruby_version_patch"
17
17
  require "definition_bundler_version_patch"
18
+ require "endpoint_specification_patch"
18
19
  require "git_source_patch"
19
20
 
20
21
  require "functions"
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.206.0
4
+ version: 0.209.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-10 00:00:00.000000000 Z
11
+ date: 2022-08-17 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.206.0
19
+ version: 0.209.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.206.0
26
+ version: 0.209.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debase
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -262,6 +262,7 @@ files:
262
262
  - helpers/v2/lib/functions/version_resolver.rb
263
263
  - helpers/v2/monkey_patches/definition_bundler_version_patch.rb
264
264
  - helpers/v2/monkey_patches/definition_ruby_version_patch.rb
265
+ - helpers/v2/monkey_patches/endpoint_specification_patch.rb
265
266
  - helpers/v2/monkey_patches/git_source_patch.rb
266
267
  - helpers/v2/run.rb
267
268
  - helpers/v2/spec/functions/conflicting_dependency_resolver_spec.rb