river 0.0.1 → 0.1.0
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.
- data/README.rdoc +23 -12
- data/VERSION +1 -1
- data/river.gemspec +2 -2
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -1,17 +1,28 @@
|
|
1
1
|
= river
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
==
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
3
|
+
A gem to talk to Amazon Web Services to get wishlist feeds. See it live: http://www.my-amazon-feeds.com.
|
4
|
+
|
5
|
+
== Usage
|
6
|
+
am = AmazonRequest.new(amazon_access_key_id, amazon_secret_access_key, ecs_to_rss_wishlist, amazon_associate_tag)
|
7
|
+
results = am.get_amazon_feeds(username) # username needs to be the user's Amazon email
|
8
|
+
feeds = results.collect { |result| OpenStruct.new(:url => result, :title => 'Amazon Wishlist', :name => 'wishlist') }
|
9
|
+
|
10
|
+
amazon_access_key_id: Key from your AWS console
|
11
|
+
amazon_secret_access_key: Secret from your AWS console.
|
12
|
+
amazon_associate_tag: Optional parameter that can contain your associate tag.
|
13
|
+
ecs_to_rss_wishlist: Url where the xslt transform lives. This has to be a public url. I've included a version in the gem.
|
14
|
+
|
15
|
+
== Rails
|
16
|
+
Add this to your Rakefile
|
17
|
+
require 'river/tasks'
|
18
|
+
|
19
|
+
Then you can sync in the ecs_to_rss_wishlist.xslt file:
|
20
|
+
rake river:sync
|
21
|
+
|
22
|
+
== Other
|
23
|
+
Here's some more information:
|
24
|
+
http://www.justinball.com/2009/10/30/river-amazon-wishlist-gem/
|
25
|
+
|
15
26
|
|
16
27
|
== Copyright
|
17
28
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0
|
1
|
+
0.1.0
|
data/river.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{river}
|
8
|
-
s.version = "0.0
|
8
|
+
s.version = "0.1.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Justin Ball"]
|
12
|
-
s.date = %q{2009-10-
|
12
|
+
s.date = %q{2009-10-31}
|
13
13
|
s.description = %q{Code to interact with the AWS API}
|
14
14
|
s.email = %q{justinball@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: river
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Ball
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-10-
|
12
|
+
date: 2009-10-31 00:00:00 -06:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|