requirement: make deprecated stuff unsupported.
This commit is contained in:
parent
46633af76a
commit
02d876528a
@ -48,7 +48,7 @@ class Requirement
|
|||||||
s
|
s
|
||||||
end
|
end
|
||||||
|
|
||||||
# Overriding #satisfied? is deprecated.
|
# Overriding #satisfied? is unsupported.
|
||||||
# Pass a block or boolean to the satisfy DSL method instead.
|
# Pass a block or boolean to the satisfy DSL method instead.
|
||||||
def satisfied?
|
def satisfied?
|
||||||
satisfy = self.class.satisfy
|
satisfy = self.class.satisfy
|
||||||
@ -58,7 +58,7 @@ class Requirement
|
|||||||
true
|
true
|
||||||
end
|
end
|
||||||
|
|
||||||
# Overriding #fatal? is deprecated.
|
# Overriding #fatal? is unsupported.
|
||||||
# Pass a boolean to the fatal DSL method instead.
|
# Pass a boolean to the fatal DSL method instead.
|
||||||
def fatal?
|
def fatal?
|
||||||
self.class.fatal || false
|
self.class.fatal || false
|
||||||
@ -73,7 +73,7 @@ class Requirement
|
|||||||
parent
|
parent
|
||||||
end
|
end
|
||||||
|
|
||||||
# Overriding #modify_build_environment is deprecated.
|
# Overriding #modify_build_environment is unsupported.
|
||||||
# Pass a block to the env DSL method instead.
|
# Pass a block to the env DSL method instead.
|
||||||
def modify_build_environment
|
def modify_build_environment
|
||||||
satisfied?
|
satisfied?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user