dependabot-common 0.157.1 → 0.159.1

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: 35e7e7ce8fb6ac6fe2c9c416802adf84fd10450e28e3ddc83dd9429eed0e965d
4
- data.tar.gz: be32b902dcaf087d32cc7844aa054da65f7d7106ff44501522e53a77de9bf1da
3
+ metadata.gz: 7a98e802246ee6597fa83dc02fe2d879e6b3d306f3321bfb72a76bceb4b33f74
4
+ data.tar.gz: a2dff20883bc3659fef47dd13cd803b7ed2c6eeaf9da570cc9d9736557fc1c23
5
5
  SHA512:
6
- metadata.gz: e8a764f8c7063aecb9a344bf8fcb4739b4daaf785e1d1d6eeff25a55a7e261605d09f502a15c1049ab8daaa3139a8d606f3e20e9666776f24ba8e13a3a6ec4e6
7
- data.tar.gz: 99d91c7ac5804d51f24363f62d6fc9d38a6d75cabee2b9946038d5a26ed0b0d7745a80f75e69882106654816f693e905d80841c4feeac7ceac1b7075adabd7b2
6
+ metadata.gz: 56afa45c1f8650c38f5d17ced7a4d2cad5f40777249ee74afaec41557f235a43e4a80a6b4eecd0fb79677f38882c7b30ecfa8f2c05fd2c8be96d5a4e978a8eee
7
+ data.tar.gz: 96795dcc27fd925cc163e940700bf70a7c7afe0091b27f50f1fe142e8820e42820aa20f0d505b86de7f82bef998ab0ea12e7e782a60a9e849c3e61e64e7cc29b
@@ -94,8 +94,9 @@ module Dependabot
94
94
  service_pack_uri = uri
95
95
  service_pack_uri += ".git" unless service_pack_uri.end_with?(".git")
96
96
 
97
- command = "git ls-remote #{service_pack_uri}"
98
97
  env = { "PATH" => ENV["PATH"] }
98
+ command = "git ls-remote #{service_pack_uri}"
99
+ command = SharedHelpers.escape_command(command)
99
100
 
100
101
  stdout, stderr, process = Open3.capture3(env, command)
101
102
  # package the command response like a HTTP response so error handling
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dependabot
4
- VERSION = "0.157.1"
4
+ VERSION = "0.159.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-common
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.157.1
4
+ version: 0.159.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-27 00:00:00.000000000 Z
11
+ date: 2021-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport