lib/page_rankr/backlinks.rb in PageRankr-2.0.4 vs lib/page_rankr/backlinks.rb in PageRankr-3.0.0
- old
+ new
@@ -1,13 +1,13 @@
-require File.join(File.dirname(__FILE__), "backlink")
-require File.join(File.dirname(__FILE__), "backlinks", "alexa")
-require File.join(File.dirname(__FILE__), "backlinks", "bing")
-require File.join(File.dirname(__FILE__), "backlinks", "google")
-require File.join(File.dirname(__FILE__), "backlinks", "yahoo")
+require File.expand_path("../trackers", __FILE__)
+require File.expand_path("../backlinks/alexa", __FILE__)
+require File.expand_path("../backlinks/bing", __FILE__)
+require File.expand_path("../backlinks/google", __FILE__)
+require File.expand_path("../backlinks/yahoo", __FILE__)
module PageRankr
class Backlinks
- include Tracker
+ include Trackers
alias_method :backlink_trackers, :site_trackers
end
end