dependabot-bundler 0.205.1 → 0.208.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: cefb763d020cf79b9e0cd1fe5c773ec412e8ed13c83f950a8d3ea6898d1d55ba
4
- data.tar.gz: 5a08557ae145a4f567a8fee5cb4bbd05c58ea53f3c1eccb16605e60c57c062f0
3
+ metadata.gz: 458353a3180cfa70ddd8e95e88f4460157c7ee51b602fdb9ade71051239c538f
4
+ data.tar.gz: 6c8ec80f79b7bbad2ec168f23e5a70039ccc6fc366ba3aa8f8f28950c18f30d0
5
5
  SHA512:
6
- metadata.gz: a5889169ef3afc44072851edd796affccc2cd4ae818e0c4961e475d4a2d78efe7358f9e882871cc2874c4a6beee27817c6fadbc1ecca73c64347888453378dad
7
- data.tar.gz: 6413f38b2697dc60a1e0f673dc76b9f6319b1d78d1d28556f95eb4d5524cf5440be7a7a9e3a731fe2faad790f75e8f386466962a15e08c5277dd828167cc8c7d
6
+ metadata.gz: 9abd99cdb2f0391038d330bf1b1b5ea9ba201f69b0297141a493de6b40b4971e0e9841faf9e255ace4eb80710a102c3bede9308455c6d311359f4e4bcc313479
7
+ data.tar.gz: 545bbf95be4c8a2c700ead50f786667fc40738222c3a8818503795a33f84f2f66f02db1a888b8587e927fea1c43dfe86973a3bdf8c459cc8f1284c50fd475ec8
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.205.1
4
+ version: 0.208.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-08 00:00:00.000000000 Z
11
+ date: 2022-08-16 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.205.1
19
+ version: 0.208.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.205.1
26
+ version: 0.208.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debase
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 1.31.2
131
+ version: 1.33.0
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 1.31.2
138
+ version: 1.33.0
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: ruby-debug-ide
141
141
  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