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/bundler/spec/dependabot/bundler/update_checker/conflicting_dependency_resolver_spec.rb | bundler/spec/dependabot/bundler/update_checker/conflicting_dependency_resolver_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "shared_contexts"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/bundler/update_checker/conflicting_dependency_resolver"
RSpec.describe(Dependabot::Bundler::UpdateChecker::ConflictingDependencyResolver... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/spec/dependabot/bundler/update_checker/version_resolver_spec.rb | bundler/spec/dependabot/bundler/update_checker/version_resolver_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "shared_contexts"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/bundler/update_checker/version_resolver"
RSpec.describe Dependabot::Bundler::UpdateChecker::VersionResolver do
let(:resolver) do
d... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/spec/dependabot/bundler/update_checker/latest_version_finder/dependency_source_spec.rb | bundler/spec/dependabot/bundler/update_checker/latest_version_finder/dependency_source_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/bundler/update_checker"
RSpec.describe Dependabot::Bundler::UpdateChecker::LatestVersionFinder::DependencySource do
let(:project_name) { "git_source" }
let(:files) { project_dependency_files(File.join("bundler2", project_name))... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/spec/dependabot/bundler/file_fetcher/included_path_finder_spec.rb | bundler/spec/dependabot/bundler/file_fetcher/included_path_finder_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/bundler/file_fetcher/included_path_finder"
RSpec.describe Dependabot::Bundler::FileFetcher::IncludedPathFinder do
let(:finder) { described_class.new(file: file)... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/spec/dependabot/bundler/file_fetcher/path_gemspec_finder_spec.rb | bundler/spec/dependabot/bundler/file_fetcher/path_gemspec_finder_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/bundler/file_fetcher/path_gemspec_finder"
RSpec.describe Dependabot::Bundler::FileFetcher::PathGemspecFinder do
let(:finder) { described_class.new(gemfile: gemf... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/spec/dependabot/bundler/file_fetcher/gemspec_finder_spec.rb | bundler/spec/dependabot/bundler/file_fetcher/gemspec_finder_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/bundler/file_fetcher/gemspec_finder"
RSpec.describe Dependabot::Bundler::FileFetcher::GemspecFinder do
let(:finder) { described_class.new(gemfile: gemfile) }
... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/spec/dependabot/bundler/file_fetcher/child_gemfile_finder_spec.rb | bundler/spec/dependabot/bundler/file_fetcher/child_gemfile_finder_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/bundler/file_fetcher/child_gemfile_finder"
RSpec.describe Dependabot::Bundler::FileFetcher::ChildGemfileFinder do
let(:finder) { described_class.new(gemfile: ge... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/spec/dependabot/bundler/file_updater/ruby_requirement_setter_spec.rb | bundler/spec/dependabot/bundler/file_updater/ruby_requirement_setter_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency_file"
require "dependabot/bundler/file_updater/ruby_requirement_setter"
RSpec.describe Dependabot::Bundler::FileUpdater::RubyRequirementSetter do
let(:setter) { described_class.new(gemspec: gemspec) }
let(:gemspec) d... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/spec/dependabot/bundler/file_updater/gemspec_sanitizer_spec.rb | bundler/spec/dependabot/bundler/file_updater/gemspec_sanitizer_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/bundler/file_updater/gemspec_sanitizer"
RSpec.describe Dependabot::Bundler::FileUpdater::GemspecSanitizer do
let(:sanitizer) do
described_class.new(replacement_version: replacement_version)
e... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/spec/dependabot/bundler/file_updater/lockfile_updater_spec.rb | bundler/spec/dependabot/bundler/file_updater/lockfile_updater_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "shared_contexts"
require "dependabot/dependency"
require "dependabot/bundler/file_updater/lockfile_updater"
RSpec.describe Dependabot::Bundler::FileUpdater::LockfileUpdater do
include_context "when stubbing rubygems compact index"
let(:u... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/spec/dependabot/bundler/file_updater/gemspec_dependency_name_finder_spec.rb | bundler/spec/dependabot/bundler/file_updater/gemspec_dependency_name_finder_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency_file"
require "dependabot/bundler/file_updater/gemspec_dependency_name_finder"
RSpec.describe Dependabot::Bundler::FileUpdater::GemspecDependencyNameFinder do
let(:finder) { described_class.new(gemspec_content: gemspec... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/spec/dependabot/bundler/file_updater/requirement_replacer_spec.rb | bundler/spec/dependabot/bundler/file_updater/requirement_replacer_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/bundler/file_updater/requirement_replacer"
RSpec.describe Dependabot::Bundler::FileUpdater::RequirementReplacer do
let(:replacer) do
described_class.new(
dependency: dependency,
fil... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/spec/dependabot/bundler/file_updater/git_pin_replacer_spec.rb | bundler/spec/dependabot/bundler/file_updater/git_pin_replacer_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/bundler/file_updater/git_pin_replacer"
RSpec.describe Dependabot::Bundler::FileUpdater::GitPinReplacer do
let(:replacer) do
described_class.new(dependency: dependency, new_pin: new_pin)
end
... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/spec/dependabot/bundler/file_updater/git_source_remover_spec.rb | bundler/spec/dependabot/bundler/file_updater/git_source_remover_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/bundler/file_updater/git_source_remover"
RSpec.describe Dependabot::Bundler::FileUpdater::GitSourceRemover do
let(:remover) { described_class.new(dependency: dependency) }
let(:dependency) do
... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/spec/dependabot/bundler/file_updater/gemfile_updater_spec.rb | bundler/spec/dependabot/bundler/file_updater/gemfile_updater_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "shared_contexts"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/bundler/file_updater/gemfile_updater"
RSpec.describe Dependabot::Bundler::FileUpdater::GemfileUpdater do
include_context "when stubbin... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler.rb | bundler/lib/dependabot/bundler.rb | # 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/bundler/language"
require "dependabot/bundler/package_manager"
require "dependabot/bundler/file_fetcher"
require "... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/file_fetcher.rb | bundler/lib/dependabot/bundler/file_fetcher.rb | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/file_fetchers"
require "dependabot/file_fetchers/base"
require "dependabot/file_filtering"
require "dependabot/bundler/file_updater/lockfile_updater"
require "dependabot/bundler/cached_lockfile_parser"
require "dependabot/errors... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/language.rb | bundler/lib/dependabot/bundler/language.rb | # typed: strong
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/bundler/version"
require "dependabot/ecosystem"
module Dependabot
module Bundler
LANGUAGE = "ruby"
class Language < Dependabot::Ecosystem::VersionManager
extend T::Sig
sig { params(raw_version: String, r... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/file_updater.rb | bundler/lib/dependabot/bundler/file_updater.rb | # typed: strong
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/file_updaters"
require "dependabot/file_updaters/base"
require "dependabot/bundler/native_helpers"
require "dependabot/bundler/helpers"
require "dependabot/file_updaters/vendor_updater"
module Dependabot
module Bundler
c... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/version.rb | bundler/lib/dependabot/bundler/version.rb | # typed: strong
# frozen_string_literal: true
require "dependabot/version"
require "dependabot/utils"
module Dependabot
module Bundler
class Version < Dependabot::Version
end
end
end
Dependabot::Utils
.register_version_class("bundler", Dependabot::Bundler::Version)
| ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/requirement.rb | bundler/lib/dependabot/bundler/requirement.rb | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/requirement"
require "dependabot/utils"
module Dependabot
module Bundler
class Requirement < Dependabot::Requirement
extend T::Sig
sig { params(req: T::Hash[Symbol, String], version: Gem::Version).returns(T:... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/cached_lockfile_parser.rb | bundler/lib/dependabot/bundler/cached_lockfile_parser.rb | # typed: strong
# frozen_string_literal: true
require "sorbet-runtime"
require "digest"
require "digest/sha2"
require "bundler/lockfile_parser"
module Dependabot
module Bundler
class CachedLockfileParser
extend T::Sig
sig { params(lockfile_content: String).returns(::Bundler::LockfileParser) }
... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/package_manager.rb | bundler/lib/dependabot/bundler/package_manager.rb | # typed: strong
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/bundler/version"
require "dependabot/ecosystem"
require "dependabot/bundler/requirement"
module Dependabot
module Bundler
ECOSYSTEM = "bundler"
PACKAGE_MANAGER = "bundler"
# Keep versions in ascending order
S... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/update_checker.rb | bundler/lib/dependabot/bundler/update_checker.rb | # typed: strict
# frozen_string_literal: true
require "dependabot/bundler/file_updater/requirement_replacer"
require "dependabot/bundler/version"
require "dependabot/git_commit_checker"
require "dependabot/requirements_update_strategy"
require "dependabot/update_checkers"
require "dependabot/update_checkers/base"
mod... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/helpers.rb | bundler/lib/dependabot/bundler/helpers.rb | # typed: strong
# frozen_string_literal: true
require "dependabot/bundler/requirement"
module Dependabot
module Bundler
module Helpers
extend T::Sig
extend T::Helpers
V1 = "1"
V2 = "2"
DEFAULT = V2
BUNDLER_MAJOR_VERSION_REGEX = /BUNDLED WITH\s+(?<version>\d+)\./m
RUBY_... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/native_helpers.rb | bundler/lib/dependabot/bundler/native_helpers.rb | # typed: strict
# frozen_string_literal: true
require "bundler"
require "sorbet-runtime"
require "dependabot/shared_helpers"
module Dependabot
module Bundler
module NativeHelpers
extend T::Sig
extend T::Generic
class BundleCommand
extend T::Sig
MAX_SECONDS = 1800
MIN_... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/metadata_finder.rb | bundler/lib/dependabot/bundler/metadata_finder.rb | # typed: strict
# frozen_string_literal: true
require "excon"
require "dependabot/metadata_finders"
require "dependabot/metadata_finders/base"
require "dependabot/registry_client"
module Dependabot
module Bundler
class MetadataFinder < Dependabot::MetadataFinders::Base
extend T::Sig
SOURCE_KEYS = T... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/file_parser.rb | bundler/lib/dependabot/bundler/file_parser.rb | # typed: strict
# frozen_string_literal: true
require "parallel"
require "sorbet-runtime"
require "dependabot/bundler/language"
require "dependabot/bundler/package_manager"
require "dependabot/dependency"
require "dependabot/file_parsers"
require "dependabot/file_parsers/base"
require "dependabot/bundler/file_updater/... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/file_parser/file_preparer.rb | bundler/lib/dependabot/bundler/file_parser/file_preparer.rb | # typed: strong
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/dependency_file"
require "dependabot/file_parsers/base"
require "dependabot/bundler/file_updater/gemspec_sanitizer"
require "dependabot/bundler/package_manager"
module Dependabot
module Bundler
class FileParser < Dependab... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/file_parser/gemfile_declaration_finder.rb | bundler/lib/dependabot/bundler/file_parser/gemfile_declaration_finder.rb | # typed: strict
# frozen_string_literal: true
require "prism"
require "sorbet-runtime"
require "dependabot/file_parsers/base"
module Dependabot
module Bundler
class FileParser < Dependabot::FileParsers::Base
# Checks whether a dependency is declared in a Gemfile
class GemfileDeclarationFinder
... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/file_parser/gemspec_declaration_finder.rb | bundler/lib/dependabot/bundler/file_parser/gemspec_declaration_finder.rb | # typed: strict
# frozen_string_literal: true
require "prism"
require "sorbet-runtime"
require "dependabot/file_parsers/base"
module Dependabot
module Bundler
class FileParser < Dependabot::FileParsers::Base
# Checks whether a dependency is declared in a gemspec file
class GemspecDeclarationFinder
... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/package/package_details_fetcher.rb | bundler/lib/dependabot/bundler/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/bundler"
require "dependabot/package/package_release"
require "dependabot/package/package_details"
module Depen... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/update_checker/conflicting_dependency_resolver.rb | bundler/lib/dependabot/bundler/update_checker/conflicting_dependency_resolver.rb | # typed: strict
# frozen_string_literal: true
require "dependabot/bundler/update_checker"
require "dependabot/bundler/native_helpers"
require "dependabot/bundler/helpers"
require "dependabot/shared_helpers"
module Dependabot
module Bundler
class UpdateChecker < UpdateCheckers::Base
class ConflictingDepend... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/update_checker/shared_bundler_helpers.rb | bundler/lib/dependabot/bundler/update_checker/shared_bundler_helpers.rb | # typed: strict
# frozen_string_literal: true
require "excon"
require "sorbet-runtime"
require "uri"
require "dependabot/bundler/update_checker"
require "dependabot/bundler/native_helpers"
require "dependabot/bundler/helpers"
require "dependabot/registry_client"
require "dependabot/shared_helpers"
require "dependabot... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/update_checker/latest_version_finder.rb | bundler/lib/dependabot/bundler/update_checker/latest_version_finder.rb | # typed: strict
# frozen_string_literal: true
require "excon"
require "dependabot/bundler/update_checker"
require "dependabot/update_checkers/version_filters"
require "dependabot/bundler/requirement"
require "dependabot/shared_helpers"
require "dependabot/errors"
require "dependabot/package/package_latest_version_fin... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/update_checker/force_updater.rb | bundler/lib/dependabot/bundler/update_checker/force_updater.rb | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/bundler/file_parser"
require "dependabot/bundler/file_updater/lockfile_updater"
require "dependabot/bundler/native_helpers"
require "dependabot/bundler/helpers"
require "dependabot/bundler/update_checker"
require "dependabot/bun... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/update_checker/file_preparer.rb | bundler/lib/dependabot/bundler/update_checker/file_preparer.rb | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/dependency_file"
require "dependabot/bundler/update_checker"
require "dependabot/bundler/cached_lockfile_parser"
require "dependabot/bundler/file_updater/gemspec_sanitizer"
require "dependabot/bundler/file_updater/git_pin_repla... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/update_checker/version_resolver.rb | bundler/lib/dependabot/bundler/update_checker/version_resolver.rb | # typed: strict
# frozen_string_literal: true
require "excon"
require "sorbet-runtime"
require "dependabot/bundler/helpers"
require "dependabot/bundler/update_checker"
require "dependabot/bundler/file_updater/lockfile_updater"
require "dependabot/bundler/requirement"
require "dependabot/registry_client"
require "depe... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/update_checker/requirements_updater.rb | bundler/lib/dependabot/bundler/update_checker/requirements_updater.rb | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/bundler/update_checker"
require "dependabot/requirements_update_strategy"
module Dependabot
module Bundler
class UpdateChecker
class RequirementsUpdater
extend T::Sig
class UnfixableRequirement < S... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/update_checker/latest_version_finder/dependency_source.rb | bundler/lib/dependabot/bundler/update_checker/latest_version_finder/dependency_source.rb | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/registry_client"
require "dependabot/bundler/native_helpers"
require "dependabot/bundler/helpers"
require "dependabot/bundler/update_checker/latest_version_finder"
module Dependabot
module Bundler
class UpdateChecker
... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/file_fetcher/path_gemspec_finder.rb | bundler/lib/dependabot/bundler/file_fetcher/path_gemspec_finder.rb | # typed: strict
# frozen_string_literal: true
require "pathname"
require "prism"
require "dependabot/bundler/file_fetcher"
require "dependabot/errors"
require "sorbet-runtime"
module Dependabot
module Bundler
class FileFetcher
# Finds the paths of any gemspecs declared using `path: ` in the
# passed... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/file_fetcher/child_gemfile_finder.rb | bundler/lib/dependabot/bundler/file_fetcher/child_gemfile_finder.rb | # typed: strict
# frozen_string_literal: true
require "pathname"
require "prism"
require "dependabot/bundler/file_fetcher"
require "dependabot/errors"
require "sorbet-runtime"
module Dependabot
module Bundler
class FileFetcher
# Finds the paths of any Gemfiles declared using `eval_gemfile` in the
# ... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/file_fetcher/included_path_finder.rb | bundler/lib/dependabot/bundler/file_fetcher/included_path_finder.rb | # typed: strict
# frozen_string_literal: true
require "pathname"
require "prism"
require "dependabot/bundler/file_fetcher"
require "dependabot/errors"
require "sorbet-runtime"
module Dependabot
module Bundler
class FileFetcher
# Finds the paths of any files included using `require_relative` and `eval` in ... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/file_fetcher/gemspec_finder.rb | bundler/lib/dependabot/bundler/file_fetcher/gemspec_finder.rb | # typed: strict
# frozen_string_literal: true
require "pathname"
require "prism"
require "dependabot/bundler/file_fetcher"
require "dependabot/errors"
require "sorbet-runtime"
module Dependabot
module Bundler
class FileFetcher
# Finds the directories of any gemspecs declared using `gemspec` in the
#... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/file_updater/gemfile_updater.rb | bundler/lib/dependabot/bundler/file_updater/gemfile_updater.rb | # typed: strict
# frozen_string_literal: true
require "dependabot/bundler/file_updater"
module Dependabot
module Bundler
class FileUpdater
class GemfileUpdater
extend T::Sig
GEMFILE_FILENAMES = %w(Gemfile gems.rb).freeze
require_relative "git_pin_replacer"
require_relativ... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/file_updater/lockfile_updater.rb | bundler/lib/dependabot/bundler/file_updater/lockfile_updater.rb | # typed: strict
# frozen_string_literal: true
require "bundler"
require "sorbet-runtime"
require "dependabot/shared_helpers"
require "dependabot/errors"
require "dependabot/bundler/file_updater"
require "dependabot/bundler/cached_lockfile_parser"
require "dependabot/bundler/native_helpers"
require "dependabot/bundler... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/file_updater/gemspec_sanitizer.rb | bundler/lib/dependabot/bundler/file_updater/gemspec_sanitizer.rb | # typed: strict
# frozen_string_literal: true
require "parser/current"
require "dependabot/bundler/file_updater"
module Dependabot
module Bundler
class FileUpdater
class GemspecSanitizer
extend T::Sig
UNNECESSARY_ASSIGNMENTS = %i(
bindir=
cert_chain=
email=
... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/file_updater/gemspec_dependency_name_finder.rb | bundler/lib/dependabot/bundler/file_updater/gemspec_dependency_name_finder.rb | # typed: strict
# frozen_string_literal: true
require "prism"
require "dependabot/bundler/file_updater"
module Dependabot
module Bundler
class FileUpdater
class GemspecDependencyNameFinder
extend T::Sig
sig { returns(String) }
attr_reader :gemspec_content
sig { params(gem... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/file_updater/ruby_requirement_setter.rb | bundler/lib/dependabot/bundler/file_updater/ruby_requirement_setter.rb | # typed: strict
# frozen_string_literal: true
require "parser/current"
require "sorbet-runtime"
require "dependabot/bundler/file_updater"
require "dependabot/bundler/requirement"
require "dependabot/bundler/version"
module Dependabot
module Bundler
class FileUpdater
class RubyRequirementSetter
ex... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/file_updater/requirement_replacer.rb | bundler/lib/dependabot/bundler/file_updater/requirement_replacer.rb | # typed: strict
# frozen_string_literal: true
require "parser/current"
require "sorbet-runtime"
require "dependabot/bundler/file_updater"
module Dependabot
module Bundler
class FileUpdater
class RequirementReplacer
extend T::Sig
sig { returns(Dependabot::Dependency) }
attr_reader... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/file_updater/git_pin_replacer.rb | bundler/lib/dependabot/bundler/file_updater/git_pin_replacer.rb | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "parser/current"
require "dependabot/bundler/file_updater"
module Dependabot
module Bundler
class FileUpdater
class GitPinReplacer
extend T::Sig
sig { returns(Dependabot::Dependency) }
attr_reader :depe... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/file_updater/gemspec_updater.rb | bundler/lib/dependabot/bundler/file_updater/gemspec_updater.rb | # typed: strict
# frozen_string_literal: true
require "dependabot/bundler/file_updater"
module Dependabot
module Bundler
class FileUpdater
class GemspecUpdater
require_relative "requirement_replacer"
extend T::Sig
sig { params(dependencies: T::Array[Dependabot::Dependency], gemsp... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/bundler/lib/dependabot/bundler/file_updater/git_source_remover.rb | bundler/lib/dependabot/bundler/file_updater/git_source_remover.rb | # typed: strict
# frozen_string_literal: true
require "parser/current"
require "sorbet-runtime"
require "dependabot/bundler/file_updater"
module Dependabot
module Bundler
class FileUpdater
class GitSourceRemover
extend T::Sig
sig { returns(Dependabot::Dependency) }
attr_reader :d... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/spec/spec_helper.rb | cargo/spec/spec_helper.rb | # typed: true
# 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/cargo/spec/dependabot/cargo_spec.rb | cargo/spec/dependabot/cargo_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/cargo"
require_common_spec "shared_examples_for_autoloading"
RSpec.describe Dependabot::Cargo do
it_behaves_like "it registers the required classes", "cargo"
end
| ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/spec/dependabot/cargo/requirement_spec.rb | cargo/spec/dependabot/cargo/requirement_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/cargo/requirement"
RSpec.describe Dependabot::Cargo::Requirement do
subject(:requirement) { described_class.new(requirement_string) }
let(:requirement_string) { ">=1.0.0" }
describe ".new" do
it { is_expected.to be_a(de... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/spec/dependabot/cargo/file_parser_workspace_spec.rb | cargo/spec/dependabot/cargo/file_parser_workspace_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/cargo/file_parser"
require "dependabot/dependency_file"
require "dependabot/source"
RSpec.describe Dependabot::Cargo::FileParser do
let(:parser) { described_class.new(dependency_files: files, source: source) }
let(:source) do
... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/spec/dependabot/cargo/version_spec.rb | cargo/spec/dependabot/cargo/version_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/cargo/version"
RSpec.describe Dependabot::Cargo::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 no... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/spec/dependabot/cargo/file_updater_table_header_spec.rb | cargo/spec/dependabot/cargo/file_updater_table_header_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/cargo/file_updater"
RSpec.describe Dependabot::Cargo::FileUpdater do
let(:updater) do
described_class.new(
dependency_files: files,
dependencies: dependencies,
credentials: []
)
end
let(:source) do
... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/spec/dependabot/cargo/metadata_finder_spec.rb | cargo/spec/dependabot/cargo/metadata_finder_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/cargo/metadata_finder"
require_common_spec "metadata_finders/shared_examples_for_metadata_finders"
RSpec.describe Dependabot::Cargo::MetadataFinder do
subject(:finder) do
described_class.new(de... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/spec/dependabot/cargo/file_updater_spec.rb | cargo/spec/dependabot/cargo/file_updater_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/cargo/file_updater"
require_common_spec "file_updaters/shared_examples_for_file_updaters"
RSpec.describe Dependabot::Cargo::FileUpdater do
let(:tmp_path) { Depe... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/spec/dependabot/cargo/file_updater_workspace_spec.rb | cargo/spec/dependabot/cargo/file_updater_workspace_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/cargo/file_updater"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/source"
RSpec.describe Dependabot::Cargo::FileUpdater do
let(:updater) do
described_class.new(
dependency_file... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/spec/dependabot/cargo/update_checker_spec.rb | cargo/spec/dependabot/cargo/update_checker_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/cargo/update_checker"
require "dependabot/dependency_file"
require "dependabot/dependency"
require "dependabot/requirements_update_strategy"
require_common_spec "update_checkers/shared_examples_for_update_checkers"
RSpec.describe ... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/spec/dependabot/cargo/package_manager_spec.rb | cargo/spec/dependabot/cargo/package_manager_spec.rb | # typed: false
# frozen_string_literal: true
require "dependabot/cargo/package_manager"
require "dependabot/ecosystem"
require "spec_helper"
RSpec.describe Dependabot::Cargo::PackageManager do
subject(:package_manager) { described_class.new(version) }
let(:version) { "1.12" }
describe "#version" do
it "re... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/spec/dependabot/cargo/file_fetcher_spec.rb | cargo/spec/dependabot/cargo/file_fetcher_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/cargo/file_fetcher"
require_common_spec "file_fetchers/shared_examples_for_file_fetchers"
RSpec.describe Dependabot::Cargo::FileFetcher do
let(:json_header) { { "content-type" => "application/json" } }
let(:credentials) do
... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | true |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/spec/dependabot/cargo/file_parser_edge_cases_spec.rb | cargo/spec/dependabot/cargo/file_parser_edge_cases_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/cargo/file_parser"
RSpec.describe Dependabot::Cargo::FileParser do
let(:parser) { described_class.new(dependency_files: files, source: source) }
let(:source) do
Dependabot::Source.new(
provider: "github",
repo: ... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/spec/dependabot/cargo/file_parser_spec.rb | cargo/spec/dependabot/cargo/file_parser_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/cargo/file_parser"
require "dependabot/dependency_file"
require "dependabot/source"
require_common_spec "file_parsers/shared_examples_for_file_parsers"
RSpec.describe Dependabot::Cargo::FileParser do
let(:lockfile_fixture_name) {... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/spec/dependabot/cargo/language_spec.rb | cargo/spec/dependabot/cargo/language_spec.rb | # typed: false
# frozen_string_literal: true
require "dependabot/cargo/language"
require "dependabot/ecosystem"
require "spec_helper"
RSpec.describe Dependabot::Cargo::Language do
let(:language) { described_class.new(version) }
let(:version) { "3.0.0" }
describe "#version" do
it "returns the version" do
... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/spec/dependabot/cargo/file_updater_edge_cases_spec.rb | cargo/spec/dependabot/cargo/file_updater_edge_cases_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/cargo/file_updater"
RSpec.describe Dependabot::Cargo::FileUpdater do
let(:updater) do
described_class.new(
dependency_files: files,
dependencies: dependencies,
credentials: []
)
end
let(:source) do
... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/spec/dependabot/cargo/package/package_details_fetcher_spec.rb | cargo/spec/dependabot/cargo/package/package_details_fetcher_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/credential"
require "dependabot/dependency_file"
require "dependabot/cargo/package/package_details_fetcher"
RSpec.describe Dependabot::Cargo::Package::PackageDetailsFetcher do
subject(:fetcher) do
described_class.new(
d... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/spec/dependabot/cargo/update_checker/file_preparer_spec.rb | cargo/spec/dependabot/cargo/update_checker/file_preparer_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/cargo/update_checker/file_preparer"
RSpec.describe Dependabot::Cargo::UpdateChecker::FilePreparer do
let(:preparer) do
described_class.new(
dependency_files: dependency_files,
depen... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/spec/dependabot/cargo/update_checker/requirements_updater_spec.rb | cargo/spec/dependabot/cargo/update_checker/requirements_updater_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/cargo/update_checker/requirements_updater"
require "dependabot/requirements_update_strategy"
RSpec.describe Dependabot::Cargo::UpdateChecker::RequirementsUpdater do
let(:updater) do
described_class.new(
requirements: r... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/spec/dependabot/cargo/update_checker/latest_version_finder_spec.rb | cargo/spec/dependabot/cargo/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/cargo/update_checker/latest_version_finder"
RSpec.describe Dependabot::Cargo::UpdateChecker::LatestVersionFinder do
let(:crates_url) { "https://crates.io/api/v1... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/spec/dependabot/cargo/update_checker/version_resolver_spec.rb | cargo/spec/dependabot/cargo/update_checker/version_resolver_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency_file"
require "dependabot/shared_helpers"
require "dependabot/cargo/update_checker/file_preparer"
require "dependabot/cargo/update_checker/version_resolver"
RSpec.describe Dependabot::Cargo::UpdateChecker::VersionResolve... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/spec/dependabot/cargo/file_updater/lockfile_updater_spec.rb | cargo/spec/dependabot/cargo/file_updater/lockfile_updater_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/cargo/file_updater/lockfile_updater"
RSpec.describe Dependabot::Cargo::FileUpdater::LockfileUpdater do
let(:updater) do
described_class.new(
dependenc... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/spec/dependabot/cargo/file_updater/manifest_updater_spec.rb | cargo/spec/dependabot/cargo/file_updater/manifest_updater_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/cargo/file_updater/manifest_updater"
RSpec.describe Dependabot::Cargo::FileUpdater::ManifestUpdater do
let(:updater) do
described_class.new(
manifest:... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/lib/dependabot/cargo.rb | cargo/lib/dependabot/cargo.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/cargo/file_fetcher"
require "dependabot/cargo/file_parser"
require "dependabot/cargo/update_checker"
require "depe... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/lib/dependabot/cargo/file_fetcher.rb | cargo/lib/dependabot/cargo/file_fetcher.rb | # typed: strict
# frozen_string_literal: true
require "pathname"
require "sorbet-runtime"
require "toml-rb"
require "dependabot/file_fetchers"
require "dependabot/file_fetchers/base"
require "dependabot/file_filtering"
require "dependabot/cargo/file_parser"
# Docs on Cargo workspaces:
# https://doc.rust-lang.org/car... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/lib/dependabot/cargo/language.rb | cargo/lib/dependabot/cargo/language.rb | # typed: strong
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/ecosystem"
require "dependabot/cargo/version"
module Dependabot
module Cargo
LANGUAGE = "rust"
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/cargo/lib/dependabot/cargo/file_updater.rb | cargo/lib/dependabot/cargo/file_updater.rb | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "toml-rb"
require "dependabot/git_commit_checker"
require "dependabot/file_updaters"
require "dependabot/file_updaters/base"
require "dependabot/shared_helpers"
module Dependabot
module Cargo
class FileUpdater < Dependabot::FileUpda... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/lib/dependabot/cargo/version.rb | cargo/lib/dependabot/cargo/version.rb | # typed: strong
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/version"
require "dependabot/utils"
# Rust 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.
module Dependabot
module Cargo
... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/lib/dependabot/cargo/registry_fetcher.rb | cargo/lib/dependabot/cargo/registry_fetcher.rb | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/file_fetchers"
require "dependabot/file_fetchers/base"
module Dependabot
module Cargo
class RegistryFetcher < Dependabot::FileFetchers::Base
extend T::Sig
sig { override.params(filenames: T::Array[String]).r... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/lib/dependabot/cargo/requirement.rb | cargo/lib/dependabot/cargo/requirement.rb | # typed: strict
# frozen_string_literal: true
################################################################################
# For more details on rust version constraints, see: #
# - https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html #
# - https://steveklabnik.githu... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/lib/dependabot/cargo/package_manager.rb | cargo/lib/dependabot/cargo/package_manager.rb | # typed: strong
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/ecosystem"
require "dependabot/cargo/version"
module Dependabot
module Cargo
ECOSYSTEM = "rust"
PACKAGE_MANAGER = "cargo"
SUPPORTED_CARGO_VERSIONS = T.let([].freeze, T::Array[Dependabot::Version])
# When a ve... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/lib/dependabot/cargo/update_checker.rb | cargo/lib/dependabot/cargo/update_checker.rb | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/git_commit_checker"
require "dependabot/requirements_update_strategy"
require "dependabot/update_checkers"
require "dependabot/update_checkers/base"
module Dependabot
module Cargo
class UpdateChecker < Dependabot::Update... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/lib/dependabot/cargo/helpers.rb | cargo/lib/dependabot/cargo/helpers.rb | # typed: strong
# frozen_string_literal: true
require "yaml"
module Dependabot
module Cargo
module Helpers
extend T::Sig
sig { params(credentials: T::Array[Dependabot::Credential]).void }
def self.setup_credentials_in_environment(credentials)
credentials.each do |cred|
next ... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/lib/dependabot/cargo/metadata_finder.rb | cargo/lib/dependabot/cargo/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 Cargo
class MetadataFinder < Dependabot::MetadataFinders::Base
extend T::Si... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/lib/dependabot/cargo/file_parser.rb | cargo/lib/dependabot/cargo/file_parser.rb | # typed: strict
# frozen_string_literal: true
require "toml-rb"
require "pathname"
require "dependabot/dependency"
require "dependabot/file_parsers"
require "dependabot/file_parsers/base"
require "dependabot/cargo/requirement"
require "dependabot/cargo/version"
require "dependabot/errors"
require "dependabot/cargo/re... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/lib/dependabot/cargo/package/package_details_fetcher.rb | cargo/lib/dependabot/cargo/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/cargo"
require "dependabot/package/package_release"
require "dependabot/package/package_details"
module Dependa... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/lib/dependabot/cargo/update_checker/latest_version_finder.rb | cargo/lib/dependabot/cargo/update_checker/latest_version_finder.rb | # typed: strict
# frozen_string_literal: true
require "excon"
require "dependabot/cargo/update_checker"
require "dependabot/update_checkers/version_filters"
require "dependabot/registry_client"
require "dependabot/cargo/package/package_details_fetcher"
require "dependabot/package/package_latest_version_finder"
require... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/lib/dependabot/cargo/update_checker/file_preparer.rb | cargo/lib/dependabot/cargo/update_checker/file_preparer.rb | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "toml-rb"
require "dependabot/dependency_file"
require "dependabot/cargo/file_parser"
require "dependabot/cargo/update_checker"
module Dependabot
module Cargo
class UpdateChecker
# This class takes a set of dependency files an... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/lib/dependabot/cargo/update_checker/version_resolver.rb | cargo/lib/dependabot/cargo/update_checker/version_resolver.rb | # typed: strict
# frozen_string_literal: true
require "toml-rb"
require "open3"
require "dependabot/shared_helpers"
require "dependabot/cargo/helpers"
require "dependabot/cargo/update_checker"
require "dependabot/cargo/file_parser"
require "dependabot/cargo/version"
require "dependabot/errors"
module Dependabot
modu... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/lib/dependabot/cargo/update_checker/requirements_updater.rb | cargo/lib/dependabot/cargo/update_checker/requirements_updater.rb | # typed: strict
# frozen_string_literal: true
################################################################################
# For more details on rust version constraints, see: #
# - https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html #
# - https://steveklabnik.githu... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/lib/dependabot/cargo/file_updater/manifest_updater.rb | cargo/lib/dependabot/cargo/file_updater/manifest_updater.rb | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/cargo/file_updater"
module Dependabot
module Cargo
class FileUpdater
class ManifestUpdater
extend T::Sig
sig do
params... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/lib/dependabot/cargo/file_updater/lockfile_updater.rb | cargo/lib/dependabot/cargo/file_updater/lockfile_updater.rb | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "toml-rb"
require "open3"
require "dependabot/git_commit_checker"
require "dependabot/cargo/file_updater"
require "dependabot/cargo/file_updater/manifest_updater"
require "dependabot/cargo/file_parser"
require "dependabot/cargo/helpers"
req... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/cargo/lib/dependabot/cargo/file_updater/workspace_manifest_updater.rb | cargo/lib/dependabot/cargo/file_updater/workspace_manifest_updater.rb | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/cargo/file_updater"
module Dependabot
module Cargo
class FileUpdater
class WorkspaceManifestUpdater
extend T::Sig
sig { params(dependencies: T::Array[Dependabot::Dependency], manifest: Dependabot::D... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
dependabot/dependabot-core | https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/uv/spec/spec_helper.rb | uv/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"
module SlowTestHelper
def self.slow_tests?
... | 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_spec.rb | uv/spec/dependabot/uv_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/uv"
require_common_spec "shared_examples_for_autoloading"
RSpec.describe Dependabot::Uv do
it_behaves_like "it registers the required classes", "uv"
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/requirement_spec.rb | uv/spec/dependabot/uv/requirement_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/uv/requirement"
require "dependabot/uv/version"
RSpec.describe Dependabot::Uv::Requirement do
subject(:requirement) { described_class.new(requirement_string) }
let(:requirement_string) { ">=1.0.0" }
let(:version_class) { 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/version_spec.rb | uv/spec/dependabot/uv/version_spec.rb | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/uv/version"
RSpec.describe Dependabot::Uv::Version do
subject(:version) { described_class.new(version_string) }
let(:version_string) { "1.0.0" }
describe ".correct?" do
subject { described_class.correct?(version_string)... | ruby | MIT | 5f5d8b92c51eefa3ec78a9e208f664e439134d76 | 2026-01-04T15:43:10.347999Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.