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 +8 -8
- data/README.rdoc +22 -2
- data/lib/feedshub/version.rb +1 -1
- data/spec/dummy/spec/helpers/feeds_helper_spec.rb +0 -1
- metadata +3 -4
- data/app/views/feedshub/feeds/index.html.erb +0 -1
- data/config/schedule.rb +0 -7
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MThjYmJhMzhkM2RkMWE1ZTZlNzIzNjlmOWViNGJjOTM3OGJmZGVhNw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTEwOTk2MzEwYTA5ODIwYmZjYmRjNTQzY2U4NTVhNGE4NWQ0ZGNkMg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NTFkNmFhMzgzM2NmZTdiMGM4YmUwZDlhNTIwMTljMTk3NjQxZTNiYzYwMjNm
|
10
|
+
MGM2NWRhMmNiNTUxNmNkNjY1Y2ZiNWI3MDgzMjk4ZDExMmJlOWY1M2Y3OTgw
|
11
|
+
MjI5ZWYxZjU4ZDIxMWJmZGJkYmY3OTJiZGE4ZmQ0OGY2YTVhODU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YWRhYTE2ODUwNTNhYmMzNGI0OTA3Njg0NmIyNDNmNjcxNzFjNjBkYTg0NjJl
|
14
|
+
NjAxODA5ZTE0ZDI3YzEyMzMxZjBhNTQ1ZDBjZmU2YzljMjYwMjEzNzJkMzE3
|
15
|
+
MjM0Mzg1NmU1YzQ5ZTFjZTQ5ZTE3ZGMyMzM4YTc5YWEyOWU5ZDc=
|
data/README.rdoc
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
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
|
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
|
data/lib/feedshub/version.rb
CHANGED
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.
|
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-
|
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' %>
|