Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove deprecated Gem.activate_spec

It is described that "will be removed on or after 2011-06".
  • Loading branch information...
commit c7c9deba169c7972a92ac855d19879125ebf7936 1 parent 058c928
@kou kou authored
Showing with 0 additions and 5 deletions.
  1. +0 −5 lib/rubygems.rb
View
5 lib/rubygems.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.