dependabot-common 0.254.0 → 0.256.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: cf205c21f19217f308e953e1e19e56366b4ae2235a6cb105f0b0c96a45654693
4
- data.tar.gz: '058f62ee7de2253b6eb44011a7bbbf8da613ca2f8e98c393229093ac75d23e98'
3
+ metadata.gz: dc082c81806a53bfb7d1e93915450e027a6efed4a7d0d8ba32d950c36c49fcec
4
+ data.tar.gz: 38bdaae60b9d0b3c740f3efa9125f14b0be4b5bbb2523541692a4130e2b74cc9
5
5
  SHA512:
6
- metadata.gz: 972a03d3e7e8cac3368c7379edccef965578d0528c9a5bd9668a16af6e96ad15af8f8dbf251b2883c83cac98aa12fd933f87bbaf46ec85c0cc6868ca35706ebd
7
- data.tar.gz: c304a257424d6c8f2dc6dafd3922214406a019b586458085f330a3c87d4851fac2a48744abfb658ed0891e3abb22ea66d71db714f9dca96bfa05875c7662e882
6
+ metadata.gz: 41ea684e03c5f2b160bee45f88492d7ab47b8b402b839418e8ef874d21618d6021f9005a03fd04fdb1cc6a97075f3880fe9c91f0fd918369ed5116675989f04e
7
+ data.tar.gz: ab9e34d75abb3097fe6381c05f28925bd2dcd710a1fd06c78e812387538b1e4bb1132d310b8cf4258ecd0cac894676bcaef6dff1fd9fa87d406aac632dbd2532
@@ -297,6 +297,7 @@ module Dependabot
297
297
  when "gitlab" then fetch_gitlab_file_list
298
298
  when "azure" then fetch_azure_file_list
299
299
  when "codecommit" then [] # TODO: Fetch Files from Codecommit
300
+ when "example" then []
300
301
  else raise "Unexpected repo provider '#{T.must(source).provider}'"
301
302
  end
302
303
  end
@@ -51,6 +51,7 @@ module Dependabot
51
51
  when "bitbucket" then bitbucket_compare_path(new_tag, previous_tag)
52
52
  when "gitlab" then gitlab_compare_path(new_tag, previous_tag)
53
53
  when "azure" then azure_compare_path(new_tag, previous_tag)
54
+ when "example" then ""
54
55
  else raise "Unexpected source provider '#{T.must(source).provider}'"
55
56
  end
56
57
 
@@ -242,7 +242,7 @@ module Dependabot
242
242
  when "github" then fetch_github_releases
243
243
  # Bitbucket and CodeCommit don't support releases and
244
244
  # Azure can't list API for annotated tags
245
- when "bitbucket", "azure", "codecommit" then []
245
+ when "bitbucket", "azure", "codecommit", "example" then []
246
246
  when "gitlab" then fetch_gitlab_releases
247
247
  else raise "Unexpected repo provider '#{T.must(source).provider}'"
248
248
  end
@@ -317,6 +317,7 @@ module Dependabot
317
317
  when "azure" then recent_azure_commit_messages
318
318
  when "bitbucket" then recent_bitbucket_commit_messages
319
319
  when "codecommit" then recent_codecommit_commit_messages
320
+ when "example" then []
320
321
  else raise "Unsupported provider: #{source.provider}"
321
322
  end
322
323
  end
@@ -402,6 +403,7 @@ module Dependabot
402
403
  when "azure" then last_azure_dependabot_commit_message
403
404
  when "bitbucket" then last_bitbucket_dependabot_commit_message
404
405
  when "codecommit" then last_codecommit_dependabot_commit_message
406
+ when "example" then nil
405
407
  else raise "Unsupported provider: #{source.provider}"
406
408
  end,
407
409
  T.nilable(String)
@@ -405,6 +405,9 @@ module Dependabot
405
405
  stderr_to_stdout: true)
406
406
  start = Time.now
407
407
  cmd = allow_unsafe_shell_command ? command : escape_command(command)
408
+
409
+ puts cmd if ENV["DEBUG_HELPERS"] == "true"
410
+
408
411
  if stderr_to_stdout
409
412
  stdout, process = Open3.capture2e(env || {}, cmd)
410
413
  else
data/lib/dependabot.rb CHANGED
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Dependabot
5
- VERSION = "0.254.0"
5
+ VERSION = "0.256.0"
6
6
  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.254.0
4
+ version: 0.256.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-24 00:00:00.000000000 Z
11
+ date: 2024-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-codecommit
@@ -281,7 +281,7 @@ dependencies:
281
281
  version: 1.1.2
282
282
  - - "<"
283
283
  - !ruby/object:Gem::Version
284
- version: '3.0'
284
+ version: '4.0'
285
285
  type: :runtime
286
286
  prerelease: false
287
287
  version_requirements: !ruby/object:Gem::Requirement
@@ -291,7 +291,7 @@ dependencies:
291
291
  version: 1.1.2
292
292
  - - "<"
293
293
  - !ruby/object:Gem::Version
294
- version: '3.0'
294
+ version: '4.0'
295
295
  - !ruby/object:Gem::Dependency
296
296
  name: debug
297
297
  requirement: !ruby/object:Gem::Requirement
@@ -432,6 +432,20 @@ dependencies:
432
432
  - - "~>"
433
433
  - !ruby/object:Gem::Version
434
434
  version: 0.8.1
435
+ - !ruby/object:Gem::Dependency
436
+ name: simplecov
437
+ requirement: !ruby/object:Gem::Requirement
438
+ requirements:
439
+ - - "~>"
440
+ - !ruby/object:Gem::Version
441
+ version: 0.22.0
442
+ type: :development
443
+ prerelease: false
444
+ version_requirements: !ruby/object:Gem::Requirement
445
+ requirements:
446
+ - - "~>"
447
+ - !ruby/object:Gem::Version
448
+ version: 0.22.0
435
449
  - !ruby/object:Gem::Dependency
436
450
  name: turbo_tests
437
451
  requirement: !ruby/object:Gem::Requirement
@@ -583,7 +597,7 @@ licenses:
583
597
  - Nonstandard
584
598
  metadata:
585
599
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
586
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.254.0
600
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.256.0
587
601
  post_install_message:
588
602
  rdoc_options: []
589
603
  require_paths:
@@ -599,7 +613,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
599
613
  - !ruby/object:Gem::Version
600
614
  version: 3.3.7
601
615
  requirements: []
602
- rubygems_version: 3.3.26
616
+ rubygems_version: 3.5.9
603
617
  signing_key:
604
618
  specification_version: 4
605
619
  summary: Shared code used across Dependabot Core