dependabot-common 0.161.0 → 0.163.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03c7111967e80913ad9fc46df8c63106e55ad5081c761bd86dd2a9646bb38243
|
4
|
+
data.tar.gz: 729974028767ec340cb1dfac69b286fbbcb9314919daf67074287d184509dadc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94058891a38f3748648e86c542ccb7cdb1c9711ac57a033534c720ce20f5737c73b75e1aaf04dc95e917d08e92a0d9986552c615254dfa2ddd57f0172e049e36
|
7
|
+
data.tar.gz: f123d5abf694aa7f9f2cc4704ec7d2b2f9a48ad08c520a53a950d857a71d422bf343f73d49efa0c8cc38849977e8ae44314eb95b251b9f92e62783c819b97d22
|
@@ -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.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-
|
11
|
+
date: 2021-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|