lib/mainstreet.rb in mainstreet-0.3.0 vs lib/mainstreet.rb in mainstreet-0.4.0
- old
+ new
@@ -1,11 +1,11 @@
# dependencies
require "geocoder"
# modules
-require "mainstreet/address_verifier"
-require "mainstreet/version"
+require_relative "mainstreet/address_verifier"
+require_relative "mainstreet/version"
module MainStreet
class << self
attr_writer :lookup
@@ -24,9 +24,9 @@
}
end
if defined?(ActiveSupport.on_load)
ActiveSupport.on_load(:active_record) do
- require "mainstreet/model"
+ require_relative "mainstreet/model"
extend MainStreet::Model
end
end