aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/cask/lib/hbc/dsl.rb4
-rw-r--r--Library/Homebrew/compat/software_spec.rb2
-rw-r--r--Library/Homebrew/compat/utils.rb5
-rw-r--r--Library/Homebrew/formula.rb2
-rw-r--r--Library/Homebrew/software_spec.rb2
-rw-r--r--Library/Homebrew/utils.rb4
6 files changed, 8 insertions, 11 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/dsl.rb b/Library/Homebrew/cask/lib/hbc/dsl.rb
index 112ceb943..1105ac1a2 100644
--- a/Library/Homebrew/cask/lib/hbc/dsl.rb
+++ b/Library/Homebrew/cask/lib/hbc/dsl.rb
@@ -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
diff --git a/Library/Homebrew/compat/software_spec.rb b/Library/Homebrew/compat/software_spec.rb
index 5efd2aeb4..8b0408d02 100644
--- a/Library/Homebrew/compat/software_spec.rb
+++ b/Library/Homebrew/compat/software_spec.rb
@@ -1,6 +1,6 @@
class BottleSpecification
def revision(*args)
- # odeprecated "BottleSpecification.revision", "BottleSpecification.rebuild"
+ odeprecated "BottleSpecification.revision", "BottleSpecification.rebuild"
rebuild(*args)
end
end
diff --git a/Library/Homebrew/compat/utils.rb b/Library/Homebrew/compat/utils.rb
index f2cca4726..8904f0f2b 100644
--- a/Library/Homebrew/compat/utils.rb
+++ b/Library/Homebrew/compat/utils.rb
@@ -1,8 +1,3 @@
-def shell_profile
- # odeprecated "shell_profile", "Utils::Shell.profile"
- Utils::Shell.profile
-end
-
module Tty
module_function
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index b2e4ff988..e681ea0bf 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -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
diff --git a/Library/Homebrew/software_spec.rb b/Library/Homebrew/software_spec.rb
index 0d2b48acc..c6e704350 100644
--- a/Library/Homebrew/software_spec.rb
+++ b/Library/Homebrew/software_spec.rb
@@ -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
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb
index 5a6295394..e3137ac49 100644
--- a/Library/Homebrew/utils.rb
+++ b/Library/Homebrew/utils.rb
@@ -556,3 +556,7 @@ def with_env(hash)
ENV.update(old_values)
end
end
+
+def shell_profile
+ Utils::Shell.profile
+end