remove support for legacy form `destination_path`
replaced by `staged_path`
This commit is contained in:
parent
4d3d254a30
commit
850e8cf3c0
|
@ -74,6 +74,7 @@ This notice will be removed for the final form.**
|
|||
| `uninstall :files` | `uninstall :delete`
|
||||
| `version 'latest'` | `version :latest`
|
||||
| `manual_installer(path)` (within `caveats`) | `installer :manual`
|
||||
| `destination_path` | `staged_path`
|
||||
|
||||
|
||||
## All Supported Stanzas (1.0)
|
||||
|
|
|
@ -155,11 +155,6 @@ class Cask
|
|||
caskroom_path.join(cask_version.to_s)
|
||||
end
|
||||
|
||||
# todo transitional method, removeme after DSL 1.0
|
||||
def destination_path
|
||||
staged_path
|
||||
end
|
||||
|
||||
def metadata_master_container_path
|
||||
caskroom_path.join(self.class.metadata_subdir)
|
||||
end
|
||||
|
|
|
@ -36,11 +36,6 @@ class Cask::CaveatsDSL
|
|||
caskroom_path.join(@cask.version.to_s)
|
||||
end
|
||||
|
||||
# todo transitional method, removeme after DSL 1.0
|
||||
def destination_path
|
||||
staged_path
|
||||
end
|
||||
|
||||
# DSL. Each method should handle output, following the convention of
|
||||
# at least one trailing blank line so that the user can distinguish
|
||||
# separate caveats.
|
||||
|
|
|
@ -23,9 +23,4 @@ class Cask::DSL::Base
|
|||
def staged_path
|
||||
caskroom_path.join(@cask.version.to_s)
|
||||
end
|
||||
|
||||
# todo transitional method, removeme after DSL 1.0
|
||||
def destination_path
|
||||
staged_path
|
||||
end
|
||||
end
|
||||
|
|
|
@ -3,11 +3,6 @@ class Cask::WithoutSource < Cask
|
|||
caskroom_path.children.first
|
||||
end
|
||||
|
||||
# todo transitional method, removeme after DSL 1.0
|
||||
def destination_path
|
||||
staged_path
|
||||
end
|
||||
|
||||
def to_s
|
||||
"#{title} (!)"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue