/usr/lib/ruby/1.8/ramaze/helper/disqus.rb is in libramaze-ruby1.8 2010.06.18-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | require 'disqus'
require 'disqus/view_helpers'
module Ramaze
module Helper
# Provides shortcuts via Disqus::ViewHelpers.
#
# Make sure that you set your disqus credentials when using this helper:
# Disqus::defaults[:account] = "my_disqus_account"
# And optionally, only if you're using the API
# Disqus::defaults[:api_key] = "my_disqus_api_key"
#
# Available methods are:
#
# disqus_combo
# disqus_comment_counts
# disqus_popular_threads
# disqus_recent_comments
# disqus_thread
# disqus_top_commenters
module Disqus
include ::Disqus::ViewHelpers
end
end
end
|