Commit 0012d341875578966d5900391dcd679d4ae860e9
1 parent
a4fb5466
Exists in
community_hub_submodule
Revert "com erro, irei reverter para ver se é erro no código"
This reverts commit fb8571d462d232fecc0969cee7459d887681ae17.
Showing
5 changed files
with
48 additions
and
7 deletions
Show diff stats
lib/community_hub_plugin/hub.rb
| @@ -6,6 +6,9 @@ class CommunityHubPlugin::Hub < Folder | @@ -6,6 +6,9 @@ class CommunityHubPlugin::Hub < Folder | ||
| 6 | settings_items :promoted_users, :type => Array, :default => [] | 6 | settings_items :promoted_users, :type => Array, :default => [] |
| 7 | settings_items :pinned_posts, :type => Array, :default => [] | 7 | settings_items :pinned_posts, :type => Array, :default => [] |
| 8 | 8 | ||
| 9 | + def initialize(my_var) | ||
| 10 | + raise "ola".inspect | ||
| 11 | + end | ||
| 9 | 12 | ||
| 10 | def self.icon_name(article = nil) | 13 | def self.icon_name(article = nil) |
| 11 | 'community-hub' | 14 | 'community-hub' |
| @@ -26,10 +29,5 @@ class CommunityHubPlugin::Hub < Folder | @@ -26,10 +29,5 @@ class CommunityHubPlugin::Hub < Folder | ||
| 26 | def view_page | 29 | def view_page |
| 27 | "content_viewer/hub.rhtml" | 30 | "content_viewer/hub.rhtml" |
| 28 | end | 31 | end |
| 29 | - | ||
| 30 | - | ||
| 31 | - def start_twitter_service.self | ||
| 32 | - #Twurl::Stream.run('popcorntime,time4popcorn,nba', '/root/.twurlrc') | ||
| 33 | - end | ||
| 34 | 32 | ||
| 35 | end | 33 | end |
| 36 | \ No newline at end of file | 34 | \ No newline at end of file |
| @@ -0,0 +1,39 @@ | @@ -0,0 +1,39 @@ | ||
| 1 | +*.gem | ||
| 2 | +*.rbc | ||
| 3 | +*.sw[a-p] | ||
| 4 | +*.tmproj | ||
| 5 | +*.tmproject | ||
| 6 | +*.un~ | ||
| 7 | +*~ | ||
| 8 | +.Spotlight-V100 | ||
| 9 | +.Trashes | ||
| 10 | +._* | ||
| 11 | +.bundle | ||
| 12 | +.config | ||
| 13 | +.directory | ||
| 14 | +.elc | ||
| 15 | +.emacs.desktop | ||
| 16 | +.emacs.desktop.lock | ||
| 17 | +.redcar | ||
| 18 | +.yardoc | ||
| 19 | +Desktop.ini | ||
| 20 | +Gemfile.lock | ||
| 21 | +Icon? | ||
| 22 | +InstalledFiles | ||
| 23 | +Session.vim | ||
| 24 | +\#*\# | ||
| 25 | +_yardoc | ||
| 26 | +auto-save-list | ||
| 27 | +coverage | ||
| 28 | +doc | ||
| 29 | +lib/bundler/man | ||
| 30 | +pkg | ||
| 31 | +pkg/* | ||
| 32 | +rdoc | ||
| 33 | +spec/reports | ||
| 34 | +test/tmp | ||
| 35 | +test/version_tmp | ||
| 36 | +tmp | ||
| 37 | +tmtags | ||
| 38 | +tramp | ||
| 39 | +/nbproject/private/ | ||
| 0 | \ No newline at end of file | 40 | \ No newline at end of file |
tweeter_stream/noosfero.rb
| @@ -3,4 +3,4 @@ require 'rubygems' # if you use RubyGems | @@ -3,4 +3,4 @@ require 'rubygems' # if you use RubyGems | ||
| 3 | 3 | ||
| 4 | require File.dirname(__FILE__) + '/lib/twurl' | 4 | require File.dirname(__FILE__) + '/lib/twurl' |
| 5 | 5 | ||
| 6 | -Twurl::Stream.run('popcorntime,time4popcorn,nba', '/root/.twurlrc') | 6 | +Twurl::Stream.run('popcorntime,time4popcorn', '/root/.twurlrc') |
views/content_viewer/hub.rhtml