dependabot-common 0.143.6 → 0.145.3
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: e529a98656bc4faab2c6e8e0b27cb487b272f0eb1e7a0a6b24c378917eb7fc0c
|
4
|
+
data.tar.gz: 1114132591919b93cc7a6ae9abd16f631028f7a6e21c523e0ceef94f4a8ea303
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f47c6bcd3b685350199f6d724a711b5cee21375f76b65886550b82e3bd4485f0291807bac563ed24401c168f49b2c2d1da9856eecd8091e00b95030e96f61b78
|
7
|
+
data.tar.gz: 11f85cb1b184c490be8b969419f7ceedb4c61e9e17792ee077bfac738d1bdc5f4a35145cd17915519cc212c5068789e72c9eb7b95c952f3731ba04ed0cadf546
|
@@ -14,7 +14,7 @@ module Dependabot
|
|
14
14
|
|
15
15
|
def ignored_versions_for(dependency, security_updates_only: false)
|
16
16
|
normalizer = name_normaliser_for(dependency)
|
17
|
-
dep_name =
|
17
|
+
dep_name = normalizer.call(dependency.name)
|
18
18
|
|
19
19
|
@ignore_conditions.
|
20
20
|
select { |ic| self.class.wildcard_match?(normalizer.call(ic.dependency_name), dep_name) }.
|
@@ -226,12 +226,12 @@ module Dependabot
|
|
226
226
|
end
|
227
227
|
|
228
228
|
def create_branch(commit)
|
229
|
-
ref = "heads/#{branch_name}"
|
229
|
+
ref = "refs/heads/#{branch_name}"
|
230
230
|
|
231
231
|
begin
|
232
232
|
branch =
|
233
233
|
github_client_for_source.create_ref(source.repo, ref, commit.sha)
|
234
|
-
@branch_name = ref.gsub(%r{^heads/}, "")
|
234
|
+
@branch_name = ref.gsub(%r{^refs/heads/}, "")
|
235
235
|
branch
|
236
236
|
rescue Octokit::UnprocessableEntity => e
|
237
237
|
# Return quietly in the case of a race
|
@@ -244,7 +244,7 @@ module Dependabot
|
|
244
244
|
|
245
245
|
# Branch creation will fail if a branch called `dependabot` already
|
246
246
|
# exists, since git won't be able to create a dir with the same name
|
247
|
-
ref = "heads/#{SecureRandom.hex[0..3] + branch_name}"
|
247
|
+
ref = "refs/heads/#{SecureRandom.hex[0..3] + branch_name}"
|
248
248
|
retry
|
249
249
|
end
|
250
250
|
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.145.3
|
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-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -298,14 +298,14 @@ dependencies:
|
|
298
298
|
requirements:
|
299
299
|
- - "~>"
|
300
300
|
- !ruby/object:Gem::Version
|
301
|
-
version: 1.
|
301
|
+
version: 1.14.0
|
302
302
|
type: :development
|
303
303
|
prerelease: false
|
304
304
|
version_requirements: !ruby/object:Gem::Requirement
|
305
305
|
requirements:
|
306
306
|
- - "~>"
|
307
307
|
- !ruby/object:Gem::Version
|
308
|
-
version: 1.
|
308
|
+
version: 1.14.0
|
309
309
|
- !ruby/object:Gem::Dependency
|
310
310
|
name: simplecov
|
311
311
|
requirement: !ruby/object:Gem::Requirement
|