siyelo-tweetify 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -2,35 +2,15 @@
2
2
 
3
3
  A Rails engine for embedding Twitter extracts
4
4
 
5
- == Dependencies
6
-
7
- Tweetify needs;
8
-
9
- dancroak-twitter-search
10
-
11
5
  == Installation
12
6
 
13
- All gems are on gemcutter, so you need to add gemcutter to your sources if you havent yet:
14
-
15
- sudo gem sources -a http://gemcutter.org/
16
-
17
- Install required gem if you dont already have them
18
-
19
- sudo gem install dancroak-twitter-search
20
-
21
7
  Install the tweetify gem:
22
8
 
23
- sudo gem install siyelo-tweetify
24
-
25
- Configure gems inside your app:
26
-
27
- config.gem 'rufus-scheduler'
28
- config.gem 'dancroak-twitter-search', :lib => "twitter_search"
29
- config.gem 'siyelo-tweetify', :lib => "tweetify"
9
+ $ sudo gem install siyelo-tweetify
30
10
 
31
11
  Run the generator:
32
12
 
33
- ruby script/generate tweetify
13
+ $ ruby script/generate tweetify_install
34
14
 
35
15
  The generator will install an initializer which describes Tweetify's configuration options. Be sure to update this with your own Twitter search string and 'search agent' name.
36
16
 
@@ -40,11 +20,15 @@ Once the rufus scheduler task is running, it will go off and cache your last N (
40
20
 
41
21
  Inside your relevant controller, all you need to do is read the cached posts from your database.
42
22
 
43
- @tweets = Tweet.find(:all, :limit => 3)
23
+ @tweets = Tweet.find(:all, :limit => 3)
44
24
 
45
25
  And render them in your view as you wish
46
26
 
47
- For convenience, some partials are included
27
+ For convenience, some partials are included. To copy the view partials from tweetify to your app just run the following command:
28
+
29
+ $ script/generate tweetify_views
30
+
31
+ Then in your view;
48
32
 
49
33
  = render :partial => '/tweets/list', :locals => { :tweets => @tweets }
50
34
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -1,3 +1,3 @@
1
- To copy the view partialsfrom tweetify to your app just run the following command:
1
+ To copy the view partials from tweetify to your app just run the following command:
2
2
 
3
3
  script/generate tweetify_views
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: siyelo-tweetify
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Glenn Roberts