lib/page_rankr/ranks.rb in PageRankr-1.4.3 vs lib/page_rankr/ranks.rb in PageRankr-1.5.0
- old
+ new
@@ -1,14 +1,9 @@
-require File.join("page_rankr", "ranks", "rank")
-require File.join("page_rankr", "ranks", "alexa")
-require File.join("page_rankr", "ranks", "google")
+require File.join(File.dirname(__FILE__), "rank")
+require File.join(File.dirname(__FILE__), "ranks", "alexa")
+require File.join(File.dirname(__FILE__), "ranks", "google")
module PageRankr
class Ranks < Tracker
alias_method :rank_trackers, :site_trackers
-
- def initialize
- super
- @site_trackers.delete(:rank)
- end
end
end
\ No newline at end of file