dependabot-common 0.118.13 → 0.118.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 84fc6de52cc27e73d87e47a52eb9f0762d0d25b45c0e8cce770751df9cfbbc8c
|
|
4
|
+
data.tar.gz: 33d975df35aa3cd3813ee2ac0190b91359cec73a38826fb35e0bb8cf083b9d98
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d230bcb964358475dfdfe08ba0be8166575c3c53579f6679e3049da2acd5e1c1dabac82fc828be64650f1a0740af6c72cefd8320a5b27e5be2b7a7e5ed754f40
|
|
7
|
+
data.tar.gz: a1dd576f083646595e238ef04924ccc2e0c208d8e15b356e4f7306655ea9bb59ba699929df0e2fb9038b83b2788d6c0a8dc7eb30de2caeea5c9394a5eff1f2dc
|
|
@@ -170,12 +170,23 @@ module Dependabot
|
|
|
170
170
|
sha: file.content
|
|
171
171
|
}
|
|
172
172
|
else
|
|
173
|
+
content = if file.binary?
|
|
174
|
+
sha = github_client_for_source.create_blob(
|
|
175
|
+
source.repo, file.content, "base64"
|
|
176
|
+
)
|
|
177
|
+
{ sha: sha }
|
|
178
|
+
elsif file.deleted?
|
|
179
|
+
{ sha: nil }
|
|
180
|
+
else
|
|
181
|
+
{ content: file.content }
|
|
182
|
+
end
|
|
183
|
+
|
|
173
184
|
{
|
|
174
|
-
path: (file.symlink_target ||
|
|
185
|
+
path: (file.symlink_target ||
|
|
186
|
+
file.path).sub(%r{^/}, ""),
|
|
175
187
|
mode: "100644",
|
|
176
|
-
type: "blob"
|
|
177
|
-
|
|
178
|
-
}
|
|
188
|
+
type: "blob"
|
|
189
|
+
}.merge(content)
|
|
179
190
|
end
|
|
180
191
|
end
|
|
181
192
|
|
|
@@ -124,14 +124,7 @@ module Dependabot
|
|
|
124
124
|
|
|
125
125
|
def create_tree
|
|
126
126
|
file_trees = files.map do |file|
|
|
127
|
-
if
|
|
128
|
-
{
|
|
129
|
-
path: (file.symlink_target || file.path).sub(%r{^/}, ""),
|
|
130
|
-
mode: "100644",
|
|
131
|
-
type: "blob",
|
|
132
|
-
content: file.content
|
|
133
|
-
}
|
|
134
|
-
elsif file.type == "submodule"
|
|
127
|
+
if file.type == "submodule"
|
|
135
128
|
{
|
|
136
129
|
path: file.path.sub(%r{^/}, ""),
|
|
137
130
|
mode: "160000",
|
|
@@ -139,7 +132,23 @@ module Dependabot
|
|
|
139
132
|
sha: file.content
|
|
140
133
|
}
|
|
141
134
|
else
|
|
142
|
-
|
|
135
|
+
content = if file.binary?
|
|
136
|
+
sha = github_client_for_source.create_blob(
|
|
137
|
+
source.repo, file.content, "base64"
|
|
138
|
+
)
|
|
139
|
+
{ sha: sha }
|
|
140
|
+
elsif file.deleted?
|
|
141
|
+
{ sha: nil }
|
|
142
|
+
else
|
|
143
|
+
{ content: file.content }
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
{
|
|
147
|
+
path: (file.symlink_target ||
|
|
148
|
+
file.path).sub(%r{^/}, ""),
|
|
149
|
+
mode: "100644",
|
|
150
|
+
type: "blob"
|
|
151
|
+
}.merge(content)
|
|
143
152
|
end
|
|
144
153
|
end
|
|
145
154
|
|
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.118.
|
|
4
|
+
version: 0.118.14
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dependabot
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-08-
|
|
11
|
+
date: 2020-08-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-codecommit
|