dependabot-common 0.155.1 → 0.156.4

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: 9e87672cce71dc3ce34fee4e3b62e137345631139157c6bdd4586718af432f4d
4
- data.tar.gz: 54691c078c9a37674a4a1fa4fe84027c4571963911eefe394eb7ba27c6f5ab87
3
+ metadata.gz: e39eee9a89b619ae11edbb045c99a8a88f7e8a1a3e494a655e0a35aa6aa58644
4
+ data.tar.gz: d4c75ce73b32e2e03afb8164e09158373a1fb5fad84ed0ae56da66898eef8b25
5
5
  SHA512:
6
- metadata.gz: 2c91a3a0842721537868b41dbac05b3478bddbcd76f8dae2ed1bcbdd96e3307abb92fa790ed9ab2ab422713a9e803b57e0bebd03060175deeb5e2d4b9f00d840
7
- data.tar.gz: 2f424cb2939cbdd6c018dae3ad361a0eb5ba22c21e983ff033e49ecda4216e03f68b03f6d22151b718bb84129fc2c3685977b81d1f36842f3769837ed45afd78
6
+ metadata.gz: '041844a828047dacf14e985628f69315038f823792581e7fd5f3cada10d5521f650139c099aef6c106042d20341b1959d7edad22f9e9d653f5d346e3e8f41b6c'
7
+ data.tar.gz: b404559550ecc79d654a6ebbcfc35cc9116ae775749bc34883d00217f782539ed4ef44f0eaf27dda28fe37ddeb21fe32ae7176caa4ea9a5fd04981970c9c7fa9
@@ -22,9 +22,8 @@ module Dependabot
22
22
 
23
23
  case source.provider
24
24
  when "github" then "#{source.url}/releases"
25
- when "gitlab" then "#{source.url}/tags"
25
+ when "gitlab", "azure" then "#{source.url}/tags"
26
26
  when "bitbucket" then nil
27
- when "azure" then "#{source.url}/tags"
28
27
  else raise "Unexpected repo provider '#{source.provider}'"
29
28
  end
30
29
  end
@@ -195,9 +194,9 @@ module Dependabot
195
194
 
196
195
  case source.provider
197
196
  when "github" then fetch_github_releases
198
- when "bitbucket" then [] # Bitbucket doesn't support releases
197
+ # Bitbucket doesn't support releases and Azure can't list API for annotated tags
198
+ when "bitbucket", "azure" then []
199
199
  when "gitlab" then fetch_gitlab_releases
200
- when "azure" then [] # Azure can't list API for annotated tags
201
200
  else raise "Unexpected repo provider '#{source.provider}'"
202
201
  end
203
202
  end
@@ -173,7 +173,8 @@ module Dependabot
173
173
 
174
174
  if e.message.match?(/protected branch/i) ||
175
175
  e.message.match?(/not authorized to push/i) ||
176
- e.message.match?(/must not contain merge commits/)
176
+ e.message.match?(/must not contain merge commits/) ||
177
+ e.message.match?(/required status check/i)
177
178
  raise BranchProtected
178
179
  end
179
180
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dependabot
4
- VERSION = "0.155.1"
4
+ VERSION = "0.156.4"
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.155.1
4
+ version: 0.156.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-23 00:00:00.000000000 Z
11
+ date: 2021-06-30 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.16.0
301
+ version: 1.18.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.16.0
308
+ version: 1.18.0
309
309
  - !ruby/object:Gem::Dependency
310
310
  name: simplecov
311
311
  requirement: !ruby/object:Gem::Requirement