dependabot-common 0.162.0 → 0.163.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0bd670e45c5c3fa9f949f99d323975f16c2f6d65750a4027de802d51caba995b
|
4
|
+
data.tar.gz: f003a835d5f5e0875fbac29162dc3df96fd8fb963c691f5b3a9199e1dc25a246
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4da8363f3276ad3cedc91a9273f904e6b419ff012511290f49a3c5f64d34a82377f53a0b1abb90b7653fb1d323be249930b6986e8ba8fa1c104f4fa53082cc92
|
7
|
+
data.tar.gz: 78e90b4e462daccab66e4374d5c27e0d4790332b199cd72732097bb08dcd8489a51cf6cddd89cff8458c8ea1416c6dde7104f7bc011e876ac23c5ecaf7471add
|
@@ -68,7 +68,8 @@ module Dependabot
|
|
68
68
|
def binary_file?(path)
|
69
69
|
return false unless File.exist?(path)
|
70
70
|
|
71
|
-
|
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
|
data/lib/dependabot/version.rb
CHANGED
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.
|
4
|
+
version: 0.163.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|