dependabot-common 0.160.1 → 0.162.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: d4fe7d800bc0442673179e35a848020e9d1c836301d40d2f476a526cb160dc41
4
- data.tar.gz: aa8ddc37f3dda82acafd4bad1ac1cc44bfbeee6640ed1b93352f67399f1d1d1b
3
+ metadata.gz: c5598558127057abb7ac51f18576548e5589c52c07f6974029f07b0927c90940
4
+ data.tar.gz: 05b6b1140a37903e10356ff60c0162ede9781a3ae7edbe32ab267ff46fe19542
5
5
  SHA512:
6
- metadata.gz: 51697d8a39a7baa6cb63bed1ca8203bea7c4f2aa81f533658dc0ce66ab785fcb570bb675dc99348e0bcd6152e5b64174c79e87aa1a1d7b26ed03015a48ef6660
7
- data.tar.gz: 771c80a85434d3f067a3350b83fd3c92872f197efb409bd42209cae80cda1447b807f8ddc96290c1ddf3c5c324716327e93130e4babfeacbf5235704877cfb82
6
+ metadata.gz: a6aceab2e96e3cfb0ea5a7ca04cd55078935d5e23fb5490b3d0d777c354e3729484d105ffe2991438b3a9a76611cd843eaa38897e725575f6c8706bed84c62a1
7
+ data.tar.gz: eb0e81e76203686073468c105bb67844f16a502814c12ff632e08c186b7a91b92f37247ed75e38e856492cb798fd9148af27eb6fcf975638548eca0470c07100
@@ -68,7 +68,8 @@ module Dependabot
68
68
  def binary_file?(path)
69
69
  return false unless File.exist?(path)
70
70
 
71
- encoding = `file -b --mime-encoding #{path}`.strip
71
+ command = SharedHelpers.escape_command("file -b --mime-encoding #{path}")
72
+ encoding = `#{command}`.strip
72
73
 
73
74
  !TEXT_ENCODINGS.include?(encoding)
74
75
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dependabot
4
- VERSION = "0.160.1"
4
+ VERSION = "0.162.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.160.1
4
+ version: 0.162.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-08-26 00:00:00.000000000 Z
11
+ date: 2021-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -81,7 +81,7 @@ dependencies:
81
81
  version: 0.20.1
82
82
  - - "<"
83
83
  - !ruby/object:Gem::Version
84
- version: 0.23.0
84
+ version: 0.24.0
85
85
  type: :runtime
86
86
  prerelease: false
87
87
  version_requirements: !ruby/object:Gem::Requirement
@@ -91,7 +91,7 @@ dependencies:
91
91
  version: 0.20.1
92
92
  - - "<"
93
93
  - !ruby/object:Gem::Version
94
- version: 0.23.0
94
+ version: 0.24.0
95
95
  - !ruby/object:Gem::Dependency
96
96
  name: docker_registry2
97
97
  requirement: !ruby/object:Gem::Requirement
@@ -126,6 +126,20 @@ dependencies:
126
126
  - - "~>"
127
127
  - !ruby/object:Gem::Version
128
128
  version: '0.75'
129
+ - !ruby/object:Gem::Dependency
130
+ name: faraday
131
+ requirement: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - '='
134
+ - !ruby/object:Gem::Version
135
+ version: 1.7.0
136
+ type: :runtime
137
+ prerelease: false
138
+ version_requirements: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - '='
141
+ - !ruby/object:Gem::Version
142
+ version: 1.7.0
129
143
  - !ruby/object:Gem::Dependency
130
144
  name: gitlab
131
145
  requirement: !ruby/object:Gem::Requirement