diff options
author | Andre Arko <andre@arko.net> | 2012-02-12 16:34:15 -0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2012-02-12 16:54:35 -0800 |
commit | 1b0866552a9c2fe461edad31bb7889bd961e7c01 (patch) | |
tree | 90787a9b00a60faf03c7700a63cbcba101b2c439 /lib/bundler/dsl.rb | |
parent | ae05e7ac03dcf58dc9216b6b1b961560a68ef70a (diff) | |
download | bundler-1b0866552a9c2fe461edad31bb7889bd961e7c01.tar.gz |
remove completely unused deprecation stuff
Diffstat (limited to 'lib/bundler/dsl.rb')
-rw-r--r-- | lib/bundler/dsl.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/bundler/dsl.rb b/lib/bundler/dsl.rb index 47e141022f..6a4be43743 100644 --- a/lib/bundler/dsl.rb +++ b/lib/bundler/dsl.rb @@ -54,7 +54,6 @@ module Bundler options = Hash === args.last ? args.pop : {} version = args || [">= 0"] - _deprecated_options(options) _normalize_options(name, version, options) dep = Dependency.new(name, version, options) @@ -165,21 +164,6 @@ module Bundler " #{content}\n" end - # Deprecated methods - - def self.deprecate(name, replacement = nil) - define_method(name) do |*| - message = "'#{name}' has been removed from the Gemfile DSL, " - if replacement - message << "and has been replaced with '#{replacement}'." - else - message << "and is no longer supported." - end - message << "\nSee the README for more information on upgrading from Bundler 0.8." - raise DeprecatedError, message - end - end - private def _normalize_hash(opts) @@ -245,7 +229,5 @@ module Bundler opts["group"] = groups end - def _deprecated_options(options) - end end end |