dependabot-common 0.155.0 → 0.156.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: 58174dd64d8d76a69cff30574f46a6d64598b672cf987c16aee2a03a74e2d513
4
- data.tar.gz: 373d135c5a60aa73aaa6fc02c9ac3c067fa0cc53ccb5839ed932409550022590
3
+ metadata.gz: d15c8c3d9f28a831fd074d1974072f4630fb9c70b19514d6b9638c0c441c8288
4
+ data.tar.gz: a158febf4f80b0f07f17eeffc4b182d6854a5df0ac787cad6ee49eeca721e3b4
5
5
  SHA512:
6
- metadata.gz: 8eff0cffc201a5fdcf7887b34b0862a9baacb244d85c74e6eb148a4da12e8b5efca0a9fe9b4c91f75aea9ec84984b0124c8c1f38be2f985f59b76df5a5f9afdc
7
- data.tar.gz: 5a4fc26cad5eec12d53417ee8d0ee6953b069b8d92bb1625cd3accbd954e2964036d933d9b90a5801d6dad0029a1c518b7626e42b1416c1ddc7c9b88a56e6a7c
6
+ metadata.gz: ef463d8902edbb6c5258ec903f954d9b513606be3af6e218c251de5f5fdaf08b2b0d34ffc1e3b7c9d067f1cb51a95caf1be8e750575b1c06d39299058852d47a
7
+ data.tar.gz: b1ea8502442cb9d636494ae3d9ff5aeb37c9fa5087f95c0edec04efaa8ce61d49e14d0c4363b2e06b6f3d6759e1d1b7e47e60d4e3d551b626231e60cd6712f1b
@@ -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.0"
4
+ VERSION = "0.156.3"
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.0
4
+ version: 0.156.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-06-22 00:00:00.000000000 Z
11
+ date: 2021-06-29 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.17.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.17.0
309
309
  - !ruby/object:Gem::Dependency
310
310
  name: simplecov
311
311
  requirement: !ruby/object:Gem::Requirement