diff --git a/lib/community_hub_plugin/hub.rb b/lib/community_hub_plugin/hub.rb index d34eba7..cfd50b8 100644 --- a/lib/community_hub_plugin/hub.rb +++ b/lib/community_hub_plugin/hub.rb @@ -6,9 +6,6 @@ class CommunityHubPlugin::Hub < Folder settings_items :promoted_users, :type => Array, :default => [] settings_items :pinned_posts, :type => Array, :default => [] - def initialize(my_var) - raise "ola".inspect - end def self.icon_name(article = nil) 'community-hub' @@ -29,5 +26,10 @@ class CommunityHubPlugin::Hub < Folder def view_page "content_viewer/hub.rhtml" end + + + def start_twitter_service.self + #Twurl::Stream.run('popcorntime,time4popcorn,nba', '/root/.twurlrc') + end end \ No newline at end of file diff --git a/tweeter_stream/.gitignore b/tweeter_stream/.gitignore deleted file mode 100755 index 4fdc515..0000000 --- a/tweeter_stream/.gitignore +++ /dev/null @@ -1,39 +0,0 @@ -*.gem -*.rbc -*.sw[a-p] -*.tmproj -*.tmproject -*.un~ -*~ -.Spotlight-V100 -.Trashes -._* -.bundle -.config -.directory -.elc -.emacs.desktop -.emacs.desktop.lock -.redcar -.yardoc -Desktop.ini -Gemfile.lock -Icon? -InstalledFiles -Session.vim -\#*\# -_yardoc -auto-save-list -coverage -doc -lib/bundler/man -pkg -pkg/* -rdoc -spec/reports -test/tmp -test/version_tmp -tmp -tmtags -tramp -/nbproject/private/ \ No newline at end of file diff --git a/tweeter_stream/nbproject/private/private.xml b/tweeter_stream/nbproject/private/private.xml deleted file mode 100644 index 4750962..0000000 --- a/tweeter_stream/nbproject/private/private.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/tweeter_stream/noosfero.rb b/tweeter_stream/noosfero.rb index ca9ed68..d71aa7a 100755 --- a/tweeter_stream/noosfero.rb +++ b/tweeter_stream/noosfero.rb @@ -3,4 +3,4 @@ require 'rubygems' # if you use RubyGems require File.dirname(__FILE__) + '/lib/twurl' -Twurl::Stream.run('popcorntime,time4popcorn', '/root/.twurlrc') +Twurl::Stream.run('popcorntime,time4popcorn,nba', '/root/.twurlrc') diff --git a/views/content_viewer/hub.rhtml b/views/content_viewer/hub.rhtml index f415c9e..1c6ad7c 100644 --- a/views/content_viewer/hub.rhtml +++ b/views/content_viewer/hub.rhtml @@ -1,6 +1,6 @@ <% extend CommunityHubPlugin::HubHelper %> -<%# CommunityHubPlugin::Hub.start_service %> +<%# CommunityHubPlugin::Hub.start_twitter_service %>
-- libgit2 0.21.2