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 | github_actions/lib/dependabot/github_actions/version.rb | Ruby | mit | 5,556 | main | 1,365 | # typed: strong
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/utils"
require "dependabot/version"
module Dependabot
module GithubActions
class Version < Dependabot::Version
extend T::Sig
sig { override.params(version: VersionParameter).void }
def initialize(versi... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | github_actions/lib/dependabot/github_actions/constants.rb | Ruby | mit | 5,556 | main | 1,341 | # typed: strong
# frozen_string_literal: true
module Dependabot
module GithubActions
# Reference to the GitHub.com domain
GITHUB_COM = T.let("github.com", String)
# Regular expression to match a GitHub repository reference
GITHUB_REPO_REFERENCE = T.let(
%r{
^(?<owner>[\w.-]+)/
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | github_actions/lib/dependabot/github_actions/file_fetcher.rb | Ruby | mit | 5,556 | main | 3,305 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/file_fetchers"
require "dependabot/file_fetchers/base"
require "dependabot/github_actions/constants"
module Dependabot
module GithubActions
class FileFetcher < Dependabot::FileFetchers::Base
extend T::Sig
ext... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | github_actions/lib/dependabot/github_actions/package_manager.rb | Ruby | mit | 5,556 | main | 884 | # typed: strong
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/github_actions/constants"
require "dependabot/github_actions/version"
require "dependabot/ecosystem"
require "dependabot/github_actions/requirement"
module Dependabot
module GithubActions
class PackageManager < Dependabot... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | github_actions/lib/dependabot/github_actions/metadata_finder.rb | Ruby | mit | 5,556 | main | 825 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/github_actions/constants"
require "dependabot/metadata_finders"
require "dependabot/metadata_finders/base"
module Dependabot
module GithubActions
class MetadataFinder < Dependabot::MetadataFinders::Base
extend T::Si... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | github_actions/lib/dependabot/github_actions/update_checker.rb | Ruby | mit | 5,556 | main | 8,143 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/errors"
require "dependabot/github_actions/constants"
require "dependabot/github_actions/requirement"
require "dependabot/github_actions/version"
require "dependabot/update_checkers"
require "dependabot/update_checkers/base"
re... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | github_actions/lib/dependabot/github_actions/file_updater.rb | Ruby | mit | 5,556 | main | 5,161 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/errors"
require "dependabot/file_updaters"
require "dependabot/file_updaters/base"
require "dependabot/github_actions/constants"
module Dependabot
module GithubActions
class FileUpdater < Dependabot::FileUpdaters::Base
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | github_actions/lib/dependabot/github_actions/package/package_details_fetcher.rb | Ruby | mit | 5,556 | main | 11,114 | # typed: strict
# frozen_string_literal: true
require "cgi"
require "json"
require "nokogiri"
require "sorbet-runtime"
require "time"
require "dependabot/errors"
require "dependabot/git_tag_with_detail"
require "dependabot/github_actions/helpers"
require "dependabot/github_actions/requirement"
require "dependabot/git... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | github_actions/lib/dependabot/github_actions/update_checker/latest_version_finder.rb | Ruby | mit | 5,556 | main | 12,608 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/errors"
require "dependabot/github_actions/file_parser"
require "dependabot/github_actions/package/package_details_fetcher"
require "dependabot/github_actions/requirement"
require "dependabot/github_actions/update_checker"
requ... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | github_actions/spec/dependabot/github_actions_spec.rb | Ruby | mit | 5,556 | main | 279 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/github_actions"
require_common_spec "shared_examples_for_autoloading"
RSpec.describe Dependabot::GithubActions do
it_behaves_like "it registers the required classes", "github_actions"
end |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | github_actions/spec/dependabot/github_actions/metadata_finder_spec.rb | Ruby | mit | 5,556 | main | 1,840 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/github_actions/metadata_finder"
require_common_spec "metadata_finders/shared_examples_for_metadata_finders"
RSpec.describe Dependabot::GithubActions::MetadataFinder do
subject(:finder) do
described_class.new(dependency: depen... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | github_actions/spec/dependabot/github_actions/file_updater_spec.rb | Ruby | mit | 5,556 | main | 26,045 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/source"
require "dependabot/github_actions/file_updater"
require "dependabot/github_actions/version"
require_common_spec "file_updaters/shared_examples_for_file_up... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | github_actions/spec/dependabot/github_actions/file_parser_spec.rb | Ruby | mit | 5,556 | main | 31,295 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency_file"
require "dependabot/source"
require "dependabot/github_actions/file_parser"
require "dependabot/dependency"
require_common_spec "file_parsers/shared_examples_for_file_parsers"
RSpec.describe Dependabot::GithubActio... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | github_actions/spec/dependabot/github_actions/requirement_spec.rb | Ruby | mit | 5,556 | main | 558 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/github_actions/requirement"
RSpec.describe Dependabot::GithubActions::Requirement do
subject(:requirement) { described_class.new(requirement_string) }
let(:requirement_string) { ">=1.0.0" }
describe ".new" do
it { is_ex... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | github_actions/spec/dependabot/github_actions/package_manager_spec.rb | Ruby | mit | 5,556 | main | 854 | # typed: false
# frozen_string_literal: true
require "dependabot/github_actions/package_manager"
require "dependabot/ecosystem"
require "spec_helper"
RSpec.describe Dependabot::GithubActions::PackageManager do
let(:package_manager) { described_class.new }
describe "#version_to_s" do
it "returns the package m... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | github_actions/spec/dependabot/github_actions/file_fetcher_spec.rb | Ruby | mit | 5,556 | main | 9,078 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/github_actions/file_fetcher"
require_common_spec "file_fetchers/shared_examples_for_file_fetchers"
RSpec.describe Dependabot::GithubActions::FileFetcher do
let(:credentials) do
[{
"type" => "git_source",
"host" =>... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | github_actions/spec/dependabot/github_actions/update_checker_spec.rb | Ruby | mit | 5,556 | main | 49,668 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/github_actions/update_checker"
require "dependabot/github_actions/metadata_finder"
require_common_spec "update_checkers/shared_examples_for_update_checkers"
RSpec.describe Dependabot::GithubActions::... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | github_actions/spec/dependabot/github_actions/version_spec.rb | Ruby | mit | 5,556 | main | 2,784 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/github_actions"
RSpec.describe Dependabot::GithubActions::Version do
let(:semver_version) { "v1.2.3" }
let(:semver_without_v) { "1.2.3" }
let(:path_based_sem_version) { "dummy/v1.2.3" }
let(:path_based_sem_without_v) { "dum... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | github_actions/spec/dependabot/github_actions/update_checker/latest_version_finder_spec.rb | Ruby | mit | 5,556 | main | 18,317 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/github_actions/update_checker/latest_version_finder"
namespace = Dependabot::GithubActions::UpdateChecker
RSpec.describe namespace::LatestVersionFinder do
let(:... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | github_actions/spec/dependabot/github_actions/package/package_details_fetcher_spec.rb | Ruby | mit | 5,556 | main | 12,095 | # typed: false
# frozen_string_literal: true
require "dependabot/credential"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/github_actions/package/package_details_fetcher"
require "dependabot/github_actions/version"
require "dependabot/package/package_release"
require "spec_he... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bin/dry-run.rb | Ruby | mit | 5,556 | main | 29,314 | #!/usr/bin/env ruby
# typed: true
# frozen_string_literal: true
# This script executes a full update run for a given repo (optionally for a
# specific dependency only), and shows the proposed changes to any dependency
# files without actually creating a pull request.
#
# It's used regularly by the Dependabot team to m... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bin/bump-version.rb | Ruby | mit | 5,556 | main | 1,069 | #!/usr/bin/env ruby
# typed: true
# frozen_string_literal: true
unless %w(minor patch).include?(ARGV[0])
puts "usage: bin/bump-version.rb minor|patch"
exit 1
end
component = ARGV[0].to_sym
# Update version file
version_path = File.join(__dir__, "..", "common", "lib", "dependabot.rb")
version_contents = File.read(... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bin/spec/dry-run_spec.rb | Ruby | mit | 5,556 | main | 5,333 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "tmpdir"
require "open3"
require "fileutils"
# Specs need to be run in a container,
# e.g., ./bin/docker-bin-dev bundler
# cd ./bin/ && rspec
RSpec.describe "bin/dry-run" do # rubocop:disable RSpec/DescribeClass
let(:script_path) { Fil... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/dependabot-bazel.gemspec | Ruby | mit | 5,556 | main | 1,308 | # frozen_string_literal: true
Gem::Specification.new do |spec|
common_gemspec =
Bundler.load_gemspec_uncached("../common/dependabot-common.gemspec")
spec.name = "dependabot-bazel"
spec.summary = "Provides Dependabot support for Bazel"
spec.description = "Dependabot-Bazel provides support for... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/spec/spec_helper.rb | Ruby | mit | 5,556 | main | 397 | # typed: false
# frozen_string_literal: true
def common_dir
@common_dir ||= Gem::Specification.find_by_name("dependabot-common").gem_dir
end
def require_common_spec(path)
require "#{common_dir}/spec/dependabot/#{path}"
end
require "#{common_dir}/spec/spec_helper.rb"
def bazel_project_dependency_files(project, d... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/spec/dependabot/bazel_spec.rb | Ruby | mit | 5,556 | main | 253 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/bazel"
require_common_spec "shared_examples_for_autoloading"
RSpec.describe Dependabot::Bazel do
it_behaves_like "it registers the required classes", "bazel"
end |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/spec/dependabot/bazel/file_updater_spec.rb | Ruby | mit | 5,556 | main | 23,242 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/bazel/file_updater"
require_common_spec "file_updaters/shared_examples_for_file_updaters"
RSpec.describe Dependabot::Bazel::FileUpdater do
subject(:file_updater... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/spec/dependabot/bazel/metadata_finder_spec.rb | Ruby | mit | 5,556 | main | 13,919 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/credential"
require "dependabot/dependency"
require "dependabot/bazel/metadata_finder"
require_common_spec "metadata_finders/shared_examples_for_metadata_finders"
RSpec.describe Dependabot::Bazel::MetadataFinder do
subject(:finde... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/spec/dependabot/bazel/version_spec.rb | Ruby | mit | 5,556 | main | 5,815 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/bazel/version"
RSpec.describe Dependabot::Bazel::Version do
subject(:version) { described_class.new(version_string) }
describe "#to_s" do
context "with a standard semantic version" do
let(:version_string) { "1.2.3" }... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/spec/dependabot/bazel/file_parser_spec.rb | Ruby | mit | 5,556 | main | 11,402 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency_file"
require "dependabot/bazel/file_parser"
require_common_spec "file_parsers/shared_examples_for_file_parsers"
RSpec.describe Dependabot::Bazel::FileParser do
subject(:parser) do
described_class.new(
depend... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/spec/dependabot/bazel/update_checker_spec.rb | Ruby | mit | 5,556 | main | 35,074 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/bazel"
require "dependabot/bazel/update_checker"
require "dependabot/bazel/version"
require_common_spec "update_checkers/shared_examples_for_update_checkers"
RSpec.describe Dependabot::Bazel::UpdateChecker do
let(:dependency) do
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/spec/dependabot/bazel/file_fetcher_spec.rb | Ruby | mit | 5,556 | main | 53,550 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/bazel/file_fetcher"
require_common_spec "file_fetchers/shared_examples_for_file_fetchers"
RSpec.describe Dependabot::Bazel::FileFetcher do
let(:credentials) do
[{
"type" => "git_source",
"host" => "github.com",
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/spec/dependabot/bazel/update_checker/registry_client_spec.rb | Ruby | mit | 5,556 | main | 8,318 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "base64"
require "octokit"
require "dependabot/bazel/update_checker"
RSpec.describe Dependabot::Bazel::UpdateChecker::RegistryClient do
let(:credentials) { [] }
let(:client) { described_class.new(credentials: credentials) }
let(:octokit_... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/spec/dependabot/bazel/update_checker/requirements_updater_spec.rb | Ruby | mit | 5,556 | main | 4,567 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/bazel/update_checker/requirements_updater"
RSpec.describe Dependabot::Bazel::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 | bazel/spec/dependabot/bazel/file_parser/starlark_parser_spec.rb | Ruby | mit | 5,556 | main | 20,761 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/bazel/file_parser/starlark_parser"
RSpec.describe Dependabot::Bazel::FileParser::StarlarkParser do
let(:parser) { described_class.new(content) }
describe "#parse_function_calls" do
context "with simple function calls" do
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/spec/dependabot/bazel/file_fetcher/bzl_file_fetcher_spec.rb | Ruby | mit | 5,556 | main | 8,106 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/bazel/file_fetcher/bzl_file_fetcher"
RSpec.describe Dependabot::Bazel::FileFetcher::BzlFileFetcher do
let(:fetcher) { instance_double(Dependabot::Bazel::FileFetcher) }
let(:module_file) do
Dependabot::DependencyFile.new(
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/spec/dependabot/bazel/file_fetcher/path_converter_spec.rb | Ruby | mit | 5,556 | main | 2,516 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/bazel/file_fetcher/path_converter"
RSpec.describe Dependabot::Bazel::FileFetcher::PathConverter do
describe ".label_to_path" do
context "with absolute workspace labels" do
it "converts //pkg:file.bzl to pkg/file.bzl" do... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/spec/dependabot/bazel/file_updater/lockfile_updater_spec.rb | Ruby | mit | 5,556 | main | 8,000 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/bazel/file_updater/lockfile_updater"
RSpec.describe Dependabot::Bazel::FileUpdater::LockfileUpdater do
let(:lockfile_updater) do
described_class.new(
dependency_files: dependency_files,
dependencies: dependencies,... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/lib/dependabot/bazel.rb | Ruby | mit | 5,556 | main | 810 | # 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/bazel/file_fetcher"
require "dependabot/bazel/file_parser"
require "dependabot/bazel/update_checker"
require "depe... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/lib/dependabot/bazel/language.rb | Ruby | mit | 5,556 | main | 611 | # typed: strong
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/bazel/version"
require "dependabot/bazel/requirement"
require "dependabot/ecosystem"
module Dependabot
module Bazel
LANGUAGE = "bazel"
class Language < Dependabot::Ecosystem::VersionManager
extend T::Sig
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/lib/dependabot/bazel/version.rb | Ruby | mit | 5,556 | main | 2,685 | # typed: strong
# frozen_string_literal: true
require "dependabot/version"
require "dependabot/utils"
# Bazel pre-release versions use 1.0.1-rc1 syntax, which Gem::Version
# converts into 1.0.1.pre.rc1. We override the `to_s` method to stop that
# alteration.
module Dependabot
module Bazel
class Version < Depe... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/lib/dependabot/bazel/metadata_finder.rb | Ruby | mit | 5,556 | main | 3,280 | # typed: strict
# frozen_string_literal: true
require "dependabot/metadata_finders"
require "dependabot/metadata_finders/base"
module Dependabot
module Bazel
class MetadataFinder < Dependabot::MetadataFinders::Base
extend T::Sig
require_relative "update_checker/registry_client"
GITHUB_URL_PA... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/lib/dependabot/bazel/package_manager.rb | Ruby | mit | 5,556 | main | 1,415 | # typed: strong
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/bazel/version"
require "dependabot/ecosystem"
require "dependabot/bazel/requirement"
module Dependabot
module Bazel
ECOSYSTEM = "bazel"
PACKAGE_MANAGER = "bazel"
DEFAULT_BAZEL_VERSION = "8.4.2"
# Keep version... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/lib/dependabot/bazel/file_parser.rb | Ruby | mit | 5,556 | main | 11,466 | # typed: strict
# frozen_string_literal: true
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/file_parsers"
require "dependabot/file_parsers/base"
require "dependabot/file_parsers/base/dependency_set"
require "dependabot/bazel/version"
require "dependabot/bazel/package_manager"... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/lib/dependabot/bazel/requirement.rb | Ruby | mit | 5,556 | main | 2,013 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/requirement"
require "dependabot/utils"
module Dependabot
module Bazel
class Requirement < Dependabot::Requirement
extend T::Sig
sig { params(requirement_string: String).returns(String) }
def self.norma... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/lib/dependabot/bazel/file_updater.rb | Ruby | mit | 5,556 | main | 4,321 | # typed: strict
# frozen_string_literal: true
require "dependabot/file_updaters"
require "dependabot/file_updaters/base"
module Dependabot
module Bazel
class FileUpdater < Dependabot::FileUpdaters::Base
extend T::Sig
require_relative "file_updater/bzlmod_file_updater"
require_relative "file_u... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/lib/dependabot/bazel/file_fetcher.rb | Ruby | mit | 5,556 | main | 8,823 | # typed: strict
# frozen_string_literal: true
require "dependabot/file_fetchers"
require "dependabot/file_fetchers/base"
module Dependabot
module Bazel
class FileFetcher < Dependabot::FileFetchers::Base
extend T::Sig
require_relative "file_fetcher/path_converter"
require_relative "file_fetche... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/lib/dependabot/bazel/update_checker.rb | Ruby | mit | 5,556 | main | 7,371 | # typed: strong
# frozen_string_literal: true
require "time"
require "dependabot/update_checkers"
require "dependabot/update_checkers/base"
require "dependabot/update_checkers/cooldown_calculation"
require "dependabot/bazel/version"
require "dependabot/package/package_release"
module Dependabot
module Bazel
cla... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/lib/dependabot/bazel/update_checker/registry_client.rb | Ruby | mit | 5,556 | main | 4,712 | # typed: strict
# frozen_string_literal: true
require "json"
require "base64"
require "sorbet-runtime"
require "dependabot/shared_helpers"
require "dependabot/clients/github_with_retries"
require "dependabot/dependency"
require "dependabot/errors"
require "dependabot/bazel/update_checker"
module Dependabot
module B... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/lib/dependabot/bazel/update_checker/requirements_updater.rb | Ruby | mit | 5,556 | main | 1,014 | # typed: strong
# frozen_string_literal: true
require "dependabot/bazel/update_checker"
module Dependabot
module Bazel
class UpdateChecker < Dependabot::UpdateCheckers::Base
class RequirementsUpdater
extend T::Sig
sig { params(requirements: T::Array[T::Hash[Symbol, T.untyped]], latest_ver... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/lib/dependabot/bazel/file_parser/starlark_parser.rb | Ruby | mit | 5,556 | main | 9,058 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/bazel/file_parser"
module Dependabot
module Bazel
class FileParser
class StarlarkParser
extend T::Sig
class FunctionCall < T::Struct
const :name, String
const :arguments, T::Hash... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/lib/dependabot/bazel/file_updater/bzlmod_file_updater.rb | Ruby | mit | 5,556 | main | 3,827 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/bazel/file_updater"
module Dependabot
module Bazel
class FileUpdater < Dependabot::FileUpdaters::Base
class BzlmodFileUpdater
extend T::Sig
require_relative "lockfile_updater"
sig do
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/lib/dependabot/bazel/file_updater/lockfile_updater.rb | Ruby | mit | 5,556 | main | 8,590 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/bazel/file_updater"
require "dependabot/bazel/package_manager"
require "dependabot/shared_helpers"
require "pathname"
require "fileutils"
module Dependabot
module Bazel
class FileUpdater < Dependabot::FileUpdaters::Base
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/lib/dependabot/bazel/file_updater/workspace_file_updater.rb | Ruby | mit | 5,556 | main | 7,819 | # typed: strict
# frozen_string_literal: true
require "dependabot/bazel/file_updater"
module Dependabot
module Bazel
class FileUpdater < Dependabot::FileUpdaters::Base
class WorkspaceFileUpdater
extend T::Sig
sig do
params(
dependency_files: T::Array[Dependabot::Depe... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/lib/dependabot/bazel/file_updater/declaration_parser.rb | Ruby | mit | 5,556 | main | 2,904 | # typed: strong
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/bazel/file_updater"
module Dependabot
module Bazel
class FileUpdater < Dependabot::FileUpdaters::Base
class DeclarationParser
extend T::Sig
sig { params(declaration_text: String).returns(T::Hash[Sym... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/lib/dependabot/bazel/file_fetcher/downloader_config_fetcher.rb | Ruby | mit | 5,556 | main | 1,854 | # typed: strict
# frozen_string_literal: true
require "dependabot/bazel/file_fetcher"
require "sorbet-runtime"
module Dependabot
module Bazel
class FileFetcher < Dependabot::FileFetchers::Base
# Fetches downloader configuration files referenced in .bazelrc.
# Parses .bazelrc for --downloader_config ... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/lib/dependabot/bazel/file_fetcher/include_extractor.rb | Ruby | mit | 5,556 | main | 3,634 | # typed: strict
# frozen_string_literal: true
require "dependabot/bazel/file_fetcher"
require "dependabot/bazel/file_fetcher/path_converter"
require "sorbet-runtime"
module Dependabot
module Bazel
class FileFetcher < Dependabot::FileFetchers::Base
# Extracts include() statements from MODULE.bazel files an... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/lib/dependabot/bazel/file_fetcher/path_converter.rb | Ruby | mit | 5,556 | main | 2,610 | # typed: strict
# frozen_string_literal: true
require "dependabot/bazel/file_fetcher"
require "sorbet-runtime"
module Dependabot
module Bazel
class FileFetcher < Dependabot::FileFetchers::Base
# Converts Bazel label syntax to filesystem paths
class PathConverter
extend T::Sig
sig { ... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/lib/dependabot/bazel/file_fetcher/module_path_extractor.rb | Ruby | mit | 5,556 | main | 3,370 | # typed: strict
# frozen_string_literal: true
require "dependabot/bazel/file_fetcher"
require "dependabot/bazel/file_fetcher/path_converter"
require "sorbet-runtime"
module Dependabot
module Bazel
class FileFetcher < Dependabot::FileFetchers::Base
# Extracts file and directory paths referenced in MODULE.b... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/lib/dependabot/bazel/file_fetcher/bzl_file_fetcher.rb | Ruby | mit | 5,556 | main | 3,903 | # typed: strict
# frozen_string_literal: true
require "dependabot/bazel/file_fetcher"
require "sorbet-runtime"
module Dependabot
module Bazel
class FileFetcher < Dependabot::FileFetchers::Base
# Fetches .bzl files and their dependencies recursively.
# Handles load() statements to build a complete de... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | bazel/lib/dependabot/bazel/file_fetcher/directory_tree_fetcher.rb | Ruby | mit | 5,556 | main | 2,645 | # typed: strict
# frozen_string_literal: true
require "dependabot/bazel/file_fetcher"
require "sorbet-runtime"
module Dependabot
module Bazel
class FileFetcher < Dependabot::FileFetchers::Base
# Fetches entire directory trees, typically for local_path_override directories.
# Includes BUILD files to ... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | silent/dependabot-silent.gemspec | Ruby | mit | 5,556 | main | 1,068 | # frozen_string_literal: true
Gem::Specification.new do |spec|
common_gemspec =
Bundler.load_gemspec_uncached("../common/dependabot-common.gemspec")
spec.name = "dependabot-silent"
spec.summary = "Silent ecosystem"
spec.description = "Silent ecosystem"
spec.author = common_gemspec.a... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | silent/lib/dependabot/silent.rb | Ruby | mit | 5,556 | main | 884 | # 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/silent/file_fetcher"
require "dependabot/silent/file_parser"
require "dependabot/silent/update_checker"
require "d... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | silent/lib/dependabot/silent/update_checker.rb | Ruby | mit | 5,556 | main | 4,099 | # typed: strict
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/update_checkers"
require "dependabot/update_checkers/base"
require "dependabot/errors"
require "dependabot/update_checkers/version_filters"
module SilentPackageManager
class UpdateChecker < Dependabot::UpdateCheckers::Base
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | silent/lib/dependabot/silent/version.rb | Ruby | mit | 5,556 | main | 266 | # typed: strong
# frozen_string_literal: true
require "dependabot/version"
require "dependabot/utils"
module SilentPackageManager
class Version < Dependabot::Version
end
end
Dependabot::Utils
.register_version_class("silent", SilentPackageManager::Version) |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | silent/lib/dependabot/silent/metadata_finder.rb | Ruby | mit | 5,556 | main | 827 | # typed: strong
# frozen_string_literal: true
require "dependabot/metadata_finders"
require "dependabot/metadata_finders/base"
module Dependabot
module Silent
class MetadataFinder < Dependabot::MetadataFinders::Base
extend T::Sig
sig { returns(String) }
def homepage_url
""
end
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | silent/lib/dependabot/silent/package_manager.rb | Ruby | mit | 5,556 | main | 842 | # typed: strong
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/silent/version"
require "dependabot/ecosystem"
module Dependabot
module Silent
ECOSYSYEM = "silent"
PACKAGE_MANAGER = "silent"
SUPPORTED_SILENT_VERSIONS = T.let([Version.new("2")].freeze, T::Array[Dependabot::Ver... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | silent/lib/dependabot/silent/file_parser.rb | Ruby | mit | 5,556 | main | 2,999 | # typed: strict
# frozen_string_literal: true
require "dependabot/dependency"
require "dependabot/file_parsers"
require "dependabot/file_parsers/base"
require "dependabot/ecosystem"
require "dependabot/silent/package_manager"
require "sorbet-runtime"
module SilentPackageManager
class FileParser < Dependabot::FilePa... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | silent/lib/dependabot/silent/file_fetcher.rb | Ruby | mit | 5,556 | main | 604 | # typed: strong
# frozen_string_literal: true
require "dependabot/file_fetchers"
require "dependabot/file_fetchers/base"
require "sorbet-runtime"
module SilentPackageManager
class FileFetcher < Dependabot::FileFetchers::Base
extend T::Sig
sig { override.returns(T::Array[Dependabot::DependencyFile]) }
d... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | silent/lib/dependabot/silent/requirement.rb | Ruby | mit | 5,556 | main | 711 | # typed: strong
# frozen_string_literal: true
require "sorbet-runtime"
require "dependabot/requirement"
require "dependabot/utils"
module SilentPackageManager
class Requirement < Dependabot::Requirement
extend T::Sig
AND_SEPARATOR = /(?<=[a-zA-Z0-9*])\s+(?:&+\s+)?(?!\s*[|-])/
sig { override.params(re... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | silent/lib/dependabot/silent/file_updater.rb | Ruby | mit | 5,556 | main | 2,434 | # typed: strict
# frozen_string_literal: true
require "dependabot/file_updaters"
require "dependabot/file_updaters/base"
require "sorbet-runtime"
module SilentPackageManager
class FileUpdater < Dependabot::FileUpdaters::Base
extend T::Sig
sig { override.returns(T::Array[Dependabot::DependencyFile]) }
d... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/dependabot-uv.gemspec | Ruby | mit | 5,556 | main | 1,471 | # frozen_string_literal: true
Gem::Specification.new do |spec|
common_gemspec =
Bundler.load_gemspec_uncached("../common/dependabot-common.gemspec")
spec.name = "dependabot-uv"
spec.summary = "Provides Dependabot support for Python uv"
spec.description = "Dependabot-uv provides support for b... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/spec_helper.rb | Ruby | mit | 5,556 | main | 668 | # typed: false
# frozen_string_literal: true
def common_dir
@common_dir ||= Gem::Specification.find_by_name("dependabot-common").gem_dir
end
def require_common_spec(path)
require "#{common_dir}/spec/dependabot/#{path}"
end
require "#{common_dir}/spec/spec_helper.rb"
module SlowTestHelper
def self.slow_tests?
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv_spec.rb | Ruby | mit | 5,556 | main | 244 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/uv"
require_common_spec "shared_examples_for_autoloading"
RSpec.describe Dependabot::Uv do
it_behaves_like "it registers the required classes", "uv"
end |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/package_manager_spec.rb | Ruby | mit | 5,556 | main | 1,112 | # typed: false
# frozen_string_literal: true
require "dependabot/uv/package_manager"
require "dependabot/ecosystem"
require "spec_helper"
RSpec.describe Dependabot::Uv::PackageManager do
let(:package_manager) { described_class.new("0.6.2") }
describe "#initialize" do
context "when version is a String" do
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/file_fetcher_spec.rb | Ruby | mit | 5,556 | main | 54,910 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/uv/file_fetcher"
require_common_spec "file_fetchers/shared_examples_for_file_fetchers"
RSpec.describe Dependabot::Uv::FileFetcher do
describe "the class inheritance" do
it "inherits from Python::SharedFileFetcher which inheri... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/update_checker_spec.rb | Ruby | mit | 5,556 | main | 26,749 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency_file"
require "dependabot/dependency"
require "dependabot/uv/update_checker"
require "dependabot/requirements_update_strategy"
require_common_spec "update_checkers/shared_examples_for_update_checkers"
RSpec.describe Dep... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/version_spec.rb | Ruby | mit | 5,556 | main | 9,325 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/uv/version"
RSpec.describe Dependabot::Uv::Version do
subject(:version) { described_class.new(version_string) }
let(:version_string) { "1.0.0" }
describe ".correct?" do
subject { described_class.correct?(version_string)... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/language_spec.rb | Ruby | mit | 5,556 | main | 1,732 | # typed: false
# frozen_string_literal: true
require "dependabot/uv/language"
require "dependabot/ecosystem"
require_relative "../../spec_helper"
RSpec.describe Dependabot::Uv::Language do
let(:language) do
described_class.new(
detected_version: detected_version,
raw_version: raw_version
)
end... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/requirement_parser_spec.rb | Ruby | mit | 5,556 | main | 7,512 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/uv/requirement_parser"
RSpec.describe Dependabot::Uv::RequirementParser do
def parse(line)
requirement =
line.chomp.match(described_class::INSTALL_REQ_WITH_REQUIREMENT)
return if requirement.nil?
requirements =... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/file_updater_spec.rb | Ruby | mit | 5,556 | main | 5,925 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/uv/file_updater"
require "dependabot/shared_helpers"
require_common_spec "file_updaters/shared_examples_for_file_updaters"
RSpec.describe Dependabot::Uv::FileUpda... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/file_parser_spec.rb | Ruby | mit | 5,556 | main | 29,803 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency_file"
require "dependabot/source"
require "dependabot/uv/file_parser"
require_common_spec "file_parsers/shared_examples_for_file_parsers"
RSpec.describe Dependabot::Uv::FileParser do
let(:requirements_fixture_name) { "... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/requirement_spec.rb | Ruby | mit | 5,556 | main | 9,385 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/uv/requirement"
require "dependabot/uv/version"
RSpec.describe Dependabot::Uv::Requirement do
subject(:requirement) { described_class.new(requirement_string) }
let(:requirement_string) { ">=1.0.0" }
let(:version_class) { Dep... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/dependency_grapher_spec.rb | Ruby | mit | 5,556 | main | 6,696 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/uv"
RSpec.describe Dependabot::Uv::DependencyGrapher do
subject(:grapher) do
Dependabot::DependencyGraphers.for_package_manager("uv").new(
file_parser: parser
)
end
let(:pyproject_toml) do
Dependabot::Depen... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/authed_url_builder_spec.rb | Ruby | mit | 5,556 | main | 3,295 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/credential"
require "dependabot/uv/authed_url_builder"
RSpec.describe Dependabot::Uv::AuthedUrlBuilder do
describe ".authed_url" do
subject(:authed_url) { described_class.authed_url(credential: credential) }
context "wit... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/metadata_finder_spec.rb | Ruby | mit | 5,556 | main | 11,050 | # typed: false
# frozen_string_literal: true
require "octokit"
require "spec_helper"
require "dependabot/dependency"
require "dependabot/uv/metadata_finder"
require_common_spec "metadata_finders/shared_examples_for_metadata_finders"
RSpec.describe Dependabot::Uv::MetadataFinder do
subject(:finder) do
described_... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/file_updater/requirement_replacer_spec.rb | Ruby | mit | 5,556 | main | 4,159 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/uv/file_updater/requirement_replacer"
RSpec.describe Dependabot::Uv::FileUpdater::RequirementReplacer do
let(:replacer) do
described_class.new(
content: requirement_content,
dependency_name: dependency_name,
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/file_updater/lock_file_updater_transitive_spec.rb | Ruby | mit | 5,556 | main | 2,407 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/uv/file_updater/lock_file_updater"
require "dependabot/shared_helpers"
RSpec.describe Dependabot::Uv::FileUpdater::LockFileUpdater do
let(:updater) do
descr... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/file_updater/lock_file_updater_spec.rb | Ruby | mit | 5,556 | main | 61,580 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/uv/file_updater/lock_file_updater"
require "dependabot/shared_helpers"
RSpec.describe Dependabot::Uv::FileUpdater::LockFileUpdater do
let(:updater) do
descr... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/file_updater/requirement_file_updater_spec.rb | Ruby | mit | 5,556 | main | 20,613 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/uv/file_updater"
require "dependabot/shared_helpers"
RSpec.describe Dependabot::Uv::FileUpdater::RequirementFileUpdater do
let(:updater) do
described_class.... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/file_updater/version_config_parser_spec.rb | Ruby | mit | 5,556 | main | 5,554 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/uv/file_updater/version_config_parser"
RSpec.describe Dependabot::Uv::FileUpdater::VersionConfigParser do
describe "#parse" do
subject(:config) { parser.parse }
let(:parser) do
described_class.new(
pyprojec... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/file_updater/compile_file_updater_spec.rb | Ruby | mit | 5,556 | main | 21,647 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/uv/file_updater/compile_file_updater"
require "dependabot/shared_helpers"
RSpec.describe Dependabot::Uv::FileUpdater::CompileFileUpdater do
let(:updater) do
... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/file_updater/pyproject_preparer_spec.rb | Ruby | mit | 5,556 | main | 3,225 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/uv/file_updater/pyproject_preparer"
RSpec.describe Dependabot::Uv::FileUpdater::PyprojectPreparer do
let(:preparer) do
described_class.new(pyproject_content... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/file_updater/lock_file_error_handler_spec.rb | Ruby | mit | 5,556 | main | 21,227 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/uv/file_updater/lock_file_error_handler"
require "dependabot/shared_helpers"
RSpec.describe Dependabot::Uv::FileUpdater::LockFileErrorHandler do
let(:error_handler) { described_class.new }
describe "#handle_uv_error" do
su... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/update_checker/pip_compile_version_resolver_spec.rb | Ruby | mit | 5,556 | main | 4,321 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/uv/update_checker/pip_compile_version_resolver"
RSpec.describe Dependabot::Uv::UpdateChecker::PipCompileVersionResolver do
let(:resolver) do
described_class... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/update_checker/lock_file_resolver_spec.rb | Ruby | mit | 5,556 | main | 7,636 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/package/release_cooldown_options"
require "dependabot/security_advisory"
require "dependabot/uv/update_checker/lock_file_resolver"
RSpec.describe Dependabot::Uv::... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/update_checker/requirements_updater_spec.rb | Ruby | mit | 5,556 | main | 26,727 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/uv/update_checker/requirements_updater"
require "dependabot/requirements_update_strategy"
RSpec.describe Dependabot::Uv::UpdateChecker::RequirementsUpdater do
let(:updater) do
described_class.new(
requirements: require... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/update_checker/latest_version_finder_spec.rb | Ruby | mit | 5,556 | main | 23,814 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/credential"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/uv/update_checker/latest_version_finder"
RSpec.describe Dependabot::Uv::UpdateChecker::LatestVersionFinder do
before do
stub... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/update_checker/pip_version_resolver_spec.rb | Ruby | mit | 5,556 | main | 4,827 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency"
require "dependabot/dependency_file"
require "dependabot/uv/update_checker/pip_version_resolver"
RSpec.describe Dependabot::Uv::UpdateChecker::PipVersionResolver do
before do
stub_request(:get, pypi_url).to_return... |
github | dependabot/dependabot-core | https://github.com/dependabot/dependabot-core | uv/spec/dependabot/uv/file_parser/pyproject_files_parser_spec.rb | Ruby | mit | 5,556 | main | 13,404 | # typed: false
# frozen_string_literal: true
require "spec_helper"
require "dependabot/dependency_file"
require "dependabot/uv"
RSpec.describe Dependabot::Uv::FileParser::PyprojectFilesParser do
let(:parser) { described_class.new(dependency_files: files) }
let(:files) { [pyproject] }
let(:pyproject) do
Dep... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.