river 0.1.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2009 Justin Ball
1
+ Copyright (c) 2009-2010 Tatemae
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -13,10 +13,8 @@ A gem to talk to Amazon Web Services to get wishlist feeds. See it live: http:/
13
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
14
 
15
15
  == Rails
16
- Add this to your Rakefile
17
- require 'river/tasks'
18
16
 
19
- Then you can sync in the ecs_to_rss_wishlist.xslt file:
17
+ Sync in the ecs_to_rss_wishlist.xslt file:
20
18
  rake river:sync
21
19
 
22
20
  == Other
@@ -26,4 +24,4 @@ http://www.justinball.com/2009/10/30/river-amazon-wishlist-gem/
26
24
 
27
25
  == Copyright
28
26
 
29
- Copyright (c) 2009 Justin Ball. See LICENSE for details.
27
+ Copyright (c) 2009-2010 Tatemae. See LICENSE for details.
data/Rakefile CHANGED
@@ -7,11 +7,12 @@ begin
7
7
  gem.name = "river"
8
8
  gem.summary = "Talk to Amazon"
9
9
  gem.description = "Code to interact with the AWS API"
10
- gem.email = "justinball@gmail.com"
10
+ gem.email = "justin@tatemae.com"
11
11
  gem.homepage = "http://github.com/jbasdf/river"
12
- gem.authors = ["Justin Ball"]
13
- gem.add_development_dependency "thoughtbot-shoulda"
14
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
12
+ gem.authors = ["Justin Ball", "Joel Duffin"]
13
+ gem.add_dependency "rails"
14
+ gem.add_dependency "httparty"
15
+ gem.add_development_dependency "shoulda"
15
16
  end
16
17
  Jeweler::GemcutterTasks.new
17
18
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 3.0.0
@@ -3,3 +3,4 @@ require 'openssl'
3
3
 
4
4
  require 'river/amazon'
5
5
  require 'river/amazon_request'
6
+ require 'river/railtie'
@@ -0,0 +1,8 @@
1
+ require 'river'
2
+ require 'rails'
3
+
4
+ module River
5
+ class RailTie < ::Rails::Railtie
6
+ # Added so that rake tasks get included in your rails app.
7
+ end
8
+ end
@@ -0,0 +1,7 @@
1
+ namespace :river do
2
+ desc "Sync files from river."
3
+ task :sync do
4
+ path = File.join(File.dirname(__FILE__), *%w[.. ..])
5
+ system "rsync -ruv #{path}/public ."
6
+ end
7
+ end
@@ -1,17 +1,17 @@
1
1
  # Generated by jeweler
2
- # DO NOT EDIT THIS FILE
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{river}
8
- s.version = "0.1.0"
8
+ s.version = "3.0.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Justin Ball"]
12
- s.date = %q{2009-10-31}
11
+ s.authors = ["Justin Ball", "Joel Duffin"]
12
+ s.date = %q{2010-09-11}
13
13
  s.description = %q{Code to interact with the AWS API}
14
- s.email = %q{justinball@gmail.com}
14
+ s.email = %q{justin@tatemae.com}
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE",
17
17
  "README.rdoc"
@@ -26,18 +26,17 @@ Gem::Specification.new do |s|
26
26
  "lib/river.rb",
27
27
  "lib/river/amazon.rb",
28
28
  "lib/river/amazon_request.rb",
29
- "lib/river/tasks.rb",
29
+ "lib/river/railtie.rb",
30
+ "lib/tasks/river.rake",
30
31
  "public/ecs_to_rss-wishlist.xslt",
31
- "rails/init.rb",
32
32
  "river.gemspec",
33
- "tasks/river_tasks.rake",
34
33
  "test/river_test.rb",
35
34
  "test/test_helper.rb"
36
35
  ]
37
36
  s.homepage = %q{http://github.com/jbasdf/river}
38
37
  s.rdoc_options = ["--charset=UTF-8"]
39
38
  s.require_paths = ["lib"]
40
- s.rubygems_version = %q{1.3.5}
39
+ s.rubygems_version = %q{1.3.7}
41
40
  s.summary = %q{Talk to Amazon}
42
41
  s.test_files = [
43
42
  "test/river_test.rb",
@@ -48,12 +47,19 @@ Gem::Specification.new do |s|
48
47
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
49
48
  s.specification_version = 3
50
49
 
51
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
52
- s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
50
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
51
+ s.add_runtime_dependency(%q<rails>, [">= 0"])
52
+ s.add_runtime_dependency(%q<httparty>, [">= 0"])
53
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
53
54
  else
54
- s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
55
+ s.add_dependency(%q<rails>, [">= 0"])
56
+ s.add_dependency(%q<httparty>, [">= 0"])
57
+ s.add_dependency(%q<shoulda>, [">= 0"])
55
58
  end
56
59
  else
57
- s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
60
+ s.add_dependency(%q<rails>, [">= 0"])
61
+ s.add_dependency(%q<httparty>, [">= 0"])
62
+ s.add_dependency(%q<shoulda>, [">= 0"])
58
63
  end
59
64
  end
65
+
@@ -4,6 +4,7 @@ require 'shoulda'
4
4
 
5
5
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
6
6
  $LOAD_PATH.unshift(File.dirname(__FILE__))
7
+
7
8
  require 'river'
8
9
 
9
10
  class Test::Unit::TestCase
metadata CHANGED
@@ -1,29 +1,68 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: river
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ hash: 7
5
+ prerelease: false
6
+ segments:
7
+ - 3
8
+ - 0
9
+ - 0
10
+ version: 3.0.0
5
11
  platform: ruby
6
12
  authors:
7
13
  - Justin Ball
14
+ - Joel Duffin
8
15
  autorequire:
9
16
  bindir: bin
10
17
  cert_chain: []
11
18
 
12
- date: 2009-10-31 00:00:00 -06:00
19
+ date: 2010-09-11 00:00:00 -06:00
13
20
  default_executable:
14
21
  dependencies:
15
22
  - !ruby/object:Gem::Dependency
16
- name: thoughtbot-shoulda
17
- type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
23
+ name: rails
24
+ prerelease: false
25
+ requirement: &id001 !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ hash: 3
31
+ segments:
32
+ - 0
33
+ version: "0"
34
+ type: :runtime
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
37
+ name: httparty
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
20
41
  requirements:
21
42
  - - ">="
22
43
  - !ruby/object:Gem::Version
44
+ hash: 3
45
+ segments:
46
+ - 0
23
47
  version: "0"
24
- version:
48
+ type: :runtime
49
+ version_requirements: *id002
50
+ - !ruby/object:Gem::Dependency
51
+ name: shoulda
52
+ prerelease: false
53
+ requirement: &id003 !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ hash: 3
59
+ segments:
60
+ - 0
61
+ version: "0"
62
+ type: :development
63
+ version_requirements: *id003
25
64
  description: Code to interact with the AWS API
26
- email: justinball@gmail.com
65
+ email: justin@tatemae.com
27
66
  executables: []
28
67
 
29
68
  extensions: []
@@ -41,11 +80,10 @@ files:
41
80
  - lib/river.rb
42
81
  - lib/river/amazon.rb
43
82
  - lib/river/amazon_request.rb
44
- - lib/river/tasks.rb
83
+ - lib/river/railtie.rb
84
+ - lib/tasks/river.rake
45
85
  - public/ecs_to_rss-wishlist.xslt
46
- - rails/init.rb
47
86
  - river.gemspec
48
- - tasks/river_tasks.rake
49
87
  - test/river_test.rb
50
88
  - test/test_helper.rb
51
89
  has_rdoc: true
@@ -58,21 +96,27 @@ rdoc_options:
58
96
  require_paths:
59
97
  - lib
60
98
  required_ruby_version: !ruby/object:Gem::Requirement
99
+ none: false
61
100
  requirements:
62
101
  - - ">="
63
102
  - !ruby/object:Gem::Version
103
+ hash: 3
104
+ segments:
105
+ - 0
64
106
  version: "0"
65
- version:
66
107
  required_rubygems_version: !ruby/object:Gem::Requirement
108
+ none: false
67
109
  requirements:
68
110
  - - ">="
69
111
  - !ruby/object:Gem::Version
112
+ hash: 3
113
+ segments:
114
+ - 0
70
115
  version: "0"
71
- version:
72
116
  requirements: []
73
117
 
74
118
  rubyforge_project:
75
- rubygems_version: 1.3.5
119
+ rubygems_version: 1.3.7
76
120
  signing_key:
77
121
  specification_version: 3
78
122
  summary: Talk to Amazon
@@ -1,21 +0,0 @@
1
- require 'rake'
2
- require 'rake/tasklib'
3
-
4
- module River
5
- class Tasks < ::Rake::TaskLib
6
- def initialize
7
- define
8
- end
9
- private
10
- def define
11
- namespace :river do
12
- desc "Sync files from river."
13
- task :sync do
14
- path = File.join(File.dirname(__FILE__), *%w[.. ..])
15
- system "rsync -ruv #{path}/public ."
16
- end
17
- end
18
- end
19
- end
20
- end
21
- River::Tasks.new
@@ -1 +0,0 @@
1
- require 'river'
@@ -1 +0,0 @@
1
- require File.join(File.dirname(__FILE__), '/../lib/river/tasks')