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/uv/spec/dependabot/uv/metadata_finder_spec.rb
uv/spec/dependabot/uv/metadata_finder_spec.rb
# typed: false # frozen_string_literal: true require "octokit" require "spec_helper" require "dependabot/dependency" require "dependabot/uv/metadata_finder" require_common_spec "metadata_finders/shared_examples_for_metadata_finders" RSpec.describe Dependabot::Uv::MetadataFinder do subject(:finder) do described_...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/spec/dependabot/uv/requirement_parser_spec.rb
uv/spec/dependabot/uv/requirement_parser_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/uv/requirement_parser" RSpec.describe Dependabot::Uv::RequirementParser do def parse(line) requirement = line.chomp.match(described_class::INSTALL_REQ_WITH_REQUIREMENT) return if requirement.nil? requirements =...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/spec/dependabot/uv/file_updater_spec.rb
uv/spec/dependabot/uv/file_updater_spec.rb
# typed: false # frozen_string_literal: true require "ostruct" require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/uv/file_updater" require "dependabot/shared_helpers" require_common_spec "file_updaters/shared_examples_for_file_updaters" RSpec.describe Depen...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/spec/dependabot/uv/update_checker_spec.rb
uv/spec/dependabot/uv/update_checker_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency_file" require "dependabot/dependency" require "dependabot/uv/update_checker" require "dependabot/requirements_update_strategy" require_common_spec "update_checkers/shared_examples_for_update_checkers" RSpec.describe Dep...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/spec/dependabot/uv/package_manager_spec.rb
uv/spec/dependabot/uv/package_manager_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/uv/package_manager" require "dependabot/ecosystem" require "spec_helper" RSpec.describe Dependabot::Uv::PackageManager do let(:package_manager) { described_class.new("0.6.2") } describe "#initialize" do context "when version is a String" do ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/spec/dependabot/uv/file_fetcher_spec.rb
uv/spec/dependabot/uv/file_fetcher_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/uv/file_fetcher" require_common_spec "file_fetchers/shared_examples_for_file_fetchers" RSpec.describe Dependabot::Uv::FileFetcher do it_behaves_like "a dependency file fetcher" describe ".required_files_in?" do subject { d...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
true
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/spec/dependabot/uv/file_parser_spec.rb
uv/spec/dependabot/uv/file_parser_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency_file" require "dependabot/source" require "dependabot/uv/file_parser" require_common_spec "file_parsers/shared_examples_for_file_parsers" RSpec.describe Dependabot::Uv::FileParser do let(:requirements_fixture_name) { "...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/spec/dependabot/uv/authed_url_builder_spec.rb
uv/spec/dependabot/uv/authed_url_builder_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/credential" require "dependabot/uv/authed_url_builder" RSpec.describe Dependabot::Uv::AuthedUrlBuilder do describe ".authed_url" do subject(:authed_url) { described_class.authed_url(credential: credential) } context "wit...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/spec/dependabot/uv/language_spec.rb
uv/spec/dependabot/uv/language_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/uv/language" require "dependabot/ecosystem" require_relative "../../spec_helper" RSpec.describe Dependabot::Uv::Language do let(:language) do described_class.new( detected_version: detected_version, raw_version: raw_version ) end...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/spec/dependabot/uv/file_parser/python_requirement_parser_spec.rb
uv/spec/dependabot/uv/file_parser/python_requirement_parser_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency_file" require "dependabot/uv/file_parser/python_requirement_parser" RSpec.describe Dependabot::Uv::FileParser::PythonRequirementParser do let(:parser) { described_class.new(dependency_files: files) } describe "#user...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/spec/dependabot/uv/file_parser/pyproject_files_parser_spec.rb
uv/spec/dependabot/uv/file_parser/pyproject_files_parser_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency_file" require "dependabot/uv" RSpec.describe Dependabot::Uv::FileParser::PyprojectFilesParser do let(:parser) { described_class.new(dependency_files: files) } let(:files) { [pyproject] } let(:pyproject) do Dep...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/spec/dependabot/uv/package/package_registry_finder_spec.rb
uv/spec/dependabot/uv/package/package_registry_finder_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/credential" require "dependabot/dependency_file" require "dependabot/uv/package" RSpec.describe Dependabot::Uv::Package::PackageRegistryFinder do let(:finder) do described_class.new( dependency_files: dependency_files, ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/spec/dependabot/uv/package/package_details_fetcher_spec.rb
uv/spec/dependabot/uv/package/package_details_fetcher_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/credential" require "dependabot/dependency_file" require "dependabot/uv/package" RSpec.describe Dependabot::Uv::Package::PackageDetailsFetcher do subject(:fetcher) do described_class.new( dependency: dependency, d...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/spec/dependabot/uv/update_checker/pip_compile_version_resolver_spec.rb
uv/spec/dependabot/uv/update_checker/pip_compile_version_resolver_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/uv/update_checker/pip_compile_version_resolver" RSpec.describe Dependabot::Uv::UpdateChecker::PipCompileVersionResolver do let(:resolver) do described_class...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/spec/dependabot/uv/update_checker/lock_file_resolver_spec.rb
uv/spec/dependabot/uv/update_checker/lock_file_resolver_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/security_advisory" require "dependabot/uv/update_checker/lock_file_resolver" RSpec.describe Dependabot::Uv::UpdateChecker::LockFileResolver do let(:resolver) do...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/spec/dependabot/uv/update_checker/requirements_updater_spec.rb
uv/spec/dependabot/uv/update_checker/requirements_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/uv/update_checker/requirements_updater" require "dependabot/requirements_update_strategy" RSpec.describe Dependabot::Uv::UpdateChecker::RequirementsUpdater do let(:updater) do described_class.new( requirements: require...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/spec/dependabot/uv/update_checker/latest_version_finder_spec.rb
uv/spec/dependabot/uv/update_checker/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/uv/update_checker/latest_version_finder" RSpec.describe Dependabot::Uv::UpdateChecker::LatestVersionFinder do before do stub...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/spec/dependabot/uv/update_checker/pip_version_resolver_spec.rb
uv/spec/dependabot/uv/update_checker/pip_version_resolver_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/uv/update_checker/pip_version_resolver" RSpec.describe Dependabot::Uv::UpdateChecker::PipVersionResolver do before do stub_request(:get, pypi_url).to_return...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/spec/dependabot/uv/file_updater/compile_file_updater_spec.rb
uv/spec/dependabot/uv/file_updater/compile_file_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/uv/file_updater/compile_file_updater" require "dependabot/shared_helpers" RSpec.describe Dependabot::Uv::FileUpdater::CompileFileUpdater do let(:updater) do ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/spec/dependabot/uv/file_updater/lock_file_updater_spec.rb
uv/spec/dependabot/uv/file_updater/lock_file_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/uv/file_updater/lock_file_updater" require "dependabot/shared_helpers" RSpec.describe Dependabot::Uv::FileUpdater::LockFileUpdater do let(:updater) do descr...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/spec/dependabot/uv/file_updater/pyproject_preparer_spec.rb
uv/spec/dependabot/uv/file_updater/pyproject_preparer_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/uv/file_updater/pyproject_preparer" RSpec.describe Dependabot::Uv::FileUpdater::PyprojectPreparer do let(:preparer) do described_class.new(pyproject_content...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/spec/dependabot/uv/file_updater/requirement_replacer_spec.rb
uv/spec/dependabot/uv/file_updater/requirement_replacer_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/uv/file_updater/requirement_replacer" RSpec.describe Dependabot::Uv::FileUpdater::RequirementReplacer do let(:replacer) do described_class.new( content: requirement_content, dependency_name: dependency_name, ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/spec/dependabot/uv/file_updater/requirement_file_updater_spec.rb
uv/spec/dependabot/uv/file_updater/requirement_file_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/uv/file_updater" require "dependabot/shared_helpers" RSpec.describe Dependabot::Uv::FileUpdater::RequirementFileUpdater do let(:updater) do described_class....
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/spec/dependabot/uv/file_updater/lock_file_updater_transitive_spec.rb
uv/spec/dependabot/uv/file_updater/lock_file_updater_transitive_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/uv/file_updater/lock_file_updater" require "dependabot/shared_helpers" RSpec.describe Dependabot::Uv::FileUpdater::LockFileUpdater do let(:updater) do descr...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv.rb
uv/lib/dependabot/uv.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" # Type definitions for repository file structures module Dependabot module Uv extend T::Sig PathDependency = T.type_alias { { name: String, path: String, file: String } } TomlContent = T.type_alias { T::Hash[String, T.untyped] } ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/file_fetcher.rb
uv/lib/dependabot/uv/file_fetcher.rb
# typed: strict # frozen_string_literal: true require "toml-rb" require "sorbet-runtime" require "dependabot/file_fetchers" require "dependabot/file_fetchers/base" require "dependabot/uv" require "dependabot/uv/language_version_manager" require "dependabot/uv/requirements_file_matcher" require "dependabot/uv/requirem...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/language.rb
uv/lib/dependabot/uv/language.rb
# typed: strong # frozen_string_literal: true require "dependabot/python/language" module Dependabot module Uv # Both uv and Python ecosystems use the same Python language versions. # The Python version list is maintained in python/lib/dependabot/python/language.rb # and shared via this alias to avoid d...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/file_updater.rb
uv/lib/dependabot/uv/file_updater.rb
# typed: strong # frozen_string_literal: true require "toml-rb" require "dependabot/file_updaters" require "dependabot/file_updaters/base" require "dependabot/shared_helpers" require "sorbet-runtime" module Dependabot module Uv class FileUpdater < Dependabot::FileUpdaters::Base extend T::Sig requir...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/version.rb
uv/lib/dependabot/uv/version.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/python/version" require "dependabot/utils" module Dependabot module Uv # UV uses Python's version scheme, so we delegate to Python::Version Version = Dependabot::Python::Version end end Dependabot::Utils .registe...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/requirements_file_matcher.rb
uv/lib/dependabot/uv/requirements_file_matcher.rb
# typed: strong # frozen_string_literal: true require "dependabot/dependency_file" module Dependabot module Uv class RequiremenstFileMatcher extend T::Sig sig { params(requirements_in_files: T::Array[DependencyFile]).void } def initialize(requirements_in_files) @requirements_in_files ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/requirement.rb
uv/lib/dependabot/uv/requirement.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/python/requirement" require "dependabot/utils" module Dependabot module Uv # UV uses Python's requirement scheme, so we delegate to Python::Requirement Requirement = Dependabot::Python::Requirement end end Dependab...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/authed_url_builder.rb
uv/lib/dependabot/uv/authed_url_builder.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/python/authed_url_builder" module Dependabot module Uv # UV uses the same authenticated URL building logic as Python AuthedUrlBuilder = Dependabot::Python::AuthedUrlBuilder end end
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/package.rb
uv/lib/dependabot/uv/package.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/python/package/package_registry_finder" require "dependabot/python/package/package_details_fetcher" module Dependabot module Uv # UV uses the same Python package registry handling (PyPI) module Package # Re-expo...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/language_version_manager.rb
uv/lib/dependabot/uv/language_version_manager.rb
# typed: strong # frozen_string_literal: true require "dependabot/python/language_version_manager" module Dependabot module Uv # Uv and Python ecosystems share the same Python version management logic. # This alias ensures uv benefits from improvements in Python's implementation, # including bug fixes l...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/package_manager.rb
uv/lib/dependabot/uv/package_manager.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/uv/version" require "dependabot/ecosystem" require "dependabot/uv/requirement" module Dependabot module Uv ECOSYSTEM = "uv" SUPPORTED_PYTHON_VERSIONS = T.let([].freeze, T::Array[Dependabot::Version]) DEPRECATED_...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/update_checker.rb
uv/lib/dependabot/uv/update_checker.rb
# typed: strict # frozen_string_literal: true require "excon" require "toml-rb" require "sorbet-runtime" require "dependabot/dependency" require "dependabot/errors" require "dependabot/uv/name_normaliser" require "dependabot/uv/requirement_parser" require "dependabot/uv/requirement" require "dependabot/registry_clien...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/requirement_parser.rb
uv/lib/dependabot/uv/requirement_parser.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/python/requirement_parser" module Dependabot module Uv # UV uses the same Python requirement parsing regex patterns (PEP 508) RequirementParser = Dependabot::Python::RequirementParser end end
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/requirement_suffix_helper.rb
uv/lib/dependabot/uv/requirement_suffix_helper.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" module Dependabot module Uv module RequirementSuffixHelper extend T::Sig REQUIREMENT_SUFFIX_REGEX = T.let( Regexp.new( "\\A(?<requirement>.*?)(?<suffix>\\s*(?:;|#).*)?\\z", Regexp::MULTILINE )...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/native_helpers.rb
uv/lib/dependabot/uv/native_helpers.rb
# typed: strong # frozen_string_literal: true require "dependabot/python/native_helpers" module Dependabot module Uv # Uv and Python ecosystems share the same native Python helpers. # Both point to the same helpers/python directory. NativeHelpers = Python::NativeHelpers end end
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/metadata_finder.rb
uv/lib/dependabot/uv/metadata_finder.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/python/metadata_finder" require "dependabot/metadata_finders" module Dependabot module Uv # UV uses Python's PyPI metadata lookup, so we delegate to Python::MetadataFinder MetadataFinder = Dependabot::Python::Metadata...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/name_normaliser.rb
uv/lib/dependabot/uv/name_normaliser.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/python/name_normaliser" module Dependabot module Uv # UV uses the same Python package name normalization (PEP 503) NameNormaliser = Dependabot::Python::NameNormaliser end end
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/file_parser.rb
uv/lib/dependabot/uv/file_parser.rb
# typed: strict # frozen_string_literal: true require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/file_parsers" require "dependabot/file_parsers/base" require "dependabot/file_parsers/base/dependency_set" require "dependabot/shared_helpers" require "dependabot/uv/requirement" requi...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/file_parser/python_requirement_parser.rb
uv/lib/dependabot/uv/file_parser/python_requirement_parser.rb
# typed: strict # frozen_string_literal: true require "open3" require "sorbet-runtime" require "toml-rb" require "dependabot/errors" require "dependabot/shared_helpers" require "dependabot/uv/file_parser" require "dependabot/uv/requirements_file_matcher" require "dependabot/uv/requirement" module Dependabot module...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/file_parser/pyproject_files_parser.rb
uv/lib/dependabot/uv/file_parser/pyproject_files_parser.rb
# typed: strict # frozen_string_literal: true require "toml-rb" require "dependabot/dependency" require "dependabot/file_parsers/base/dependency_set" require "dependabot/uv/file_parser" require "dependabot/uv/requirement" require "dependabot/errors" require "dependabot/uv/name_normaliser" module Dependabot module ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/update_checker/lock_file_resolver.rb
uv/lib/dependabot/uv/update_checker/lock_file_resolver.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/uv/version" require "dependabot/uv/requirement" require "dependabot/uv/update_checker" require "dependabot/uv/update_checker/latest_version_finder" module Dependabot module Uv class UpdateChecker class LockFileReso...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/update_checker/latest_version_finder.rb
uv/lib/dependabot/uv/update_checker/latest_version_finder.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/uv/update_checker" require "dependabot/uv/package" require "dependabot/package/package_latest_version_finder" module Dependabot module Uv class UpdateChecker # UV uses the same PyPI registry for package lookups as P...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/update_checker/requirements_updater.rb
uv/lib/dependabot/uv/update_checker/requirements_updater.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/uv/requirement_parser" require "dependabot/uv/requirement" require "dependabot/uv/update_checker" require "dependabot/uv/version" require "dependabot/requirements_update_strategy" module Dependabot module Uv class Update...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/update_checker/pip_compile_version_resolver.rb
uv/lib/dependabot/uv/update_checker/pip_compile_version_resolver.rb
# typed: strict # frozen_string_literal: true require "open3" require "sorbet-runtime" require "dependabot/dependency" require "dependabot/uv/requirement_parser" require "dependabot/uv/file_fetcher" require "dependabot/uv/file_parser" require "dependabot/uv/file_parser/python_requirement_parser" require "dependabot/u...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/update_checker/pip_version_resolver.rb
uv/lib/dependabot/uv/update_checker/pip_version_resolver.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/uv/language_version_manager" require "dependabot/uv/update_checker" require "dependabot/uv/update_checker/latest_version_finder" require "dependabot/uv/file_parser/python_requirement_parser" module Dependabot module Uv c...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/file_fetcher/workspace_fetcher.rb
uv/lib/dependabot/uv/file_fetcher/workspace_fetcher.rb
# typed: strict # frozen_string_literal: true require "toml-rb" require "sorbet-runtime" require "dependabot/dependency_file" module Dependabot module Uv class FileFetcher < Dependabot::FileFetchers::Base class WorkspaceFetcher extend T::Sig README_FILENAMES = T.let(%w(README.md README.rs...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/file_updater/pyproject_preparer.rb
uv/lib/dependabot/uv/file_updater/pyproject_preparer.rb
# typed: strong # frozen_string_literal: true require "toml-rb" require "citrus" require "dependabot/dependency" require "dependabot/uv/file_parser" require "dependabot/uv/file_updater" require "dependabot/uv/authed_url_builder" require "dependabot/uv/name_normaliser" require "securerandom" module Dependabot modul...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/file_updater/lock_file_updater.rb
uv/lib/dependabot/uv/file_updater/lock_file_updater.rb
# typed: strict # frozen_string_literal: true require "toml-rb" require "open3" require "dependabot/dependency" require "dependabot/shared_helpers" require "dependabot/uv/language_version_manager" require "dependabot/uv/version" require "dependabot/uv/requirement" require "dependabot/uv/file_parser/python_requirement_...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/file_updater/requirement_file_updater.rb
uv/lib/dependabot/uv/file_updater/requirement_file_updater.rb
# typed: strict # frozen_string_literal: true require "dependabot/uv/requirement_parser" require "dependabot/uv/file_updater" require "dependabot/shared_helpers" require "dependabot/uv/native_helpers" require "sorbet-runtime" module Dependabot module Uv class FileUpdater class RequirementFileUpdater ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/file_updater/compile_file_updater.rb
uv/lib/dependabot/uv/file_updater/compile_file_updater.rb
# typed: strict # frozen_string_literal: true require "open3" require "sorbet-runtime" require "dependabot/dependency" require "dependabot/uv/requirement_parser" require "dependabot/uv/file_fetcher" require "dependabot/uv/file_parser/python_requirement_parser" require "dependabot/uv/file_updater" require "dependabot/...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/lib/dependabot/uv/file_updater/requirement_replacer.rb
uv/lib/dependabot/uv/file_updater/requirement_replacer.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/dependency" require "dependabot/uv/requirement_parser" require "dependabot/uv/file_updater" require "dependabot/shared_helpers" require "dependabot/uv/native_helpers" require "dependabot/uv/name_normaliser" module Dependabot ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/pub/spec/spec_helper.rb
pub/spec/spec_helper.rb
# typed: false # frozen_string_literal: true def common_dir @common_dir ||= Gem::Specification.find_by_name("dependabot-common").gem_dir end def require_common_spec(path) require "#{common_dir}/spec/dependabot/#{path}" end def run_git(args, dir) stdout, stderr, status = Open3.capture3( { "GIT_AUTHOR_...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/pub/spec/dependabot/pub_spec.rb
pub/spec/dependabot/pub_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/pub" require_common_spec "shared_examples_for_autoloading" RSpec.describe Dependabot::Pub do it_behaves_like "it registers the required classes", "pub" end
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/pub/spec/dependabot/pub/pub_package_manager_spec.rb
pub/spec/dependabot/pub/pub_package_manager_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/pub/package_manager" require "dependabot/ecosystem" require "spec_helper" RSpec.describe Dependabot::Pub::PubPackageManager do let(:package_manager) { described_class.new("3.5.0") } describe "#initialize" do context "when version is a String" d...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/pub/spec/dependabot/pub/version_spec.rb
pub/spec/dependabot/pub/version_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/pub/version" RSpec.describe Dependabot::Pub::Version do subject(:version) { described_class.new(version_string) } let(:version_string) { "1.0.0" } describe "#to_s" do subject { version.to_s } context "with a non-pr...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/pub/spec/dependabot/pub/requirements_spec.rb
pub/spec/dependabot/pub/requirements_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/pub/requirement" RSpec.describe Dependabot::Pub::Requirement do subject(:requirement) { described_class.new(requirement_string) } let(:requirement_string) { ">=1.0.0" } describe ".new" do it { is_expected.to be_a(descri...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/pub/spec/dependabot/pub/metadata_finder_spec.rb
pub/spec/dependabot/pub/metadata_finder_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/pub/metadata_finder" require_common_spec "metadata_finders/shared_examples_for_metadata_finders" RSpec.describe Dependabot::Pub::MetadataFinder do let(:finder) 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/pub/spec/dependabot/pub/file_updater_spec.rb
pub/spec/dependabot/pub/file_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/pub/file_updater" require "webrick" require_common_spec "file_updaters/shared_examples_for_file_updaters" RSpec.describe Dependabot::Pub::FileUpdater do let(:p...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/pub/spec/dependabot/pub/update_checker_spec.rb
pub/spec/dependabot/pub/update_checker_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "webrick" require "dependabot/dependency_file" require "dependabot/dependency" require "dependabot/pub/update_checker" require "dependabot/requirements_update_strategy" require "dependabot/pub/update_checker/latest_version_finder" require_com...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
true
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/pub/spec/dependabot/pub/infer_sdk_versions_spec.rb
pub/spec/dependabot/pub/infer_sdk_versions_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/pub/helpers" require "webrick" RSpec.describe "Helpers" do let(:dev_null) { WEBrick::Log.new(File::NULL, 7) } let(:inferred_result) do Dependabot::Pub::He...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/pub/spec/dependabot/pub/file_fetcher_spec.rb
pub/spec/dependabot/pub/file_fetcher_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/pub/file_fetcher" require_common_spec "file_fetchers/shared_examples_for_file_fetchers" RSpec.describe Dependabot::Pub::FileFetcher do let(:repo_contents_path) { build_tmp_repo(project_name) } let(:directory) { "/" } let(:pro...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/pub/spec/dependabot/pub/file_parser_spec.rb
pub/spec/dependabot/pub/file_parser_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency_file" require "dependabot/source" require "dependabot/pub/file_parser" require "dependabot/pub/version" require_common_spec "file_parsers/shared_examples_for_file_parsers" RSpec.describe Dependabot::Pub::FileParser do ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/pub/spec/dependabot/pub/package/package_details_fetcher_spec.rb
pub/spec/dependabot/pub/package/package_details_fetcher_spec.rb
# typed: strict # frozen_string_literal: true require "json" require "time" require "cgi" require "excon" require "nokogiri" require "sorbet-runtime" require "dependabot/registry_client" require "dependabot/pub" require "dependabot/package/package_release" require "dependabot/package/package_details" require "dependab...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/pub/spec/dependabot/pub/update_checker/latest_version_finder_spec.rb
pub/spec/dependabot/pub/update_checker/latest_version_finder_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/pub/update_checker/latest_version_finder" require "dependabot/pub/package/package_details_fetcher" require "dependabot/pub/version" require_common_spec "update_ch...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/pub/lib/dependabot/pub.rb
pub/lib/dependabot/pub.rb
# typed: strong # frozen_string_literal: true # These all need to be required so the various classes can be registered in a # lookup table of package manager names to concrete classes. require "dependabot/pub/file_fetcher" require "dependabot/pub/file_parser" require "dependabot/pub/update_checker" require "dependabot...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/pub/lib/dependabot/pub/file_fetcher.rb
pub/lib/dependabot/pub/file_fetcher.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/file_fetchers" require "dependabot/file_fetchers/base" require "dependabot/file_filtering" # For details on pub packages, see: # https://dart.dev/tools/pub/package-layout#the-pubspec module Dependabot module Pub class Fil...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/pub/lib/dependabot/pub/language.rb
pub/lib/dependabot/pub/language.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/pub/version" require "dependabot/ecosystem" module Dependabot module Pub LANGUAGE = "dart" class Language < Dependabot::Ecosystem::VersionManager extend T::Sig sig { params(raw_version: String).void } ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/pub/lib/dependabot/pub/file_updater.rb
pub/lib/dependabot/pub/file_updater.rb
# typed: strong # frozen_string_literal: true require "dependabot/file_updaters" require "dependabot/file_updaters/base" require "dependabot/pub/helpers" require "sorbet-runtime" module Dependabot module Pub class FileUpdater < Dependabot::FileUpdaters::Base extend T::Sig include Dependabot::Pub::H...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/pub/lib/dependabot/pub/version.rb
pub/lib/dependabot/pub/version.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/version" require "dependabot/utils" # Dart pre-release versions use 1.0.1-rc1 syntax, which Gem::Version # converts into 1.0.1.pre.rc1. We override the `to_s` method to stop that # alteration. # # For details on versions synta...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/pub/lib/dependabot/pub/requirement.rb
pub/lib/dependabot/pub/requirement.rb
# typed: strict # frozen_string_literal: true # For details on pub version constraints see: # https://github.com/dart-lang/pub_semver ################################################################### require "sorbet-runtime" require "dependabot/requirement" require "dependabot/utils" require "dependabot/pub/versi...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/pub/lib/dependabot/pub/package_manager.rb
pub/lib/dependabot/pub/package_manager.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/pub/version" require "dependabot/ecosystem" require "dependabot/pub/requirement" module Dependabot module Pub ECOSYSTEM = "dart" SUPPORTED_DART_VERSIONS = T.let([].freeze, T::Array[Dependabot::Version]) DEPRECAT...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/pub/lib/dependabot/pub/update_checker.rb
pub/lib/dependabot/pub/update_checker.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "yaml" require "dependabot/pub/helpers" require "dependabot/requirements_update_strategy" require "dependabot/update_checkers" require "dependabot/update_checkers/base" require "dependabot/update_checkers/version_filters" module Dependabo...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/pub/lib/dependabot/pub/helpers.rb
pub/lib/dependabot/pub/helpers.rb
# typed: strict # frozen_string_literal: true require "digest" require "json" require "open3" require "sorbet-runtime" require "dependabot/errors" require "dependabot/logger" require "dependabot/pub/requirement" require "dependabot/requirements_update_strategy" require "dependabot/shared_helpers" module Dependabot ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/pub/lib/dependabot/pub/metadata_finder.rb
pub/lib/dependabot/pub/metadata_finder.rb
# typed: strict # frozen_string_literal: true require "excon" require "sorbet-runtime" require "dependabot/metadata_finders" require "dependabot/metadata_finders/base" require "dependabot/registry_client" module Dependabot module Pub extend T::Sig class MetadataFinder < Dependabot::MetadataFinders::Base ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/pub/lib/dependabot/pub/file_parser.rb
pub/lib/dependabot/pub/file_parser.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/file_parsers" require "dependabot/file_parsers/base" require "dependabot/dependency" require "dependabot/pub/version" require "dependabot/pub/helpers" require "dependabot/pub/package_manager" require "dependabot/pub/language" ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/pub/lib/dependabot/pub/package/package_details_fetcher.rb
pub/lib/dependabot/pub/package/package_details_fetcher.rb
# typed: strict # frozen_string_literal: true require "json" require "time" require "cgi" require "excon" require "nokogiri" require "sorbet-runtime" require "dependabot/registry_client" require "dependabot/pub" require "dependabot/package/package_release" require "dependabot/package/package_details" require "dependab...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/pub/lib/dependabot/pub/update_checker/latest_version_finder.rb
pub/lib/dependabot/pub/update_checker/latest_version_finder.rb
# typed: strict # frozen_string_literal: true require "excon" require "dependabot/pub/update_checker" require "dependabot/update_checkers/version_filters" require "dependabot/registry_client" require "dependabot/pub/package/package_details_fetcher" require "dependabot/package/package_latest_version_finder" require "so...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/rust_toolchain/spec/spec_helper.rb
rust_toolchain/spec/spec_helper.rb
# typed: false # frozen_string_literal: true def common_dir @common_dir ||= Gem::Specification.find_by_name("dependabot-common").gem_dir end def require_common_spec(path) require "#{common_dir}/spec/dependabot/#{path}" end require "#{common_dir}/spec/spec_helper.rb"
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/rust_toolchain/spec/dependabot/rust_toolchain_spec.rb
rust_toolchain/spec/dependabot/rust_toolchain_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/rust_toolchain" require_common_spec "shared_examples_for_autoloading" RSpec.describe Dependabot::RustToolchain do it_behaves_like "it registers the required classes", "rust_toolchain" end
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/rust_toolchain/spec/dependabot/rust_toolchain/requirement_spec.rb
rust_toolchain/spec/dependabot/rust_toolchain/requirement_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/rust_toolchain/requirement" require "dependabot/rust_toolchain/version" RSpec.describe Dependabot::RustToolchain::Requirement do subject(:requirement) { described_class.new(requirement_string) } let(:requirement_string) { ">=1...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/rust_toolchain/spec/dependabot/rust_toolchain/version_spec.rb
rust_toolchain/spec/dependabot/rust_toolchain/version_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/rust_toolchain/version" RSpec.describe Dependabot::RustToolchain::Version do subject(:version) { described_class.new(version_string) } describe "#initialize" do context "with a specific version string" do let(:versio...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/rust_toolchain/spec/dependabot/rust_toolchain/metadata_finder_spec.rb
rust_toolchain/spec/dependabot/rust_toolchain/metadata_finder_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/source" require "dependabot/rust_toolchain/metadata_finder" RSpec.describe Dependabot::RustToolchain::MetadataFinder do let(:dependency) do Dependabot::Dependency.new( name: "rust-toolchain", version: "1.72.0", ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/rust_toolchain/spec/dependabot/rust_toolchain/file_updater_spec.rb
rust_toolchain/spec/dependabot/rust_toolchain/file_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/rust_toolchain/file_updater" require_common_spec "file_updaters/shared_examples_for_file_updaters" RSpec.describe Dependabot::RustToolchain::FileUpdater do let(...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/rust_toolchain/spec/dependabot/rust_toolchain/channel_parser_spec.rb
rust_toolchain/spec/dependabot/rust_toolchain/channel_parser_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/rust_toolchain/channel_parser" RSpec.describe Dependabot::RustToolchain::ChannelParser do describe "#parse" do subject(:parser) { described_class.new(channel) } context "with a specific version" do context "with ma...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/rust_toolchain/spec/dependabot/rust_toolchain/update_checker_spec.rb
rust_toolchain/spec/dependabot/rust_toolchain/update_checker_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/credential" require "dependabot/rust_toolchain/file_parser" require "dependabot/rust_toolchain/update_checker" require "dependabot/rust_toolchain/version" requi...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/rust_toolchain/spec/dependabot/rust_toolchain/file_fetcher_spec.rb
rust_toolchain/spec/dependabot/rust_toolchain/file_fetcher_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/rust_toolchain/file_fetcher" require_common_spec "file_fetchers/shared_examples_for_file_fetchers" RSpec.describe Dependabot::RustToolchain::FileFetcher do let(:repo_contents_path) { build_tmp_repo(project_name) } let(:file_fet...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/rust_toolchain/spec/dependabot/rust_toolchain/file_parser_spec.rb
rust_toolchain/spec/dependabot/rust_toolchain/file_parser_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency_file" require "dependabot/rust_toolchain/file_parser" require_common_spec "file_parsers/shared_examples_for_file_parsers" RSpec.describe Dependabot::RustToolchain::FileParser do let(:dependency_files) { [dependency_fil...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/rust_toolchain/spec/dependabot/rust_toolchain/channel_spec.rb
rust_toolchain/spec/dependabot/rust_toolchain/channel_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/rust_toolchain/channel" require "dependabot/rust_toolchain/channel_type" RSpec.describe Dependabot::RustToolchain::Channel do describe "#initialize" do it "creates a channel with version" do channel = described_class.n...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/rust_toolchain/spec/dependabot/rust_toolchain/models/rust_toolchain_toml_spec.rb
rust_toolchain/spec/dependabot/rust_toolchain/models/rust_toolchain_toml_spec.rb
# typed: strict # frozen_string_literal: true require "spec_helper" require "dependabot/rust_toolchain/models/rust_toolchain_toml" RSpec.describe Dependabot::RustToolchain::Models::RustToolchainToml do describe ".from_toml" do context "with valid TOML" do let(:toml_content) do <<~TOML [t...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/rust_toolchain/spec/dependabot/rust_toolchain/models/rust_toolchain_config_spec.rb
rust_toolchain/spec/dependabot/rust_toolchain/models/rust_toolchain_config_spec.rb
# typed: strict # frozen_string_literal: true require "spec_helper" require "dependabot/rust_toolchain/models/rust_toolchain_config" RSpec.describe Dependabot::RustToolchain::Models::RustToolchainConfig do describe ".from_hash" do context "with channel specified" do let(:config_hash) do { ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/rust_toolchain/spec/dependabot/rust_toolchain/package/package_details_fetcher_spec.rb
rust_toolchain/spec/dependabot/rust_toolchain/package/package_details_fetcher_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/rust_toolchain/package/package_details_fetcher" RSpec.describe Dependabot::RustToolchain::Package::PackageDetailsFetcher do subject(:finder) { described_class.new(dependency: dependency) } let(:manifests_url_with_timestamp) { ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/rust_toolchain/spec/dependabot/rust_toolchain/update_checker/latest_version_finder_spec.rb
rust_toolchain/spec/dependabot/rust_toolchain/update_checker/latest_version_finder_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/rust_toolchain/update_checker/latest_version_finder" require "dependabot/rust_toolchain/package/package_details_fetcher" require "dependabot/rust_toolchain/version" require "dependabot/rust_toolchain/channel" require "dependabot/dep...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/rust_toolchain/lib/dependabot/rust_toolchain.rb
rust_toolchain/lib/dependabot/rust_toolchain.rb
# typed: strong # frozen_string_literal: true require "dependabot/rust_toolchain/file_fetcher" require "dependabot/rust_toolchain/file_parser" require "dependabot/rust_toolchain/update_checker" require "dependabot/rust_toolchain/file_updater" require "dependabot/rust_toolchain/metadata_finder" require "dependabot/rust...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/rust_toolchain/lib/dependabot/rust_toolchain/file_fetcher.rb
rust_toolchain/lib/dependabot/rust_toolchain/file_fetcher.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/file_fetchers" require "dependabot/file_fetchers/base" require "dependabot/rust_toolchain" module Dependabot module RustToolchain class FileFetcher < Dependabot::FileFetchers::Base extend T::Sig sig { overr...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/rust_toolchain/lib/dependabot/rust_toolchain/file_updater.rb
rust_toolchain/lib/dependabot/rust_toolchain/file_updater.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/file_updaters" require "dependabot/file_updaters/base" require "dependabot/rust_toolchain" module Dependabot module RustToolchain class FileUpdater < Dependabot::FileUpdaters::Base extend T::Sig sig { overr...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/rust_toolchain/lib/dependabot/rust_toolchain/version.rb
rust_toolchain/lib/dependabot/rust_toolchain/version.rb
# typed: strict # frozen_string_literal: true require "dependabot/version" require "dependabot/utils" require "dependabot/rust_toolchain/channel_parser" require "dependabot/rust_toolchain/channel_type" module Dependabot module RustToolchain class Version < Dependabot::Version sig { override.params(versio...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false