Blob Blame History Raw
diff -up alexandria-0.6.8/lib/alexandria/book_providers.rb.evalfix alexandria-0.6.8/lib/alexandria/book_providers.rb
--- alexandria-0.6.8/lib/alexandria/book_providers.rb.evalfix	2011-11-15 07:43:04.000000000 -0500
+++ alexandria-0.6.8/lib/alexandria/book_providers.rb	2012-03-23 16:25:22.415869366 -0400
@@ -375,7 +375,7 @@ module Alexandria
       providers = {}
       self.class.constants.each do |constant|
         next unless md = /(.+)Provider$/.match(constant)
-        klass = self.class.module_eval(constant)
+        klass = self.class.module_eval(constant.to_s)
         if klass.ancestors.include?(AbstractProvider) and
             klass != GenericProvider and
             klass != WebsiteBasedProvider and
diff -up alexandria-0.6.8/lib/alexandria/smart_library.rb.evalfix alexandria-0.6.8/lib/alexandria/smart_library.rb
--- alexandria-0.6.8/lib/alexandria/smart_library.rb.evalfix	2009-03-25 19:09:32.000000000 -0400
+++ alexandria-0.6.8/lib/alexandria/smart_library.rb	2012-03-23 16:24:11.833511912 -0400
@@ -471,8 +471,7 @@ begin
 
                                       })
 
-        ALL = self.constants.map \
-        { |x| self.module_eval(x) }.select \
+        ALL = self.constants.map { |x| self.module_eval(x.to_s) }.select \
         { |x| x.is_a?(Operator) }
       end