source stringclasses 1
value | repo stringlengths 5 63 | repo_url stringlengths 24 82 | path stringlengths 5 167 | language stringclasses 1
value | license stringclasses 5
values | stars int64 10 51.4k | ref stringclasses 23
values | size_bytes int64 200 258k | text stringlengths 137 258k |
|---|---|---|---|---|---|---|---|---|---|
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bun/spec/dependabot/bun_spec.rb | Ruby | mit | 5,556 | main | 247 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/bun"
require_common_spec "shared_examples_for_autoloading"
RSpec.describe Dependabot::Bun do
it_behaves_like "it registers the required classes", "bun"
end |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bun/spec/dependabot/bun/update_checker_spec.rb | Ruby | mit | 5,556 | main | 40,718 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency_file"
require "dependabot/dependency"
require "dependabot/bun/metadata_finder"
require "dependabot/bun/update_checker"
require "dependabot/requirements_update_strategy"
require_common_spec "update_checkers/shared_example... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bun/spec/dependabot/bun/metadata_finder_spec.rb | Ruby | mit | 5,556 | main | 21,829 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/bun/metadata_finder"
require_common_spec "metadata_finders/shared_examples_for_metadata_finders"
RSpec.describe Dependabot::Bun::MetadataFinder do
subject(:finder) do
described_class.new(dependency: dependency, credentials: c... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bun/spec/dependabot/bun/version_spec.rb | Ruby | mit | 5,556 | main | 7,480 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/bun/version"
RSpec.describe Dependabot::Bun::Version do
subject(:version) { described_class.new(version_string) }
let(:version_string) { "1.0.0" }
describe ".correct?" do
subject { described_class.correct?(version_strin... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bun/spec/dependabot/bun/bun_package_manager_spec.rb | Ruby | mit | 5,556 | main | 1,375 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/bun"
RSpec.describe Dependabot::Bun::BunPackageManager do
let(:package_manager) do
described_class.new(
detected_version: detected_version,
raw_version: raw_version
)
end
let(:detected_version) { "1" }
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bun/spec/dependabot/bun/file_fetcher_spec.rb | Ruby | mit | 5,556 | main | 6,879 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/file_fetchers"
require "dependabot/bun"
require_common_spec "file_fetchers/shared_examples_for_file_fetchers"
RSpec.describe Dependabot::Bun::FileFetcher do
let(:json_header) { { "content-type" => "application/json" } }
let(:cr... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bun/spec/dependabot/bun/requirement_spec.rb | Ruby | mit | 5,556 | main | 356 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/bun"
RSpec.describe Dependabot::Bun::Requirement do
it "inherits initialization from Javascript::Requirement" do
requirement = described_class.new("1.0.0")
expect(requirement).to be_a(described_class)
expect(requireme... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bun/spec/dependabot/bun/file_parser_spec.rb | Ruby | mit | 5,556 | main | 3,393 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/bun"
RSpec.describe Dependabot::Bun::FileParser do
let(:credentials) do
[Dependabot::Credential.new(
{
"type" => "git_source",
"host" => "github.com",
"username" => "x-access-token",
"pas... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bun/spec/dependabot/bun/file_updater_spec.rb | Ruby | mit | 5,556 | main | 10,273 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/bun"
RSpec.describe Dependabot::Bun::FileUpdater do
let(:repo_contents_path) { nil }
let(:tmp_path) { Dependabot::Utils::BUMP_TMP_DIR_PATH }
let(:source) { nil }
let(:previous_requirements) do
[{
file: "package.js... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bun/spec/dependabot/bun/update_checker/version_resolver_spec.rb | Ruby | mit | 5,556 | main | 18,444 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/bun/update_checker/version_resolver"
RSpec.describe Dependabot::Bun::UpdateChecker::VersionResolver do
let(:resolver) do
described_class.new(
dependen... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bun/spec/dependabot/bun/update_checker/subdependency_version_resolver_spec.rb | Ruby | mit | 5,556 | main | 2,113 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/bun/update_checker/subdependency_version_resolver"
RSpec.describe Dependabot::Bun::UpdateChecker::SubdependencyVersionResolver do
subject(:latest_resolvable_version) { resolver.latest_resolvable_version }
let(:dependency) do
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bun/spec/dependabot/bun/update_checker/package_latest_version_finder_spec.rb | Ruby | mit | 5,556 | main | 44,323 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/bun/update_checker/latest_version_finder"
require "dependabot/credential"
require "dependabot/security_advisory"
require "dependabot/package/release_cooldown_optio... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bun/spec/dependabot/bun/file_parser/lockfile_parser_spec.rb | Ruby | mit | 5,556 | main | 4,778 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/bun"
RSpec.describe Dependabot::Bun::FileParser::LockfileParser do
subject(:lockfile_parser) do
described_class.new(dependency_files: dependency_files)
end
describe "#parse" do
subject(:dependencies) { lockfile_parse... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bun/spec/dependabot/bun/package/registry_finder_spec.rb | Ruby | mit | 5,556 | main | 12,281 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/credential"
require "dependabot/bun/package/registry_finder"
RSpec.describe Dependabot::Bun::Package::RegistryFinder do
subject(:finder) do
described_class.new(
dependency: dependency,
credentials: credentials,
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bun/spec/dependabot/bun/package/package_details_fetcher_spec.rb | Ruby | mit | 5,556 | main | 4,756 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/credential"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/bun/package/package_details_fetcher"
require "dependabot/bun/version"
require "dependabot/bun/requirement"
require "dependabot/pack... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | conda/dependabot-conda.gemspec | Ruby | mit | 5,556 | main | 1,393 | # frozen_string_literal: true
Gem::Specification.new do |spec|
common_gemspec =
Bundler.load_gemspec_uncached("../common/dependabot-common.gemspec")
spec.name = "dependabot-conda"
spec.summary = "Provides Dependabot support for Conda"
spec.description = "Dependabot-Conda provides support for... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | conda/lib/dependabot/conda.rb | Ruby | mit | 5,556 | main | 1,279 | # 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/conda/file_fetcher"
require "dependabot/conda/file_parser"
require "dependabot/conda/update_checker"
require "depe... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | conda/lib/dependabot/conda/file_fetcher.rb | Ruby | mit | 5,556 | main | 6,024 | # typed: strict
# frozen_string_literal: true
require "yaml"
require "sorbet-runtime"
require "dependabot/file_fetchers"
require "dependabot/file_fetchers/base"
module Dependabot
module Conda
class FileFetcher < Dependabot::FileFetchers::Base
extend T::Sig
ENVIRONMENT_FILE_NAMES = T.let(
%w... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | conda/lib/dependabot/conda/conda_registry_client.rb | Ruby | mit | 5,556 | main | 7,066 | # typed: strict
# frozen_string_literal: true
require "excon"
require "json"
require "sorbet-runtime"
require "dependabot/conda/version"
require "dependabot/registry_client"
require "dependabot/shared_helpers"
module Dependabot
module Conda
class CondaRegistryClient
extend T::Sig
# Supported public... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | conda/lib/dependabot/conda/version.rb | Ruby | mit | 5,556 | main | 12,101 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/version"
require "dependabot/utils"
module Dependabot
module Conda
# Conda version handling based on conda's version specification
# See: https://docs.conda.io/projects/conda/en/stable/user-guide/concepts/pkg-specs.ht... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | conda/lib/dependabot/conda/requirement.rb | Ruby | mit | 5,556 | main | 4,762 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/requirement"
require "dependabot/python/version"
require "dependabot/conda/version"
module Dependabot
module Conda
class Requirement < Dependabot::Requirement
extend T::Sig
# Conda uses different operators th... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | conda/lib/dependabot/conda/update_checker.rb | Ruby | mit | 5,556 | main | 5,579 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/update_checkers"
require "dependabot/update_checkers/base"
require "dependabot/conda/version"
require "dependabot/conda/requirement"
require "dependabot/requirements_update_strategy"
module Dependabot
module Conda
class U... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | conda/lib/dependabot/conda/file_updater.rb | Ruby | mit | 5,556 | main | 9,116 | # typed: strict
# frozen_string_literal: true
require "yaml"
require "sorbet-runtime"
require "dependabot/file_updaters"
require "dependabot/file_updaters/base"
require "dependabot/conda/requirement"
module Dependabot
module Conda
class FileUpdater < Dependabot::FileUpdaters::Base
extend T::Sig
# C... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | conda/lib/dependabot/conda/package_manager.rb | Ruby | mit | 5,556 | main | 1,031 | # typed: strong
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/ecosystem"
require "dependabot/conda/version"
module Dependabot
module Conda
ECOSYSTEM = "conda"
SUPPORTED_VERSIONS = T.let([].freeze, T::Array[Dependabot::Version])
DEPRECATED_VERSIONS = T.let([].freeze, T::Arra... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | conda/lib/dependabot/conda/metadata_finder.rb | Ruby | mit | 5,556 | main | 1,693 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/metadata_finders"
require "dependabot/metadata_finders/base"
require "dependabot/python/metadata_finder"
module Dependabot
module Conda
class MetadataFinder < Dependabot::MetadataFinders::Base
extend T::Sig
s... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | conda/lib/dependabot/conda/file_parser.rb | Ruby | mit | 5,556 | main | 10,377 | # typed: strict
# frozen_string_literal: true
require "yaml"
require "sorbet-runtime"
require "dependabot/file_parsers"
require "dependabot/file_parsers/base"
require "dependabot/conda/requirement"
require "dependabot/conda/version"
require "dependabot/conda/package_manager"
require "dependabot/conda/conda_registry_cl... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | conda/lib/dependabot/conda/name_normaliser.rb | Ruby | mit | 5,556 | main | 441 | # typed: strong
# frozen_string_literal: true
require "sorbet-runtime"
module Dependabot
module Conda
class NameNormaliser
extend T::Sig
sig { params(name: String).returns(String) }
def self.normalise(name)
# Conda package names follow similar rules to Python packages
# Conver... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | conda/lib/dependabot/conda/update_checker/requirements_updater.rb | Ruby | mit | 5,556 | main | 17,431 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/conda/requirement"
require "dependabot/conda/update_checker"
require "dependabot/conda/version"
require "dependabot/requirements_update_strategy"
module Dependabot
module Conda
class UpdateChecker < Dependabot::UpdateChec... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | conda/lib/dependabot/conda/update_checker/latest_version_finder.rb | Ruby | mit | 5,556 | main | 7,928 | # typed: strict
# frozen_string_literal: true
require "yaml"
require "sorbet-runtime"
require "dependabot/package/package_latest_version_finder"
require "dependabot/package/package_release"
require "dependabot/python/update_checker/latest_version_finder"
require "dependabot/dependency"
require "dependabot/conda/conda_... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | conda/lib/dependabot/conda/update_checker/requirement_translator.rb | Ruby | mit | 5,556 | main | 2,068 | # typed: strong
# frozen_string_literal: true
require "sorbet-runtime"
module Dependabot
module Conda
class UpdateChecker
class RequirementTranslator
extend T::Sig
# Convert conda-style requirements to pip-compatible requirements
sig { params(conda_requirement: T.nilable(String)).... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | conda/spec/dependabot/conda_spec.rb | Ruby | mit | 5,556 | main | 2,150 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/conda"
require_common_spec "shared_examples_for_autoloading"
RSpec.describe Dependabot::Conda do
it_behaves_like "it registers the required classes", "conda"
describe "production check" do
subject(:production_check) do
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | conda/spec/dependabot/conda/metadata_finder_spec.rb | Ruby | mit | 5,556 | main | 3,870 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/conda/metadata_finder"
require_common_spec "metadata_finders/shared_examples_for_metadata_finders"
RSpec.describe Dependabot::Conda::MetadataFinder do
let(:dependency) do
Dependabot::Dependency.new(
name: dependency_nam... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | conda/spec/dependabot/conda/update_checker_spec.rb | Ruby | mit | 5,556 | main | 13,836 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/conda/update_checker"
require_common_spec "update_checkers/shared_examples_for_update_checkers"
RSpec.describe Dependabot::Conda::UpdateChecker do
let(:mock_security_fix_version) { Dependabot::Conda::Version.new("1.22.1") }
let... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | conda/spec/dependabot/conda/file_updater_spec.rb | Ruby | mit | 5,556 | main | 16,731 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/conda/file_updater"
require_common_spec "file_updaters/shared_examples_for_file_updaters"
RSpec.describe Dependabot::Conda::FileUpdater do
let(:github_credentials) do
[{
"type" => "git_source",
"host" => "github.c... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | conda/spec/dependabot/conda/requirement_spec.rb | Ruby | mit | 5,556 | main | 8,422 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/conda/requirement"
RSpec.describe Dependabot::Conda::Requirement do
subject(:requirement) { described_class.new(requirement_string) }
describe ".new" do
it "creates a requirement from conda-style operators" do
expect... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | conda/spec/dependabot/conda/file_parser_spec.rb | Ruby | mit | 5,556 | main | 17,618 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/conda/file_parser"
require_common_spec "file_parsers/shared_examples_for_file_parsers"
RSpec.describe Dependabot::Conda::FileParser do
let(:source) do
Dependabot::Source.new(
provider: "github",
repo: "example/rep... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | conda/spec/dependabot/conda/version_spec.rb | Ruby | mit | 5,556 | main | 11,445 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/conda/version"
RSpec.describe Dependabot::Conda::Version do
subject(:version) { described_class.new(version_string) }
describe ".correct?" do
it "accepts standard numeric versions" do
expect(described_class.correct?(... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | conda/spec/dependabot/conda/conda_registry_client_spec.rb | Ruby | mit | 5,556 | main | 10,422 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/conda/conda_registry_client"
require "webmock/rspec"
require "webmock/http_lib_adapters/excon_adapter"
RSpec.describe Dependabot::Conda::CondaRegistryClient do
subject(:client) { described_class.new }
let(:api_base_url) { "htt... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | conda/spec/dependabot/conda/name_normaliser_spec.rb | Ruby | mit | 5,556 | main | 2,163 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/conda/name_normaliser"
RSpec.describe Dependabot::Conda::NameNormaliser do
describe ".normalise" do
it "converts underscores to hyphens" do
expect(described_class.normalise("package_name")).to eq("package-name")
e... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | conda/spec/dependabot/conda/file_fetcher_spec.rb | Ruby | mit | 5,556 | main | 12,252 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/conda/file_fetcher"
require_common_spec "file_fetchers/shared_examples_for_file_fetchers"
RSpec.describe Dependabot::Conda::FileFetcher do
let(:url) { "https://api.github.com/repos/example/repo/contents/" }
let(:credentials) do... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | conda/spec/dependabot/conda/update_checker/latest_version_finder_spec.rb | Ruby | mit | 5,556 | main | 15,961 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/conda/update_checker"
require "webmock/rspec"
require "webmock/http_lib_adapters/excon_adapter"
RSpec.describe Dependabot::Conda::UpdateChecker::LatestVersionFinder do
subject(:finder) do
described_class.new(
dependency... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | conda/spec/dependabot/conda/update_checker/requirements_updater_spec.rb | Ruby | mit | 5,556 | main | 15,884 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/conda/update_checker/requirements_updater"
require "dependabot/requirements_update_strategy"
RSpec.describe Dependabot::Conda::UpdateChecker::RequirementsUpdater do
let(:updater) do
described_class.new(
requirements: re... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | conda/spec/dependabot/conda/update_checker/requirement_translator_spec.rb | Ruby | mit | 5,556 | main | 2,945 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/conda/update_checker"
RSpec.describe Dependabot::Conda::UpdateChecker::RequirementTranslator do
describe ".conda_to_pip" do
context "with nil requirement" do
it "returns nil" do
expect(described_class.conda_to_p... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/dependabot-gradle.gemspec | Ruby | mit | 5,556 | main | 1,370 | # frozen_string_literal: true
Gem::Specification.new do |spec|
common_gemspec =
Bundler.load_gemspec_uncached("../common/dependabot-common.gemspec")
spec.name = "dependabot-gradle"
spec.summary = "Provides Dependabot support for Gradle"
spec.description = "Dependabot-Gradle provides support ... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/lib/dependabot/gradle.rb | Ruby | mit | 5,556 | main | 927 | # 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/gradle/file_fetcher"
require "dependabot/gradle/file_parser"
require "dependabot/gradle/update_checker"
require "d... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/lib/dependabot/gradle/file_updater.rb | Ruby | mit | 5,556 | main | 12,579 | # typed: strong
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/file_updaters"
require "dependabot/file_updaters/base"
require "dependabot/gradle/file_parser"
module Dependabot
module Gradle
class FileUpdater < Dependabot::FileUpdaters::Base
extend T::Sig
require_relativ... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/lib/dependabot/gradle/distributions.rb | Ruby | mit | 5,556 | main | 543 | # typed: strict
# frozen_string_literal: true
module Dependabot
module Gradle
module Distributions
extend T::Sig
DISTRIBUTION_REPOSITORY_URL = "https://services.gradle.org"
DISTRIBUTION_DEPENDENCY_TYPE = "gradle-distribution"
sig { params(requirements: T::Array[T::Hash[Symbol, T.untyped... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/lib/dependabot/gradle/file_fetcher.rb | Ruby | mit | 5,556 | main | 10,347 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/file_fetchers"
require "dependabot/file_fetchers/base"
require "dependabot/file_filtering"
module Dependabot
module Gradle
class FileFetcher < Dependabot::FileFetchers::Base
extend T::Sig
extend T::Helpers
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/lib/dependabot/gradle/file_parser.rb | Ruby | mit | 5,556 | main | 21,759 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "toml-rb"
require "dependabot/dependency"
require "dependabot/ecosystem"
require "dependabot/file_parsers"
require "dependabot/file_parsers/base"
require "dependabot/shared_helpers"
require "dependabot/gradle/version"
require "dependabot/g... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/lib/dependabot/gradle/package_manager.rb | Ruby | mit | 5,556 | main | 1,040 | # typed: strong
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/ecosystem"
require "dependabot/gradle/version"
module Dependabot
module Gradle
ECOSYSTEM = "gradle"
PACKAGE_MANAGER = "gradle"
SUPPORTED_GRADLE_VERSIONS = T.let([].freeze, T::Array[Dependabot::Version])
# Whe... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/lib/dependabot/gradle/metadata_finder.rb | Ruby | mit | 5,556 | main | 7,778 | # typed: strict
# frozen_string_literal: true
require "nokogiri"
require "sorbet-runtime"
require "dependabot/file_fetchers/base"
require "dependabot/gradle/distributions"
require "dependabot/gradle/file_fetcher"
require "dependabot/gradle/file_parser/repositories_finder"
require "dependabot/maven/utils/auth_headers_... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/lib/dependabot/gradle/requirement.rb | Ruby | mit | 5,556 | main | 4,761 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/requirement"
require "dependabot/utils"
require "dependabot/maven/requirement"
require "dependabot/gradle/version"
module Dependabot
module Gradle
class Requirement < Dependabot::Requirement
extend T::Sig
qu... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/lib/dependabot/gradle/version.rb | Ruby | mit | 5,556 | main | 7,669 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/version"
require "dependabot/utils"
# Java versions use dots and dashes when tokenising their versions.
# Gem::Version converts a "-" to ".pre.", so we override the `to_s` method.
#
# See https://maven.apache.org/pom.html#Versi... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/lib/dependabot/gradle/language.rb | Ruby | mit | 5,556 | main | 490 | # typed: strong
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/ecosystem"
require "dependabot/gradle/version"
module Dependabot
module Gradle
LANGUAGE = "jvm_languages"
class Language < Dependabot::Ecosystem::VersionManager
extend T::Sig
sig { params(raw_version: St... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/lib/dependabot/gradle/update_checker.rb | Ruby | mit | 5,556 | main | 7,805 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/update_checkers"
require "dependabot/update_checkers/base"
require "dependabot/gradle/file_parser"
module Dependabot
module Gradle
class UpdateChecker < Dependabot::UpdateCheckers::Base
extend T::Sig
require_... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/lib/dependabot/gradle/file_parser/distributions_finder.rb | Ruby | mit | 5,556 | main | 2,714 | # typed: strong
# frozen_string_literal: true
require "dependabot/gradle/file_parser"
require "dependabot/gradle/distributions"
require "sorbet-runtime"
module Dependabot
module Gradle
class FileParser
class DistributionsFinder
extend T::Sig
DISTRIBUTION_URL_REGEX =
/.*?(?<versi... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/lib/dependabot/gradle/file_parser/repositories_finder.rb | Ruby | mit | 5,556 | main | 9,032 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/gradle/file_parser"
module Dependabot
module Gradle
class FileParser
class RepositoriesFinder
extend T::Sig
SUPPORTED_BUILD_FILE_NAMES = T.let(%w(build.gradle build.gradle.kts).freeze, T::Array[Str... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/lib/dependabot/gradle/file_parser/property_value_finder.rb | Ruby | mit | 5,556 | main | 9,580 | # typed: strong
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/gradle/file_parser"
module Dependabot
module Gradle
class FileParser
class PropertyValueFinder
extend T::Sig
# rubocop:disable Layout/LineLength
SUPPORTED_BUILD_FILE_NAMES = %w(build.gradle... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/lib/dependabot/gradle/package/release_date_extractor.rb | Ruby | mit | 5,556 | main | 6,541 | # typed: strict
# frozen_string_literal: true
require "nokogiri"
require "time"
require "sorbet-runtime"
require "dependabot/logger"
module Dependabot
module Gradle
module Package
# Extracts release dates from repository metadata to support the cooldown feature.
# Handles multiple repository formats... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/lib/dependabot/gradle/package/distributions_fetcher.rb | Ruby | mit | 5,556 | main | 2,397 | # typed: strong
# frozen_string_literal: true
require "dependabot/gradle/version"
require "dependabot/gradle/distributions"
require "sorbet-runtime"
module Dependabot
module Gradle
module Package
class DistributionsFetcher
extend T::Sig
@available_versions = T.let([], T::Array[T::Hash[Str... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/lib/dependabot/gradle/package/package_details_fetcher.rb | Ruby | mit | 5,556 | main | 15,719 | # typed: strict
# frozen_string_literal: true
require "nokogiri"
require "dependabot/shared_helpers"
require "dependabot/update_checkers/version_filters"
require "dependabot/gradle/file_parser/repositories_finder"
require "dependabot/gradle/update_checker"
require "dependabot/gradle/version"
require "dependabot/gradle... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/lib/dependabot/gradle/update_checker/requirements_updater.rb | Ruby | mit | 5,556 | main | 5,590 | # typed: strict
# frozen_string_literal: true
#######################################################
# For more details on Maven version constraints, see: #
# https://maven.apache.org/pom.html#Dependencies #
#######################################################
require "sorbet-runtime"
require "dependabot/re... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/lib/dependabot/gradle/update_checker/version_finder.rb | Ruby | mit | 5,556 | main | 9,587 | # typed: strict
# frozen_string_literal: true
require "nokogiri"
require "dependabot/shared_helpers"
require "dependabot/update_checkers/version_filters"
require "dependabot/gradle/file_parser/repositories_finder"
require "dependabot/gradle/update_checker"
require "dependabot/gradle/version"
require "dependabot/gradle... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/lib/dependabot/gradle/update_checker/multi_dependency_updater.rb | Ruby | mit | 5,556 | main | 5,791 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/gradle/file_parser"
require "dependabot/gradle/update_checker"
module Dependabot
module Gradle
class UpdateChecker
class MultiDependencyUpdater
extend T::Sig
require_relative "version_finder"
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/lib/dependabot/gradle/file_updater/dependency_set_updater.rb | Ruby | mit | 5,556 | main | 2,632 | # 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... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/lib/dependabot/gradle/file_updater/lockfile_updater.rb | Ruby | mit | 5,556 | main | 4,343 | # 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... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/lib/dependabot/gradle/file_updater/property_value_updater.rb | Ruby | mit | 5,556 | main | 2,693 | # 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... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/lib/dependabot/gradle/file_updater/wrapper_updater.rb | Ruby | mit | 5,556 | main | 12,576 | # 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... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/lib/dependabot/gradle/file_fetcher/settings_file_parser.rb | Ruby | mit | 5,556 | main | 2,713 | # typed: strong
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/gradle/file_fetcher"
module Dependabot
module Gradle
class FileFetcher
class SettingsFileParser
extend T::Sig
sig { params(settings_file: Dependabot::DependencyFile).void }
def initialize(s... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/spec/dependabot/gradle_spec.rb | Ruby | mit | 5,556 | main | 868 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/gradle"
require_common_spec "shared_examples_for_autoloading"
RSpec.describe Dependabot::Gradle do
it_behaves_like "it registers the required classes", "gradle"
describe "Dependency#display_name" do
subject(:display_name) ... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/spec/dependabot/gradle/file_parser_spec.rb | Ruby | mit | 5,556 | main | 38,048 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency_file"
require "dependabot/source"
require "dependabot/gradle/file_parser"
require_common_spec "file_parsers/shared_examples_for_file_parsers"
RSpec.describe Dependabot::Gradle::FileParser do
let(:source) do
Dependa... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/spec/dependabot/gradle/update_checker_spec.rb | Ruby | mit | 5,556 | main | 20,170 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/gradle/update_checker"
require "dependabot/gradle/version"
require_common_spec "update_checkers/shared_examples_for_update_checkers"
RSpec.describe Dependabot::Gr... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/spec/dependabot/gradle/requirement_spec.rb | Ruby | mit | 5,556 | main | 5,756 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/gradle/requirement"
require "dependabot/gradle/version"
RSpec.describe Dependabot::Gradle::Requirement do
subject(:requirement) { described_class.new(requirement_string) }
let(:requirement_string) { ">=1.0.0" }
describe ".n... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/spec/dependabot/gradle/metadata_finder_spec.rb | Ruby | mit | 5,556 | main | 13,558 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/gradle/metadata_finder"
require_common_spec "metadata_finders/shared_examples_for_metadata_finders"
RSpec.describe Dependabot::Gradle::MetadataFinder do
subject(:finder) do
described_class.new(... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/spec/dependabot/gradle/file_fetcher_spec.rb | Ruby | mit | 5,556 | main | 21,227 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/gradle/file_fetcher"
require_common_spec "file_fetchers/shared_examples_for_file_fetchers"
RSpec.describe Dependabot::Gradle::FileFetcher do
let(:credentials) do
[{
"type" => "git_source",
"host" => "github.com",
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/spec/dependabot/gradle/package_manager_spec.rb | Ruby | mit | 5,556 | main | 981 | # typed: false
# frozen_string_literal: true
require "dependabot/gradle/package_manager"
require "dependabot/ecosystem"
require "spec_helper"
RSpec.describe Dependabot::Gradle::PackageManager do
subject(:package_manager) { described_class.new(version) }
let(:version) { "3.9.5" }
describe "#version" do
it ... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/spec/dependabot/gradle/version_spec.rb | Ruby | mit | 5,556 | main | 11,141 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/gradle/version"
RSpec.describe Dependabot::Gradle::Version do
subject(:version) { described_class.new(version_string) }
let(:version_string) { "1.0.0" }
describe ".correct?" do
subject { described_class.correct?(version... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/spec/dependabot/gradle/file_updater_spec.rb | Ruby | mit | 5,556 | main | 30,834 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency_file"
require "dependabot/dependency"
require "dependabot/gradle/file_updater"
require_common_spec "file_updaters/shared_examples_for_file_updaters"
RSpec.describe Dependabot::Gradle::FileUpdater do
let(:dependency) do... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/spec/dependabot/gradle/language_spec.rb | Ruby | mit | 5,556 | main | 805 | # typed: false
# frozen_string_literal: true
require "dependabot/gradle/language"
require "dependabot/ecosystem"
require "spec_helper"
RSpec.describe Dependabot::Gradle::Language do
let(:language) { described_class.new(version) }
let(:version) { "3.0.0" }
describe "#version" do
it "returns the version" do
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/spec/dependabot/gradle/file_parser/repositories_finder_spec.rb | Ruby | mit | 5,556 | main | 8,516 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency_file"
require "dependabot/gradle/file_parser/repositories_finder"
RSpec.describe Dependabot::Gradle::FileParser::RepositoriesFinder do
let(:finder) do
described_class.new(
dependency_files: dependency_files,
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/spec/dependabot/gradle/file_parser/distributions_finder_spec.rb | Ruby | mit | 5,556 | main | 3,263 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/gradle/file_parser/distributions_finder"
RSpec.describe Dependabot::Gradle::FileParser::DistributionsFinder do
describe "regex matches distribution version" do
[
%w(https://services.gradle.org/distributions/gradle-8.14.... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/spec/dependabot/gradle/file_parser/property_value_finder_spec.rb | Ruby | mit | 5,556 | main | 17,390 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency_file"
require "dependabot/gradle/file_parser/property_value_finder"
RSpec.describe Dependabot::Gradle::FileParser::PropertyValueFinder do
let(:finder) { described_class.new(dependency_files: dependency_files) }
let(... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/spec/dependabot/gradle/package/release_date_extractor_spec.rb | Ruby | mit | 5,556 | main | 4,337 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/gradle/package/release_date_extractor"
RSpec.describe Dependabot::Gradle::Package::ReleaseDateExtractor do
let(:extractor) do
described_class.new(
dependency_name: dependency_name,
version_class: version_class
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/spec/dependabot/gradle/package/distributions_fetcher_spec.rb | Ruby | mit | 5,556 | main | 790 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/gradle/package/distributions_fetcher"
RSpec.describe Dependabot::Gradle::Package::DistributionsFetcher do
before do
stub_request(:get, "https://services.gradle.org/versions/all")
.to_return(
status: 200,
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/spec/dependabot/gradle/package/package_details_fetcher_spec.rb | Ruby | mit | 5,556 | main | 13,832 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/gradle/update_checker/version_finder"
RSpec.describe Dependabot::Gradle::Package::PackageDetailsFetcher do
let(:packagedetailsfetcher) do
described_class.ne... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/spec/dependabot/gradle/file_updater/wrapper_updater_spec.rb | Ruby | mit | 5,556 | main | 2,170 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/gradle/file_updater"
RSpec.describe Dependabot::Gradle::FileUpdater::WrapperUpdater do
subject(:command_args) { updater.send(:command_args, target_requirements, nil) }
let(:updater) do
descr... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/spec/dependabot/gradle/file_updater/property_value_updater_spec.rb | Ruby | mit | 5,556 | main | 2,932 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/gradle/file_updater/property_value_updater"
RSpec.describe Dependabot::Gradle::FileUpdater::PropertyValueUpdater do
let(:updater) { described_class.new(dependen... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/spec/dependabot/gradle/file_updater/dependency_set_updater_spec.rb | Ruby | mit | 5,556 | main | 2,012 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/gradle/file_updater/dependency_set_updater"
RSpec.describe Dependabot::Gradle::FileUpdater::DependencySetUpdater do
let(:updater) { described_class.new(dependen... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/spec/dependabot/gradle/update_checker/version_finder_spec.rb | Ruby | mit | 5,556 | main | 29,055 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/gradle/update_checker/version_finder"
RSpec.describe Dependabot::Gradle::UpdateChecker::VersionFinder do
let(:finder) do
described_class.new(
dependen... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/spec/dependabot/gradle/update_checker/multi_dependency_updater_spec.rb | Ruby | mit | 5,556 | main | 9,448 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/gradle/update_checker/multi_dependency_updater"
namespace = Dependabot::Gradle::UpdateChecker
RSpec.describe namespace::MultiDependencyUpdater do
let(:updater) do
described_class.new(
dep... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/spec/dependabot/gradle/update_checker/requirements_updater_spec.rb | Ruby | mit | 5,556 | main | 10,498 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/gradle/update_checker/requirements_updater"
RSpec.describe Dependabot::Gradle::UpdateChecker::RequirementsUpdater do
let(:updater) do
described_class.new(
requirements: requirements,
latest_version: latest_version... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | gradle/spec/dependabot/gradle/file_fetcher/settings_file_parser_spec.rb | Ruby | mit | 5,556 | main | 4,453 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency_file"
require "dependabot/gradle/file_fetcher/settings_file_parser"
RSpec.describe Dependabot::Gradle::FileFetcher::SettingsFileParser do
let(:finder) { described_class.new(settings_file: settings_file) }
let(:settin... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | docker/dependabot-docker.gemspec | Ruby | mit | 5,556 | main | 1,310 | # frozen_string_literal: true
Gem::Specification.new do |spec|
common_gemspec =
Bundler.load_gemspec_uncached("../common/dependabot-common.gemspec")
spec.name = "dependabot-docker"
spec.summary = "Provides Dependabot support for Docker"
spec.description = "Dependabot-Docker provides support ... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | docker/spec/dependabot/docker_spec.rb | Ruby | mit | 5,556 | main | 256 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/docker"
require_common_spec "shared_examples_for_autoloading"
RSpec.describe Dependabot::Docker do
it_behaves_like "it registers the required classes", "docker"
end |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | docker/spec/dependabot/docker/tag_spec.rb | Ruby | mit | 5,556 | main | 10,560 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/docker/tag"
RSpec.describe Dependabot::Docker::Tag do
describe "#same_but_more_precise?" do
it "returns true when receiver is the same version as the parameter, just less precise, false otherwise" do
expect(described_cl... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | docker/spec/dependabot/docker/file_fetcher_spec.rb | Ruby | mit | 5,556 | main | 11,857 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/docker/file_fetcher"
require_common_spec "file_fetchers/shared_examples_for_file_fetchers"
RSpec.describe Dependabot::Docker::FileFetcher do
let(:credentials) do
[{
"type" => "git_source",
"host" => "github.com",
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | docker/spec/dependabot/docker/version_spec.rb | Ruby | mit | 5,556 | main | 3,560 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/docker/version"
RSpec.describe Dependabot::Docker::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.corre... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | docker/spec/dependabot/docker/update_checker_spec.rb | Ruby | mit | 5,556 | main | 111,924 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/credential"
require "dependabot/dependency"
require "dependabot/docker/update_checker"
require "dependabot/config"
require "dependabot/config/update_config"
require "dependabot/package/release_cooldown_options"
require_common_spec "... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | docker/spec/dependabot/docker/metadata_finder_spec.rb | Ruby | mit | 5,556 | main | 6,865 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/docker/metadata_finder"
require_common_spec "metadata_finders/shared_examples_for_metadata_finders"
RSpec.describe Dependabot::Docker::MetadataFinder do
let(:finder) do
described_class.new(dependency: dependency, credentials:... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | docker/spec/dependabot/docker/file_parser_spec.rb | Ruby | mit | 5,556 | main | 38,879 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/credential"
require "dependabot/dependency_file"
require "dependabot/source"
require "dependabot/docker/file_parser"
require_common_spec "file_parsers/shared_examples_for_file_parsers"
RSpec.describe Dependabot::Docker::FileParser ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.