dependabot-common 0.158.0 → 0.160.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: 337d63921c025f0d09e8f0e1303a47b8ee8dca92c51d70ad3c236a554bcbde0d
4
- data.tar.gz: 5b5b286ab87dd26510c51b4236e26d6d701382f637192c513dad8bac96047aa9
3
+ metadata.gz: 77e69c427d8aedb32e7579f3bd6f8dc210f28f491afe3622a3d5fac6e8e48492
4
+ data.tar.gz: 3b4d31e3fa9e40369652566cc9dea82cf05796becbc39e874e72206015fb7b74
5
5
  SHA512:
6
- metadata.gz: 80ee99179d607fa6f7711136d70092112c852e183ce0e2b2458951d0663707572bfe2b22ee50e538c52e31ab20fcd18b4dc1e970227ec1d2c019fc21c7723601
7
- data.tar.gz: 6e7ca3567574776d7df44b3d6ac6bd0710dcd5af902f782709dc2dc2ac7aa6b0bbdb291d71a589e0f5b9f97c8e837a5f92e158914a9f520946651af086017d74
6
+ metadata.gz: 5ee7a37debe17f32308374e28bba6a6df72b2c54cd7c578ab7bec7d54ecc0efca4f3548aa9162a0a21399c9e88c096a52a589a71a4d0dfd46dfc97954296b719
7
+ data.tar.gz: b6754c79d7d7d6f0fb70ea949f23036ff31ae436ff58b097f53658adb271d0c0826341f3759a6fd987d139c59f75debc32d409ec4cdde3704c929cac9edc2ce2
@@ -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.158.0"
4
+ VERSION = "0.160.0"
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.158.0
4
+ version: 0.160.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-03 00:00:00.000000000 Z
11
+ date: 2021-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport