dependabot-common 0.157.2 → 0.159.2

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: bdd7386f95f1948fd63abb9854ec8743c60eef7e819d19a0c9520a652733b0a1
4
- data.tar.gz: 716ffe4294d4d1b1d1f0961b49e0397ae8d0abcbbde259003e063304097473d7
3
+ metadata.gz: df68d619fd2f1445fc5055e0f11b980fba3e1b19d9a69b2399317aa24e1fd331
4
+ data.tar.gz: 7fe71b5f90d0c176428e6d599df9e6781f21d1565649b2b2ac8dd5e84504a942
5
5
  SHA512:
6
- metadata.gz: c97a4b96867ab4b40d0f217ca9901d2cca147c4f9c214b5a430943af5936f91f80932bba753cf1ffc2069d80739b979071538de037624096f9a697ae1043f66e
7
- data.tar.gz: 108e64e0551b1e86bf69516800389d2e9f677182ebb10cf0a8334361f237c5ab023ada88d75ff431b2f7d13b1e3c788cd92b99deec99c65478f2d2047903d0b9
6
+ metadata.gz: 8e4a7dc5b704d996608a5bf95f9acdb48dc47dd660cf43fc4dc9d948d09a394deb9737bd47b0764e2121f7560cc3c92a0a9d276f700da5afdecb5778143f456c
7
+ data.tar.gz: 75f6dcc87ca5f9b6f7461db0120b980b1a687d03c10b4cdea10144e37317d913f98cea58b0928fcd413df0d2f9f32f0a8ad81718eaea921e2a4fd0e619a58e7e
@@ -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.2"
4
+ VERSION = "0.159.2"
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.2
4
+ version: 0.159.2
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-28 00:00:00.000000000 Z
11
+ date: 2021-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport