kernow-ruby-aaws 0.5.4 → 0.7.1

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/test/ts_aws.rb CHANGED
@@ -1,12 +1,24 @@
1
- # $Id: ts_aws.rb,v 1.4 2008/06/16 20:07:19 ianmacd Exp $
1
+ # $Id: ts_aws.rb,v 1.17 2009/06/03 23:25:33 ianmacd Exp $
2
2
  #
3
3
 
4
4
  require 'test/unit'
5
5
  require 'tc_amazon'
6
6
  require 'tc_aws'
7
- require 'tc_serialisation'
8
- require 'tc_operation_request'
7
+ require 'tc_browse_node_lookup'
8
+ require 'tc_customer_content_lookup'
9
+ require 'tc_help'
10
+ require 'tc_item_lookup'
9
11
  require 'tc_item_search'
12
+ require 'tc_list_lookup'
13
+ require 'tc_list_search'
10
14
  require 'tc_multiple_operation'
11
-
15
+ require 'tc_operation_request'
16
+ require 'tc_seller_listing_lookup'
17
+ require 'tc_seller_listing_search'
18
+ require 'tc_seller_lookup'
19
+ require 'tc_serialisation'
20
+ require 'tc_similarity_lookup'
12
21
  require 'tc_shopping_cart'
22
+ require 'tc_tag_lookup'
23
+ require 'tc_transaction_lookup'
24
+ require 'tc_vehicle_operations'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kernow-ruby-aaws
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Macdonald
@@ -10,62 +10,85 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2008-12-04 00:00:00 -08:00
13
+ date: 2009-08-17 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies: []
16
16
 
17
- description: Ruby/AWS is a Ruby language library that makes it relatively easy for the programmer to retrieve information from the popular Amazon Web site via Amazon's Associates Web Services (AWS).
18
- email: jamie@kernowsoul.com
17
+ description: Ruby interface to Amazon Associates Web Services
18
+ email: ian@caliban.org
19
19
  executables: []
20
20
 
21
21
  extensions: []
22
22
 
23
23
  extra_rdoc_files:
24
- - INSTALL
25
24
  - README
26
- - NEWS
27
- files:
28
- - setup.rb
29
- - ruby-aws.spec
30
- - ruby-aws.gemspec
31
25
  - README.rdoc
26
+ files:
27
+ - COPYING
28
+ - INSTALL
29
+ - NEWS
32
30
  - README
31
+ - README.rdoc
33
32
  - Rakefile
34
- - NEWS
33
+ - VERSION
34
+ - example/batch_operation
35
+ - example/browse_node_lookup1
36
+ - example/customer_content_lookup1
37
+ - example/customer_content_search1
38
+ - example/example1
39
+ - example/help1
40
+ - example/item_lookup1
41
+ - example/item_lookup2
42
+ - example/item_search1
43
+ - example/item_search2
44
+ - example/item_search3
45
+ - example/list_lookup1
46
+ - example/list_search1
47
+ - example/multiple_operation1
48
+ - example/seller_listing_lookup1
49
+ - example/seller_listing_search1
50
+ - example/seller_lookup1
51
+ - example/shopping_cart1
52
+ - example/similarity_lookup1
53
+ - example/tag_lookup1
54
+ - example/transaction_lookup1
55
+ - example/vehicle_search
35
56
  - lib/amazon.rb
36
- - lib/amazon/locale.rb
37
57
  - lib/amazon/aws.rb
38
- - lib/amazon/aws/shoppingcart.rb
39
- - lib/amazon/aws/search.rb
40
58
  - lib/amazon/aws/cache.rb
41
- - INSTALL
42
- - example/transaction_lookup1
43
- - example/tag_lookup1
44
- - example/similarity_lookup1
45
- - example/shopping_cart1
46
- - example/seller_lookup1
47
- - example/seller_listing_search1
48
- - example/seller_listing_lookup1
49
- - example/multiple_operation1
50
- - example/list_search1
51
- - example/list_lookup1
52
- - example/item_search3
53
- - example/item_search2
54
- - example/item_search1
55
- - example/item_lookup2
56
- - example/item_lookup1
57
- - example/help1
58
- - example/example1
59
- - example/customer_content_search1
60
- - example/customer_content_lookup1
61
- - example/browse_node_lookup1
62
- - COPYING
59
+ - lib/amazon/aws/search.rb
60
+ - lib/amazon/aws/shoppingcart.rb
61
+ - lib/amazon/locale.rb
62
+ - ruby-aaws.gemspec
63
+ - setup.rb
64
+ - test/setup.rb
65
+ - test/tc_amazon.rb
66
+ - test/tc_aws.rb
67
+ - test/tc_browse_node_lookup.rb
68
+ - test/tc_customer_content_lookup.rb
69
+ - test/tc_help.rb
70
+ - test/tc_item_lookup.rb
71
+ - test/tc_item_search.rb
72
+ - test/tc_list_lookup.rb
73
+ - test/tc_list_search.rb
74
+ - test/tc_multiple_operation.rb
75
+ - test/tc_operation_request.rb
76
+ - test/tc_seller_listing_lookup.rb
77
+ - test/tc_seller_listing_search.rb
78
+ - test/tc_seller_lookup.rb
79
+ - test/tc_serialisation.rb
80
+ - test/tc_shopping_cart.rb
81
+ - test/tc_similarity_lookup.rb
82
+ - test/tc_tag_lookup.rb
83
+ - test/tc_transaction_lookup.rb
84
+ - test/tc_vehicle_operations.rb
85
+ - test/ts_aws.rb
63
86
  has_rdoc: true
64
- homepage: http://github.com/kernowsoul/ruby-aws
87
+ homepage: http://www.caliban.org/ruby/ruby-aws/
88
+ licenses:
65
89
  post_install_message:
66
90
  rdoc_options:
67
- - --main
68
- - README.txt
91
+ - --charset=UTF-8
69
92
  require_paths:
70
93
  - lib
71
94
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -83,17 +106,30 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
106
  requirements: []
84
107
 
85
108
  rubyforge_project:
86
- rubygems_version: 1.2.0
109
+ rubygems_version: 1.3.5
87
110
  signing_key:
88
111
  specification_version: 2
89
- summary: Interface for Amazon's Associates Web Services (AWS).
112
+ summary: Ruby interface to Amazon Associates Web Services
90
113
  test_files:
91
- - test/ts_aws.rb
92
- - test/tc_shopping_cart.rb
93
- - test/tc_serialisation.rb
94
- - test/tc_operation_request.rb
95
- - test/tc_multiple_operation.rb
96
- - test/tc_item_search.rb
97
- - test/tc_aws.rb
98
- - test/tc_amazon.rb
99
114
  - test/setup.rb
115
+ - test/tc_amazon.rb
116
+ - test/tc_aws.rb
117
+ - test/tc_browse_node_lookup.rb
118
+ - test/tc_customer_content_lookup.rb
119
+ - test/tc_help.rb
120
+ - test/tc_item_lookup.rb
121
+ - test/tc_item_search.rb
122
+ - test/tc_list_lookup.rb
123
+ - test/tc_list_search.rb
124
+ - test/tc_multiple_operation.rb
125
+ - test/tc_operation_request.rb
126
+ - test/tc_seller_listing_lookup.rb
127
+ - test/tc_seller_listing_search.rb
128
+ - test/tc_seller_lookup.rb
129
+ - test/tc_serialisation.rb
130
+ - test/tc_shopping_cart.rb
131
+ - test/tc_similarity_lookup.rb
132
+ - test/tc_tag_lookup.rb
133
+ - test/tc_transaction_lookup.rb
134
+ - test/tc_vehicle_operations.rb
135
+ - test/ts_aws.rb
data/ruby-aws.gemspec DELETED
@@ -1,57 +0,0 @@
1
- Gem::Specification.new do |s|
2
- s.name = "ruby-aaws"
3
- s.version = "0.5.4"
4
- s.date = "2008-12-04"
5
- s.summary = "Interface for Amazon's Associates Web Services (AWS)."
6
- s.email = "jamie@kernowsoul.com"
7
- s.homepage = "http://github.com/kernowsoul/ruby-aws"
8
- s.description = "Ruby/AWS is a Ruby language library that makes it relatively easy for the programmer to retrieve information from the popular Amazon Web site via Amazon's Associates Web Services (AWS)."
9
- s.has_rdoc = true
10
- s.authors = ["Ian Macdonald", "Jamie Dyer"]
11
- s.files = ["setup.rb",
12
- "ruby-aws.spec",
13
- "ruby-aws.gemspec",
14
- "README.rdoc",
15
- "README",
16
- "Rakefile",
17
- "NEWS",
18
- "lib/amazon.rb",
19
- "lib/amazon/locale.rb",
20
- "lib/amazon/aws.rb",
21
- "lib/amazon/aws/shoppingcart.rb",
22
- "lib/amazon/aws/search.rb",
23
- "lib/amazon/aws/cache.rb",
24
- "INSTALL",
25
- "example/transaction_lookup1",
26
- "example/tag_lookup1",
27
- "example/similarity_lookup1",
28
- "example/shopping_cart1",
29
- "example/seller_lookup1",
30
- "example/seller_listing_search1",
31
- "example/seller_listing_lookup1",
32
- "example/multiple_operation1",
33
- "example/list_search1",
34
- "example/list_lookup1",
35
- "example/item_search3",
36
- "example/item_search2",
37
- "example/item_search1",
38
- "example/item_lookup2",
39
- "example/item_lookup1",
40
- "example/help1",
41
- "example/example1",
42
- "example/customer_content_search1",
43
- "example/customer_content_lookup1",
44
- "example/browse_node_lookup1",
45
- "COPYING"]
46
- s.test_files = ["test/ts_aws.rb",
47
- "test/tc_shopping_cart.rb",
48
- "test/tc_serialisation.rb",
49
- "test/tc_operation_request.rb",
50
- "test/tc_multiple_operation.rb",
51
- "test/tc_item_search.rb",
52
- "test/tc_aws.rb",
53
- "test/tc_amazon.rb",
54
- "test/setup.rb"]
55
- s.rdoc_options = ["--main", "README.txt"]
56
- s.extra_rdoc_files = ["INSTALL", "README", "NEWS"]
57
- end
data/ruby-aws.spec DELETED
@@ -1,177 +0,0 @@
1
- # $Id: ruby-aws.spec,v 1.16 2008/10/03 12:00:57 ianmacd Exp $
2
-
3
- %{!?ruby_sitelib: %define ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")}
4
- %{!?ruby_rdoc_sitepath: %define ruby_rdoc_sitepath %(ruby -rrdoc/ri/ri_paths -e "puts RI::Paths::PATH[1]")}
5
- %define rubyabi 1.8
6
-
7
- Name: ruby-aws
8
- Version: 0.4.4
9
- Release: 1%{?dist}
10
- Summary: Ruby library interface to Amazon Associates Web Services
11
- Group: Development/Languages
12
-
13
- License: GPL+
14
- URL: http://www.caliban.org/ruby/ruby-aws/
15
- Source0: http://www.caliban.org/files/ruby/%{name}-%{version}.tar.gz
16
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
17
-
18
- BuildArch: noarch
19
- BuildRequires: ruby, ruby-rdoc
20
- #BuildRequires: ruby-devel
21
- Requires: ruby >= 1.8.6
22
- Provides: ruby(aws) = %{version}-%{release}
23
- # Obsoletes but not Provides, because Ruby/Amazon API is obsolete.
24
- Obsoletes: ruby-amazon
25
-
26
- %description
27
- Ruby/AWS is a Ruby language library that allows the programmer to retrieve
28
- information from Amazon via the Associate Web Service. In addition to the
29
- original amazon.com site, amazon.co.uk, amazon.de, amazon.fr, amazon.ca and
30
- amazon.co.jp are also supported.
31
-
32
- In addition to wrapping the AWS API, Ruby/AWS provides geolocation of clients,
33
- transparent fetching of all hits for a given search (not just the first 10)
34
- and a host of other features.
35
-
36
- Ruby/AWS supersedes Ruby/Amazon.
37
-
38
-
39
- %package doc
40
- Summary: Documentation for %{name}
41
- Group: Documentation
42
-
43
- %description doc
44
- This package contains documentation for %{name}.
45
-
46
-
47
- %prep
48
- %setup -q
49
-
50
- %build
51
- ruby setup.rb config \
52
- --prefix=%{_prefix} \
53
- --site-ruby=%{ruby_sitelib}
54
- ruby setup.rb setup
55
-
56
- %install
57
- %{__rm} -rf $RPM_BUILD_ROOT
58
-
59
- ruby setup.rb install \
60
- --prefix=$RPM_BUILD_ROOT
61
-
62
- %{__chmod} ugo-x example/*
63
-
64
- rdoc -r -o $RPM_BUILD_ROOT%{ruby_rdoc_sitepath} -x CVS lib
65
- %{__rm} $RPM_BUILD_ROOT%{ruby_rdoc_sitepath}/created.rid
66
-
67
- %clean
68
- %{__rm} -rf $RPM_BUILD_ROOT
69
-
70
- %files
71
- %defattr(-,root,root,-)
72
- %doc COPYING
73
- %doc NEWS
74
- %doc README*
75
-
76
- %{ruby_sitelib}/amazon.rb
77
- %{ruby_sitelib}/amazon/
78
-
79
- %files doc
80
- %defattr(-,root,root,-)
81
- %doc example/
82
- %doc test/
83
- %doc %{ruby_rdoc_sitepath}/
84
-
85
- %changelog
86
- * Fri Oct 3 2008 Ian Macdonald <ian@caliban.org> 0.4.4-1
87
- - 0.4.4
88
- - $AMAZONRCFILE may now be defined with an alternative to .amazonrc.
89
- - $AMAZONRCDIR and typical Windows paths were not being used as alternatives
90
- to $HOME.
91
-
92
- * Wed Sep 11 2008 Ian Macdonald <ian@caliban.org> 0.4.2-1
93
- - 0.4.2
94
- - AWS API revision 2008-08-19 now used for all calls.
95
- - Exception class Amazon::Config::ConfigError was not defined.
96
- - Config file lines may now contain leading whitespace.
97
- - ALL_PAGES now takes into account the type of search operation being
98
- performed.
99
-
100
- * Mon Aug 18 2008 Ian Macdonald <ian@caliban.org> 0.4.1-1
101
- - 0.4.1
102
- - Exception class Amazon::AWS::HTTPError was not defined.
103
- - Scan extra locations besides $HOME for .amazonrc (for Windows users).
104
-
105
- * Sat Jul 5 2008 Ian Macdonald <ian@caliban.org> 0.4.0-1
106
- - 0.4.0
107
- - AWS API revision 2008-04-07 now used for all calls.
108
- - Remote shopping-cart operation, CartGet, is now implemented.
109
- - A bug in Cart#modify was fixed.
110
-
111
- * Mon Jun 23 2008 Ian Macdonald <ian@caliban.org> 0.3.3-1
112
- - 0.3.3
113
- - Minor code clean-up.
114
- - Rakefile added for packaging Ruby/AWS as a RubyGems gem.
115
-
116
- * Tue Jun 17 2008 Ian Macdonald <ian@caliban.org> 0.3.2-1
117
- - 0.3.2
118
- - Solved Marshal and YAML deserialisation issues, which occur because objects
119
- dumped from dynamically defined classes can't be reinstantiated at
120
- load-time, when those classes no longer exist.
121
-
122
- * Tue Jun 10 2008 Ian Macdonald <ian@caliban.org> 0.3.1-1
123
- - 0.3.1
124
- - The 'Save For Later' area of remote shopping-carts is now implemented. See
125
- Cart#cart_modify and the @saved_for_later_items attribute of Cart objects.
126
- - New methods, Cart#active? and Cart#saved_for_later?
127
- - Cart#include? now also takes the Save For Later area of the cart into
128
- account.
129
- - Numerous bug fixes.
130
-
131
- * Mon May 19 2008 Ian Macdonald <ian@caliban.org> 0.3.0-1
132
- - 0.3.0
133
- - Remote shopping-carts are now implemented. Newly supported operations are
134
- CartCreate, CartAdd, CartModify and CartClear.
135
- - New iterator method, AWSObject#each, yields each |property, value| of the
136
- AWSObject.
137
- - AWS API revision 2008-04-07 now used for all calls.
138
- - Error-checking improved.
139
- - Minor bug fixes.
140
- - RDoc documentation for ri is now part of the doc subpackage.
141
- - test/ added to doc subpackage.
142
- - BuildRequires ruby-rdoc.
143
-
144
- * Mon Apr 28 2008 Ian Macdonald <ian@caliban.org> 0.2.0-1
145
- - 0.2.0
146
- - Removed BuildRequires and Requires for ruby(abi).
147
- - New operations supported: CustomerContentLookup, CustomerContentSearch,
148
- Help, ListLookup, SellerListingSearch, SellerLookup, SimilarityLookup,
149
- TagLookup, TransactionLookup.
150
- - Symbols can now be used instead of Strings as parameters when instantiating
151
- operation and response group objects.
152
- - Image objects can now retrieve their images and optionally overlay them with
153
- percentage discount icons.
154
- - Compatibility fixes for Ruby 1.9.
155
- - Dozens of other fixes and minor improvements.
156
-
157
- * Sat Apr 11 2008 Ian Macdonald <ian@caliban.org> 0.1.0-1
158
- - 0.1.0
159
- - Completely rewritten XML parser.
160
- - Multiple operations are now implemented.
161
- - Numerous fixes and improvements.
162
- - Large scale code clean-up.
163
- - Much more documentation added.
164
- - Use Fedora spec file by Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp>.
165
-
166
- * Fri Mar 28 2008 Ian Macdonald <ian@caliban.org> 0.0.2-1
167
- - 0.0.2
168
- - Allow multiple response groups to be passed to ResponseGroup.new.
169
- - Minor bug fixes.
170
-
171
- * Mon Mar 24 2008 Ian Macdonald <ian@caliban.org> 0.0.1-2
172
- - 0.0.1
173
- - First public (alpha) release.
174
-
175
- * Sun Mar 23 2008 Ian Macdonald <ian@caliban.org> 0.0.1-1
176
- - Private test release only.
177
-