lib/hobo_fields.rb in hobo_fields-1.3.0.pre31 vs lib/hobo_fields.rb in hobo_fields-1.3.0
- old
+ new
@@ -1,16 +1,19 @@
require 'hobo_support'
ActiveSupport::Dependencies.autoload_paths |= [ File.dirname(__FILE__) ]
+ActiveSupport::Dependencies.autoload_once_paths |= [ File.dirname(__FILE__) ]
module Hobo
# Empty class to represent the boolean type.
class Boolean; end
end
module HoboFields
VERSION = File.read(File.expand_path('../../VERSION', __FILE__)).strip
+ @@root = Pathname.new File.expand_path('../..', __FILE__)
+ def self.root; @@root; end
extend self
PLAIN_TYPES = {
:boolean => Hobo::Boolean,