source stringclasses 1
value | repo stringlengths 5 63 | repo_url stringlengths 24 82 | path stringlengths 5 167 | language stringclasses 1
value | license stringclasses 5
values | stars int64 10 51.4k | ref stringclasses 23
values | size_bytes int64 200 258k | text stringlengths 137 258k |
|---|---|---|---|---|---|---|---|---|---|
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/file_parser/python_requirement_parser_spec.rb | Ruby | mit | 5,556 | main | 2,857 | # 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... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/package/package_registry_finder_spec.rb | Ruby | mit | 5,556 | main | 11,611 | # 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,
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/package/package_details_fetcher_spec.rb | Ruby | mit | 5,556 | main | 4,002 | # 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... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv.rb | Ruby | mit | 5,556 | main | 1,446 | # 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] }
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/requirement.rb | Ruby | mit | 5,556 | main | 395 | # 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... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/native_helpers.rb | Ruby | mit | 5,556 | main | 297 | # 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 |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/dependency_grapher.rb | Ruby | mit | 5,556 | main | 7,337 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/dependency_graphers"
require "dependabot/dependency_graphers/base"
require "dependabot/uv/file_parser"
require "dependabot/uv/name_normaliser"
require "toml-rb"
module Dependabot
module Uv
class DependencyGrapher < Depen... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/requirement_suffix_helper.rb | Ruby | mit | 5,556 | main | 678 | # 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
)... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/file_parser.rb | Ruby | mit | 5,556 | main | 14,059 | # 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... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/requirement_parser.rb | Ruby | mit | 5,556 | main | 297 | # 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 |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/name_normaliser.rb | Ruby | mit | 5,556 | main | 280 | # 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 |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/language_version_manager.rb | Ruby | mit | 5,556 | main | 460 | # 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... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/version.rb | Ruby | mit | 5,556 | main | 367 | # 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... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/language.rb | Ruby | mit | 5,556 | main | 411 | # 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... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/update_checker.rb | Ruby | mit | 5,556 | main | 9,325 | # 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/uv/version"
re... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/package_manager.rb | Ruby | mit | 5,556 | main | 1,299 | # 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_... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/metadata_finder.rb | Ruby | mit | 5,556 | main | 416 | # 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... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/requirements_file_matcher.rb | Ruby | mit | 5,556 | main | 1,081 | # 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 ... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/file_fetcher.rb | Ruby | mit | 5,556 | main | 12,288 | # typed: strict
# frozen_string_literal: true
require "toml-rb"
require "sorbet-runtime"
require "dependabot/file_fetchers"
require "dependabot/python/file_fetcher"
require "dependabot/uv"
require "dependabot/uv/requirements_file_matcher"
require "dependabot/uv/file_fetcher/workspace_fetcher"
require "dependabot/erro... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/authed_url_builder.rb | Ruby | mit | 5,556 | main | 286 | # 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 |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/package.rb | Ruby | mit | 5,556 | main | 1,049 | # 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... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/file_updater.rb | Ruby | mit | 5,556 | main | 3,506 | # 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... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/file_fetcher/workspace_fetcher.rb | Ruby | mit | 5,556 | main | 12,127 | # typed: strict
# frozen_string_literal: true
require "toml-rb"
require "sorbet-runtime"
require "dependabot/dependency_file"
require "dependabot/uv/file_fetcher"
module Dependabot
module Uv
class FileFetcher < Dependabot::Python::SharedFileFetcher
class WorkspaceFetcher
extend T::Sig
REA... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/file_updater/lock_index_credential_matcher.rb | Ruby | mit | 5,556 | main | 2,362 | # typed: strong
# frozen_string_literal: true
require "uri"
require "dependabot/uv/file_updater"
module Dependabot
module Uv
class FileUpdater < Dependabot::FileUpdaters::Base
class LockIndexCredentialMatcher
extend T::Sig
sig { params(credentials: T::Array[Dependabot::Credential]).void }... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/file_updater/requirement_replacer.rb | Ruby | mit | 5,556 | main | 505 | # typed: strong
# frozen_string_literal: true
require "dependabot/python/file_updater/requirement_replacer"
require "dependabot/uv/file_updater"
module Dependabot
module Uv
class FileUpdater
# UV uses the same requirement replacement logic as Python.
# Both ecosystems share RequirementParser, Native... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/file_updater/lock_file_error_handler.rb | Ruby | mit | 5,556 | main | 12,659 | # typed: strict
# frozen_string_literal: true
require "dependabot/errors"
require "dependabot/utils"
require "dependabot/uv/file_updater"
module Dependabot
module Uv
class FileUpdater < Dependabot::FileUpdaters::Base
class LockFileErrorHandler
extend T::Sig
UV_UNRESOLVABLE_REGEX = T.let(/... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/file_updater/requirement_file_updater.rb | Ruby | mit | 5,556 | main | 500 | # typed: strong
# frozen_string_literal: true
require "dependabot/python/file_updater/requirement_file_updater"
require "dependabot/uv/file_updater"
module Dependabot
module Uv
class FileUpdater
# UV uses the same requirement file update logic as Python.
# Both ecosystems share RequirementReplacer a... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/file_updater/pyproject_preparer.rb | Ruby | mit | 5,556 | main | 2,624 | # 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... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/file_updater/version_config_parser.rb | Ruby | mit | 5,556 | main | 5,284 | # typed: strict
# frozen_string_literal: true
require "toml-rb"
require "sorbet-runtime"
require "pathname"
require "dependabot/uv/file_updater"
module Dependabot
module Uv
class FileUpdater < Dependabot::FileUpdaters::Base
class VersionConfigParser
extend T::Sig
class VersionConfig < T:... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/file_updater/compile_file_updater.rb | Ruby | mit | 5,556 | main | 25,445 | # 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/... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/file_updater/lock_file_updater.rb | Ruby | mit | 5,556 | main | 25,060 | # 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_... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/file_parser/python_requirement_parser.rb | Ruby | mit | 5,556 | main | 5,604 | # 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... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/file_parser/pyproject_files_parser.rb | Ruby | mit | 5,556 | main | 12,139 | # 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 ... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/update_checker/pip_compile_version_resolver.rb | Ruby | mit | 5,556 | main | 25,000 | # 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... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/update_checker/latest_version_finder.rb | Ruby | mit | 5,556 | main | 546 | # typed: strong
# frozen_string_literal: true
require "dependabot/python/update_checker/latest_version_finder"
require "dependabot/uv/update_checker"
module Dependabot
module Uv
class UpdateChecker
# UV uses the same PyPI registry for package lookups as Python.
# Both ecosystems use the same Package... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/update_checker/lock_file_resolver.rb | Ruby | mit | 5,556 | main | 3,955 | # typed: strong
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/package/release_cooldown_options"
require "dependabot/uv/version"
require "dependabot/uv/requirement"
require "dependabot/uv/update_checker"
require "dependabot/uv/update_checker/latest_version_finder"
module Dependabot
modu... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/update_checker/requirements_updater.rb | Ruby | mit | 5,556 | main | 510 | # typed: strong
# frozen_string_literal: true
require "dependabot/python/update_checker/requirements_updater"
require "dependabot/uv/update_checker"
module Dependabot
module Uv
class UpdateChecker
# UV uses the same requirements update logic as Python.
# Both ecosystems share Version and Requirement... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/lib/dependabot/uv/update_checker/pip_version_resolver.rb | Ruby | mit | 5,556 | main | 530 | # typed: strong
# frozen_string_literal: true
require "dependabot/python/update_checker/pip_version_resolver"
require "dependabot/uv/update_checker"
module Dependabot
module Uv
class UpdateChecker
# UV uses the same pip version resolution logic as Python.
# Both ecosystems share LanguageVersionManag... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/dependabot-hex.gemspec | Ruby | mit | 5,556 | main | 1,419 | # frozen_string_literal: true
Gem::Specification.new do |spec|
common_gemspec =
Bundler.load_gemspec_uncached("../common/dependabot-common.gemspec")
spec.name = "dependabot-hex"
spec.summary = "Provides Dependabot support for Elixir (hex)"
spec.description = "Dependabot-Hex provides support ... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/spec/dependabot/hex_spec.rb | Ruby | mit | 5,556 | main | 247 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/hex"
require_common_spec "shared_examples_for_autoloading"
RSpec.describe Dependabot::Hex do
it_behaves_like "it registers the required classes", "hex"
end |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/spec/dependabot/hex/language_spec.rb | Ruby | mit | 5,556 | main | 799 | # typed: false
# frozen_string_literal: true
require "dependabot/hex/language"
require "dependabot/ecosystem"
require "spec_helper"
RSpec.describe Dependabot::Hex::Language do
subject(:language) { described_class.new(version) }
let(:version) { "1.17.3" }
describe "#version" do
it "returns the version" do
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/spec/dependabot/hex/metadata_finder_spec.rb | Ruby | mit | 5,556 | main | 3,917 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/hex/metadata_finder"
require_common_spec "metadata_finders/shared_examples_for_metadata_finders"
RSpec.describe Dependabot::Hex::MetadataFinder do
subject(:finder) do
described_class.new(depend... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/spec/dependabot/hex/version_spec.rb | Ruby | mit | 5,556 | main | 4,853 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/hex/version"
RSpec.describe Dependabot::Hex::Version do
subject(:version) { described_class.new(version_string) }
let(:version_string) { "1.0.0" }
describe ".correct?" do
subject { described_class.correct?(version_strin... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/spec/dependabot/hex/file_updater_spec.rb | Ruby | mit | 5,556 | main | 8,050 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/hex/file_updater"
require_common_spec "file_updaters/shared_examples_for_file_updaters"
RSpec.describe Dependabot::Hex::FileUpdater do
let(:tmp_path) { Dependab... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/spec/dependabot/hex/file_parser_spec.rb | Ruby | mit | 5,556 | main | 15,672 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency_file"
require "dependabot/hex/file_parser"
require "dependabot/hex/version"
require_common_spec "file_parsers/shared_examples_for_file_parsers"
RSpec.describe Dependabot::Hex::FileParser do
let(:reject_external_code) {... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/spec/dependabot/hex/requirement_spec.rb | Ruby | mit | 5,556 | main | 2,375 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/hex/requirement"
require "dependabot/hex/version"
RSpec.describe Dependabot::Hex::Requirement do
subject(:requirement) { described_class.new(requirement_string) }
let(:requirement_string) { ">=1.0.0" }
describe ".new" do
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/spec/dependabot/hex/update_checker_spec.rb | Ruby | mit | 5,556 | main | 35,201 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/hex/update_checker"
require "dependabot/errors"
require_common_spec "update_checkers/shared_examples_for_update_checkers"
RSpec.describe Dependabot::Hex::UpdateCh... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/spec/dependabot/hex/package_manager_spec.rb | Ruby | mit | 5,556 | main | 957 | # typed: false
# frozen_string_literal: true
require "dependabot/hex/package_manager"
require "dependabot/ecosystem"
require "spec_helper"
RSpec.describe Dependabot::Hex::PackageManager do
subject(:package_manager) { described_class.new(version) }
let(:version) { "2.1.1" }
describe "#version" do
it "retur... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/spec/dependabot/hex/file_fetcher_spec.rb | Ruby | mit | 5,556 | main | 12,919 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/hex/file_fetcher"
require_common_spec "file_fetchers/shared_examples_for_file_fetchers"
RSpec.describe Dependabot::Hex::FileFetcher do
let(:credentials) do
[{
"type" => "git_source",
"host" => "github.com",
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/spec/dependabot/hex/credential_helpers_spec.rb | Ruby | mit | 5,556 | main | 1,208 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/hex/credential_helpers"
RSpec.describe Dependabot::Hex::CredentialHelpers do
describe ".organization_credentials" do
subject(:organization_credentials) { described_class.organization_credentials(credentials) }
let(:crede... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/spec/dependabot/hex/package/package_details_fetcher_spec.rb | Ruby | mit | 5,556 | main | 3,154 | # typed: false
# frozen_string_literal: true
require "dependabot/credential"
require "dependabot/dependency_file"
require "dependabot/hex/package/package_details_fetcher"
require "dependabot/hex/version"
require "dependabot/package/package_release"
require "dependabot/registry_client"
require "spec_helper"
RSpec.desc... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/spec/dependabot/hex/update_checker/version_resolver_spec.rb | Ruby | mit | 5,556 | main | 5,816 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/hex/update_checker/version_resolver"
RSpec.describe Dependabot::Hex::UpdateChecker::VersionResolver do
let(:resolver) do
described_class.new(
dependen... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/spec/dependabot/hex/update_checker/latest_version_finder_spec.rb | Ruby | mit | 5,556 | main | 2,554 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/hex/update_checker/latest_version_finder"
namespace = Dependabot::Hex::UpdateChecker
RSpec.describe namespace::LatestVersionFinder do
before do
stub_request... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/spec/dependabot/hex/update_checker/requirements_updater_spec.rb | Ruby | mit | 5,556 | main | 6,128 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/hex/update_checker/requirements_updater"
RSpec.describe Dependabot::Hex::UpdateChecker::RequirementsUpdater do
let(:updater) do
described_class.new(
requirements: requirements,
latest_resolvable_version: latest_re... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/spec/dependabot/hex/update_checker/file_preparer_spec.rb | Ruby | mit | 5,556 | main | 6,524 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/hex/update_checker/file_preparer"
RSpec.describe Dependabot::Hex::UpdateChecker::FilePreparer do
let(:preparer) do
described_class.new(
dependency_files: dependency_files,
dependenc... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/spec/dependabot/hex/file_updater/mixfile_updater_spec.rb | Ruby | mit | 5,556 | main | 3,880 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/hex/file_updater/mixfile_updater"
RSpec.describe Dependabot::Hex::FileUpdater::MixfileUpdater do
let(:updater) do
described_class.new(
mixfile: mixfil... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/spec/dependabot/hex/file_updater/lockfile_updater_spec.rb | Ruby | mit | 5,556 | main | 15,318 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/hex/file_updater/lockfile_updater"
RSpec.describe Dependabot::Hex::FileUpdater::LockfileUpdater do
let(:updater) do
described_class.new(
dependency_fi... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/spec/dependabot/hex/file_updater/mixfile_git_pin_updater_spec.rb | Ruby | mit | 5,556 | main | 1,421 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/hex/file_updater/mixfile_git_pin_updater"
RSpec.describe Dependabot::Hex::FileUpdater::MixfileGitPinUpdater do
let(:updater) do
described_class.new(
m... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/lib/dependabot/hex.rb | Ruby | mit | 5,556 | main | 806 | # typed: strict
# 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/hex/file_fetcher"
require "dependabot/hex/file_parser"
require "dependabot/hex/update_checker"
require "dependabot... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/lib/dependabot/hex/requirement.rb | Ruby | mit | 5,556 | main | 2,805 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/requirement"
require "dependabot/utils"
require "dependabot/hex/version"
module Dependabot
module Hex
class Requirement < Dependabot::Requirement
extend T::Sig
AND_SEPARATOR = /\s+and\s+/
OR_SEPARATOR ... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/lib/dependabot/hex/file_parser.rb | Ruby | mit | 5,556 | main | 6,230 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/dependency"
require "dependabot/file_parsers"
require "dependabot/file_parsers/base"
require "dependabot/hex/file_updater/mixfile_sanitizer"
require "dependabot/hex/native_helpers"
require "dependabot/hex/language"
require "depe... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/lib/dependabot/hex/update_checker.rb | Ruby | mit | 5,556 | main | 10,098 | # typed: strict
# frozen_string_literal: true
require "excon"
require "dependabot/git_commit_checker"
require "dependabot/update_checkers"
require "dependabot/update_checkers/base"
require "dependabot/registry_client"
require "json"
module Dependabot
module Hex
class UpdateChecker < Dependabot::UpdateCheckers:... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/lib/dependabot/hex/file_fetcher.rb | Ruby | mit | 5,556 | main | 4,573 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/file_fetchers"
require "dependabot/file_fetchers/base"
require "dependabot/file_filtering"
module Dependabot
module Hex
class FileFetcher < Dependabot::FileFetchers::Base
extend T::Sig
extend T::Helpers
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/lib/dependabot/hex/package_manager.rb | Ruby | mit | 5,556 | main | 1,016 | # typed: strong
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/ecosystem"
require "dependabot/hex/version"
module Dependabot
module Hex
ECOSYSTEM = "hex"
PACKAGE_MANAGER = "hex"
SUPPORTED_HEX_VERSIONS = T.let([].freeze, T::Array[Dependabot::Version])
# When a version is ... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/lib/dependabot/hex/metadata_finder.rb | Ruby | mit | 5,556 | main | 2,071 | # typed: strict
# frozen_string_literal: true
require "excon"
require "dependabot/metadata_finders"
require "dependabot/metadata_finders/base"
require "dependabot/registry_client"
require "sorbet-runtime"
module Dependabot
module Hex
class MetadataFinder < Dependabot::MetadataFinders::Base
extend T::Sig
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/lib/dependabot/hex/credential_helpers.rb | Ruby | mit | 5,556 | main | 1,536 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
module Dependabot
module Hex
module CredentialHelpers
extend T::Sig
sig { params(credentials: T::Array[Dependabot::Credential]).returns(T::Array[Dependabot::Credential]) }
def self.hex_credentials(credentials)
orga... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/lib/dependabot/hex/file_updater.rb | Ruby | mit | 5,556 | main | 2,068 | # typed: strong
# frozen_string_literal: true
require "dependabot/file_updaters"
require "dependabot/file_updaters/base"
require "dependabot/shared_helpers"
require "sorbet-runtime"
module Dependabot
module Hex
class FileUpdater < Dependabot::FileUpdaters::Base
extend T::Sig
require_relative "file_... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/lib/dependabot/hex/language.rb | Ruby | mit | 5,556 | main | 477 | # typed: strong
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/ecosystem"
require "dependabot/hex/version"
module Dependabot
module Hex
LANGUAGE = "elixir"
class Language < Dependabot::Ecosystem::VersionManager
extend T::Sig
sig { params(raw_version: String).void }
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/lib/dependabot/hex/native_helpers.rb | Ruby | mit | 5,556 | main | 576 | # typed: strong
# frozen_string_literal: true
require "sorbet-runtime"
module Dependabot
module Hex
module NativeHelpers
extend T::Sig
sig { returns(String) }
def self.hex_helpers_dir
helpers_root = ENV.fetch("DEPENDABOT_NATIVE_HELPERS_PATH", nil)
return File.join(helpers_root... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/lib/dependabot/hex/version.rb | Ruby | mit | 5,556 | main | 2,303 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/version"
require "dependabot/utils"
# Elixir versions can include build information, which Ruby can't parse.
# This class augments Gem::Version with build information.
# See https://hexdocs.pm/elixir/Version.html for details.
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/lib/dependabot/hex/package/package_details_fetcher.rb | Ruby | mit | 5,556 | main | 2,003 | # 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/hex"
require "dependabot/hex/version"
require "dependabot/package/package_release"
require "dependabot/package/p... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/lib/dependabot/hex/file_updater/mixfile_sanitizer.rb | Ruby | mit | 5,556 | main | 1,931 | # typed: strict
# frozen_string_literal: true
require "dependabot/hex/file_updater"
require "dependabot/shared_helpers"
require "sorbet-runtime"
module Dependabot
module Hex
class FileUpdater
class MixfileSanitizer
extend T::Sig
sig { params(mixfile_content: String).void }
def ini... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/lib/dependabot/hex/file_updater/mixfile_git_pin_updater.rb | Ruby | mit | 5,556 | main | 1,847 | # typed: strong
# frozen_string_literal: true
require "dependabot/hex/file_updater"
require "dependabot/shared_helpers"
require "sorbet-runtime"
module Dependabot
module Hex
class FileUpdater
class MixfileGitPinUpdater
extend T::Sig
sig { params(dependency_name: String, mixfile_content: S... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/lib/dependabot/hex/file_updater/lockfile_updater.rb | Ruby | mit | 5,556 | main | 7,351 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/hex/file_updater"
require "dependabot/hex/file_updater/mixfile_updater"
require "dependabot/hex/file_updater/mixfile_sanitizer"
require "dependabot/hex/file_updater/mixfile_requirement_updater"
require "dependabot/hex/credentia... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/lib/dependabot/hex/file_updater/mixfile_requirement_updater.rb | Ruby | mit | 5,556 | main | 3,206 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/hex/file_updater"
require "dependabot/shared_helpers"
module Dependabot
module Hex
class FileUpdater
class MixfileRequirementUpdater
extend T::Sig
sig do
params(
dependency_na... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/lib/dependabot/hex/file_updater/mixfile_updater.rb | Ruby | mit | 5,556 | main | 3,605 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/hex/file_updater"
require "dependabot/hex/file_updater/mixfile_requirement_updater"
require "dependabot/hex/file_updater/mixfile_git_pin_updater"
module Dependabot
module Hex
class FileUpdater
class MixfileUpdater
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/lib/dependabot/hex/update_checker/file_preparer.rb | Ruby | mit | 5,556 | main | 8,539 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/dependency_file"
require "dependabot/hex/update_checker"
require "dependabot/hex/file_updater/mixfile_requirement_updater"
require "dependabot/hex/file_updater/mixfile_git_pin_updater"
require "dependabot/hex/file_updater/mixfi... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/lib/dependabot/hex/update_checker/latest_version_finder.rb | Ruby | mit | 5,556 | main | 4,001 | # typed: strict
# frozen_string_literal: true
require "excon"
require "json"
require "sorbet-runtime"
require "dependabot/errors"
require "dependabot/package/package_latest_version_finder"
require "dependabot/shared_helpers"
require "dependabot/update_checkers/version_filters"
require "dependabot/hex/file_parser"
req... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/lib/dependabot/hex/update_checker/version_resolver.rb | Ruby | mit | 5,556 | main | 8,603 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/hex/version"
require "dependabot/hex/update_checker"
require "dependabot/hex/credential_helpers"
require "dependabot/hex/native_helpers"
require "dependabot/hex/file_updater/mixfile_sanitizer"
require "dependabot/shared_helpers... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | hex/lib/dependabot/hex/update_checker/requirements_updater.rb | Ruby | mit | 5,556 | main | 8,101 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/hex/version"
require "dependabot/hex/requirement"
require "dependabot/hex/update_checker"
module Dependabot
module Hex
class UpdateChecker
class RequirementsUpdater
extend T::Sig
OPERATORS = />=|<=... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | maven/dependabot-maven.gemspec | Ruby | mit | 5,556 | main | 1,346 | # frozen_string_literal: true
Gem::Specification.new do |spec|
common_gemspec =
Bundler.load_gemspec_uncached("../common/dependabot-common.gemspec")
spec.name = "dependabot-maven"
spec.summary = "Provides Dependabot support for Maven"
spec.description = "Dependabot-Maven provides support for... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | maven/spec/dependabot/maven_spec.rb | Ruby | mit | 5,556 | main | 1,265 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/maven"
require_common_spec "shared_examples_for_autoloading"
RSpec.describe Dependabot::Maven do
it_behaves_like "it registers the required classes", "maven"
describe "Dependency#display_name" do
subject(:display_name) do
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | maven/spec/dependabot/maven/language_spec.rb | Ruby | mit | 5,556 | main | 801 | # typed: false
# frozen_string_literal: true
require "dependabot/maven/language"
require "dependabot/ecosystem"
require "spec_helper"
RSpec.describe Dependabot::Maven::Language do
let(:language) { described_class.new(version) }
let(:version) { "3.0.0" }
describe "#version" do
it "returns the version" do
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | maven/spec/dependabot/maven/native_helpers_spec.rb | Ruby | mit | 5,556 | main | 1,370 | # typed: strong
# frozen_string_literal: true
require "shellwords"
require "sorbet-runtime"
require "spec_helper"
require "dependabot/maven/native_helpers"
RSpec.describe Dependabot::Maven::NativeHelpers do
describe "handle_tool_error" do
context "when the output contains a 403 error" do
let(:output) { "C... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | maven/spec/dependabot/maven/file_fetcher_spec.rb | Ruby | mit | 5,556 | main | 22,441 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/maven/file_fetcher"
require_common_spec "file_fetchers/shared_examples_for_file_fetchers"
RSpec.describe Dependabot::Maven::FileFetcher do
let(:credentials) do
[{
"type" => "git_source",
"host" => "github.com",
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | maven/spec/dependabot/maven/metadata_finder_spec.rb | Ruby | mit | 5,556 | main | 15,890 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/maven/metadata_finder"
require_common_spec "metadata_finders/shared_examples_for_metadata_finders"
RSpec.describe Dependabot::Maven::MetadataFinder do
subject(:finder) do
described_class.new(de... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | maven/spec/dependabot/maven/version_parser_spec.rb | Ruby | mit | 5,556 | main | 2,103 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/maven/version_parser"
RSpec.describe Dependabot::Maven::VersionParser do
subject(:version) { described_class.parse(version_string) }
describe ".parse" do
let(:valid_versions) do
[
["1.2.3", [1, 2, 3]],
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | maven/spec/dependabot/maven/file_parser_spec.rb | Ruby | mit | 5,556 | main | 40,554 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/source"
require "dependabot/file_parsers/base/dependency_set"
require "dependabot/maven/file_parser"
require "dependabot/maven/file_parser/maven_dependency_parser"... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | maven/spec/dependabot/maven/requirement_spec.rb | Ruby | mit | 5,556 | main | 6,501 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/maven/requirement"
require "dependabot/maven/version"
RSpec.describe Dependabot::Maven::Requirement do
subject(:requirement) { described_class.new(requirement_string) }
let(:requirement_string) { ">=1.0.0" }
describe ".new"... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | maven/spec/dependabot/maven/file_updater_spec.rb | Ruby | mit | 5,556 | main | 45,136 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency_file"
require "dependabot/dependency"
require "dependabot/maven/file_updater"
require_common_spec "file_updaters/shared_examples_for_file_updaters"
RSpec.describe Dependabot::Maven::FileUpdater do
let(:dependency_group... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | maven/spec/dependabot/maven/update_checker_spec.rb | Ruby | mit | 5,556 | main | 39,284 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/maven/update_checker"
require "dependabot/maven/version"
require_common_spec "update_checkers/shared_examples_for_update_checkers"
RSpec.describe Dependabot::Mave... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | maven/spec/dependabot/maven/package_manager_spec.rb | Ruby | mit | 5,556 | main | 973 | # typed: false
# frozen_string_literal: true
require "dependabot/maven/package_manager"
require "dependabot/ecosystem"
require "spec_helper"
RSpec.describe Dependabot::Maven::PackageManager do
subject(:package_manager) { described_class.new(version) }
let(:version) { "3.9.5" }
describe "#version" do
it "r... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | maven/spec/dependabot/maven/token_bucket_spec.rb | Ruby | mit | 5,556 | main | 2,872 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/maven/token_bucket"
RSpec.describe Dependabot::Maven::TokenBucket do
subject(:token_bucket) { described_class.new(tokens: tokens, addition: addition) }
let(:tokens) { [1, 2, 3] }
let(:addition) { nil }
describe "#to_a" do... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | maven/spec/dependabot/maven/version_spec.rb | Ruby | mit | 5,556 | main | 16,573 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/maven/version"
RSpec.describe Dependabot::Maven::Version do
subject(:version) { described_class.new(version_string) }
let(:version_string) { "1.0.0" }
describe ".correct?" do
subject { described_class.correct?(version_s... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | maven/spec/dependabot/maven/file_parser/property_value_finder_spec.rb | Ruby | mit | 5,556 | main | 9,044 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency_file"
require "dependabot/maven/file_parser/property_value_finder"
RSpec.describe Dependabot::Maven::FileParser::PropertyValueFinder do
let(:finder) { described_class.new(dependency_files: dependency_files) }
let(:d... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | maven/spec/dependabot/maven/file_parser/maven_dependency_parser_spec.rb | Ruby | mit | 5,556 | main | 15,710 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency_file"
require "dependabot/source"
require "dependabot/maven/file_parser/maven_dependency_parser"
RSpec.describe Dependabot::Maven::FileParser::MavenDependencyParser do
describe "build_dependency_set" do
let(:depend... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | maven/spec/dependabot/maven/file_parser/repositories_finder_spec.rb | Ruby | mit | 5,556 | main | 12,854 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/credential"
require "dependabot/dependency_file"
require "dependabot/maven/file_parser/repositories_finder"
require "dependabot/maven/file_parser/pom_fetcher"
RSpec.describe Dependabot::Maven::FileParser::RepositoriesFinder do
le... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | maven/spec/dependabot/maven/file_parser/pom_fetcher_spec.rb | Ruby | mit | 5,556 | main | 3,042 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency_file"
require "dependabot/maven/file_parser/pom_fetcher"
RSpec.describe Dependabot::Maven::FileParser::PomFetcher do
let(:fetcher) { described_class.new(dependency_files: dependency_files) }
let(:dependency_files) { ... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | maven/spec/dependabot/maven/shared/shared_package_details_fetcher_spec.rb | Ruby | mit | 5,556 | main | 23,879 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/credential"
require "dependabot/dependency"
require "dependabot/maven/shared/shared_package_details_fetcher"
require "dependabot/maven/version"
class TestMavenRepositoryClient < Dependabot::Maven::Shared::SharedPackageDetailsFetche... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | maven/spec/dependabot/maven/shared/shared_metadata_finder_spec.rb | Ruby | mit | 5,556 | main | 4,941 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/maven/shared/shared_metadata_finder"
require "dependabot/maven/file_parser"
RSpec.describe Dependabot::Maven::Shared::SharedMetadataFinder do
subject(:finder) do
finder_class.new(dependency: de... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.