Permalink
Browse files

fixes for AS 3.0.0

  • Loading branch information...
1 parent 95c5f87 commit 94a03540350ea6eaaa41ecddbabecdf778417a31 @rkh committed Sep 7, 2010
Showing with 3 additions and 2 deletions.
  1. +2 −1 lib/monkey/backend/active_support.rb
  2. +1 −1 monkey-lib.gemspec
@@ -2,14 +2,15 @@
def setup
load_lib :version
expects_module "::ActiveSupport::CoreExtensions::String::Inflections" if version < "3"
- load_libs :core_ext => %w[object/misc array/extract_options string/inflections module/introspection]
+ load_libs :core_ext => %w[array/extract_options string/inflections module/introspection]
if version < "3"
begin
load_libs "core_ext/object/singleton_class"
rescue LoadError
load_libs "core_ext/object/metaclass"
::Object.send(:alias_method, :singleton_class, :metaclass)
end
+ load_libs "core_ext/object/misc"
::Array.send :include, ::ActiveSupport::CoreExtensions::Array::ExtractOptions
::Module.send :include, ::ActiveSupport::CoreExtensions::Module
::String.send :include, ::ActiveSupport::CoreExtensions::String::Inflections
View
@@ -1,7 +1,7 @@
# -*- encoding: utf-8 -*-
SPEC = Gem::Specification.new do |s|
s.name = "monkey-lib"
- s.version = "0.5.2"
+ s.version = "0.5.3"
s.authors = ["Konstantin Haase"]
s.description = "Making ruby extension frameworks pluggable."
s.email = "konstantin.mailinglists@googlemail.com"

0 comments on commit 94a0354

Please sign in to comment.