From c6c303acfe0db2acf7acdda876badd8524ee2b63 Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Sun, 20 Dec 2020 00:23:22 -0500 Subject: [PATCH] Sparkle: Rename contents to content --- Library/Homebrew/livecheck/strategy/sparkle.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/livecheck/strategy/sparkle.rb b/Library/Homebrew/livecheck/strategy/sparkle.rb index c90649ceef..6ec8ae4c28 100644 --- a/Library/Homebrew/livecheck/strategy/sparkle.rb +++ b/Library/Homebrew/livecheck/strategy/sparkle.rb @@ -8,7 +8,7 @@ module Homebrew module Livecheck module Strategy # The {Sparkle} strategy fetches content at a URL and parses - # its contents as a Sparkle appcast in XML format. + # it as a Sparkle appcast in XML format. # # @api private class Sparkle @@ -90,9 +90,9 @@ module Homebrew match_data = { matches: {}, regex: regex, url: url } - contents = Strategy.page_content(url) + content = Strategy.page_content(url) - if (item = item_from_content(contents)) + if (item = item_from_content(content)) match = if block block.call(item)&.to_s else