Permalink
Browse files

Remove deprecated Gem.activate_spec

It is described that "will be removed on or after 2011-06".
  • Loading branch information...
kou committed Sep 16, 2012
1 parent 058c928 commit c7c9deba169c7972a92ac855d19879125ebf7936
Showing with 0 additions and 5 deletions.
  1. +0 −5 lib/rubygems.rb
View
@@ -188,10 +188,6 @@ def self.activate(dep, *requirements)
Gem::Specification.find_by_name(dep, *requirements).activate
end
- def self.activate_spec spec # :nodoc:
- spec.activate
- end
-
# DOC: This needs to be documented or nodoc'd.
def self.unresolved_deps
@@ -1310,7 +1306,6 @@ def RbConfig.datadir(package_name) # :nodoc:
module Gem
class << self
extend Gem::Deprecate
- deprecate :activate_spec, "Specification#activate", 2011, 6
deprecate :activate, "Specification#activate", 2011, 10
deprecate :all_load_paths, :none, 2011, 10
deprecate :all_partials, :none, 2011, 10

0 comments on commit c7c9deb

Please sign in to comment.