Enable more deprecations.
It's been long enough that these have been commented out so let's enable them globally.
This commit is contained in:
parent
e0560ff363
commit
2d18ba586b
@ -204,9 +204,7 @@ module Hbc
|
||||
end
|
||||
|
||||
def license(*)
|
||||
# TODO: Uncomment after `license` has been
|
||||
# removed from all official taps.
|
||||
# odeprecated "Hbc::DSL#license"
|
||||
odeprecated "Hbc::DSL#license"
|
||||
end
|
||||
|
||||
# depends_on uses a load method so that multiple stanzas can be merged
|
||||
|
@ -1,6 +1,6 @@
|
||||
class BottleSpecification
|
||||
def revision(*args)
|
||||
# odeprecated "BottleSpecification.revision", "BottleSpecification.rebuild"
|
||||
odeprecated "BottleSpecification.revision", "BottleSpecification.rebuild"
|
||||
rebuild(*args)
|
||||
end
|
||||
end
|
||||
|
@ -1,8 +1,3 @@
|
||||
def shell_profile
|
||||
# odeprecated "shell_profile", "Utils::Shell.profile"
|
||||
Utils::Shell.profile
|
||||
end
|
||||
|
||||
module Tty
|
||||
module_function
|
||||
|
||||
|
@ -2368,7 +2368,7 @@ class Formula
|
||||
# version '4.8.1'
|
||||
# end</pre>
|
||||
def fails_with(compiler, &block)
|
||||
# odeprecated "fails_with :llvm" if compiler == :llvm
|
||||
odeprecated "fails_with :llvm" if compiler == :llvm
|
||||
specs.each { |spec| spec.fails_with(compiler, &block) }
|
||||
end
|
||||
|
||||
|
@ -194,7 +194,7 @@ class SoftwareSpec
|
||||
end
|
||||
|
||||
def fails_with(compiler, &block)
|
||||
# odeprecated "fails_with :llvm" if compiler == :llvm
|
||||
odeprecated "fails_with :llvm" if compiler == :llvm
|
||||
compiler_failures << CompilerFailure.create(compiler, &block)
|
||||
end
|
||||
|
||||
|
@ -556,3 +556,7 @@ def with_env(hash)
|
||||
ENV.update(old_values)
|
||||
end
|
||||
end
|
||||
|
||||
def shell_profile
|
||||
Utils::Shell.profile
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user