dependabot-common 0.245.0 → 0.247.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/lib/dependabot/clients/bitbucket.rb +113 -5
  3. data/lib/dependabot/clients/codecommit.rb +107 -12
  4. data/lib/dependabot/clients/github_with_retries.rb +61 -19
  5. data/lib/dependabot/clients/gitlab_with_retries.rb +60 -7
  6. data/lib/dependabot/dependency.rb +1 -1
  7. data/lib/dependabot/errors.rb +20 -2
  8. data/lib/dependabot/file_fetchers/base.rb +8 -19
  9. data/lib/dependabot/file_updaters/base.rb +2 -0
  10. data/lib/dependabot/git_commit_checker.rb +3 -2
  11. data/lib/dependabot/metadata_finders/base/changelog_finder.rb +1 -1
  12. data/lib/dependabot/metadata_finders/base/commits_finder.rb +1 -1
  13. data/lib/dependabot/metadata_finders/base/release_finder.rb +1 -1
  14. data/lib/dependabot/pull_request_creator/azure.rb +80 -9
  15. data/lib/dependabot/pull_request_creator/bitbucket.rb +73 -9
  16. data/lib/dependabot/pull_request_creator/branch_namer/solo_strategy.rb +1 -1
  17. data/lib/dependabot/pull_request_creator/codecommit.rb +96 -25
  18. data/lib/dependabot/pull_request_creator/github.rb +162 -49
  19. data/lib/dependabot/pull_request_creator/gitlab.rb +109 -21
  20. data/lib/dependabot/pull_request_creator/message_builder/issue_linker.rb +13 -4
  21. data/lib/dependabot/pull_request_creator/message_builder.rb +246 -89
  22. data/lib/dependabot/pull_request_creator/pr_name_prefixer.rb +11 -9
  23. data/lib/dependabot/pull_request_creator.rb +32 -27
  24. data/lib/dependabot/pull_request_updater/azure.rb +75 -11
  25. data/lib/dependabot/pull_request_updater/github.rb +89 -28
  26. data/lib/dependabot/pull_request_updater/gitlab.rb +61 -12
  27. data/lib/dependabot/pull_request_updater.rb +1 -1
  28. data/lib/dependabot/registry_client.rb +2 -2
  29. data/lib/dependabot/requirements_update_strategy.rb +13 -0
  30. data/lib/dependabot/update_checkers/base.rb +123 -32
  31. data/lib/dependabot/update_checkers/version_filters.rb +15 -5
  32. data/lib/dependabot/version.rb +6 -43
  33. data/lib/dependabot.rb +1 -1
  34. metadata +18 -3
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.245.0
4
+ version: 0.247.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-02-22 00:00:00.000000000 Z
11
+ date: 2024-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-codecommit
@@ -390,6 +390,20 @@ dependencies:
390
390
  - - "~>"
391
391
  - !ruby/object:Gem::Version
392
392
  version: 1.19.0
393
+ - !ruby/object:Gem::Dependency
394
+ name: rubocop-rspec
395
+ requirement: !ruby/object:Gem::Requirement
396
+ requirements:
397
+ - - "~>"
398
+ - !ruby/object:Gem::Version
399
+ version: 2.27.1
400
+ type: :development
401
+ prerelease: false
402
+ version_requirements: !ruby/object:Gem::Requirement
403
+ requirements:
404
+ - - "~>"
405
+ - !ruby/object:Gem::Version
406
+ version: 2.27.1
393
407
  - !ruby/object:Gem::Dependency
394
408
  name: rubocop-sorbet
395
409
  requirement: !ruby/object:Gem::Requirement
@@ -547,6 +561,7 @@ files:
547
561
  - lib/dependabot/pull_request_updater/gitlab.rb
548
562
  - lib/dependabot/registry_client.rb
549
563
  - lib/dependabot/requirement.rb
564
+ - lib/dependabot/requirements_update_strategy.rb
550
565
  - lib/dependabot/security_advisory.rb
551
566
  - lib/dependabot/shared_helpers.rb
552
567
  - lib/dependabot/simple_instrumentor.rb
@@ -567,7 +582,7 @@ licenses:
567
582
  - Nonstandard
568
583
  metadata:
569
584
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
570
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.245.0
585
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.247.0
571
586
  post_install_message:
572
587
  rdoc_options: []
573
588
  require_paths: