dependabot-common 0.187.0 → 0.190.0

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: 5a415dd5d41d2ea9bd87ba43b0f9ad9d45e55e8169f7e27e005512fb5a0e08ab
4
- data.tar.gz: 50534c221638a6e3d1bb243723ec057005c965a0d0755d0d4dcef69f7f03d4fa
3
+ metadata.gz: 3b59e80f7ad377c7b17498a24d4c54c06aeaf3ab785b00262b728cf0b4f2bd26
4
+ data.tar.gz: ad7524fd852eaf78f49926181a882ef02b4805463a9b45358a70fb17c43fcc11
5
5
  SHA512:
6
- metadata.gz: 27fc351fde03f6f671677a95f079d2b36995a8f00feb1dcefaaefbf9a2eedebd72bc3b4491631dc3dd96ea016c74871695915721387e8f83466eb9a0a8470c04
7
- data.tar.gz: 3c240fc2d29dfa10702d75ec274ec1b9bba7ffa031d1a4d5843fa0b3cdf3294715c633d85c0585e2e655b965920c4432078e6b33818f9e7c36cea40757d9c308
6
+ metadata.gz: edb672c3309abe27feafad97a5311010271f4bb20d2a66149676def7bd622a80ef8eb375fa0e38ee59fabdd691f1ce8a27cdbfdb40dfd648701b1ec66e63115e
7
+ data.tar.gz: b2b43712c1db63b3f1822c59b3b08009d3633c600c3580bf2697fb2cdeca6477e056ad058c41a8815a77c015abfcecd03c7ce7f770005571705267e80019a33c
@@ -240,6 +240,7 @@ module Dependabot
240
240
  when "github" then github_commit_comparison_status(tag, commit)
241
241
  when "gitlab" then gitlab_commit_comparison_status(tag, commit)
242
242
  when "bitbucket" then bitbucket_commit_comparison_status(tag, commit)
243
+ when "codecommit" then nil # TODO: get codecommit comparison status
243
244
  else raise "Unknown source"
244
245
  end
245
246
 
@@ -167,6 +167,7 @@ module Dependabot
167
167
  when "github" then fetch_github_file(file)
168
168
  when "gitlab" then fetch_gitlab_file(file)
169
169
  when "bitbucket" then fetch_bitbucket_file(file)
170
+ when "codecommit" then nil # TODO: git file from codecommit
170
171
  else raise "Unsupported provider '#{provider}'"
171
172
  end
172
173
  end
@@ -220,6 +221,7 @@ module Dependabot
220
221
  when "bitbucket" then fetch_bitbucket_file_list
221
222
  when "gitlab" then fetch_gitlab_file_list
222
223
  when "azure" then [] # TODO: Fetch files from Azure
224
+ when "codecommit" then [] # TODO: Fetch Files from Codecommit
223
225
  else raise "Unexpected repo provider '#{source.provider}'"
224
226
  end
225
227
  end
@@ -23,6 +23,7 @@ module Dependabot
23
23
  def commits_url
24
24
  return unless source
25
25
  return if source.provider == "azure" # TODO: Fetch Azure commits
26
+ return if source.provider == "codecommit" # TODO: Fetch Codecommit commits
26
27
 
27
28
  path =
28
29
  case source.provider
@@ -44,6 +45,7 @@ module Dependabot
44
45
  when "bitbucket" then fetch_bitbucket_commits
45
46
  when "gitlab" then fetch_gitlab_commits
46
47
  when "azure" then [] # TODO: Fetch Azure commits
48
+ when "codecommit" then [] # TODO: Fetch Codecommit commits
47
49
  else raise "Unexpected source provider '#{source.provider}'"
48
50
  end
49
51
  end
@@ -194,8 +194,9 @@ module Dependabot
194
194
 
195
195
  case source.provider
196
196
  when "github" then fetch_github_releases
197
- # Bitbucket doesn't support releases and Azure can't list API for annotated tags
198
- when "bitbucket", "azure" then []
197
+ # Bitbucket and CodeCommit don't support releases and
198
+ # Azure can't list API for annotated tags
199
+ when "bitbucket", "azure", "codecommit" then []
199
200
  when "gitlab" then fetch_gitlab_releases
200
201
  else raise "Unexpected repo provider '#{source.provider}'"
201
202
  end
@@ -9,7 +9,7 @@ module Dependabot
9
9
  require "dependabot/metadata_finders/base/release_finder"
10
10
  require "dependabot/metadata_finders/base/commits_finder"
11
11
 
12
- PACKAGE_MANAGERS_WITH_RELIABLE_DIRECTORIES = %w(npm_and_yarn).freeze
12
+ PACKAGE_MANAGERS_WITH_RELIABLE_DIRECTORIES = %w(npm_and_yarn pub).freeze
13
13
 
14
14
  attr_reader :dependency, :credentials
15
15
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dependabot
4
- VERSION = "0.187.0"
4
+ VERSION = "0.190.0"
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.187.0
4
+ version: 0.190.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-13 00:00:00.000000000 Z
11
+ date: 2022-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -326,14 +326,14 @@ dependencies:
326
326
  requirements:
327
327
  - - "~>"
328
328
  - !ruby/object:Gem::Version
329
- version: 1.28.2
329
+ version: 1.29.1
330
330
  type: :development
331
331
  prerelease: false
332
332
  version_requirements: !ruby/object:Gem::Requirement
333
333
  requirements:
334
334
  - - "~>"
335
335
  - !ruby/object:Gem::Version
336
- version: 1.28.2
336
+ version: 1.29.1
337
337
  - !ruby/object:Gem::Dependency
338
338
  name: ruby-debug-ide
339
339
  requirement: !ruby/object:Gem::Requirement