lib/page_rankr/ranks.rb in PageRankr-2.0.4 vs lib/page_rankr/ranks.rb in PageRankr-3.0.0
- old
+ new
@@ -1,13 +1,13 @@
-require File.join(File.dirname(__FILE__), "rank")
-require File.join(File.dirname(__FILE__), "ranks", "alexa_us")
-require File.join(File.dirname(__FILE__), "ranks", "alexa_global")
-require File.join(File.dirname(__FILE__), "ranks", "google")
-require File.join(File.dirname(__FILE__), "ranks", "compete")
+require File.expand_path("../trackers", __FILE__)
+require File.expand_path("../ranks/alexa_us", __FILE__)
+require File.expand_path("../ranks/alexa_global", __FILE__)
+require File.expand_path("../ranks/google", __FILE__)
+require File.expand_path("../ranks/compete", __FILE__)
module PageRankr
class Ranks
- include Tracker
+ include Trackers
alias_method :rank_trackers, :site_trackers
end
end
\ No newline at end of file