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/gradle/lib/dependabot/gradle/file_updater/lockfile_updater.rb
gradle/lib/dependabot/gradle/file_updater/lockfile_updater.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "shellwords" require "dependabot/gradle/file_parser" require "dependabot/gradle/file_updater" module Dependabot module Gradle class FileUpdater class LockfileUpdater extend T::Sig sig { params(dependency_files...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/gradle/lib/dependabot/gradle/file_updater/wrapper_updater.rb
gradle/lib/dependabot/gradle/file_updater/wrapper_updater.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "shellwords" require "dependabot/gradle/distributions" module Dependabot module Gradle class FileUpdater class WrapperUpdater extend T::Sig include Dependabot::Gradle::Distributions sig { params(depend...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/gradle/lib/dependabot/gradle/file_updater/dependency_set_updater.rb
gradle/lib/dependabot/gradle/file_updater/dependency_set_updater.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/gradle/file_parser" require "dependabot/gradle/file_updater" module Dependabot module Gradle class FileUpdater class DependencySetUpdater extend T::Sig sig { params(dependency_files: T::Array[Depen...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/gradle/lib/dependabot/gradle/file_updater/property_value_updater.rb
gradle/lib/dependabot/gradle/file_updater/property_value_updater.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/gradle/file_updater" require "dependabot/gradle/file_parser/property_value_finder" module Dependabot module Gradle class FileUpdater class PropertyValueUpdater extend T::Sig sig { params(dependency...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/omnibus/lib/dependabot/omnibus.rb
omnibus/lib/dependabot/omnibus.rb
# typed: strong # frozen_string_literal: true require "dependabot/bazel" require "dependabot/python" require "dependabot/terraform" require "dependabot/opentofu" require "dependabot/elm" require "dependabot/docker" require "dependabot/docker_compose" require "dependabot/dotnet_sdk" require "dependabot/git_submodules" ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/vcpkg/spec/spec_helper.rb
vcpkg/spec/spec_helper.rb
# typed: strict # 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/vcpkg/spec/dependabot/vcpkg_spec.rb
vcpkg/spec/dependabot/vcpkg_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/vcpkg" require_common_spec "shared_examples_for_autoloading" RSpec.describe Dependabot::Vcpkg do it_behaves_like "it registers the required classes", "vcpkg" end
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/vcpkg/spec/dependabot/vcpkg/metadata_finder_spec.rb
vcpkg/spec/dependabot/vcpkg/metadata_finder_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/vcpkg/metadata_finder" RSpec.describe Dependabot::Vcpkg::MetadataFinder do subject(:finder) do described_class.new(dependency: dependency, credentials: []) end let(:dependency) do Depe...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/vcpkg/spec/dependabot/vcpkg/file_updater_spec.rb
vcpkg/spec/dependabot/vcpkg/file_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/vcpkg/file_updater" RSpec.describe Dependabot::Vcpkg::FileUpdater do let(:dependency_files) { [vcpkg_json] } let(:vcpkg_json) do Dependabot::DependencyFile.new( name: "vcpkg.json", content: vcpkg_json_content ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/vcpkg/spec/dependabot/vcpkg/update_checker_spec.rb
vcpkg/spec/dependabot/vcpkg/update_checker_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/credential" require "dependabot/vcpkg/file_parser" require "dependabot/vcpkg/update_checker" require "dependabot/vcpkg/version" require_common_spec "update_chec...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/vcpkg/spec/dependabot/vcpkg/file_fetcher_spec.rb
vcpkg/spec/dependabot/vcpkg/file_fetcher_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/vcpkg/file_fetcher" require_common_spec "file_fetchers/shared_examples_for_file_fetchers" RSpec.describe Dependabot::Vcpkg::FileFetcher do let(:repo_contents_path) { build_tmp_repo(project_name) } let(:file_fetcher_instance) do...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/vcpkg/spec/dependabot/vcpkg/file_parser_spec.rb
vcpkg/spec/dependabot/vcpkg/file_parser_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency_file" require "dependabot/source" require "dependabot/vcpkg" require "dependabot/vcpkg/file_parser" require_common_spec "file_parsers/shared_examples_for_file_parsers" RSpec.describe Dependabot::Vcpkg::FileParser do ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/vcpkg/spec/dependabot/vcpkg/package/package_details_fetcher_spec.rb
vcpkg/spec/dependabot/vcpkg/package/package_details_fetcher_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/vcpkg/package/package_details_fetcher" RSpec.describe Dependabot::Vcpkg::Package::PackageDetailsFetcher do subject(:fetcher) do described_class.new(dependency: dependency) end let(:dependency_name) { "github.com/microsof...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/vcpkg/spec/dependabot/vcpkg/update_checker/latest_version_finder_spec.rb
vcpkg/spec/dependabot/vcpkg/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/credential" require "dependabot/vcpkg/update_checker/latest_version_finder" require "dependabot/vcpkg/package/package_details_fetcher" require "dependabot/vcpkg/...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/vcpkg/lib/dependabot/vcpkg.rb
vcpkg/lib/dependabot/vcpkg.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/vcpkg/language" require "dependabot/vcpkg/package_manager" require "dependabot/vcpkg/file_fetcher" require "depend...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/vcpkg/lib/dependabot/vcpkg/file_fetcher.rb
vcpkg/lib/dependabot/vcpkg/file_fetcher.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/file_fetchers" require "dependabot/file_fetchers/base" require "dependabot/vcpkg" module Dependabot module Vcpkg class FileFetcher < Dependabot::FileFetchers::Base extend T::Sig sig { override.params(filena...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/vcpkg/lib/dependabot/vcpkg/language.rb
vcpkg/lib/dependabot/vcpkg/language.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/ecosystem" module Dependabot module Vcpkg class Language < Dependabot::Ecosystem::VersionManager extend T::Sig sig { void } def initialize super(name: LANGUAGE) end sig { override....
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/vcpkg/lib/dependabot/vcpkg/file_updater.rb
vcpkg/lib/dependabot/vcpkg/file_updater.rb
# typed: strict # frozen_string_literal: true require "json" require "sorbet-runtime" require "dependabot/file_updaters" require "dependabot/file_updaters/base" require "dependabot/vcpkg" module Dependabot module Vcpkg class FileUpdater < Dependabot::FileUpdaters::Base extend T::Sig sig { override...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/vcpkg/lib/dependabot/vcpkg/version.rb
vcpkg/lib/dependabot/vcpkg/version.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/utils" require "dependabot/version" module Dependabot module Vcpkg class Version < Dependabot::Version extend T::Sig VERSION_PATTERN = /\A([0-9]+(?:\.[0-9]+)*(?:-[0-9A-Za-z\-\.]+)?(?:\+[0-9A-Za-z\-\.]+)?)(?:...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/vcpkg/lib/dependabot/vcpkg/requirement.rb
vcpkg/lib/dependabot/vcpkg/requirement.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/requirement" require "dependabot/utils" module Dependabot module Vcpkg class Requirement < Dependabot::Requirement extend T::Sig # Vcpkg requirements are simple strings, so we can just return a single ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/vcpkg/lib/dependabot/vcpkg/package_manager.rb
vcpkg/lib/dependabot/vcpkg/package_manager.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/ecosystem" module Dependabot module Vcpkg class PackageManager < Dependabot::Ecosystem::VersionManager extend T::Sig sig { void } def initialize super(name: PACKAGE_MANAGER) end si...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/vcpkg/lib/dependabot/vcpkg/update_checker.rb
vcpkg/lib/dependabot/vcpkg/update_checker.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/errors" require "dependabot/update_checkers" require "dependabot/update_checkers/base" module Dependabot module Vcpkg class UpdateChecker < Dependabot::UpdateCheckers::Base extend T::Sig require_relative "up...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/vcpkg/lib/dependabot/vcpkg/metadata_finder.rb
vcpkg/lib/dependabot/vcpkg/metadata_finder.rb
# typed: strict # frozen_string_literal: true require "dependabot/metadata_finders" require "dependabot/metadata_finders/base" module Dependabot module Vcpkg class MetadataFinder < Dependabot::MetadataFinders::Base extend T::Sig sig { override.returns(T.nilable(String)) } def homepage_url ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/vcpkg/lib/dependabot/vcpkg/file_parser.rb
vcpkg/lib/dependabot/vcpkg/file_parser.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/dependency" require "dependabot/file_parsers" require "dependabot/file_parsers/base" require "dependabot/logger" require "dependabot/vcpkg" require "dependabot/vcpkg/language" require "dependabot/vcpkg/package_manager" module...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/vcpkg/lib/dependabot/vcpkg/package/package_details_fetcher.rb
vcpkg/lib/dependabot/vcpkg/package/package_details_fetcher.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "uri" require "dependabot/git_commit_checker" require "dependabot/logger" require "dependabot/package/package_details" require "dependabot/registry_client" require "dependabot/shared_helpers" require "dependabot/update_checkers/base" requ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/vcpkg/lib/dependabot/vcpkg/update_checker/latest_version_finder.rb
vcpkg/lib/dependabot/vcpkg/update_checker/latest_version_finder.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/update_checkers/base" require "dependabot/package/package_latest_version_finder" require "dependabot/vcpkg/package/package_details_fetcher" require "dependabot/vcpkg/requirement" require "dependabot/vcpkg/version" module Depe...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/swift/spec/spec_helper.rb
swift/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/swift/spec/dependabot/swift_spec.rb
swift/spec/dependabot/swift_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/swift" require_common_spec "shared_examples_for_autoloading" RSpec.describe Dependabot::Swift do it_behaves_like "it registers the required classes", "swift" end
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/swift/spec/dependabot/swift/native_requirement_spec.rb
swift/spec/dependabot/swift/native_requirement_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/swift/native_requirement" RSpec.describe Dependabot::Swift::NativeRequirement do RSpec::Matchers.define :parse_as do |requirement| match do |declaration| described_class.new(declaration).to_s == requirement end en...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/swift/spec/dependabot/swift/metadata_finder_spec.rb
swift/spec/dependabot/swift/metadata_finder_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/swift/metadata_finder" require_common_spec "metadata_finders/shared_examples_for_metadata_finders" RSpec.describe Dependabot::Swift::MetadataFinder do let(:finder) do described_class.new(depend...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/swift/spec/dependabot/swift/file_updater_spec.rb
swift/spec/dependabot/swift/file_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/swift/file_updater" require_common_spec "file_updaters/shared_examples_for_file_updaters" RSpec.describe Dependabot::Swift::FileUpdater do subject(:updater) do ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/swift/spec/dependabot/swift/update_checker_spec.rb
swift/spec/dependabot/swift/update_checker_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/swift/file_parser" require "dependabot/swift/update_checker" require_common_spec "update_checkers/shared_examples_for_update_checkers" RSpec.describe Dependabot::Swift::UpdateChecker do let(:stub_u...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/swift/spec/dependabot/swift/package_manager_spec.rb
swift/spec/dependabot/swift/package_manager_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/swift/package_manager" require "dependabot/ecosystem" RSpec.describe Dependabot::Swift::PackageManager do subject(:package_manager) { described_class.new(version) } let(:version) { "6.0.2" } 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/swift/spec/dependabot/swift/file_fetcher_spec.rb
swift/spec/dependabot/swift/file_fetcher_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/swift/file_fetcher" require_common_spec "file_fetchers/shared_examples_for_file_fetchers" RSpec.describe Dependabot::Swift::FileFetcher do let(:repo_contents_path) { build_tmp_repo(project_name) } let(:file_fetcher_instance) do...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/swift/spec/dependabot/swift/file_parser_spec.rb
swift/spec/dependabot/swift/file_parser_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency_file" require "dependabot/source" require "dependabot/swift/file_parser" require_common_spec "file_parsers/shared_examples_for_file_parsers" RSpec.describe Dependabot::Swift::FileParser do let(:dependencies) { parser.p...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/swift/spec/dependabot/swift/language_spec.rb
swift/spec/dependabot/swift/language_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/swift/language" require "dependabot/ecosystem" require "spec_helper" RSpec.describe Dependabot::Swift::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/swift/spec/dependabot/swift/package/package_details_fetcher_spec.rb
swift/spec/dependabot/swift/package/package_details_fetcher_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/swift/package/package_details_fetcher" require "dependabot/dependency" require "dependabot/credential" require "dependabot/git_commit_checker" require "dependabot/git_tag_with_detail" require "excon" RSpec.describe Dependabot::Swift::Package::PackageDet...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/swift/spec/dependabot/swift/update_checker/latest_version_resolver_spec.rb
swift/spec/dependabot/swift/update_checker/latest_version_resolver_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/swift/update_checker/latest_version_resolver" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/credential" require "dependabot/git_commit_checker" require "dependabot/package/release_cooldown_options" require "depe...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/swift/lib/dependabot/swift.rb
swift/lib/dependabot/swift.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/swift/file_fetcher" require "dependabot/swift/file_parser" require "dependabot/swift/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/swift/lib/dependabot/swift/file_fetcher.rb
swift/lib/dependabot/swift/file_fetcher.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/file_fetchers" require "dependabot/file_fetchers/base" module Dependabot module Swift class FileFetcher < Dependabot::FileFetchers::Base extend T::Sig sig { override.params(filenames: T::Array[String]).return...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/swift/lib/dependabot/swift/language.rb
swift/lib/dependabot/swift/language.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/ecosystem" require "dependabot/swift/version" module Dependabot module Swift LANGUAGE = "swift" 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/swift/lib/dependabot/swift/file_updater.rb
swift/lib/dependabot/swift/file_updater.rb
# typed: strong # frozen_string_literal: true require "dependabot/file_updaters" require "dependabot/file_updaters/base" require "dependabot/swift/file_updater/lockfile_updater" require "dependabot/swift/file_updater/manifest_updater" module Dependabot module Swift class FileUpdater < Dependabot::FileUpdaters::...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/swift/lib/dependabot/swift/version.rb
swift/lib/dependabot/swift/version.rb
# typed: strong # frozen_string_literal: true require "dependabot/utils" require "dependabot/version" module Dependabot module Swift class Version < Dependabot::Version end end end Dependabot::Utils .register_version_class("swift", Dependabot::Swift::Version)
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/swift/lib/dependabot/swift/requirement.rb
swift/lib/dependabot/swift/requirement.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/requirement" require "dependabot/utils" module Dependabot module Swift class Requirement < Dependabot::Requirement extend T::Sig # For consistency with other languages, we define a requirements array. ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/swift/lib/dependabot/swift/package_manager.rb
swift/lib/dependabot/swift/package_manager.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/ecosystem" require "dependabot/swift/version" module Dependabot module Swift ECOSYSTEM = "swift" PACKAGE_MANAGER = "swift" SUPPORTED_SWIFT_VERSIONS = T.let([].freeze, T::Array[Dependabot::Version]) # When a v...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/swift/lib/dependabot/swift/update_checker.rb
swift/lib/dependabot/swift/update_checker.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/update_checkers" require "dependabot/update_checkers/base" require "dependabot/update_checkers/version_filters" require "dependabot/git_commit_checker" require "dependabot/swift/native_requirement" require "dependabot/swift/file...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/swift/lib/dependabot/swift/native_requirement.rb
swift/lib/dependabot/swift/native_requirement.rb
# typed: strict # frozen_string_literal: true require "dependabot/utils" require "dependabot/swift/requirement" require "sorbet-runtime" module Dependabot module Swift class NativeRequirement extend T::Sig # TODO: Support pinning to specific revisions REGEXP = T.let(/(from.*|\.upToNextMajor.*...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/swift/lib/dependabot/swift/metadata_finder.rb
swift/lib/dependabot/swift/metadata_finder.rb
# typed: strict # frozen_string_literal: true require "dependabot/metadata_finders" require "dependabot/metadata_finders/base" require "sorbet-runtime" module Dependabot module Swift class MetadataFinder < Dependabot::MetadataFinders::Base extend T::Sig private sig { override.returns(T.nilab...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/swift/lib/dependabot/swift/file_parser.rb
swift/lib/dependabot/swift/file_parser.rb
# typed: strict # frozen_string_literal: true require "dependabot/dependency" require "dependabot/file_parsers" require "dependabot/file_parsers/base" require "dependabot/swift/file_parser/dependency_parser" require "dependabot/swift/file_parser/manifest_parser" require "dependabot/swift/package_manager" require "depe...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/swift/lib/dependabot/swift/file_parser/dependency_parser.rb
swift/lib/dependabot/swift/file_parser/dependency_parser.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/file_parsers/base" require "dependabot/shared_helpers" require "dependabot/dependency" require "json" require "uri" module Dependabot module Swift class FileParser < Dependabot::FileParsers::Base class DependencyPar...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/swift/lib/dependabot/swift/file_parser/manifest_parser.rb
swift/lib/dependabot/swift/file_parser/manifest_parser.rb
# typed: strong # frozen_string_literal: true require "dependabot/file_parsers/base" require "dependabot/swift/native_requirement" module Dependabot module Swift class FileParser < Dependabot::FileParsers::Base class ManifestParser extend T::Sig extend T::Helpers DEPENDENCY = ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/swift/lib/dependabot/swift/package/package_details_fetcher.rb
swift/lib/dependabot/swift/package/package_details_fetcher.rb
# typed: strict # frozen_string_literal: true require "json" require "time" require "cgi" require "excon" require "sorbet-runtime" require "dependabot/swift" module Dependabot module Swift module Package class PackageDetailsFetcher extend T::Sig RELEASES_URL = "https://api.github.com/repo...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/swift/lib/dependabot/swift/update_checker/version_resolver.rb
swift/lib/dependabot/swift/update_checker/version_resolver.rb
# typed: strong # frozen_string_literal: true require "dependabot/update_checkers/base" require "dependabot/swift/file_parser/dependency_parser" require "dependabot/swift/file_updater/lockfile_updater" require "sorbet-runtime" module Dependabot module Swift class UpdateChecker < Dependabot::UpdateCheckers::Base...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/swift/lib/dependabot/swift/update_checker/requirements_updater.rb
swift/lib/dependabot/swift/update_checker/requirements_updater.rb
# typed: strong # frozen_string_literal: true require "dependabot/update_checkers/base" require "dependabot/swift/native_requirement" require "dependabot/swift/version" module Dependabot module Swift class UpdateChecker < Dependabot::UpdateCheckers::Base class RequirementsUpdater extend T::Sig ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/swift/lib/dependabot/swift/update_checker/latest_version_resolver.rb
swift/lib/dependabot/swift/update_checker/latest_version_resolver.rb
# typed: strong # frozen_string_literal: true require "dependabot/update_checkers/base" require "dependabot/swift/file_parser/dependency_parser" require "dependabot/swift/file_updater/lockfile_updater" require "dependabot/swift/package/package_details_fetcher" require "sorbet-runtime" require "dependabot/git_commit_ch...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/swift/lib/dependabot/swift/file_updater/manifest_updater.rb
swift/lib/dependabot/swift/file_updater/manifest_updater.rb
# typed: strict # frozen_string_literal: true require "dependabot/file_updaters/base" require "dependabot/swift/file_updater/requirement_replacer" require "sorbet-runtime" module Dependabot module Swift class FileUpdater < FileUpdaters::Base class ManifestUpdater extend T::Sig sig do ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/swift/lib/dependabot/swift/file_updater/lockfile_updater.rb
swift/lib/dependabot/swift/file_updater/lockfile_updater.rb
# typed: strict # frozen_string_literal: true require "dependabot/file_updaters/base" require "dependabot/shared_helpers" require "dependabot/logger" require "sorbet-runtime" module Dependabot module Swift class FileUpdater < Dependabot::FileUpdaters::Base class LockfileUpdater extend T::Sig ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/swift/lib/dependabot/swift/file_updater/requirement_replacer.rb
swift/lib/dependabot/swift/file_updater/requirement_replacer.rb
# typed: strict # frozen_string_literal: true require "dependabot/file_updaters/base" require "sorbet-runtime" module Dependabot module Swift class FileUpdater < Dependabot::FileUpdaters::Base class RequirementReplacer extend T::Sig sig do params( content: String, ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/helm/spec/spec_helper.rb
helm/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/helm/spec/dependabot/helm_spec.rb
helm/spec/dependabot/helm_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/helm" require_common_spec "shared_examples_for_autoloading" RSpec.describe Dependabot::Helm do it_behaves_like "it registers the required classes", "helm" end
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/helm/spec/dependabot/helm/version_spec.rb
helm/spec/dependabot/helm/version_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/helm/version" RSpec.describe Dependabot::Helm::Version do describe ".correct?" do it "returns true for versions" do expect(described_class.correct?("3.7.7-slim-buster")).to be true expect(described_class.correct?(...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/helm/spec/dependabot/helm/file_updater_spec.rb
helm/spec/dependabot/helm/file_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "yaml" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/source" require "dependabot/helm/file_updater" require_common_spec "file_updaters/shared_examples_for_file_updaters" RSpec.describe Dependabot::Hel...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/helm/spec/dependabot/helm/update_checker_spec.rb
helm/spec/dependabot/helm/update_checker_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/credential" require "dependabot/dependency" require "dependabot/ecosystem" require "dependabot/config" require "dependabot/errors" require "dependabot/config/update_config" require "dependabot/helm" require_common_spec "update_check...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/helm/spec/dependabot/helm/file_fetcher_spec.rb
helm/spec/dependabot/helm/file_fetcher_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/helm/file_fetcher" require_common_spec "file_fetchers/shared_examples_for_file_fetchers" RSpec.describe Dependabot::Helm::FileFetcher do let(:credentials) do [{ "type" => "git_source", "host" => "github.com", ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/helm/spec/dependabot/helm/file_parser_spec.rb
helm/spec/dependabot/helm/file_parser_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency_file" require "dependabot/source" require "dependabot/helm/file_parser" require_common_spec "file_parsers/shared_examples_for_file_parsers" RSpec.describe Dependabot::Helm::FileParser do let(:source) do Dependabot...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/helm/spec/dependabot/helm/helm_package_manager_spec.rb
helm/spec/dependabot/helm/helm_package_manager_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/helm/package_manager" require "dependabot/ecosystem" require "spec_helper" RSpec.describe Dependabot::Helm::HelmPackageManager do let(:package_manager) do described_class.new end describe "#initialize" do context "when docker package mana...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/helm/spec/dependabot/helm/package/package_details_fetcher_spec.rb
helm/spec/dependabot/helm/package/package_details_fetcher_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/helm/package/package_details_fetcher" require "excon" RSpec.describe Dependabot::Helm::Package::PackageDetailsFetcher do let(:repo_name) { "prometheus-community" } let(:url) { "https://api.github.com/repos/#{repo_name}/helm-charts/releases" } let(...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/helm/spec/dependabot/helm/update_checker/latest_version_resolver_spec.rb
helm/spec/dependabot/helm/update_checker/latest_version_resolver_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/helm/update_checker/latest_version_resolver" require "dependabot/helm/package/package_details_fetcher" # rubocop:disable RSpec/SpecFilePathFormat RSpec.describe Dependabot::Helm::LatestVersionResolver do let(:dependency) do Dependabot::Dependency.n...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/helm/spec/dependabot/helm/file_updater/image_updater_spec.rb
helm/spec/dependabot/helm/file_updater/image_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/helm/file_updater/image_updater" RSpec.describe Dependabot::Helm::FileUpdater::ImageUpdater do let(:updater) { described_class.new(dependency: dependency, depen...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/helm/spec/dependabot/helm/file_updater/chart_updater_spec.rb
helm/spec/dependabot/helm/file_updater/chart_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/helm/file_updater/chart_updater" RSpec.describe Dependabot::Helm::FileUpdater::ChartUpdater do let(:updater) { described_class.new(dependency: dependency) } l...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/helm/spec/dependabot/helm/file_updater/lock_file_generator_spec.rb
helm/spec/dependabot/helm/file_updater/lock_file_generator_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/credential" require "dependabot/helm/file_updater/lock_file_generator" require "dependabot/helm/helpers" require "dependabot/shared_helpers" RSpec.describe Depend...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/helm/lib/dependabot/helm.rb
helm/lib/dependabot/helm.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/docker" require "dependabot/helm/file_fetcher" require "dependabot/helm/file_parser" require "dependabot/helm/fi...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/helm/lib/dependabot/helm/file_fetcher.rb
helm/lib/dependabot/helm/file_fetcher.rb
# typed: strict # frozen_string_literal: true require "dependabot/shared/shared_file_fetcher" module Dependabot module Helm class FileFetcher < Dependabot::Shared::SharedFileFetcher FILENAME_REGEX = /.*\.ya?ml$/i CHART_LOCK_REGEXP = /Chart\.lock/i sig { override.returns(T::Array[DependencyFil...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/helm/lib/dependabot/helm/file_updater.rb
helm/lib/dependabot/helm/file_updater.rb
# typed: strict # frozen_string_literal: true require "dependabot/shared/shared_file_updater" require "dependabot/helm/file_updater/lock_file_generator" require "dependabot/helm/file_updater/image_updater" require "dependabot/helm/file_updater/chart_updater" require "yaml" module Dependabot module Helm class Fi...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/helm/lib/dependabot/helm/version.rb
helm/lib/dependabot/helm/version.rb
# typed: strict # frozen_string_literal: true require "dependabot/version" require "dependabot/utils" require "dependabot/docker/tag" require "sorbet-runtime" module Dependabot module Helm # In the special case of Java, the version string may also contain # optional "update number" and "identifier" componen...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/helm/lib/dependabot/helm/package_manager.rb
helm/lib/dependabot/helm/package_manager.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/ecosystem" require "dependabot/helm/version" module Dependabot module Helm ECOSYSTEM = "helm" SUPPORTED_VERSIONS = T.let([].freeze, T::Array[Dependabot::Version]) DEPRECATED_VERSIONS = T.let([].freeze, T::Array[...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/helm/lib/dependabot/helm/update_checker.rb
helm/lib/dependabot/helm/update_checker.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/update_checkers" require "dependabot/update_checkers/base" require "dependabot/errors" require "dependabot/helm/version" require "dependabot/docker/requirement" require "dependabot/shared/utils/credentials_finder" require "depen...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/helm/lib/dependabot/helm/helpers.rb
helm/lib/dependabot/helm/helpers.rb
# typed: strong # frozen_string_literal: true require "dependabot/dependency" require "dependabot/file_parsers" require "dependabot/file_parsers/base" require "dependabot/shared_helpers" require "sorbet-runtime" module Dependabot module Helm module Helpers extend T::Sig sig { params(name: String).r...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/helm/lib/dependabot/helm/file_parser.rb
helm/lib/dependabot/helm/file_parser.rb
# typed: strict # frozen_string_literal: true require "yaml" require "dependabot/shared/shared_file_parser" require "dependabot/helm/package_manager" module Dependabot module Helm class FileParser < Dependabot::Shared::SharedFileParser extend T::Sig CHART_YAML = /.*chart\.ya?ml$/i CHART_LOCK ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/helm/lib/dependabot/helm/package/package_details_fetcher.rb
helm/lib/dependabot/helm/package/package_details_fetcher.rb
# typed: strict # frozen_string_literal: true require "json" require "time" require "cgi" require "excon" require "sorbet-runtime" require "dependabot/helm" require "dependabot/helm/helpers" module Dependabot module Helm module Package class PackageDetailsFetcher extend T::Sig # https://a...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/helm/lib/dependabot/helm/update_checker/latest_version_resolver.rb
helm/lib/dependabot/helm/update_checker/latest_version_resolver.rb
# typed: strong # frozen_string_literal: true require "dependabot/helm/package/package_details_fetcher" require "sorbet-runtime" require "dependabot/git_commit_checker" require "dependabot/helm/version" module Dependabot module Helm class LatestVersionResolver extend T::Sig DAY_IN_SECONDS = T.let(2...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/helm/lib/dependabot/helm/file_updater/image_updater.rb
helm/lib/dependabot/helm/file_updater/image_updater.rb
# typed: strict # frozen_string_literal: true require "dependabot/shared/shared_file_updater" require "dependabot/dependency" require "dependabot/dependency_file" require "yaml" module Dependabot module Helm class FileUpdater < Dependabot::Shared::SharedFileUpdater class ImageUpdater extend T::Sig...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/helm/lib/dependabot/helm/file_updater/chart_updater.rb
helm/lib/dependabot/helm/file_updater/chart_updater.rb
# typed: strict # frozen_string_literal: true require "sorbet-runtime" require "dependabot/shared_helpers" require "dependabot/dependency" require "dependabot/shared/shared_file_updater" require "fileutils" require "tmpdir" module Dependabot module Helm class FileUpdater < Dependabot::Shared::SharedFileUpdater ...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/helm/lib/dependabot/helm/file_updater/lock_file_generator.rb
helm/lib/dependabot/helm/file_updater/lock_file_generator.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/shared_helpers" require "dependabot/dependency" require "dependabot/shared/shared_file_updater" require "dependabot/helm/helpers" require "fileutils" require "tmpdir" module Dependabot module Helm class FileUpdater < Depe...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/git_submodules/spec/spec_helper.rb
git_submodules/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/git_submodules/spec/dependabot/git_submodules_spec.rb
git_submodules/spec/dependabot/git_submodules_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/git_submodules" require_common_spec "shared_examples_for_autoloading" RSpec.describe Dependabot::GitSubmodules do it_behaves_like "it registers the required classes", "submodules" end
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/git_submodules/spec/dependabot/git_submodules/requirement_spec.rb
git_submodules/spec/dependabot/git_submodules/requirement_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/git_submodules/requirement" RSpec.describe Dependabot::GitSubmodules::Requirement do subject(:requirement) { described_class.new(requirement_string) } let(:requirement_string) { ">=1.0.0" } describe ".new" do it { is_ex...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/git_submodules/spec/dependabot/git_submodules/metadata_finder_spec.rb
git_submodules/spec/dependabot/git_submodules/metadata_finder_spec.rb
# typed: false # frozen_string_literal: true require "octokit" require "spec_helper" require "dependabot/dependency" require "dependabot/git_submodules/metadata_finder" require_common_spec "metadata_finders/shared_examples_for_metadata_finders" RSpec.describe Dependabot::GitSubmodules::MetadataFinder do subject(:fi...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/git_submodules/spec/dependabot/git_submodules/file_updater_spec.rb
git_submodules/spec/dependabot/git_submodules/file_updater_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/dependency_file" require "dependabot/git_submodules/file_updater" require_common_spec "file_updaters/shared_examples_for_file_updaters" RSpec.describe Dependabot::GitSubmodules::FileUpdater do let(...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/git_submodules/spec/dependabot/git_submodules/update_checker_spec.rb
git_submodules/spec/dependabot/git_submodules/update_checker_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency" require "dependabot/git_submodules/update_checker" require_common_spec "update_checkers/shared_examples_for_update_checkers" RSpec.describe Dependabot::GitSubmodules::UpdateChecker do let(:branch) { "master" } let(:...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/git_submodules/spec/dependabot/git_submodules/package_manager_spec.rb
git_submodules/spec/dependabot/git_submodules/package_manager_spec.rb
# typed: false # frozen_string_literal: true require "dependabot/git_submodules/package_manager" require "dependabot/ecosystem" require "spec_helper" RSpec.describe Dependabot::GitSubmodules::PackageManager do subject(:package_manager) { described_class.new(version) } let(:version) { "2.1.1" } describe "#vers...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/git_submodules/spec/dependabot/git_submodules/file_fetcher_spec.rb
git_submodules/spec/dependabot/git_submodules/file_fetcher_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/git_submodules/file_fetcher" require_common_spec "file_fetchers/shared_examples_for_file_fetchers" RSpec.describe Dependabot::GitSubmodules::FileFetcher do let(:credentials) do [{ "type" => "git_source", "host" =>...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/git_submodules/spec/dependabot/git_submodules/file_parser_spec.rb
git_submodules/spec/dependabot/git_submodules/file_parser_spec.rb
# typed: false # frozen_string_literal: true require "spec_helper" require "dependabot/dependency_file" require "dependabot/git_submodules/file_parser" require_common_spec "file_parsers/shared_examples_for_file_parsers" RSpec.describe Dependabot::GitSubmodules::FileParser do let(:source) do Dependabot::Source.n...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/git_submodules/spec/dependabot/git_submodules/package/package_details_fetcher_spec.rb
git_submodules/spec/dependabot/git_submodules/package/package_details_fetcher_spec.rb
# typed: false # frozen_string_literal: true require "json" require "time" require "cgi" require "excon" require "nokogiri" require "spec_helper" require "sorbet-runtime" require "dependabot/registry_client" require "dependabot/git_submodules" require "dependabot/package/package_release" require "dependabot/package/pa...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/git_submodules/spec/dependabot/git_submodules/update_checker/latest_version_finder_spec.rb
git_submodules/spec/dependabot/git_submodules/update_checker/latest_version_finder_spec.rb
# typed: strong # frozen_string_literal: true require "excon" require "json" require "sorbet-runtime" require "spec_helper" require "dependabot/errors" require "dependabot/shared_helpers" require "dependabot/update_checkers/version_filters" require "dependabot/package/package_latest_version_finder" require "dependabo...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/git_submodules/lib/dependabot/git_submodules.rb
git_submodules/lib/dependabot/git_submodules.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/git_submodules/file_fetcher" require "dependabot/git_submodules/file_parser" require "dependabot/git_submodules/up...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/git_submodules/lib/dependabot/git_submodules/file_fetcher.rb
git_submodules/lib/dependabot/git_submodules/file_fetcher.rb
# typed: strict # frozen_string_literal: true require "parseconfig" require "sorbet-runtime" require "dependabot/file_fetchers" require "dependabot/file_fetchers/base" require "dependabot/shared_helpers" module Dependabot module GitSubmodules class FileFetcher < Dependabot::FileFetchers::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/git_submodules/lib/dependabot/git_submodules/file_updater.rb
git_submodules/lib/dependabot/git_submodules/file_updater.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/file_updaters" require "dependabot/file_updaters/base" module Dependabot module GitSubmodules class FileUpdater < Dependabot::FileUpdaters::Base extend T::Sig sig { override.returns(T::Array[Dependabot::Depe...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/git_submodules/lib/dependabot/git_submodules/version.rb
git_submodules/lib/dependabot/git_submodules/version.rb
# typed: strong # frozen_string_literal: true require "dependabot/version" require "dependabot/utils" module Dependabot module GitSubmodules class Version < Dependabot::Version end end end Dependabot::Utils .register_version_class("submodules", Dependabot::GitSubmodules::Version)
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false
dependabot/dependabot-core
https://github.com/dependabot/dependabot-core/blob/5f5d8b92c51eefa3ec78a9e208f664e439134d76/git_submodules/lib/dependabot/git_submodules/requirement.rb
git_submodules/lib/dependabot/git_submodules/requirement.rb
# typed: strong # frozen_string_literal: true require "sorbet-runtime" require "dependabot/requirement" require "dependabot/utils" module Dependabot module GitSubmodules class Requirement < Dependabot::Requirement extend T::Sig # For consistency with other languages, we define a requirements array...
ruby
MIT
5f5d8b92c51eefa3ec78a9e208f664e439134d76
2026-01-04T15:43:10.347999Z
false