mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Revert "software_spec: set a name for bottles."
This reverts commit 7cdcd13aa08ed91a73837b73dc185ad9147f7130.
This commit is contained in:
parent
bcb82edea0
commit
35093b7a37
@ -102,11 +102,11 @@ class Bottle
|
|||||||
|
|
||||||
attr_reader :resource, :prefix, :cellar, :revision
|
attr_reader :resource, :prefix, :cellar, :revision
|
||||||
|
|
||||||
def_delegators :resource, :name, :url, :fetch, :verify_download_integrity
|
def_delegators :resource, :url, :fetch, :verify_download_integrity
|
||||||
def_delegators :resource, :downloader, :cached_download, :clear_cache
|
def_delegators :resource, :downloader, :cached_download, :clear_cache
|
||||||
|
|
||||||
def initialize(f, spec)
|
def initialize(f, spec)
|
||||||
@resource = Resource.new f.name
|
@resource = Resource.new
|
||||||
@resource.owner = f
|
@resource.owner = f
|
||||||
@resource.url = bottle_url(
|
@resource.url = bottle_url(
|
||||||
spec.root_url,
|
spec.root_url,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user