Merge pull request #19425 from Homebrew/fix-strategic-require

fix: require strategic interface in each livecheck strategy
This commit is contained in:
Patrick Linnane 2025-03-04 20:41:25 +00:00 committed by GitHub
commit 79d750de47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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