fix: require strategic interface in each livecheck strategy

This commit is contained in:
Douglas Eichelberger 2025-03-04 11:48:54 -08:00
parent 29fa76c948
commit 8301d39b99
No known key found for this signature in database
GPG Key ID: F90193CBD547EB81
24 changed files with 43 additions and 1 deletions

View File

@ -300,7 +300,6 @@ module Homebrew
end end
end end
require_relative "strategic"
require_relative "strategy/apache" require_relative "strategy/apache"
require_relative "strategy/bitbucket" require_relative "strategy/bitbucket"
require_relative "strategy/cpan" require_relative "strategy/cpan"

View File

@ -1,6 +1,8 @@
# typed: strict # typed: strict
# frozen_string_literal: true # frozen_string_literal: true
require "livecheck/strategic"
module Homebrew module Homebrew
module Livecheck module Livecheck
module Strategy module Strategy

View File

@ -1,6 +1,8 @@
# typed: strict # typed: strict
# frozen_string_literal: true # frozen_string_literal: true
require "livecheck/strategic"
module Homebrew module Homebrew
module Livecheck module Livecheck
module Strategy module Strategy

View File

@ -1,6 +1,8 @@
# typed: strict # typed: strict
# frozen_string_literal: true # frozen_string_literal: true
require "livecheck/strategic"
module Homebrew module Homebrew
module Livecheck module Livecheck
module Strategy module Strategy

View File

@ -1,6 +1,8 @@
# typed: strict # typed: strict
# frozen_string_literal: true # frozen_string_literal: true
require "livecheck/strategic"
module Homebrew module Homebrew
module Livecheck module Livecheck
module Strategy module Strategy

View File

@ -1,6 +1,8 @@
# typed: strict # typed: strict
# frozen_string_literal: true # frozen_string_literal: true
require "livecheck/strategic"
module Homebrew module Homebrew
module Livecheck module Livecheck
module Strategy module Strategy

View File

@ -2,6 +2,7 @@
# frozen_string_literal: true # frozen_string_literal: true
require "bundle_version" require "bundle_version"
require "livecheck/strategic"
require "unversioned_cask_checker" require "unversioned_cask_checker"
module Homebrew module Homebrew

View File

@ -2,6 +2,7 @@
# frozen_string_literal: true # frozen_string_literal: true
require "addressable" require "addressable"
require "livecheck/strategic"
require "system_command" require "system_command"
module Homebrew module Homebrew

View File

@ -1,6 +1,8 @@
# typed: strict # typed: strict
# frozen_string_literal: true # frozen_string_literal: true
require "livecheck/strategic"
module Homebrew module Homebrew
module Livecheck module Livecheck
module Strategy module Strategy

View File

@ -1,6 +1,8 @@
# typed: strict # typed: strict
# frozen_string_literal: true # frozen_string_literal: true
require "livecheck/strategic"
module Homebrew module Homebrew
module Livecheck module Livecheck
module Strategy module Strategy

View File

@ -1,6 +1,8 @@
# typed: strict # typed: strict
# frozen_string_literal: true # frozen_string_literal: true
require "livecheck/strategic"
module Homebrew module Homebrew
module Livecheck module Livecheck
module Strategy module Strategy

View File

@ -1,6 +1,8 @@
# typed: strict # typed: strict
# frozen_string_literal: true # frozen_string_literal: true
require "livecheck/strategic"
module Homebrew module Homebrew
module Livecheck module Livecheck
module Strategy module Strategy

View File

@ -1,6 +1,8 @@
# typed: strict # typed: strict
# frozen_string_literal: true # frozen_string_literal: true
require "livecheck/strategic"
module Homebrew module Homebrew
module Livecheck module Livecheck
module Strategy module Strategy

View File

@ -1,6 +1,8 @@
# typed: strict # typed: strict
# frozen_string_literal: true # frozen_string_literal: true
require "livecheck/strategic"
module Homebrew module Homebrew
module Livecheck module Livecheck
module Strategy module Strategy

View File

@ -1,6 +1,8 @@
# typed: strict # typed: strict
# frozen_string_literal: true # frozen_string_literal: true
require "livecheck/strategic"
module Homebrew module Homebrew
module Livecheck module Livecheck
module Strategy module Strategy

View File

@ -1,6 +1,8 @@
# typed: strict # typed: strict
# frozen_string_literal: true # frozen_string_literal: true
require "livecheck/strategic"
module Homebrew module Homebrew
module Livecheck module Livecheck
module Strategy module Strategy

View File

@ -1,6 +1,8 @@
# typed: strict # typed: strict
# frozen_string_literal: true # frozen_string_literal: true
require "livecheck/strategic"
module Homebrew module Homebrew
module Livecheck module Livecheck
module Strategy module Strategy

View File

@ -1,6 +1,8 @@
# typed: strict # typed: strict
# frozen_string_literal: true # frozen_string_literal: true
require "livecheck/strategic"
module Homebrew module Homebrew
module Livecheck module Livecheck
module Strategy module Strategy

View File

@ -1,6 +1,8 @@
# typed: strict # typed: strict
# frozen_string_literal: true # frozen_string_literal: true
require "livecheck/strategic"
module Homebrew module Homebrew
module Livecheck module Livecheck
module Strategy module Strategy

View File

@ -1,6 +1,8 @@
# typed: strict # typed: strict
# frozen_string_literal: true # frozen_string_literal: true
require "livecheck/strategic"
module Homebrew module Homebrew
module Livecheck module Livecheck
module Strategy module Strategy

View File

@ -2,6 +2,7 @@
# frozen_string_literal: true # frozen_string_literal: true
require "bundle_version" require "bundle_version"
require "livecheck/strategic"
module Homebrew module Homebrew
module Livecheck module Livecheck

View File

@ -1,6 +1,8 @@
# typed: strict # typed: strict
# frozen_string_literal: true # frozen_string_literal: true
require "livecheck/strategic"
module Homebrew module Homebrew
module Livecheck module Livecheck
module Strategy module Strategy

View File

@ -1,6 +1,8 @@
# typed: strict # typed: strict
# frozen_string_literal: true # frozen_string_literal: true
require "livecheck/strategic"
module Homebrew module Homebrew
module Livecheck module Livecheck
module Strategy module Strategy

View File

@ -1,6 +1,8 @@
# typed: strict # typed: strict
# frozen_string_literal: true # frozen_string_literal: true
require "livecheck/strategic"
module Homebrew module Homebrew
module Livecheck module Livecheck
module Strategy module Strategy