From a13cb6ab1887b5accf71e8a465b97219d3523015 Mon Sep 17 00:00:00 2001 From: ydah <13041216+ydah@users.noreply.github.com> Date: Tue, 3 Oct 2023 23:14:33 +0900 Subject: [PATCH] s/depencency/dependency/ --- bundler/helpers/v1/lib/functions.rb | 2 +- bundler/helpers/v2/lib/functions.rb | 2 +- .../update_checker/latest_version_finder/dependency_source.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bundler/helpers/v1/lib/functions.rb b/bundler/helpers/v1/lib/functions.rb index 3888616ed7..fc7949f39f 100644 --- a/bundler/helpers/v1/lib/functions.rb +++ b/bundler/helpers/v1/lib/functions.rb @@ -55,7 +55,7 @@ def self.dependency_source_type(**args) ).type end - def self.depencency_source_latest_git_version(**args) + def self.dependency_source_latest_git_version(**args) set_bundler_flags_and_credentials(dir: args.fetch(:dir), credentials: args.fetch(:credentials)) DependencySource.new( gemfile_name: args.fetch(:gemfile_name), diff --git a/bundler/helpers/v2/lib/functions.rb b/bundler/helpers/v2/lib/functions.rb index 450c6e7be4..b8b5652deb 100644 --- a/bundler/helpers/v2/lib/functions.rb +++ b/bundler/helpers/v2/lib/functions.rb @@ -57,7 +57,7 @@ def self.dependency_source_type(**args) ).type end - def self.depencency_source_latest_git_version(**args) + def self.dependency_source_latest_git_version(**args) set_bundler_flags_and_credentials(dir: args.fetch(:dir), credentials: args.fetch(:credentials)) DependencySource.new( gemfile_name: args.fetch(:gemfile_name), diff --git a/bundler/lib/dependabot/bundler/update_checker/latest_version_finder/dependency_source.rb b/bundler/lib/dependabot/bundler/update_checker/latest_version_finder/dependency_source.rb index 4b0de0cb65..3b9b9ffe9d 100644 --- a/bundler/lib/dependabot/bundler/update_checker/latest_version_finder/dependency_source.rb +++ b/bundler/lib/dependabot/bundler/update_checker/latest_version_finder/dependency_source.rb @@ -62,7 +62,7 @@ def latest_git_version_details in_a_native_bundler_context do |tmp_dir| NativeHelpers.run_bundler_subprocess( bundler_version: bundler_version, - function: "depencency_source_latest_git_version", + function: "dependency_source_latest_git_version", options: options, args: { dir: tmp_dir,