feed_us_grabber 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE.txt +3 -1
- data/README.rdoc +6 -6
- metadata +3 -3
data/LICENSE.txt
CHANGED
@@ -1,4 +1,6 @@
|
|
1
|
-
Copyright (c) 2012
|
1
|
+
Copyright (c) 2012 Feed.Us
|
2
|
+
|
3
|
+
We're proud of our software, and we want to tell you more about it. We also want to hear about what you do so we can help figure out whether Feed.Us is a good fit. Please call us (414-244-9900) or email us (contact@feed.us) or Skype us (feedussoftware).
|
2
4
|
|
3
5
|
Permission is hereby granted, free of charge, to any person obtaining
|
4
6
|
a copy of this software and associated documentation files (the
|
data/README.rdoc
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
== ENVIRONEMNT
|
4
4
|
|
5
|
-
To be used with Rails 3.x and Ruby 1.9x
|
5
|
+
To be used with Rails 3.x and Ruby 1.9x. We're proud of our software, and we want to tell you more about it. We also want to hear about what you do so we can help figure out whether Feed.Us is a good fit. Please call us (414-244-9900) or email us (contact@feed.us) or Skype us (feedussoftware) or visit us at http://feed.us
|
6
6
|
|
7
7
|
== INSTALLATION
|
8
8
|
|
9
|
-
Follow these steps to download and install the feed_us_grabber gem
|
9
|
+
Follow these steps to download and install the feed_us_grabber gem:
|
10
10
|
|
11
11
|
1. In your rails application, edit your Gemfile to include:
|
12
12
|
gem 'feed_us_grabber'
|
@@ -19,9 +19,9 @@ Follow these steps to download and install the feed_us_grabber gem
|
|
19
19
|
|
20
20
|
4. Update environment.rb and include require 'net/http'
|
21
21
|
|
22
|
-
5. Your installation is complete
|
22
|
+
5. Your installation is complete
|
23
23
|
|
24
|
-
== USAGE
|
24
|
+
== USAGE
|
25
25
|
1. Add following line to each controller (or app/controllers/application_controller.rb):
|
26
26
|
include FeedUsGrabberHelper
|
27
27
|
|
@@ -32,13 +32,13 @@ Follow these steps to download and install the feed_us_grabber gem
|
|
32
32
|
|
33
33
|
* Example 1
|
34
34
|
def index
|
35
|
-
@grabber = feedUsGrabber(:FeedUsURL => 'http://
|
35
|
+
@grabber = feedUsGrabber(:FeedUsURL => 'http://render.feed.us/Feed.aspx?g=00767d50-bde8-e111-9875-4040419a7f04',:FeedUsCacheInterval => CI_DAYS, :FeedUsCacheIntervalLength => 2, :FeedUsCacheGroup => 'demo')
|
36
36
|
end
|
37
37
|
|
38
38
|
* Example 2 The most basic configuration is (Note you will replace the URL listed with the URL of your content from "Export" on Feed.Us):
|
39
39
|
|
40
40
|
def index
|
41
|
-
@grabber = feedUsGrabber(:FeedUsURL => 'http://
|
41
|
+
@grabber = feedUsGrabber(:FeedUsURL => 'http://render.feed.us/Feed.aspx?g=00767d50-bde8-e111-9875-4040419a7f04')
|
42
42
|
end
|
43
43
|
|
44
44
|
3. Inside the view of the action add the following code to render your content
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: feed_us_grabber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-10-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: shoulda
|
@@ -124,7 +124,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
124
124
|
version: '0'
|
125
125
|
segments:
|
126
126
|
- 0
|
127
|
-
hash: -
|
127
|
+
hash: -561498321
|
128
128
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
129
129
|
none: false
|
130
130
|
requirements:
|