From 2d18ba586b3250062cd58c8f5af81fc30a35bb5f Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 14 Jul 2017 17:03:33 +0100 Subject: Enable more deprecations. It's been long enough that these have been commented out so let's enable them globally. --- Library/Homebrew/cask/lib/hbc/dsl.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Library/Homebrew/cask/lib') 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 -- cgit v1.2.3 From 9578e2995af79e93583c60e667a3db439a14b697 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Sat, 15 Jul 2017 14:46:11 +0200 Subject: Move `Hbc::DSL#license` to `compat`. --- Library/Homebrew/cask/lib/hbc/dsl.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Library/Homebrew/cask/lib') diff --git a/Library/Homebrew/cask/lib/hbc/dsl.rb b/Library/Homebrew/cask/lib/hbc/dsl.rb index 1105ac1a2..4045c6dcf 100644 --- a/Library/Homebrew/cask/lib/hbc/dsl.rb +++ b/Library/Homebrew/cask/lib/hbc/dsl.rb @@ -203,10 +203,6 @@ module Hbc @sha256 ||= arg end - def license(*) - odeprecated "Hbc::DSL#license" - end - # depends_on uses a load method so that multiple stanzas can be merged def depends_on(*args) @depends_on ||= DSL::DependsOn.new -- cgit v1.2.3