feedshub 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MDU0Nzk0OGMwY2EwYzU2ZDg1YjRmM2ZhOWM4MmQ1OTk1YzgzZDc5OA==
4
+ MThjYmJhMzhkM2RkMWE1ZTZlNzIzNjlmOWViNGJjOTM3OGJmZGVhNw==
5
5
  data.tar.gz: !binary |-
6
- YTA1ZTUzNDExMTllNmUxYjY1ODNiM2EyNWUyOGZjM2ZjZWJhOGZkMA==
6
+ NTEwOTk2MzEwYTA5ODIwYmZjYmRjNTQzY2U4NTVhNGE4NWQ0ZGNkMg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OGJhOWI3OWY3ZDQ5YTc1NGQ5MjM0NTE2MGI1MzFiMjUzYTQ1OThiODZiZDRk
10
- Y2IxMDk5ODY3NGZkNmU2YmJiOTIxYWM1MDgyNmU5YTEyY2RmZjRhZDFlYWUx
11
- NjgxZmMyNGUzMWJjYjAxY2Y4NzM4NDA3ZWM1ZTZkNDU5MjJjN2U=
9
+ NTFkNmFhMzgzM2NmZTdiMGM4YmUwZDlhNTIwMTljMTk3NjQxZTNiYzYwMjNm
10
+ MGM2NWRhMmNiNTUxNmNkNjY1Y2ZiNWI3MDgzMjk4ZDExMmJlOWY1M2Y3OTgw
11
+ MjI5ZWYxZjU4ZDIxMWJmZGJkYmY3OTJiZGE4ZmQ0OGY2YTVhODU=
12
12
  data.tar.gz: !binary |-
13
- NzcyNGFjMDU1YTM4YWFkYmM0ZGI0NjExYWRiZjFhMTE0MmNhMmZhYmQxYzJi
14
- NDZhZTE4MTlkOWI3MTllYTFiNmJmMGZhYmIyN2VjZGQzZTRjMjhmNDNiNTI4
15
- ODQwMDRiN2JkMDBhZDlhNTRhYmU2MTUwMTFiN2NhNWZhNmFkMGU=
13
+ YWRhYTE2ODUwNTNhYmMzNGI0OTA3Njg0NmIyNDNmNjcxNzFjNjBkYTg0NjJl
14
+ NjAxODA5ZTE0ZDI3YzEyMzMxZjBhNTQ1ZDBjZmU2YzljMjYwMjEzNzJkMzE3
15
+ MjM0Mzg1NmU1YzQ5ZTFjZTQ5ZTE3ZGMyMzM4YTc5YWEyOWU5ZDc=
@@ -1,4 +1,4 @@
1
- === Feedshub
1
+ = Feedshub
2
2
 
3
3
  Feedshub is a full RoR gem that let you show your company or personal github activity in a fancy way with minimal configuration. It:
4
4
 
@@ -58,25 +58,45 @@ To customize the behaviour of the gem you have to edit <code>/config/feedshub/co
58
58
 
59
59
  #user_name: 'vairix-dfernandez'
60
60
 
61
- #Set the default number of feeds to retrieve (if no amount set by paameter)
61
+ #Set the default number of feeds to retrieve (if no amount set by pameter)
62
62
 
63
63
  github_feeds_number: '10'
64
64
 
65
+ And also edit <code>/config/feedshub/schedule.rb</code> to customize the period of feeds updates.
66
+ Feedshub use whenever Gem to schedule the updates of feeds. For more information visit <https://github.com/javan/whenever>
67
+
68
+
69
+ To generate the schedule task, run:
70
+
71
+ <code>
72
+ RAILS_ENV=your_environment rake feeds:schedule
73
+ </code>
74
+
75
+ You need to do this to keep updated feeds.
76
+
65
77
  == How to integrate it?
66
78
 
67
79
  The integration is done using a helper that will render the public activity wherever you want in the view.
68
80
  In order to do it you have to:
69
81
 
70
82
  Include the helper reference in the view controller
83
+ <code>ruby helper Feedshub::FeedsHelper</code>
71
84
 
72
85
  In your view, call the helper as shown below
73
86
 
87
+ <code>
88
+ <%= github_feeds %>
89
+ </code>
90
+
91
+ By calling the helper without parameter, it will display the number of feeds specified in the configuration. You can add a parameter (ie.:<code><%= github_feeds 50 %></code>) to specify the number of feeds to show in the view.
92
+
74
93
  == Screenshots
75
94
 
76
95
  This is the default style of Feedshub.
77
96
 
78
97
  http://vairix.com/assets/feedshub.png
79
98
 
99
+
80
100
  == License
81
101
 
82
102
  Copyright 2014 VAIRIX
@@ -1,3 +1,3 @@
1
1
  module Feedshub
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
@@ -2,7 +2,6 @@ require 'spec_helper'
2
2
  require 'feedshub/feeds/git_feeds_handler'
3
3
 
4
4
  describe Feedshub::FeedsHelper do
5
- #helper Feedshub::FeedsHelper
6
5
 
7
6
  describe 'github_feeds' do
8
7
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: feedshub
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - VAIRIX
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-02 00:00:00.000000000 Z
11
+ date: 2014-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -121,8 +121,6 @@ files:
121
121
  - app/assets/fonts/feedshub/octicons.woff
122
122
  - app/views/layouts/feedshub/application.html.erb
123
123
  - app/views/feedshub/feeds/_github_feeds.html.erb
124
- - app/views/feedshub/feeds/index.html.erb
125
- - config/schedule.rb
126
124
  - config/routes.rb
127
125
  - db/migrate/20140318133306_create_feedshub_github_feed_entries.rb
128
126
  - lib/feedshub/version.rb
@@ -287,3 +285,4 @@ test_files:
287
285
  - spec/dummy/config/database.yml
288
286
  - spec/dummy/Rakefile
289
287
  - spec/dummy/README.rdoc
288
+ has_rdoc:
@@ -1 +0,0 @@
1
- <%= render 'github_feeds' %>
@@ -1,7 +0,0 @@
1
- every 2.minutes, :roles => [:development] do
2
- rake 'feeds:update_feeds', environment: 'development'
3
- end
4
-
5
- every 30.minutes, :roles => [:production] do
6
- rake 'feeds:update_feeds', environment: 'production'
7
- end