repo
stringlengths
5
92
file_url
stringlengths
80
287
file_path
stringlengths
5
197
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:37:27
2026-01-04 17:58:21
truncated
bool
2 classes
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/workspace_spec.rb
common/spec/dependabot/workspace_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/workspace" RSpec.describe Dependabot::Workspace do specify ".active_workspace" do expect(described_class.active_workspace).to be_nil workspace = instance_double(Dependabot::Workspace::Git) described_class.active_work...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/pull_request_creator_spec.rb
common/spec/dependabot/pull_request_creator_spec.rb
# typed: false # frozen_string_literal: true require "octokit" require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/dependency_group" require "dependabot/pull_request_creator" require "dependabot/pull_request_creator/message" RSpec.describe Dependabot::PullReq...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/dependency_group_spec.rb
common/spec/dependabot/dependency_group_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/dependency_group" require "dependabot/dependency" # TODO: Once the Updater has been merged into Core, we should test this # using the DependencyGroupEngine methods instead of mocking the functionality RSpec.describe Dependabot::DependencyGroup do let(...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/pull_request_updater_spec.rb
common/spec/dependabot/pull_request_updater_spec.rb
# typed: false # frozen_string_literal: true require "octokit" require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/pull_request_updater" RSpec.describe Dependabot::PullRequestUpdater do subject(:updater) do described_class.new( source: source, ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/security_advisory_spec.rb
common/spec/dependabot/security_advisory_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/security_advisory" RSpec.describe Dependabot::SecurityAdvisory do let(:security_advisory) do described_class.new( dependency_name: "rails", package_manager: "dummy", vulnerable_versions: vulnerable_versions,...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/experiments_spec.rb
common/spec/dependabot/experiments_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/experiments" RSpec.describe Dependabot::Experiments do before do described_class.reset! end it "can register experiments as enabled" do described_class.register(:my_test, true) expect(described_class).to be_enab...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/ecosystem_spec.rb
common/spec/dependabot/ecosystem_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/ecosystem" require "dependabot/requirement" RSpec.describe Dependabot::Ecosystem do let(:package_manager_supported_versions) { [Dependabot::Version.new("1"), Dependabot::Version.new("2")] } let(:package_manager_deprecated_versi...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/dependency_file_spec.rb
common/spec/dependabot/dependency_file_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency_file" RSpec.describe Dependabot::DependencyFile do around do |example| repo_path = File.expand_path("spec/fixtures/projects/simple") Dir.chdir(repo_path) { example.run } end let(:file) { described_class.ne...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/notices_spec.rb
common/spec/dependabot/notices_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/version" require "dependabot/experiments" require "dependabot/ecosystem" require "dependabot/notices" require "debug" # A stub package manager for testing purposes. class StubVersionManager < Dependabot::Ecosystem::VersionManager def initialize( n...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/shared_helpers_spec.rb
common/spec/dependabot/shared_helpers_spec.rb
# typed: false # frozen_string_literal: true require "fileutils" require "tmpdir" require "spec_helper" require "dependabot/shared_helpers" require "dependabot/simple_instrumentor" require "dependabot/workspace" # Custom error class for testing class EcoSystemHelperSubprocessFailed < Dependabot::SharedHelpers::Helpe...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/registry_client_spec.rb
common/spec/dependabot/registry_client_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/registry_client" RSpec.describe Dependabot::RegistryClient do let(:url) { "https://example.com" } let(:maven_defaults) do { idempotent: true } end let(:dependabot_defaults) do Dependabot::SharedHelpers.excon_default...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/pull_request_updater/gitlab_spec.rb
common/spec/dependabot/pull_request_updater/gitlab_spec.rb
# typed: false # frozen_string_literal: true require "json" require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/pull_request_updater/gitlab" RSpec.describe Dependabot::PullRequestUpdater::Gitlab do subject(:updater) do described_class.new( source:...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/pull_request_updater/github_spec.rb
common/spec/dependabot/pull_request_updater/github_spec.rb
# typed: false # frozen_string_literal: true require "octokit" require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/pull_request_updater/github" RSpec.describe Dependabot::PullRequestUpdater::Github do subject(:updater) do described_class.new( sour...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/pull_request_updater/azure_spec.rb
common/spec/dependabot/pull_request_updater/azure_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/credential" require "dependabot/dependency_file" require "dependabot/pull_request_updater/azure" RSpec.describe Dependabot::PullRequestUpdater::Azure do subject(:updater) do described_class.new( source: source, ba...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/workspace/git_spec.rb
common/spec/dependabot/workspace/git_spec.rb
# typed: false # frozen_string_literal: true require "fileutils" require "tmpdir" require "spec_helper" require "dependabot/workspace/git" RSpec.describe Dependabot::Workspace::Git do subject(:workspace) { described_class.new(repo_contents_path) } let(:repo_contents_path) { build_tmp_repo("simple", tmp_dir_path...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/pull_request_creator/message_builder_spec.rb
common/spec/dependabot/pull_request_creator/message_builder_spec.rb
# typed: false # frozen_string_literal: true require "octokit" require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/pull_request_creator/message_builder" RSpec.describe Dependabot::PullRequestCreator::MessageBuilder do subject(:message_builder) { builder } ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
true
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/pull_request_creator/gitlab_spec.rb
common/spec/dependabot/pull_request_creator/gitlab_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/pull_request_creator/gitlab" RSpec.describe Dependabot::PullRequestCreator::Gitlab do subject(:creator) do described_class.new( source: source, ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/pull_request_creator/commit_signer_spec.rb
common/spec/dependabot/pull_request_creator/commit_signer_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "gpgme" require "tmpdir" require "dependabot/pull_request_creator/commit_signer" RSpec.describe Dependabot::PullRequestCreator::CommitSigner do subject(:signer) do described_class.new( author_details: author_details, commit_m...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/pull_request_creator/labeler_spec.rb
common/spec/dependabot/pull_request_creator/labeler_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/source" require "dependabot/pull_request_creator/labeler" RSpec.describe Dependabot::PullRequestCreator::Labeler do subject(:labeler) do described_class.new...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/pull_request_creator/github_spec.rb
common/spec/dependabot/pull_request_creator/github_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/pull_request_creator/github" RSpec.describe Dependabot::PullRequestCreator::Github do subject(:creator) do described_class.new( source: source, ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
true
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/pull_request_creator/pr_name_prefixer_spec.rb
common/spec/dependabot/pull_request_creator/pr_name_prefixer_spec.rb
# typed: false # frozen_string_literal: true require "octokit" require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/pull_request_creator/pr_name_prefixer" RSpec.describe Dependabot::PullRequestCreator::PrNamePrefixer do subject(:builder) do described_cla...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/pull_request_creator/azure_spec.rb
common/spec/dependabot/pull_request_creator/azure_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/credential" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/pull_request_creator/azure" RSpec.describe Dependabot::PullRequestCreator::Azure do subject(:creator) do described_class.new...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/pull_request_creator/branch_namer_spec.rb
common/spec/dependabot/pull_request_creator/branch_namer_spec.rb
# typed: false # frozen_string_literal: true require "octokit" require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/pull_request_creator/branch_namer" RSpec.describe Dependabot::PullRequestCreator::BranchNamer do subject(:namer) do described_class.new( ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/pull_request_creator/message_builder/link_and_mention_sanitizer_spec.rb
common/spec/dependabot/pull_request_creator/message_builder/link_and_mention_sanitizer_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/pull_request_creator/message_builder/" \ "link_and_mention_sanitizer" RSpec.describe Dependabot::PullRequestCreator::MessageBuilder::LinkAndMentionSanitizer do subject(:sanitizer) do described_class.new(github_redirec...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/pull_request_creator/message_builder/issue_linker_spec.rb
common/spec/dependabot/pull_request_creator/message_builder/issue_linker_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/pull_request_creator/message_builder/issue_linker" RSpec.describe Dependabot::PullRequestCreator::MessageBuilder::IssueLinker do subject(:issue_linker) do described_class.new(source_url: "https://github.com/a/b") end des...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/pull_request_creator/message_builder/metadata_presenter_spec.rb
common/spec/dependabot/pull_request_creator/message_builder/metadata_presenter_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/pull_request_creator/message_builder/metadata_presenter" namespace = Dependabot::PullRequestCreator::MessageBuilder RSpec.describe namespace::MetadataPresenter do subject(:presenter) do described_class.new( dependency: ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/pull_request_creator/branch_namer/dependency_group_strategy_spec.rb
common/spec/dependabot/pull_request_creator/branch_namer/dependency_group_strategy_spec.rb
# typed: false # frozen_string_literal: true require "digest" require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/dependency_group" require "dependabot/pull_request_creator/branch_namer/dependency_group_strategy" RSpec.describe Dependabot::PullRequestCreator...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/pull_request_creator/branch_namer/solo_strategy_spec.rb
common/spec/dependabot/pull_request_creator/branch_namer/solo_strategy_spec.rb
# typed: false # frozen_string_literal: true require "octokit" require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/pull_request_creator/branch_namer/solo_strategy" RSpec.describe Dependabot::PullRequestCreator::BranchNamer::SoloStrategy do subject(:namer) d...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/pull_request_creator/branch_namer/multi_ecosystem_strategy_spec.rb
common/spec/dependabot/pull_request_creator/branch_namer/multi_ecosystem_strategy_spec.rb
# typed: false # frozen_string_literal: true require "digest" require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/dependency_group" require "dependabot/pull_request_creator/branch_namer/multi_ecosystem_strategy" RSpec.describe Dependabot::PullRequestCreator:...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/update_checkers/version_filters_spec.rb
common/spec/dependabot/update_checkers/version_filters_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/update_checkers/version_filters" require "dependabot/package/package_release" require "rspec" RSpec.describe Dependabot::UpdateCheckers::VersionFilters do describe ".filter_vulnerable_versions" do let(:security_advisory) { instance_double(Dependab...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/update_checkers/base_spec.rb
common/spec/dependabot/update_checkers/base_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/security_advisory" require "dependabot/update_checkers/base" RSpec.describe Dependabot::UpdateCheckers::Base do let(:updater_instance) do described_class.new( dependency: dependency, ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/update_checkers/shared_examples_for_update_checkers.rb
common/spec/dependabot/update_checkers/shared_examples_for_update_checkers.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/update_checkers/base" RSpec.shared_examples "an update checker" do describe "the class" do subject { described_class } let(:base_class) { Dependabot::UpdateCheckers::Base } def recent_ancestors ancestors = des...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/config/file_spec.rb
common/spec/dependabot/config/file_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/config" require "dependabot/config/file" require "dependabot/config/update_config" RSpec.describe Dependabot::Config::File do describe "#parse" do it "parses the config file" do cfg = described_class.parse(fixture("conf...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/config/ignore_condition_spec.rb
common/spec/dependabot/config/ignore_condition_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/config/ignore_condition" require "dependabot/dependency" require "spec_helper" RSpec.describe Dependabot::Config::IgnoreCondition do let(:dependency_name) { "test" } let(:dependency_version) { "1.2.3" } let(:ignore_condition) { described_class.new...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/config/file_fetcher_spec.rb
common/spec/dependabot/config/file_fetcher_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/source" require "dependabot/config/file_fetcher" require "spec_helper" RSpec.describe Dependabot::Config::FileFetcher do let(:repo) { "gocardless/bump" } let(:source) do Dependabot::Source.new( provider: "github", repo: repo, d...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/config/update_config_spec.rb
common/spec/dependabot/config/update_config_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/config" require "dependabot/config/file" require "dependabot/config/update_config" RSpec.describe Dependabot::Config::UpdateConfig do describe "#ignored_versions_for" do subject(:ignored_versions) { config.ignored_versions_fo...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/package/package_release_spec.rb
common/spec/dependabot/package/package_release_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/package/package_release" require "dependabot/package/package_language" require "dependabot/version" RSpec.describe Dependabot::Package::PackageRelease do let(:version) { Dependabot::Version.new("2.0.0") } let(:released_at) { Ti...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/package/release_cooldown_options_spec.rb
common/spec/dependabot/package/release_cooldown_options_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/package/release_cooldown_options" RSpec.describe Dependabot::Package::ReleaseCooldownOptions do subject(:release_cooldown_options) do described_class.new( default_days: default_days, semver_major_days: semver_majo...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/package/package_latest_version_finder_spec.rb
common/spec/dependabot/package/package_latest_version_finder_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/credential" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/package/package_latest_version_finder" # Define the stubbed PackageLatestVersionFinder class StubPackageLatestVersionFinder < Depe...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/package/package_language_spec.rb
common/spec/dependabot/package/package_language_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/package/package_language" require "dependabot/version" RSpec.describe Dependabot::Package::PackageLanguage do let(:name) { "ruby" } let(:version) { Dependabot::Version.new("2.7.6") } let(:requirement) { TestRequirement.new(">...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/package/package_details_spec.rb
common/spec/dependabot/package/package_details_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/package/package_details" require "dependabot/dependency" require "dependabot/version" RSpec.describe Dependabot::Package::PackageDetails do let(:dependency) do Dependabot::Dependency.new(name: "rails", version: "6.1.4", requi...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/file_fetchers/shared_examples_for_file_fetchers.rb
common/spec/dependabot/file_fetchers/shared_examples_for_file_fetchers.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "octokit" require "dependabot/file_fetchers/base" RSpec.shared_examples "a dependency file fetcher" do describe "the class" do subject { described_class } let(:base_class) { Dependabot::FileFetchers::Base } its(:superclass) { i...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/file_fetchers/base_spec.rb
common/spec/dependabot/file_fetchers/base_spec.rb
# typed: false # frozen_string_literal: true require "aws-sdk-codecommit" require "octokit" require "fileutils" require "spec_helper" require "dependabot/credential" require "dependabot/source" require "dependabot/file_fetchers/base" require "dependabot/clients/codecommit" require "dependabot/shared_helpers" RSpec.de...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
true
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/file_parsers/shared_examples_for_file_parsers.rb
common/spec/dependabot/file_parsers/shared_examples_for_file_parsers.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "octokit" require "dependabot/file_parsers/base" RSpec.shared_examples "a dependency file parser" do describe "the class" do subject { described_class } let(:base_class) { Dependabot::FileParsers::Base } its(:superclass) { is_e...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/file_parsers/base_spec.rb
common/spec/dependabot/file_parsers/base_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/file_parsers/base" RSpec.describe Dependabot::FileParsers::Base do let(:package_manager_instance) { nil } # Default value let(:child_class) do pm_instanc...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/file_parsers/base/dependency_set_spec.rb
common/spec/dependabot/file_parsers/base/dependency_set_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/file_parsers/base/dependency_set" RSpec.describe Dependabot::FileParsers::Base::DependencySet do let(:dependency_set) { described_class.new } let(:dependency) do Dependabot::Dependency.new( ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/clients/codecommit_spec.rb
common/spec/dependabot/clients/codecommit_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/clients/codecommit" require "dependabot/credential" RSpec.describe Dependabot::Clients::CodeCommit do let(:branch) { "master" } let(:repo) { "gocardless" } let(:credentials) do [Dependabot::Credential.new( { ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/clients/bitbucket_spec.rb
common/spec/dependabot/clients/bitbucket_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/clients/bitbucket" RSpec.describe Dependabot::Clients::Bitbucket do let(:current_user_url) { "https://api.bitbucket.org/2.0/user?fields=uuid" } let(:access_token) { "access_token" } let(:credentials) do [Dependabot::Crede...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/clients/github_with_retries_spec.rb
common/spec/dependabot/clients/github_with_retries_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/clients/github_with_retries" RSpec.describe Dependabot::Clients::GithubWithRetries do let(:client) { described_class.new(access_token: access_token) } let(:access_token) { "my-token" } describe "retrying a method that mutate...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/clients/gitlab_with_retries_spec.rb
common/spec/dependabot/clients/gitlab_with_retries_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/clients/gitlab_with_retries" RSpec.describe Dependabot::Clients::GitlabWithRetries do let(:client) do described_class.new( endpoint: "https://gitlab.com/api/v4", private_token: access_token ) end let(:acce...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/clients/azure_spec.rb
common/spec/dependabot/clients/azure_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/clients/azure" RSpec.shared_examples "#get using auth headers" do |credential| before do stub_request(:get, base_url) .with(headers: credential["headers"]) .to_return(status: 200, body: '{"result": "Success"}') ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/file_updaters/artifact_updater_spec.rb
common/spec/dependabot/file_updaters/artifact_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/file_updaters/artifact_updater" RSpec.describe Dependabot::FileUpdaters::ArtifactUpdater do let(:updater) do described_class.new( repo_contents_path: repo_contents_path, target_directory: target_directory ) ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/file_updaters/vendor_updater_spec.rb
common/spec/dependabot/file_updaters/vendor_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/file_updaters/vendor_updater" RSpec.describe Dependabot::FileUpdaters::VendorUpdater do let(:updater) do described_class.new( repo_contents_path: repo_contents_path, vendor_dir: vendor_dir ) end let(:vend...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/file_updaters/shared_examples_for_file_updaters.rb
common/spec/dependabot/file_updaters/shared_examples_for_file_updaters.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/file_updaters/base" RSpec.shared_examples "a dependency file updater" do describe "the class" do subject { described_class } let(:base_class) { Dependabot::FileUpdaters::Base } def recent_ancestors ancestors =...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/file_updaters/base_spec.rb
common/spec/dependabot/file_updaters/base_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/file_updaters/base" RSpec.describe Dependabot::FileUpdaters::Base do let(:child_class) do Class.new(described_class) do def check_required_files ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/metadata_finders/shared_examples_for_metadata_finders.rb
common/spec/dependabot/metadata_finders/shared_examples_for_metadata_finders.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/metadata_finders/base" RSpec.shared_examples "a dependency metadata finder" do describe "the class" do subject { described_class } let(:base_class) { Dependabot::MetadataFinders::Base } its(:superclass) { is_expecte...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/metadata_finders/base_spec.rb
common/spec/dependabot/metadata_finders/base_spec.rb
# typed: false # frozen_string_literal: true require "octokit" require "spec_helper" require "dependabot/source" require "dependabot/dependency" require "dependabot/metadata_finders/base" RSpec.describe Dependabot::MetadataFinders::Base do subject(:finder) do described_class.new(dependency: dependency, credenti...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/metadata_finders/base/changelog_finder_spec.rb
common/spec/dependabot/metadata_finders/base/changelog_finder_spec.rb
# typed: false # frozen_string_literal: true require "octokit" require "gitlab" require "spec_helper" require "dependabot/credential" require "dependabot/dependency" require "dependabot/source" require "dependabot/metadata_finders/base/changelog_finder" RSpec.describe Dependabot::MetadataFinders::Base::ChangelogFinde...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
true
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/metadata_finders/base/commits_finder_spec.rb
common/spec/dependabot/metadata_finders/base/commits_finder_spec.rb
# typed: false # frozen_string_literal: true require "octokit" require "spec_helper" require "dependabot/dependency" require "dependabot/source" require "dependabot/metadata_finders/base/commits_finder" RSpec.describe Dependabot::MetadataFinders::Base::CommitsFinder do subject(:builder) do described_class.new( ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
true
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/metadata_finders/base/release_finder_spec.rb
common/spec/dependabot/metadata_finders/base/release_finder_spec.rb
# typed: false # frozen_string_literal: true require "octokit" require "gitlab" require "spec_helper" require "dependabot/dependency" require "dependabot/source" require "dependabot/metadata_finders/base/release_finder" RSpec.describe Dependabot::MetadataFinders::Base::ReleaseFinder do subject(:finder) do descr...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/spec/dependabot/metadata_finders/base/changelog_pruner_spec.rb
common/spec/dependabot/metadata_finders/base/changelog_pruner_spec.rb
# typed: false # frozen_string_literal: true require "json" require "base64" require "spec_helper" require "dependabot/dependency" require "dependabot/metadata_finders/base/changelog_pruner" RSpec.describe Dependabot::MetadataFinders::Base::ChangelogPruner do subject(:pruner) do described_class.new( chan...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/wildcard_matcher.rb
common/lib/wildcard_matcher.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" class WildcardMatcher extend T::Sig sig { params(wildcard_string: T.nilable(String), candidate_string: T.nilable(String)).returns(T::Boolean) } def self.match?(wildcard_string, candidate_string) return false unless wildcard_string && ca...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot.rb
common/lib/dependabot.rb
# typed: strong # frozen_string_literal: true module Dependabot VERSION = "0.355.0" end
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/experiments.rb
common/lib/dependabot/experiments.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" module Dependabot module Experiments extend T::Sig @experiments = T.let({}, T::Hash[T.any(String, Symbol), T.untyped]) sig { returns(T::Hash[T.any(String, Symbol), T.untyped]) } def self.reset! @experiments = {} end ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/source.rb
common/lib/dependabot/source.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" module Dependabot class Source extend T::Sig GITHUB_SOURCE = %r{ (?<provider>github) (?:\.com)[/:] (?<repo>[\w.-]+/(?:[\w.-])+) (?:(?:/tree|/blob)/(?<branch>[^/]+)/(?<directory>.*)[\#|/])? }x GITHUB_ENTE...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/file_fetchers.rb
common/lib/dependabot/file_fetchers.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/file_fetchers/base" module Dependabot module FileFetchers extend T::Sig @file_fetchers = T.let({}, T::Hash[String, T.class_of(Dependabot::FileFetchers::Base)]) sig { params(package_manager: String).returns(T.cla...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/file_parsers.rb
common/lib/dependabot/file_parsers.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/file_parsers/base" module Dependabot module FileParsers extend T::Sig @file_parsers = T.let({}, T::Hash[String, T.class_of(Dependabot::FileParsers::Base)]) sig { params(package_manager: String).returns(T.class_o...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/simple_instrumentor.rb
common/lib/dependabot/simple_instrumentor.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" module Dependabot module SimpleInstrumentor class << self extend T::Sig extend T::Generic sig { returns(T.nilable(T::Array[T.proc.params(name: String, params: T::Hash[Symbol, T.untyped]).void])) } attr_accessor :subs...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/notices.rb
common/lib/dependabot/notices.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/ecosystem" module Dependabot class Notice module NoticeMode INFO = "INFO" WARN = "WARN" ERROR = "ERROR" end extend T::Sig sig { returns(String) } attr_reader :mode, :type, :package_mana...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/version.rb
common/lib/dependabot/version.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" module Dependabot class Version < Gem::Version extend T::Sig extend T::Helpers abstract! VersionParameter = T.type_alias { T.nilable(T.any(String, Integer, Gem::Version)) } sig { override.overridable.params(version: Versio...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/update_checkers.rb
common/lib/dependabot/update_checkers.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/update_checkers/base" module Dependabot module UpdateCheckers extend T::Sig @update_checkers = T.let({}, T::Hash[String, T.class_of(Dependabot::UpdateCheckers::Base)]) sig { params(package_manager: String).retur...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/requirement.rb
common/lib/dependabot/requirement.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" module Dependabot class Requirement < Gem::Requirement extend T::Sig extend T::Helpers # Constants for operator groups MINIMUM_OPERATORS = %w(>= > ~>).freeze MAXIMUM_OPERATORS = %w(<= < ~>).freeze abstract! # Parse...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/git_metadata_fetcher.rb
common/lib/dependabot/git_metadata_fetcher.rb
# typed: strict # frozen_string_literal: true require "excon" require "open3" require "ostruct" require "sorbet-runtime" require "tmpdir" require "dependabot/errors" require "dependabot/git_ref" require "dependabot/git_tag_with_detail" require "dependabot/credential" module Dependabot class GitMetadataFetcher e...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/security_advisory.rb
common/lib/dependabot/security_advisory.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/version" module Dependabot class SecurityAdvisory extend T::Sig sig { returns(String) } attr_reader :dependency_name sig { returns(String) } attr_reader :package_manager sig { returns(T::Array[Depen...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/git_commit_checker.rb
common/lib/dependabot/git_commit_checker.rb
# typed: strict # frozen_string_literal: true require "excon" require "sorbet-runtime" require "gitlab" require "dependabot/clients/github_with_retries" require "dependabot/clients/gitlab_with_retries" require "dependabot/clients/bitbucket_with_retries" require "dependabot/metadata_finders" require "dependabot/errors"...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/logger.rb
common/lib/dependabot/logger.rb
# typed: strong # frozen_string_literal: true require "logger" require "sorbet-runtime" module Dependabot extend T::Sig sig { returns(::Logger) } def self.logger @logger ||= T.let(::Logger.new(nil), T.nilable(::Logger)) end sig { params(logger: ::Logger).void } def self.logger=(logger) @logger =...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/errors.rb
common/lib/dependabot/errors.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/utils" # rubocop:disable Metrics/ModuleLength module Dependabot extend T::Sig module ErrorAttributes BACKTRACE = "error-backtrace" CLASS = "error-class" DETAILS = "error-details" ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/file_filtering.rb
common/lib/dependabot/file_filtering.rb
# typed: strong # frozen_string_literal: true module Dependabot module FileFiltering extend T::Sig # Returns true if the given path matches any of the exclude patterns sig { params(path: String, exclude_patterns: T.nilable(T::Array[String])).returns(T::Boolean) } def self.exclude_path?(path, exclude...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/file_updaters.rb
common/lib/dependabot/file_updaters.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/file_updaters/base" module Dependabot module FileUpdaters extend T::Sig @file_updaters = T.let({}, T::Hash[String, T.class_of(Dependabot::FileUpdaters::Base)]) sig { params(package_manager: String).returns(T.cla...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/git_ref.rb
common/lib/dependabot/git_ref.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" module Dependabot class GitRef extend T::Sig sig { returns(String) } attr_accessor :name sig { returns(String) } attr_accessor :commit_sha sig { returns(T.nilable(String)) } attr_reader :tag_sha sig { returns(...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/ecosystem.rb
common/lib/dependabot/ecosystem.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/requirement" module Dependabot class Ecosystem extend T::Sig class VersionManager extend T::Sig extend T::Helpers DEFAULT_VERSION_PATTERN = /(\d+\.\d+(.\d+)*)/ abstract! # Initialize v...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/utils.rb
common/lib/dependabot/utils.rb
# typed: strong # frozen_string_literal: true require "tmpdir" require "sorbet-runtime" require "dependabot/requirement" require "dependabot/version" require "dependabot/config/file" # TODO: in due course, these "registries" should live in a wrapper gem, not # dependabot-core. module Dependabot module Utils ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/command_helpers.rb
common/lib/dependabot/command_helpers.rb
# typed: strict # frozen_string_literal: true require "open3" require "timeout" require "sorbet-runtime" require "shellwords" module Dependabot module CommandHelpers extend T::Sig module TIMEOUTS NO_TIME_OUT = -1 # No timeout GRARECFULLY_STOP = 5 # 5 seconds for graceful termination LOCAL...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/pull_request_creator.rb
common/lib/dependabot/pull_request_creator.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/metadata_finders" require "dependabot/credential" module Dependabot class PullRequestCreator # rubocop:disable Metrics/ClassLength extend T::Sig require "dependabot/pull_request_creator/azure" require "dependabot...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/metadata_finders.rb
common/lib/dependabot/metadata_finders.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/metadata_finders/base" module Dependabot module MetadataFinders extend T::Sig @metadata_finders = T.let({}, T::Hash[String, T.class_of(Dependabot::MetadataFinders::Base)]) sig { params(package_manager: String).r...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/registry_client.rb
common/lib/dependabot/registry_client.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/shared_helpers" # This class provides a thin wrapper around our normal usage of Excon as a simple HTTP client in order to # provide some minor caching functionality. # # This is not used to support full response caching current...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/dependency_group.rb
common/lib/dependabot/dependency_group.rb
# typed: strict # frozen_string_literal: true require "dependabot/experiments" require "dependabot/config/ignore_condition" require "dependabot/logger" require "sorbet-runtime" require "wildcard_matcher" require "yaml" module Dependabot class DependencyGroup extend T::Sig sig { returns(String) } attr_...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/dependency_file.rb
common/lib/dependabot/dependency_file.rb
# typed: strong # frozen_string_literal: true require "pathname" require "sorbet-runtime" module Dependabot class DependencyFile extend T::Sig sig { returns(String) } attr_accessor :name sig { returns(T.nilable(String)) } attr_accessor :content # This is the directory of the job source, n...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/credential.rb
common/lib/dependabot/credential.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "forwardable" module Dependabot class Credential extend T::Sig extend Forwardable def_delegators :@credential, :fetch, :keys, :[]=, :delete, :slice, :values, :entries sig { params(credential: T::Hash[String, T.any(T::Bo...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/dependency_graphers.rb
common/lib/dependabot/dependency_graphers.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/dependency_graphers/base" require "dependabot/dependency_graphers/generic" module Dependabot module DependencyGraphers extend T::Sig @graphers = T.let({}, T::Hash[String, T.class_of(Base)]) sig { params(package...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/shared_helpers.rb
common/lib/dependabot/shared_helpers.rb
# typed: strict # frozen_string_literal: true require "digest" require "English" require "excon" require "fileutils" require "json" require "open3" require "sorbet-runtime" require "tmpdir" require "securerandom" require "dependabot/credential" require "dependabot/simple_instrumentor" require "dependabot/utils" requi...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/requirements_update_strategy.rb
common/lib/dependabot/requirements_update_strategy.rb
# typed: strong # frozen_string_literal: true module Dependabot class RequirementsUpdateStrategy < T::Enum enums do BumpVersions = new("bump_versions") BumpVersionsIfNecessary = new("bump_versions_if_necessary") LockfileOnly = new("lockfile_only") WidenRanges = new("widen_ranges") end...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/git_tag_with_detail.rb
common/lib/dependabot/git_tag_with_detail.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" module Dependabot class GitTagWithDetail extend T::Sig sig { returns(String) } attr_accessor :tag sig { returns(T.nilable(String)) } attr_accessor :release_date sig do params( tag: String, release...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/pull_request_updater.rb
common/lib/dependabot/pull_request_updater.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/pull_request_updater/github" require "dependabot/pull_request_updater/gitlab" require "dependabot/pull_request_updater/azure" require "dependabot/credential" module Dependabot class PullRequestUpdater extend T::Sig c...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/config.rb
common/lib/dependabot/config.rb
# typed: strong # frozen_string_literal: true module Dependabot module Config class InvalidConfigError < StandardError; end end end
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/workspace.rb
common/lib/dependabot/workspace.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/workspace/git" module Dependabot module Workspace extend T::Sig @active_workspace = T.let(nil, T.nilable(Dependabot::Workspace::Git)) class << self extend T::Sig sig { returns(T.nilable(Dependabot::...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/dependency.rb
common/lib/dependabot/dependency.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/version" module Dependabot class Dependency extend T::Sig @production_checks = T.let( {}, T::Hash[String, T.proc.params(arg0: T::Array[T.untyped]).returns(T::Boolean)] ) @display_name_builders = T...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/pull_request_updater/gitlab.rb
common/lib/dependabot/pull_request_updater/gitlab.rb
# typed: strict # frozen_string_literal: true require "gitlab" require "sorbet-runtime" require "dependabot/clients/gitlab_with_retries" require "dependabot/credential" require "dependabot/pull_request_creator" module Dependabot class PullRequestUpdater class Gitlab extend T::Sig sig { returns(Dep...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/pull_request_updater/github.rb
common/lib/dependabot/pull_request_updater/github.rb
# typed: strict # frozen_string_literal: true require "octokit" require "sorbet-runtime" require "dependabot/clients/github_with_retries" require "dependabot/pull_request_creator/commit_signer" require "dependabot/pull_request_updater" module Dependabot class PullRequestUpdater class Github extend T::Sig...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/common/lib/dependabot/pull_request_updater/azure.rb
common/lib/dependabot/pull_request_updater/azure.rb
# typed: strict # frozen_string_literal: true require "securerandom" require "sorbet-runtime" require "dependabot/clients/azure" module Dependabot class PullRequestUpdater class Azure extend T::Sig class PullRequestUpdateFailed < Dependabot::DependabotError; end OBJECT_ID_FOR_BRANCH_DELETE ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false