asin 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. data/Gemfile.lock +4 -4
  2. data/lib/asin/client.rb +13 -2
  3. data/lib/asin/version.rb +1 -1
  4. data/spec/browse_node_spec.rb +0 -10
  5. data/spec/cart_spec.rb +0 -7
  6. data/spec/cassettes/add_items1430216263.yml +67 -0
  7. data/spec/cassettes/browse_node_599826.yml +38 -0
  8. data/spec/cassettes/clear_cart.yml +65 -0
  9. data/spec/cassettes/create_cart_with_asin_1430218150_and_other_asin_1430216263.yml +36 -0
  10. data/spec/cassettes/get_cart.yml +67 -0
  11. data/spec/cassettes/lookup_1430218150.yml +63 -0
  12. data/spec/cassettes/lookup_1430218150_item_class.yml +63 -0
  13. data/spec/cassettes/lookup_1430218150_mash.yml +63 -0
  14. data/spec/cassettes/lookup_1430218150_medium.yml +63 -0
  15. data/spec/cassettes/lookup_1430218150_rash.yml +63 -0
  16. data/spec/cassettes/lookup_1430218150_raw.yml +63 -0
  17. data/spec/cassettes/lookup_1430218150_small_and_alternateversions.yml +43 -0
  18. data/{cassettes → spec/cassettes}/lookup_multiple_asins.yml +12 -11
  19. data/spec/cassettes/search_index_music.yml +32 -0
  20. data/spec/cassettes/search_keywords.yml +479 -0
  21. data/{cassettes → spec/cassettes}/search_keywords_index_music.yml +36 -36
  22. data/spec/cassettes/search_keywords_key_index_music.yml +113 -0
  23. data/{cassettes → spec/cassettes}/search_keywords_single_result.yml +13 -13
  24. data/spec/cassettes/update_items.yml +70 -0
  25. data/spec/config_spec.rb +53 -0
  26. data/spec/search_spec.rb +13 -58
  27. data/spec/spec_helper.rb +13 -1
  28. metadata +134 -106
  29. data/cassettes/add_items1430216263.yml +0 -204
  30. data/cassettes/browse_node_599826.yml +0 -112
  31. data/cassettes/clear_cart.yml +0 -196
  32. data/cassettes/create_cart_with_asin_1430218150_and_other_asin_1430216263.yml +0 -36
  33. data/cassettes/get_cart.yml +0 -199
  34. data/cassettes/lookup_1430218150-0439023521_multiple.yml +0 -26
  35. data/cassettes/lookup_1430218150.yml +0 -184
  36. data/cassettes/lookup_1430218150_item_class.yml +0 -184
  37. data/cassettes/lookup_1430218150_mash.yml +0 -184
  38. data/cassettes/lookup_1430218150_medium.yml +0 -184
  39. data/cassettes/lookup_1430218150_rash.yml +0 -184
  40. data/cassettes/lookup_1430218150_raw.yml +0 -184
  41. data/cassettes/search_index_music.yml +0 -92
  42. data/cassettes/search_keywords.yml +0 -1513
  43. data/cassettes/search_keywords_key_index_music.yml +0 -231
  44. data/cassettes/update_items.yml +0 -208
data/spec/spec_helper.rb CHANGED
@@ -5,9 +5,10 @@ require 'asin'
5
5
  require 'pp'
6
6
  require 'httpclient'
7
7
  require 'vcr'
8
+ require 'httpi'
8
9
 
9
10
  VCR.config do |c|
10
- c.cassette_library_dir = 'cassettes'
11
+ c.cassette_library_dir = 'spec/cassettes'
11
12
  c.stub_with :webmock
12
13
  # c.default_cassette_options = { :record => :new_episodes }
13
14
  end
@@ -19,6 +20,17 @@ ANY_BROWSE_NODE_ID = '599826'
19
20
  RSpec.configure do |config|
20
21
  config.mock_with :rspec
21
22
  config.extend VCR::RSpec::Macros
23
+
24
+ config.before :each do
25
+ HTTPI.log = false
26
+
27
+ ASIN::Configuration.reset
28
+ @helper = ASIN::Client.instance
29
+ @helper.configure :logger => nil
30
+
31
+ @secret = ENV['ASIN_SECRET']
32
+ @key = ENV['ASIN_KEY']
33
+ end
22
34
  end
23
35
 
24
36
  # setup for travis-ci
metadata CHANGED
@@ -1,145 +1,149 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: asin
3
- version: !ruby/object:Gem::Version
4
- version: 0.6.1
3
+ version: !ruby/object:Gem::Version
5
4
  prerelease:
5
+ version: 0.6.2
6
6
  platform: ruby
7
- authors:
8
- - Peter Schröder
7
+ authors:
8
+ - "Peter Schr\xC3\xB6der"
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-24 00:00:00.000000000 +02:00
12
+
13
+ date: 2011-09-09 00:00:00 +02:00
13
14
  default_executable:
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
16
17
  name: crack
17
- requirement: &2153661220 !ruby/object:Gem::Requirement
18
+ prerelease: false
19
+ requirement: &id001 !ruby/object:Gem::Requirement
18
20
  none: false
19
- requirements:
21
+ requirements:
20
22
  - - ~>
21
- - !ruby/object:Gem::Version
23
+ - !ruby/object:Gem::Version
22
24
  version: 0.1.8
23
25
  type: :runtime
24
- prerelease: false
25
- version_requirements: *2153661220
26
- - !ruby/object:Gem::Dependency
26
+ version_requirements: *id001
27
+ - !ruby/object:Gem::Dependency
27
28
  name: hashie
28
- requirement: &2153660720 !ruby/object:Gem::Requirement
29
+ prerelease: false
30
+ requirement: &id002 !ruby/object:Gem::Requirement
29
31
  none: false
30
- requirements:
32
+ requirements:
31
33
  - - ~>
32
- - !ruby/object:Gem::Version
34
+ - !ruby/object:Gem::Version
33
35
  version: 1.0.0
34
36
  type: :runtime
35
- prerelease: false
36
- version_requirements: *2153660720
37
- - !ruby/object:Gem::Dependency
37
+ version_requirements: *id002
38
+ - !ruby/object:Gem::Dependency
38
39
  name: httpi
39
- requirement: &2153660260 !ruby/object:Gem::Requirement
40
+ prerelease: false
41
+ requirement: &id003 !ruby/object:Gem::Requirement
40
42
  none: false
41
- requirements:
43
+ requirements:
42
44
  - - ~>
43
- - !ruby/object:Gem::Version
45
+ - !ruby/object:Gem::Version
44
46
  version: 0.9.5
45
47
  type: :runtime
46
- prerelease: false
47
- version_requirements: *2153660260
48
- - !ruby/object:Gem::Dependency
48
+ version_requirements: *id003
49
+ - !ruby/object:Gem::Dependency
49
50
  name: httpclient
50
- requirement: &2153659800 !ruby/object:Gem::Requirement
51
+ prerelease: false
52
+ requirement: &id004 !ruby/object:Gem::Requirement
51
53
  none: false
52
- requirements:
54
+ requirements:
53
55
  - - ~>
54
- - !ruby/object:Gem::Version
56
+ - !ruby/object:Gem::Version
55
57
  version: 2.2.1
56
58
  type: :development
57
- prerelease: false
58
- version_requirements: *2153659800
59
- - !ruby/object:Gem::Dependency
59
+ version_requirements: *id004
60
+ - !ruby/object:Gem::Dependency
60
61
  name: rash
61
- requirement: &2153659340 !ruby/object:Gem::Requirement
62
+ prerelease: false
63
+ requirement: &id005 !ruby/object:Gem::Requirement
62
64
  none: false
63
- requirements:
65
+ requirements:
64
66
  - - ~>
65
- - !ruby/object:Gem::Version
67
+ - !ruby/object:Gem::Version
66
68
  version: 0.3.0
67
69
  type: :development
68
- prerelease: false
69
- version_requirements: *2153659340
70
- - !ruby/object:Gem::Dependency
70
+ version_requirements: *id005
71
+ - !ruby/object:Gem::Dependency
71
72
  name: rake
72
- requirement: &2153658880 !ruby/object:Gem::Requirement
73
+ prerelease: false
74
+ requirement: &id006 !ruby/object:Gem::Requirement
73
75
  none: false
74
- requirements:
76
+ requirements:
75
77
  - - ~>
76
- - !ruby/object:Gem::Version
78
+ - !ruby/object:Gem::Version
77
79
  version: 0.9.2
78
80
  type: :development
79
- prerelease: false
80
- version_requirements: *2153658880
81
- - !ruby/object:Gem::Dependency
81
+ version_requirements: *id006
82
+ - !ruby/object:Gem::Dependency
82
83
  name: httpclient
83
- requirement: &2153658420 !ruby/object:Gem::Requirement
84
+ prerelease: false
85
+ requirement: &id007 !ruby/object:Gem::Requirement
84
86
  none: false
85
- requirements:
87
+ requirements:
86
88
  - - ~>
87
- - !ruby/object:Gem::Version
89
+ - !ruby/object:Gem::Version
88
90
  version: 2.2.1
89
91
  type: :development
90
- prerelease: false
91
- version_requirements: *2153658420
92
- - !ruby/object:Gem::Dependency
92
+ version_requirements: *id007
93
+ - !ruby/object:Gem::Dependency
93
94
  name: vcr
94
- requirement: &2153657960 !ruby/object:Gem::Requirement
95
+ prerelease: false
96
+ requirement: &id008 !ruby/object:Gem::Requirement
95
97
  none: false
96
- requirements:
98
+ requirements:
97
99
  - - ~>
98
- - !ruby/object:Gem::Version
100
+ - !ruby/object:Gem::Version
99
101
  version: 1.10.3
100
102
  type: :development
101
- prerelease: false
102
- version_requirements: *2153657960
103
- - !ruby/object:Gem::Dependency
103
+ version_requirements: *id008
104
+ - !ruby/object:Gem::Dependency
104
105
  name: webmock
105
- requirement: &2153657500 !ruby/object:Gem::Requirement
106
+ prerelease: false
107
+ requirement: &id009 !ruby/object:Gem::Requirement
106
108
  none: false
107
- requirements:
109
+ requirements:
108
110
  - - ~>
109
- - !ruby/object:Gem::Version
111
+ - !ruby/object:Gem::Version
110
112
  version: 1.6.4
111
113
  type: :development
112
- prerelease: false
113
- version_requirements: *2153657500
114
- - !ruby/object:Gem::Dependency
114
+ version_requirements: *id009
115
+ - !ruby/object:Gem::Dependency
115
116
  name: rspec
116
- requirement: &2153657040 !ruby/object:Gem::Requirement
117
+ prerelease: false
118
+ requirement: &id010 !ruby/object:Gem::Requirement
117
119
  none: false
118
- requirements:
120
+ requirements:
119
121
  - - ~>
120
- - !ruby/object:Gem::Version
122
+ - !ruby/object:Gem::Version
121
123
  version: 2.6.0
122
124
  type: :development
123
- prerelease: false
124
- version_requirements: *2153657040
125
- - !ruby/object:Gem::Dependency
125
+ version_requirements: *id010
126
+ - !ruby/object:Gem::Dependency
126
127
  name: fuubar
127
- requirement: &2153656580 !ruby/object:Gem::Requirement
128
+ prerelease: false
129
+ requirement: &id011 !ruby/object:Gem::Requirement
128
130
  none: false
129
- requirements:
131
+ requirements:
130
132
  - - ~>
131
- - !ruby/object:Gem::Version
133
+ - !ruby/object:Gem::Version
132
134
  version: 0.0.5
133
135
  type: :development
134
- prerelease: false
135
- version_requirements: *2153656580
136
+ version_requirements: *id011
136
137
  description: Amazon Simple INterface.
137
- email:
138
+ email:
138
139
  - phoetmail@googlemail.com
139
140
  executables: []
141
+
140
142
  extensions: []
143
+
141
144
  extra_rdoc_files: []
142
- files:
145
+
146
+ files:
143
147
  - .document
144
148
  - .gitignore
145
149
  - .rvmrc
@@ -149,25 +153,6 @@ files:
149
153
  - Gemfile.lock
150
154
  - README.rdoc
151
155
  - asin.gemspec
152
- - cassettes/add_items1430216263.yml
153
- - cassettes/browse_node_599826.yml
154
- - cassettes/clear_cart.yml
155
- - cassettes/create_cart_with_asin_1430218150_and_other_asin_1430216263.yml
156
- - cassettes/get_cart.yml
157
- - cassettes/lookup_1430218150-0439023521_multiple.yml
158
- - cassettes/lookup_1430218150.yml
159
- - cassettes/lookup_1430218150_item_class.yml
160
- - cassettes/lookup_1430218150_mash.yml
161
- - cassettes/lookup_1430218150_medium.yml
162
- - cassettes/lookup_1430218150_rash.yml
163
- - cassettes/lookup_1430218150_raw.yml
164
- - cassettes/lookup_multiple_asins.yml
165
- - cassettes/search_index_music.yml
166
- - cassettes/search_keywords.yml
167
- - cassettes/search_keywords_index_music.yml
168
- - cassettes/search_keywords_key_index_music.yml
169
- - cassettes/search_keywords_single_result.yml
170
- - cassettes/update_items.yml
171
156
  - lib/asin.rb
172
157
  - lib/asin/client.rb
173
158
  - lib/asin/configuration.rb
@@ -179,36 +164,79 @@ files:
179
164
  - spec/asin.yml
180
165
  - spec/browse_node_spec.rb
181
166
  - spec/cart_spec.rb
167
+ - spec/cassettes/add_items1430216263.yml
168
+ - spec/cassettes/browse_node_599826.yml
169
+ - spec/cassettes/clear_cart.yml
170
+ - spec/cassettes/create_cart_with_asin_1430218150_and_other_asin_1430216263.yml
171
+ - spec/cassettes/get_cart.yml
172
+ - spec/cassettes/lookup_1430218150.yml
173
+ - spec/cassettes/lookup_1430218150_item_class.yml
174
+ - spec/cassettes/lookup_1430218150_mash.yml
175
+ - spec/cassettes/lookup_1430218150_medium.yml
176
+ - spec/cassettes/lookup_1430218150_rash.yml
177
+ - spec/cassettes/lookup_1430218150_raw.yml
178
+ - spec/cassettes/lookup_1430218150_small_and_alternateversions.yml
179
+ - spec/cassettes/lookup_multiple_asins.yml
180
+ - spec/cassettes/search_index_music.yml
181
+ - spec/cassettes/search_keywords.yml
182
+ - spec/cassettes/search_keywords_index_music.yml
183
+ - spec/cassettes/search_keywords_key_index_music.yml
184
+ - spec/cassettes/search_keywords_single_result.yml
185
+ - spec/cassettes/update_items.yml
186
+ - spec/config_spec.rb
182
187
  - spec/search_spec.rb
183
188
  - spec/spec_helper.rb
184
189
  has_rdoc: true
185
190
  homepage: http://github.com/phoet/asin
186
191
  licenses: []
192
+
187
193
  post_install_message:
188
194
  rdoc_options: []
189
- require_paths:
195
+
196
+ require_paths:
190
197
  - lib
191
- required_ruby_version: !ruby/object:Gem::Requirement
198
+ required_ruby_version: !ruby/object:Gem::Requirement
192
199
  none: false
193
- requirements:
194
- - - ! '>='
195
- - !ruby/object:Gem::Version
196
- version: '0'
197
- required_rubygems_version: !ruby/object:Gem::Requirement
200
+ requirements:
201
+ - - ">="
202
+ - !ruby/object:Gem::Version
203
+ version: "0"
204
+ required_rubygems_version: !ruby/object:Gem::Requirement
198
205
  none: false
199
- requirements:
200
- - - ! '>='
201
- - !ruby/object:Gem::Version
202
- version: '0'
206
+ requirements:
207
+ - - ">="
208
+ - !ruby/object:Gem::Version
209
+ version: "0"
203
210
  requirements: []
211
+
204
212
  rubyforge_project: asin
205
213
  rubygems_version: 1.6.2
206
214
  signing_key:
207
215
  specification_version: 3
208
216
  summary: Simple interface to AWS Lookup, Search and Cart operations.
209
- test_files:
217
+ test_files:
210
218
  - spec/asin.yml
211
219
  - spec/browse_node_spec.rb
212
220
  - spec/cart_spec.rb
221
+ - spec/cassettes/add_items1430216263.yml
222
+ - spec/cassettes/browse_node_599826.yml
223
+ - spec/cassettes/clear_cart.yml
224
+ - spec/cassettes/create_cart_with_asin_1430218150_and_other_asin_1430216263.yml
225
+ - spec/cassettes/get_cart.yml
226
+ - spec/cassettes/lookup_1430218150.yml
227
+ - spec/cassettes/lookup_1430218150_item_class.yml
228
+ - spec/cassettes/lookup_1430218150_mash.yml
229
+ - spec/cassettes/lookup_1430218150_medium.yml
230
+ - spec/cassettes/lookup_1430218150_rash.yml
231
+ - spec/cassettes/lookup_1430218150_raw.yml
232
+ - spec/cassettes/lookup_1430218150_small_and_alternateversions.yml
233
+ - spec/cassettes/lookup_multiple_asins.yml
234
+ - spec/cassettes/search_index_music.yml
235
+ - spec/cassettes/search_keywords.yml
236
+ - spec/cassettes/search_keywords_index_music.yml
237
+ - spec/cassettes/search_keywords_key_index_music.yml
238
+ - spec/cassettes/search_keywords_single_result.yml
239
+ - spec/cassettes/update_items.yml
240
+ - spec/config_spec.rb
213
241
  - spec/search_spec.rb
214
242
  - spec/spec_helper.rb
@@ -1,204 +0,0 @@
1
- ---
2
- - !ruby/struct:VCR::HTTPInteraction
3
- request: !ruby/struct:VCR::Request
4
- method: :get
5
- uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=AKIAJFA5X7RTOKFNPVZQ&Item.0.ASIN=1430218150&Item.0.Quantity=1&Operation=CartCreate&Service=AWSECommerceService&Signature=60FIHegEQ1yDFysiNp+pUxXh/HL+azObnKByGS6zf0I=&Timestamp=2011-08-02T14:48:00Z&Version=2010-11-01
6
- body: !!null
7
- headers: !!null
8
- response: !ruby/struct:VCR::Response
9
- status: !ruby/struct:VCR::ResponseStatus
10
- code: 200
11
- message: OK
12
- headers:
13
- date:
14
- - Tue, 02 Aug 2011 14:49:24 GMT
15
- server:
16
- - Server
17
- content-type:
18
- - text/xml;charset=UTF-8
19
- vary:
20
- - Accept-Encoding,User-Agent
21
- nncoection:
22
- - close
23
- transfer-encoding:
24
- - chunked
25
- body: <?xml version="1.0" encoding="UTF-8"?><CartCreateResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2010-11-01"><OperationRequest><HTTPHeaders><Header
26
- Name="UserAgent" Value="Jakarta Commons-HttpClient/3.0.1"></Header></HTTPHeaders><RequestId>1ZB4KC0WMGKSZARGMCMG</RequestId><Arguments><Argument
27
- Name="Service" Value="AWSECommerceService"></Argument><Argument Name="Item.0.Quantity"
28
- Value="1"></Argument><Argument Name="Operation" Value="CartCreate"></Argument><Argument
29
- Name="Version" Value="2010-11-01"></Argument><Argument Name="Timestamp" Value="2011-08-02T14:48:00Z"></Argument><Argument
30
- Name="Item.0.ASIN" Value="1430218150"></Argument><Argument Name="Signature"
31
- Value="60FIHegEQ1yDFysiNp+pUxXh/HL+azObnKByGS6zf0I="></Argument><Argument Name="AWSAccessKeyId"
32
- Value="AKIAJFA5X7RTOKFNPVZQ"></Argument></Arguments><RequestProcessingTime>0.124288082122803</RequestProcessingTime></OperationRequest><Cart><Request><IsValid>True</IsValid><CartCreateRequest><Items><Item><ASIN>1430218150</ASIN><Quantity>1</Quantity></Item></Items></CartCreateRequest></Request><CartId>177-9222147-9237722</CartId><HMAC>v1WZTGLY5L5gCHUiOkprEe7Pglw=</HMAC><URLEncodedHMAC>v1WZTGLY5L5gCHUiOkprEe7Pglw%3D</URLEncodedHMAC><PurchaseURL>https://www.amazon.com/gp/cart/aws-merge.html?cart-id=177-9222147-9237722%26associate-id=ws%26hmac=v1WZTGLY5L5gCHUiOkprEe7Pglw=%26SubscriptionId=AKIAJFA5X7RTOKFNPVZQ%26MergeCart=False</PurchaseURL><SubTotal><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></SubTotal><CartItems><SubTotal><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></SubTotal><CartItem><CartItemId>U3G241HVLLB8N6</CartItemId><ASIN>1430218150</ASIN><MerchantId>ATVPDKIKX0DER</MerchantId><SellerId>A2R2RITDJNW1Q6</SellerId><SellerNickname>Amazon.com</SellerNickname><Quantity>1</Quantity><Title>Learn
33
- Objective-C on the Mac (Learn Series)</Title><ProductGroup>Book</ProductGroup><Price><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></Price><ItemTotal><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></ItemTotal></CartItem></CartItems></Cart></CartCreateResponse>
34
- http_version: '1.1'
35
- - !ruby/struct:VCR::HTTPInteraction
36
- request: !ruby/struct:VCR::Request
37
- method: :get
38
- uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=AKIAJFA5X7RTOKFNPVZQ&CartId=177-9222147-9237722&HMAC=v1WZTGLY5L5gCHUiOkprEe7Pglw=&Item.0.ASIN=1430216263&Item.0.Quantity=2&Operation=CartAdd&Service=AWSECommerceService&Signature=nxRfELPvxWwLet16yCaItfTU1HqH/naFlYvKSFZ1Xz0=&Timestamp=2011-08-02T14:48:00Z&Version=2010-11-01
39
- body: !!null
40
- headers: !!null
41
- response: !ruby/struct:VCR::Response
42
- status: !ruby/struct:VCR::ResponseStatus
43
- code: 200
44
- message: OK
45
- headers:
46
- date:
47
- - Tue, 02 Aug 2011 14:49:24 GMT
48
- server:
49
- - Server
50
- content-type:
51
- - text/xml;charset=UTF-8
52
- vary:
53
- - Accept-Encoding,User-Agent
54
- nncoection:
55
- - close
56
- transfer-encoding:
57
- - chunked
58
- body: ! '<?xml version="1.0" encoding="UTF-8"?><CartAddResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2010-11-01"><OperationRequest><HTTPHeaders><Header
59
- Name="UserAgent" Value="Jakarta Commons-HttpClient/3.0.1"></Header></HTTPHeaders><RequestId>08V46YZ9M4GP09CEEH4K</RequestId><Arguments><Argument
60
- Name="Service" Value="AWSECommerceService"></Argument><Argument Name="Item.0.Quantity"
61
- Value="2"></Argument><Argument Name="Operation" Value="CartAdd"></Argument><Argument
62
- Name="Version" Value="2010-11-01"></Argument><Argument Name="Timestamp" Value="2011-08-02T14:48:00Z"></Argument><Argument
63
- Name="Signature" Value="nxRfELPvxWwLet16yCaItfTU1HqH/naFlYvKSFZ1Xz0="></Argument><Argument
64
- Name="Item.0.ASIN" Value="1430216263"></Argument><Argument Name="HMAC" Value="v1WZTGLY5L5gCHUiOkprEe7Pglw="></Argument><Argument
65
- Name="CartId" Value="177-9222147-9237722"></Argument><Argument Name="AWSAccessKeyId"
66
- Value="AKIAJFA5X7RTOKFNPVZQ"></Argument></Arguments><RequestProcessingTime>0.0923361778259277</RequestProcessingTime></OperationRequest><Cart><Request><IsValid>True</IsValid><CartAddRequest><CartId>177-9222147-9237722</CartId><HMAC>v1WZTGLY5L5gCHUiOkprEe7Pglw=</HMAC><Items><Item><ASIN>1430216263</ASIN><Quantity>2</Quantity></Item></Items></CartAddRequest></Request><CartId>177-9222147-9237722</CartId><HMAC>v1WZTGLY5L5gCHUiOkprEe7Pglw=</HMAC><URLEncodedHMAC>v1WZTGLY5L5gCHUiOkprEe7Pglw%3D</URLEncodedHMAC><PurchaseURL>https://www.amazon.com/gp/cart/aws-merge.html?cart-id=177-9222147-9237722%26associate-id=ws%26hmac=v1WZTGLY5L5gCHUiOkprEe7Pglw=%26SubscriptionId=AKIAJFA5X7RTOKFNPVZQ%26MergeCart=False</PurchaseURL><SubTotal><Amount>7567</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$75.67</FormattedPrice></SubTotal><CartItems><SubTotal><Amount>7567</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$75.67</FormattedPrice></SubTotal><CartItem><CartItemId>U3CFEHHIPJNW3L</CartItemId><ASIN>1430216263</ASIN><MerchantId>ATVPDKIKX0DER</MerchantId><SellerId>A2R2RITDJNW1Q6</SellerId><SellerNickname>Amazon.com</SellerNickname><Quantity>2</Quantity><Title>Beginning
67
- iPhone Development: Exploring the iPhone SDK</Title><ProductGroup>Book</ProductGroup><Price><Amount>2639</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$26.39</FormattedPrice></Price><ItemTotal><Amount>5278</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$52.78</FormattedPrice></ItemTotal></CartItem><CartItem><CartItemId>U3G241HVLLB8N6</CartItemId><ASIN>1430218150</ASIN><MerchantId>ATVPDKIKX0DER</MerchantId><SellerId>A2R2RITDJNW1Q6</SellerId><SellerNickname>Amazon.com</SellerNickname><Quantity>1</Quantity><Title>Learn
68
- Objective-C on the Mac (Learn Series)</Title><ProductGroup>Book</ProductGroup><Price><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></Price><ItemTotal><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></ItemTotal></CartItem></CartItems></Cart></CartAddResponse>'
69
- http_version: '1.1'
70
- - !ruby/struct:VCR::HTTPInteraction
71
- request: !ruby/struct:VCR::Request
72
- method: :get
73
- uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=AKIAJFA5X7RTOKFNPVZQ&Item.0.ASIN=1430218150&Item.0.Quantity=1&Operation=CartCreate&Service=AWSECommerceService&Signature=60FIHegEQ1yDFysiNp+pUxXh/HL+azObnKByGS6zf0I=&Timestamp=2011-08-02T14:48:00Z&Version=2010-11-01
74
- body: !!null
75
- headers: !!null
76
- response: !ruby/struct:VCR::Response
77
- status: !ruby/struct:VCR::ResponseStatus
78
- code: 200
79
- message: OK
80
- headers:
81
- date:
82
- - Tue, 02 Aug 2011 14:49:37 GMT
83
- server:
84
- - Server
85
- content-type:
86
- - text/xml;charset=UTF-8
87
- vary:
88
- - Accept-Encoding,User-Agent
89
- nncoection:
90
- - close
91
- transfer-encoding:
92
- - chunked
93
- body: <?xml version="1.0" encoding="UTF-8"?><CartCreateResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2010-11-01"><OperationRequest><HTTPHeaders><Header
94
- Name="UserAgent" Value="Jakarta Commons-HttpClient/3.0.1"></Header></HTTPHeaders><RequestId>1R700YA3AVAECH1PBKF4</RequestId><Arguments><Argument
95
- Name="Service" Value="AWSECommerceService"></Argument><Argument Name="Item.0.Quantity"
96
- Value="1"></Argument><Argument Name="Operation" Value="CartCreate"></Argument><Argument
97
- Name="Version" Value="2010-11-01"></Argument><Argument Name="Timestamp" Value="2011-08-02T14:48:00Z"></Argument><Argument
98
- Name="Item.0.ASIN" Value="1430218150"></Argument><Argument Name="Signature"
99
- Value="60FIHegEQ1yDFysiNp+pUxXh/HL+azObnKByGS6zf0I="></Argument><Argument Name="AWSAccessKeyId"
100
- Value="AKIAJFA5X7RTOKFNPVZQ"></Argument></Arguments><RequestProcessingTime>0.136124134063721</RequestProcessingTime></OperationRequest><Cart><Request><IsValid>True</IsValid><CartCreateRequest><Items><Item><ASIN>1430218150</ASIN><Quantity>1</Quantity></Item></Items></CartCreateRequest></Request><CartId>176-5199702-6842055</CartId><HMAC>nFHufNv+VKMeJ2emQdeRc4wSOZE=</HMAC><URLEncodedHMAC>nFHufNv%2BVKMeJ2emQdeRc4wSOZE%3D</URLEncodedHMAC><PurchaseURL>https://www.amazon.com/gp/cart/aws-merge.html?cart-id=176-5199702-6842055%26associate-id=ws%26hmac=nFHufNv%2BVKMeJ2emQdeRc4wSOZE=%26SubscriptionId=AKIAJFA5X7RTOKFNPVZQ%26MergeCart=False</PurchaseURL><SubTotal><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></SubTotal><CartItems><SubTotal><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></SubTotal><CartItem><CartItemId>U3G241HVLLB8N6</CartItemId><ASIN>1430218150</ASIN><MerchantId>ATVPDKIKX0DER</MerchantId><SellerId>A2R2RITDJNW1Q6</SellerId><SellerNickname>Amazon.com</SellerNickname><Quantity>1</Quantity><Title>Learn
101
- Objective-C on the Mac (Learn Series)</Title><ProductGroup>Book</ProductGroup><Price><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></Price><ItemTotal><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></ItemTotal></CartItem></CartItems></Cart></CartCreateResponse>
102
- http_version: '1.1'
103
- - !ruby/struct:VCR::HTTPInteraction
104
- request: !ruby/struct:VCR::Request
105
- method: :get
106
- uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=AKIAJFA5X7RTOKFNPVZQ&CartId=176-5199702-6842055&HMAC=nFHufNv+VKMeJ2emQdeRc4wSOZE=&Item.0.ASIN=1430216263&Item.0.Quantity=2&Operation=CartAdd&Service=AWSECommerceService&Signature=1/vMYDfwLzlXd0REclhsqQ0mISWVsddvSEj4hdkRQ+E=&Timestamp=2011-08-02T14:48:00Z&Version=2010-11-01
107
- body: !!null
108
- headers: !!null
109
- response: !ruby/struct:VCR::Response
110
- status: !ruby/struct:VCR::ResponseStatus
111
- code: 200
112
- message: OK
113
- headers:
114
- date:
115
- - Tue, 02 Aug 2011 14:49:37 GMT
116
- server:
117
- - Server
118
- content-type:
119
- - text/xml;charset=UTF-8
120
- vary:
121
- - Accept-Encoding,User-Agent
122
- nncoection:
123
- - close
124
- transfer-encoding:
125
- - chunked
126
- body: ! '<?xml version="1.0" encoding="UTF-8"?><CartAddResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2010-11-01"><OperationRequest><HTTPHeaders><Header
127
- Name="UserAgent" Value="Jakarta Commons-HttpClient/3.0.1"></Header></HTTPHeaders><RequestId>0MJDMR1P3P4HAHCN4PC6</RequestId><Arguments><Argument
128
- Name="Service" Value="AWSECommerceService"></Argument><Argument Name="Item.0.Quantity"
129
- Value="2"></Argument><Argument Name="Signature" Value="1/vMYDfwLzlXd0REclhsqQ0mISWVsddvSEj4hdkRQ+E="></Argument><Argument
130
- Name="Item.0.ASIN" Value="1430216263"></Argument><Argument Name="HMAC" Value="nFHufNv+VKMeJ2emQdeRc4wSOZE="></Argument><Argument
131
- Name="Operation" Value="CartAdd"></Argument><Argument Name="CartId" Value="176-5199702-6842055"></Argument><Argument
132
- Name="AWSAccessKeyId" Value="AKIAJFA5X7RTOKFNPVZQ"></Argument><Argument Name="Version"
133
- Value="2010-11-01"></Argument><Argument Name="Timestamp" Value="2011-08-02T14:48:00Z"></Argument></Arguments><RequestProcessingTime>0.105334997177124</RequestProcessingTime></OperationRequest><Cart><Request><IsValid>True</IsValid><CartAddRequest><CartId>176-5199702-6842055</CartId><HMAC>nFHufNv+VKMeJ2emQdeRc4wSOZE=</HMAC><Items><Item><ASIN>1430216263</ASIN><Quantity>2</Quantity></Item></Items></CartAddRequest></Request><CartId>176-5199702-6842055</CartId><HMAC>nFHufNv+VKMeJ2emQdeRc4wSOZE=</HMAC><URLEncodedHMAC>nFHufNv%2BVKMeJ2emQdeRc4wSOZE%3D</URLEncodedHMAC><PurchaseURL>https://www.amazon.com/gp/cart/aws-merge.html?cart-id=176-5199702-6842055%26associate-id=ws%26hmac=nFHufNv%2BVKMeJ2emQdeRc4wSOZE=%26SubscriptionId=AKIAJFA5X7RTOKFNPVZQ%26MergeCart=False</PurchaseURL><SubTotal><Amount>7567</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$75.67</FormattedPrice></SubTotal><CartItems><SubTotal><Amount>7567</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$75.67</FormattedPrice></SubTotal><CartItem><CartItemId>U3CFEHHIPJNW3L</CartItemId><ASIN>1430216263</ASIN><MerchantId>ATVPDKIKX0DER</MerchantId><SellerId>A2R2RITDJNW1Q6</SellerId><SellerNickname>Amazon.com</SellerNickname><Quantity>2</Quantity><Title>Beginning
134
- iPhone Development: Exploring the iPhone SDK</Title><ProductGroup>Book</ProductGroup><Price><Amount>2639</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$26.39</FormattedPrice></Price><ItemTotal><Amount>5278</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$52.78</FormattedPrice></ItemTotal></CartItem><CartItem><CartItemId>U3G241HVLLB8N6</CartItemId><ASIN>1430218150</ASIN><MerchantId>ATVPDKIKX0DER</MerchantId><SellerId>A2R2RITDJNW1Q6</SellerId><SellerNickname>Amazon.com</SellerNickname><Quantity>1</Quantity><Title>Learn
135
- Objective-C on the Mac (Learn Series)</Title><ProductGroup>Book</ProductGroup><Price><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></Price><ItemTotal><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></ItemTotal></CartItem></CartItems></Cart></CartAddResponse>'
136
- http_version: '1.1'
137
- - !ruby/struct:VCR::HTTPInteraction
138
- request: !ruby/struct:VCR::Request
139
- method: :get
140
- uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=AKIAJFA5X7RTOKFNPVZQ&Item.0.ASIN=1430218150&Item.0.Quantity=1&Operation=CartCreate&Service=AWSECommerceService&Signature=60FIHegEQ1yDFysiNp+pUxXh/HL+azObnKByGS6zf0I=&Timestamp=2011-08-02T14:48:00Z&Version=2010-11-01
141
- body: !!null
142
- headers: !!null
143
- response: !ruby/struct:VCR::Response
144
- status: !ruby/struct:VCR::ResponseStatus
145
- code: 200
146
- message: OK
147
- headers:
148
- date:
149
- - Tue, 02 Aug 2011 14:54:00 GMT
150
- server:
151
- - Server
152
- content-type:
153
- - text/xml;charset=UTF-8
154
- vary:
155
- - Accept-Encoding,User-Agent
156
- nncoection:
157
- - close
158
- transfer-encoding:
159
- - chunked
160
- body: <?xml version="1.0" encoding="UTF-8"?><CartCreateResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2010-11-01"><OperationRequest><HTTPHeaders><Header
161
- Name="UserAgent" Value="Jakarta Commons-HttpClient/3.0.1"></Header></HTTPHeaders><RequestId>1J8GF60SDT98NWKBZ94J</RequestId><Arguments><Argument
162
- Name="Service" Value="AWSECommerceService"></Argument><Argument Name="Item.0.Quantity"
163
- Value="1"></Argument><Argument Name="Operation" Value="CartCreate"></Argument><Argument
164
- Name="Version" Value="2010-11-01"></Argument><Argument Name="Timestamp" Value="2011-08-02T14:48:00Z"></Argument><Argument
165
- Name="Item.0.ASIN" Value="1430218150"></Argument><Argument Name="Signature"
166
- Value="60FIHegEQ1yDFysiNp+pUxXh/HL+azObnKByGS6zf0I="></Argument><Argument Name="AWSAccessKeyId"
167
- Value="AKIAJFA5X7RTOKFNPVZQ"></Argument></Arguments><RequestProcessingTime>0.165292978286743</RequestProcessingTime></OperationRequest><Cart><Request><IsValid>True</IsValid><CartCreateRequest><Items><Item><ASIN>1430218150</ASIN><Quantity>1</Quantity></Item></Items></CartCreateRequest></Request><CartId>190-1723894-3951037</CartId><HMAC>PHzjr4ZAjftkgnnoO+ygRKuYDx8=</HMAC><URLEncodedHMAC>PHzjr4ZAjftkgnnoO%2BygRKuYDx8%3D</URLEncodedHMAC><PurchaseURL>https://www.amazon.com/gp/cart/aws-merge.html?cart-id=190-1723894-3951037%26associate-id=ws%26hmac=PHzjr4ZAjftkgnnoO%2BygRKuYDx8=%26SubscriptionId=AKIAJFA5X7RTOKFNPVZQ%26MergeCart=False</PurchaseURL><SubTotal><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></SubTotal><CartItems><SubTotal><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></SubTotal><CartItem><CartItemId>U3G241HVLLB8N6</CartItemId><ASIN>1430218150</ASIN><MerchantId>ATVPDKIKX0DER</MerchantId><SellerId>A2R2RITDJNW1Q6</SellerId><SellerNickname>Amazon.com</SellerNickname><Quantity>1</Quantity><Title>Learn
168
- Objective-C on the Mac (Learn Series)</Title><ProductGroup>Book</ProductGroup><Price><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></Price><ItemTotal><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></ItemTotal></CartItem></CartItems></Cart></CartCreateResponse>
169
- http_version: '1.1'
170
- - !ruby/struct:VCR::HTTPInteraction
171
- request: !ruby/struct:VCR::Request
172
- method: :get
173
- uri: http://webservices.amazon.com:80/onca/xml?AWSAccessKeyId=AKIAJFA5X7RTOKFNPVZQ&CartId=190-1723894-3951037&HMAC=PHzjr4ZAjftkgnnoO+ygRKuYDx8=&Item.0.ASIN=1430216263&Item.0.Quantity=2&Operation=CartAdd&Service=AWSECommerceService&Signature=kZU17NGGpaWaOos06xXy7cS95yhBsioIT2gsEiDk4VI=&Timestamp=2011-08-02T14:48:00Z&Version=2010-11-01
174
- body: !!null
175
- headers: !!null
176
- response: !ruby/struct:VCR::Response
177
- status: !ruby/struct:VCR::ResponseStatus
178
- code: 200
179
- message: OK
180
- headers:
181
- date:
182
- - Tue, 02 Aug 2011 14:54:00 GMT
183
- server:
184
- - Server
185
- content-type:
186
- - text/xml;charset=UTF-8
187
- vary:
188
- - Accept-Encoding,User-Agent
189
- nncoection:
190
- - close
191
- transfer-encoding:
192
- - chunked
193
- body: ! '<?xml version="1.0" encoding="UTF-8"?><CartAddResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2010-11-01"><OperationRequest><HTTPHeaders><Header
194
- Name="UserAgent" Value="Jakarta Commons-HttpClient/3.0.1"></Header></HTTPHeaders><RequestId>1HY03MG90VA7JYBP1XQ9</RequestId><Arguments><Argument
195
- Name="Service" Value="AWSECommerceService"></Argument><Argument Name="Item.0.Quantity"
196
- Value="2"></Argument><Argument Name="Operation" Value="CartAdd"></Argument><Argument
197
- Name="Version" Value="2010-11-01"></Argument><Argument Name="Timestamp" Value="2011-08-02T14:48:00Z"></Argument><Argument
198
- Name="Signature" Value="kZU17NGGpaWaOos06xXy7cS95yhBsioIT2gsEiDk4VI="></Argument><Argument
199
- Name="Item.0.ASIN" Value="1430216263"></Argument><Argument Name="HMAC" Value="PHzjr4ZAjftkgnnoO+ygRKuYDx8="></Argument><Argument
200
- Name="CartId" Value="190-1723894-3951037"></Argument><Argument Name="AWSAccessKeyId"
201
- Value="AKIAJFA5X7RTOKFNPVZQ"></Argument></Arguments><RequestProcessingTime>0.163787841796875</RequestProcessingTime></OperationRequest><Cart><Request><IsValid>True</IsValid><CartAddRequest><CartId>190-1723894-3951037</CartId><HMAC>PHzjr4ZAjftkgnnoO+ygRKuYDx8=</HMAC><Items><Item><ASIN>1430216263</ASIN><Quantity>2</Quantity></Item></Items></CartAddRequest></Request><CartId>190-1723894-3951037</CartId><HMAC>PHzjr4ZAjftkgnnoO+ygRKuYDx8=</HMAC><URLEncodedHMAC>PHzjr4ZAjftkgnnoO%2BygRKuYDx8%3D</URLEncodedHMAC><PurchaseURL>https://www.amazon.com/gp/cart/aws-merge.html?cart-id=190-1723894-3951037%26associate-id=ws%26hmac=PHzjr4ZAjftkgnnoO%2BygRKuYDx8=%26SubscriptionId=AKIAJFA5X7RTOKFNPVZQ%26MergeCart=False</PurchaseURL><SubTotal><Amount>7567</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$75.67</FormattedPrice></SubTotal><CartItems><SubTotal><Amount>7567</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$75.67</FormattedPrice></SubTotal><CartItem><CartItemId>U3CFEHHIPJNW3L</CartItemId><ASIN>1430216263</ASIN><MerchantId>ATVPDKIKX0DER</MerchantId><SellerId>A2R2RITDJNW1Q6</SellerId><SellerNickname>Amazon.com</SellerNickname><Quantity>2</Quantity><Title>Beginning
202
- iPhone Development: Exploring the iPhone SDK</Title><ProductGroup>Book</ProductGroup><Price><Amount>2639</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$26.39</FormattedPrice></Price><ItemTotal><Amount>5278</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$52.78</FormattedPrice></ItemTotal></CartItem><CartItem><CartItemId>U3G241HVLLB8N6</CartItemId><ASIN>1430218150</ASIN><MerchantId>ATVPDKIKX0DER</MerchantId><SellerId>A2R2RITDJNW1Q6</SellerId><SellerNickname>Amazon.com</SellerNickname><Quantity>1</Quantity><Title>Learn
203
- Objective-C on the Mac (Learn Series)</Title><ProductGroup>Book</ProductGroup><Price><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></Price><ItemTotal><Amount>2289</Amount><CurrencyCode>USD</CurrencyCode><FormattedPrice>$22.89</FormattedPrice></ItemTotal></CartItem></CartItems></Cart></CartAddResponse>'
204
- http_version: '1.1'