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.
Files changed (4) hide show
  1. data/README.rdoc +23 -12
  2. data/VERSION +1 -1
  3. data/river.gemspec +2 -2
  4. metadata +2 -2
data/README.rdoc CHANGED
@@ -1,17 +1,28 @@
1
1
  = river
2
2
 
3
- Description goes here.
4
-
5
- == Note on Patches/Pull Requests
6
-
7
- * Fork the project.
8
- * Make your feature addition or bug fix.
9
- * Add tests for it. This is important so I don't break it in a
10
- future version unintentionally.
11
- * Commit, do not mess with rakefile, version, or history.
12
- (if you want to have your own version, that is fine but
13
- bump version in a commit by itself I can ignore when I pull)
14
- * Send me a pull request. Bonus points for topic branches.
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
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.1"
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-29}
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.1
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-29 00:00:00 -06:00
12
+ date: 2009-10-31 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency