diff options
| author | Mike McQuaid | 2016-08-18 17:32:35 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2016-08-18 17:32:35 +0100 |
| commit | 27ecf588c703c49f2dfd89e269dfba2f7af5e670 (patch) | |
| tree | a199823b10854208ac646cb69e019116268258b4 /Library/Homebrew/formula.rb | |
| parent | 5c7c9de669025bbe4cad9829be39c5cf3b31ad25 (diff) | |
| download | brew-27ecf588c703c49f2dfd89e269dfba2f7af5e670.tar.bz2 | |
Rename bottle's revision to rebuild.
Diffstat (limited to 'Library/Homebrew/formula.rb')
| -rw-r--r-- | Library/Homebrew/formula.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 0acca6546..3a50fcb0b 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -1330,7 +1330,7 @@ class Formula next unless spec.bottle_defined? bottle_spec = spec.bottle_specification bottle_info = { - "revision" => bottle_spec.revision, + "rebuild" => bottle_spec.rebuild, "cellar" => (cellar = bottle_spec.cellar).is_a?(Symbol) ? \ cellar.inspect : cellar, "prefix" => bottle_spec.prefix, @@ -1340,7 +1340,7 @@ class Formula bottle_spec.collector.keys.each do |os| checksum = bottle_spec.collector[os] bottle_info["files"][os] = { - "url" => "#{bottle_spec.root_url}/#{Bottle::Filename.create(self, os, bottle_spec.revision)}", + "url" => "#{bottle_spec.root_url}/#{Bottle::Filename.create(self, os, bottle_spec.rebuild)}", checksum.hash_type.to_s => checksum.hexdigest, } end @@ -1789,7 +1789,7 @@ class Formula # root_url "https://example.com" # Optional root to calculate bottle URLs # prefix "/opt/homebrew" # Optional HOMEBREW_PREFIX in which the bottles were built. # cellar "/opt/homebrew/Cellar" # Optional HOMEBREW_CELLAR in which the bottles were built. - # revision 1 # Making the old bottle outdated without bumping the version/revision of the formula. + # rebuild 1 # Making the old bottle outdated without bumping the version/revision of the formula. # sha256 "4355a46b19d348dc2f57c046f8ef63d4538ebb936000f3c9ee954a27460dd865" => :el_capitan # sha256 "53c234e5e8472b6ac51c1ae1cab3fe06fad053beb8ebfd8977b010655bfdd3c3" => :yosemite # sha256 "1121cfccd5913f0a63fec40a6ffd44ea64f9dc135c66634ba001d10bcf4302a2" => :mavericks |
