Library/Homebrew/dev-cmd/pull.rb
# The whole info structure parsed from the JSON
The whole info structure parsed from the JSON
The whole info structure parsed from the JSON
def bottle_info(my_bottle_tag = Utils::Bottles.tag)
      tag_s = my_bottle_tag.to_s
      return unless info["bottle"]["stable"]
      btl_info = info["bottle"]["stable"]["files"][tag_s]
      return unless btl_info
      BottleInfo.new(btl_info["url"], btl_info["sha256"])
    end
def bottle_info ( my_bottle_tag = Utils :: Bottles . tag ) tag_s = my_bottle_tag . to_s return unless info [ "bottle" ] [ "stable" ] btl_info = info [ "bottle" ] [ "stable" ] [ "files" ] [ tag_s ] return unless btl_info BottleInfo . new ( btl_info [ "url" ] , btl_info [ "sha256" ] ) end
The whole info structure parsed from the JSON
The whole info structure parsed from the JSON
my_bottle_tag
tag