dependabot-common 0.160.0 → 0.162.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: 77e69c427d8aedb32e7579f3bd6f8dc210f28f491afe3622a3d5fac6e8e48492
4
- data.tar.gz: 3b4d31e3fa9e40369652566cc9dea82cf05796becbc39e874e72206015fb7b74
3
+ metadata.gz: e317f507ca3fa9f526ef351aea69dc00a2f2f6da35b66c50fd653521a14f11ab
4
+ data.tar.gz: d0f8dc5f5c9de730c0a922023e6c0f1eaf8335ca56f8e3f5e1eb7cb81ef21d2c
5
5
  SHA512:
6
- metadata.gz: 5ee7a37debe17f32308374e28bba6a6df72b2c54cd7c578ab7bec7d54ecc0efca4f3548aa9162a0a21399c9e88c096a52a589a71a4d0dfd46dfc97954296b719
7
- data.tar.gz: b6754c79d7d7d6f0fb70ea949f23036ff31ae436ff58b097f53658adb271d0c0826341f3759a6fd987d139c59f75debc32d409ec4cdde3704c929cac9edc2ce2
6
+ metadata.gz: c6574279837fdca0b1dd14bf3bcbe1c9eccac7bd6cdeda953094db897547a617686490f8ed6809ad626bfabac8843c80d53dd5e44f71ff6b96ee5a24047859b4
7
+ data.tar.gz: 3a26fafdd53908ae2d2bb993479d440e47e23b00ddfa05b5d7286e458317be3edd95c3368ac0e5ace37dee3f6f17159c9a6cefc47833833f0e836294d4ca9d10
@@ -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.0"
4
+ VERSION = "0.162.1"
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.0
4
+ version: 0.162.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-08-18 00:00:00.000000000 Z
11
+ date: 2021-09-20 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