Permalink
Browse files

Renamed metaclass to eigenclass to avoid conflict w/ Rails' method of…

… the same name
  • Loading branch information...
1 parent 482dd00 commit e57c04ea4f8147e8249f411fdc8df5de569a94d8 @rwdaigle rwdaigle committed Sep 16, 2009
Showing with 4 additions and 4 deletions.
  1. +2 −2 lib/utility_scopes/ordered.rb
  2. +2 −2 utility_scopes.gemspec
View
4 lib/utility_scopes/ordered.rb
@@ -60,7 +60,7 @@ def ordered_by(clause)
}
})
- metaclass.instance_eval do
+ eigenclass.instance_eval do
define_method(:default_ordering) { clause }
end
end
@@ -76,7 +76,7 @@ def method_missing(method, *args, &block)
private
- def metaclass; class << self; self end; end
+ def eigenclass; class << self; self end; end
end
end
end
View
4 utility_scopes.gemspec
@@ -1,8 +1,8 @@
Gem::Specification.new do |s|
s.name = "utility_scopes"
- s.version = "0.2.2"
- s.date = "2008-10-28"
+ s.version = "0.2.3"
+ s.date = "2009-09-16"
s.summary = "A collection of utilitarian named scopes providing common functionality for ActiveRecord models"
s.email = "ryan@yfactorial.com"

0 comments on commit e57c04e

Please sign in to comment.