dependabot-common 0.158.0 → 0.159.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 337d63921c025f0d09e8f0e1303a47b8ee8dca92c51d70ad3c236a554bcbde0d
4
- data.tar.gz: 5b5b286ab87dd26510c51b4236e26d6d701382f637192c513dad8bac96047aa9
3
+ metadata.gz: 6ae888b07c154fb80415bb359d2acf044b7858169bba7154947c0f572f2c0be3
4
+ data.tar.gz: 4ff968c17459de1f4206ce680a84a7b7992218a5ef6bdf02aa170c8c8815fe1d
5
5
  SHA512:
6
- metadata.gz: 80ee99179d607fa6f7711136d70092112c852e183ce0e2b2458951d0663707572bfe2b22ee50e538c52e31ab20fcd18b4dc1e970227ec1d2c019fc21c7723601
7
- data.tar.gz: 6e7ca3567574776d7df44b3d6ac6bd0710dcd5af902f782709dc2dc2ac7aa6b0bbdb291d71a589e0f5b9f97c8e837a5f92e158914a9f520946651af086017d74
6
+ metadata.gz: 97e472e53266ba7e5d2dc4a07553e2e2100a2e7e2cb1e5dc4fa52fa13abe73f4a019f9eabd33aef37c30cf3dd5c9ac02ce74f61a2bbdbcee8e161a2292236bc4
7
+ data.tar.gz: f903f4dd08a33bc6e5595ef1ce8dd1d94c709ae1493c48112f05bb7e283ba7576970ebad54246f5d6c16710478bd8ddc490d806a674435a08fd1a8f38f3036b8
@@ -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.159.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.159.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-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport