dependabot-common 0.157.0 → 0.159.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: 5831bae189a8c8ef6ca3228200619713c26796d12e386366b0adaac8ff780f5c
4
- data.tar.gz: bc8609335377eb25dc925f5a0989ca38cfb1caf838070b7cd82573e0937ea35d
3
+ metadata.gz: 6ae888b07c154fb80415bb359d2acf044b7858169bba7154947c0f572f2c0be3
4
+ data.tar.gz: 4ff968c17459de1f4206ce680a84a7b7992218a5ef6bdf02aa170c8c8815fe1d
5
5
  SHA512:
6
- metadata.gz: 52142cdea6a769412aae08d5016a93f8cdbcd9a040bc4123fe800b2831d6242cd8f6712b495b0a4e8f7e4c7845a8a9be515fd95b7616fa6c945b7596cb58c20e
7
- data.tar.gz: fa41e2f269c01215d391c4e537b6a27d39071a3919126e8b0923b1ab301068c441d1fe1676084be728e884e8036c8c9e3ec94c50fb787656d0c1fcf7c47209a8
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.157.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.157.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-07-26 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