!RBIX 6235178746665710376 x M 1 n n x 10 __script__ i 37 5 7 0 64 47 49 1 1 15 99 7 2 65 49 3 2 13 99 12 7 4 12 7 5 12 65 12 49 6 4 15 49 4 0 15 2 11 I 6 I 0 I 0 I 0 n p 7 s 11 spec_helper x 7 require x 13 AmazonProduct x 11 open_module x 15 __module_init__ M 1 n n x 13 AmazonProduct i 13 5 66 5 45 0 1 56 2 47 50 3 1 11 I 3 I 0 I 0 I 0 n p 4 x 7 Request n M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 140 5 56 0 47 50 1 0 15 5 7 2 64 56 3 47 50 4 1 15 5 7 5 64 56 6 47 50 4 1 15 5 7 7 64 56 8 47 50 4 1 15 5 7 9 64 56 10 47 50 4 1 15 5 7 11 64 56 12 47 50 4 1 15 5 7 13 64 56 14 47 50 4 1 15 5 7 15 64 56 16 47 50 4 1 15 5 7 17 64 56 18 47 50 4 1 15 5 7 19 64 56 20 47 50 4 1 15 5 7 21 64 56 22 47 50 4 1 15 5 7 23 64 56 24 47 50 4 1 15 5 7 25 64 56 26 47 50 4 1 11 I 4 I 0 I 0 I 0 I -2 p 27 M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 31 45 0 1 13 71 2 47 9 24 47 49 3 0 13 7 4 64 47 49 5 1 15 8 30 7 4 64 49 2 1 11 I 4 I 0 I 0 I 0 I -2 p 6 x 7 Request n x 3 new x 8 allocate s 2 us x 10 initialize p 3 I 0 I 5 I 1f x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 7 subject s 8 .adapter M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 11 5 7 0 64 56 1 47 50 2 1 11 I 4 I 0 I 0 I 0 I -2 p 3 s 21 defaults to :net_http M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 17 45 0 1 49 2 0 5 7 3 47 49 4 1 49 5 1 11 I 4 I 0 I 0 I 0 I -2 p 6 x 7 Request n x 7 adapter x 8 net_http x 3 eql x 6 should p 3 I 0 I 9 I 11 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 2 it p 3 I 0 I 8 I b x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 8 describe s 9 .adapter= M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 30 5 56 0 47 50 1 0 15 5 7 2 64 56 3 47 50 4 1 15 5 7 5 64 56 6 47 50 4 1 11 I 4 I 0 I 0 I 0 I -2 p 7 M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 13 45 0 1 7 2 13 18 2 49 3 1 15 11 I 4 I 0 I 0 I 0 I -2 p 4 x 7 Request n x 8 net_http x 8 adapter= p 3 I 0 I f I d x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 5 after s 16 sets the adapter M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 64 45 0 1 7 2 13 18 2 49 3 1 15 15 45 0 4 49 5 0 5 7 2 47 49 6 1 49 7 1 15 26 93 0 15 29 45 0 7 8 98 9 1 30 8 51 25 92 0 27 8 56 15 7 10 8 57 1 5 48 11 49 7 1 11 I 5 I 0 I 0 I 0 I -2 p 12 x 7 Request n x 4 curb x 8 adapter= n x 7 adapter x 3 eql x 6 should x 4 Curl x 16 vm_const_defined s 8 constant x 7 be_true p 7 I 0 I 13 I d I 14 I 1e I 15 I 40 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 2 it s 49 raises an error when specified an invalid adapter M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 19 5 56 0 47 50 1 0 5 45 2 3 47 49 4 1 49 5 1 11 I 4 I 0 I 0 I 0 I -2 p 6 M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 13 45 0 1 7 2 13 18 2 49 3 1 15 11 I 4 I 0 I 0 I 0 I -2 p 4 x 7 Request n x 3 foo x 8 adapter= p 3 I 0 I 1a I d x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 6 expect x 13 ArgumentError n x 11 raise_error x 2 to p 7 I 0 I 19 I 7 I 1b I f I 19 I 13 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 p 7 I 0 I e I 8 I 12 I 13 I 18 I 1e x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 s 3 #<< M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 63 5 56 0 47 50 1 0 15 5 7 2 64 56 3 47 50 4 1 15 5 7 5 64 56 6 47 50 4 1 15 5 7 7 64 56 8 47 50 4 1 15 5 7 9 64 56 10 47 50 4 1 15 5 7 11 64 56 12 47 50 4 1 11 I 4 I 0 I 0 I 0 I -2 p 13 M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 9 5 48 0 56 1 50 2 0 11 I 3 I 0 I 0 I 0 I -2 p 3 x 7 subject M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 30 57 19 0 15 20 0 7 0 64 13 18 2 49 1 1 15 15 20 0 7 2 64 13 18 2 49 3 1 15 11 I 5 I 1 I 1 I 1 n p 4 s 3 foo x 4 key= s 3 bar x 4 tag= p 7 I 0 I 21 I 4 I 22 I 11 I 23 I 1e x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 1 x 1 c x 9 configure p 3 I 0 I 21 I 9 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 6 before s 32 merges parameters into the query M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 49 5 48 0 44 43 1 79 49 2 1 13 7 3 64 7 4 64 49 5 2 15 49 6 1 15 5 48 0 49 7 0 7 3 64 49 8 1 5 7 4 64 47 49 9 1 49 10 1 11 I 6 I 0 I 0 I 0 I -2 p 11 x 7 subject x 4 Hash x 16 new_from_literal s 3 Key s 5 value x 3 []= x 2 << x 6 params x 2 [] x 3 eql x 6 should p 5 I 0 I 28 I 19 I 29 I 31 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 2 it s 14 camelizes keys M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 42 5 48 0 44 43 1 79 49 2 1 13 7 3 7 4 64 49 5 2 15 49 6 1 15 5 48 0 49 7 0 5 7 8 64 47 49 9 1 49 10 1 11 I 6 I 0 I 0 I 0 I -2 p 11 x 7 subject x 4 Hash x 16 new_from_literal x 8 some_key s 5 value x 3 []= x 2 << x 6 params s 7 SomeKey x 8 have_key x 6 should p 5 I 0 I 2d I 18 I 2e I 2a x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 s 38 does not modify already-camelized keys M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 43 5 48 0 44 43 1 79 49 2 1 13 7 3 64 7 4 64 49 5 2 15 49 6 1 15 5 48 0 49 7 0 5 7 3 64 47 49 8 1 49 9 1 11 I 6 I 0 I 0 I 0 I -2 p 10 x 7 subject x 4 Hash x 16 new_from_literal s 7 SomeKey s 5 value x 3 []= x 2 << x 6 params x 8 have_key x 6 should p 5 I 0 I 32 I 19 I 33 I 2b x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 s 30 casts numeric values to string M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 47 5 48 0 44 43 1 79 49 2 1 13 7 3 64 79 49 4 2 15 49 5 1 15 5 48 0 49 6 0 7 3 64 49 7 1 5 7 8 64 47 49 9 1 49 10 1 11 I 6 I 0 I 0 I 0 I -2 p 11 x 7 subject x 4 Hash x 16 new_from_literal s 3 Key x 3 []= x 2 << x 6 params x 2 [] s 1 1 x 3 eql x 6 should p 5 I 0 I 37 I 17 I 38 I 2f x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 s 31 converts array values to string M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 54 5 48 0 44 43 1 79 49 2 1 13 7 3 64 7 4 64 7 5 64 35 2 49 6 2 15 49 7 1 15 5 48 0 49 8 0 7 3 64 49 9 1 5 7 10 64 47 49 11 1 49 12 1 11 I 7 I 0 I 0 I 0 I -2 p 13 x 7 subject x 4 Hash x 16 new_from_literal s 3 Key s 3 foo s 3 bar x 3 []= x 2 << x 6 params x 2 [] s 7 foo,bar x 3 eql x 6 should p 5 I 0 I 3c I 1e I 3d I 36 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 p 13 I 0 I 20 I 8 I 27 I 13 I 2c I 1e I 31 I 29 I 36 I 34 I 3b I 3f x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 s 5 #aget M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 40 5 56 0 47 50 1 0 15 5 56 2 47 50 3 0 15 5 7 4 64 7 5 56 6 47 50 7 2 15 5 7 8 64 56 9 47 50 7 1 11 I 5 I 0 I 0 I 0 I -2 p 10 M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 9 5 48 0 56 1 50 2 0 11 I 3 I 0 I 0 I 0 I -2 p 3 x 7 subject M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 43 57 19 0 15 20 0 7 0 64 13 18 2 49 1 1 15 15 20 0 7 2 64 13 18 2 49 3 1 15 15 20 0 7 4 64 13 18 2 49 5 1 15 11 I 5 I 1 I 1 I 1 n p 6 s 3 foo x 4 key= s 3 bar x 7 secret= s 3 baz x 4 tag= p 9 I 0 I 43 I 4 I 44 I 11 I 45 I 1e I 46 I 2b x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 1 x 1 c x 9 configure p 3 I 0 I 43 I 9 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 6 before M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 13 45 0 1 7 2 13 18 2 49 3 1 15 11 I 4 I 0 I 0 I 0 I -2 p 4 x 7 Request n x 8 net_http x 8 adapter= p 3 I 0 I 4b I d x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 5 after s 20 when using Synchrony x 9 synchrony M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 19 5 56 0 47 50 1 0 15 5 7 2 64 56 3 47 50 4 1 11 I 4 I 0 I 0 I 0 I -2 p 5 M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 13 45 0 1 7 2 13 18 2 49 3 1 15 11 I 4 I 0 I 0 I 0 I -2 p 4 x 7 Request n x 9 synchrony x 8 adapter= p 3 I 0 I 50 I d x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 6 before s 17 yields a response M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 27 1 19 0 15 45 0 1 56 2 50 3 0 15 20 0 5 45 4 5 47 49 6 1 49 7 1 11 I 5 I 1 I 0 I 0 I -2 p 8 x 2 EM n M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 16 5 48 0 56 1 50 2 0 15 45 3 4 49 5 0 11 I 3 I 0 I 0 I 0 I -2 p 6 x 7 subject M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 10 57 19 0 15 20 0 22 2 0 11 I 3 I 1 I 1 I 1 n p 0 p 3 I 0 I 56 I a x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 1 x 4 resp x 4 aget x 2 EM n x 4 stop p 5 I 0 I 56 I 9 I 57 I 10 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 9 synchrony x 8 Response n x 4 be_a x 6 should p 7 I 0 I 54 I 4 I 55 I d I 5a I 1b x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 1 x 8 response x 2 it p 5 I 0 I 4f I 8 I 53 I 13 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 7 context s 26 when using another adapter M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 11 5 7 0 64 56 1 47 50 2 1 11 I 4 I 0 I 0 I 0 I -2 p 3 s 15 raises an error M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 19 5 56 0 47 50 1 0 5 45 2 3 47 49 4 1 49 5 1 11 I 4 I 0 I 0 I 0 I -2 p 6 M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 9 5 48 0 56 1 50 2 0 11 I 3 I 0 I 0 I 0 I -2 p 3 x 7 subject M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 2 1 11 I 2 I 0 I 0 I 0 I -2 p 0 p 3 I 0 I 61 I 2 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 4 aget p 3 I 0 I 61 I 9 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 6 expect x 9 TypeError n x 11 raise_error x 2 to p 7 I 0 I 60 I 7 I 62 I f I 60 I 13 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 2 it p 3 I 0 I 5f I b x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 p 9 I 0 I 42 I 8 I 4a I 10 I 4e I 1d I 5e I 28 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 s 10 #configure M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 11 5 7 0 64 56 1 47 50 2 1 11 I 4 I 0 I 0 I 0 I -2 p 3 s 17 yields the locale M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 27 1 19 0 15 5 48 0 56 1 50 2 0 15 20 0 5 45 3 4 47 49 5 1 49 6 1 11 I 5 I 1 I 0 I 0 I -2 p 7 x 7 subject M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 10 57 19 0 15 20 0 22 1 0 11 I 3 I 1 I 1 I 1 n p 0 p 5 I 0 I 6a I 4 I 6b I a x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 1 x 1 c x 9 configure x 6 Locale n x 4 be_a x 6 should p 7 I 0 I 69 I 4 I 6a I d I 6d I 1b x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 1 x 7 yielded x 2 it p 3 I 0 I 68 I b x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 s 4 #get M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 46 5 7 0 64 56 1 47 50 2 1 15 5 7 3 64 56 4 47 50 5 1 15 5 7 6 64 56 7 47 50 5 1 15 5 7 8 64 7 9 56 10 47 50 5 2 11 I 5 I 0 I 0 I 0 I -2 p 11 s 15 an HTTP request M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 27 5 56 0 47 50 1 0 15 5 56 2 47 50 3 0 15 5 7 4 64 56 5 47 50 6 1 11 I 4 I 0 I 0 I 0 I -2 p 7 M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 9 5 48 0 56 1 50 2 0 11 I 3 I 0 I 0 I 0 I -2 p 3 x 7 subject M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 43 57 19 0 15 20 0 7 0 64 13 18 2 49 1 1 15 15 20 0 7 2 64 13 18 2 49 3 1 15 15 20 0 7 4 64 13 18 2 49 5 1 15 11 I 5 I 1 I 1 I 1 n p 6 s 3 foo x 4 key= s 3 bar x 7 secret= s 3 baz x 4 tag= p 9 I 0 I 74 I 4 I 75 I 11 I 76 I 1e I 77 I 2b x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 1 x 1 c x 9 configure p 3 I 0 I 74 I 9 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 6 before M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 13 45 0 1 7 2 13 18 2 49 3 1 15 11 I 4 I 0 I 0 I 0 I -2 p 4 x 7 Request n x 8 net_http x 8 adapter= p 3 I 0 I 7c I d x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 5 after s 18 returns a response M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 40 45 0 1 49 2 0 7 3 83 4 9 22 45 5 6 56 7 50 3 0 8 39 5 48 8 49 9 0 5 45 10 11 47 49 12 1 49 13 1 11 I 4 I 0 I 0 I 0 I -2 p 14 x 7 Request n x 7 adapter x 9 synchrony x 2 == x 2 EM n M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 25 5 48 0 49 1 0 5 45 2 3 47 49 4 1 49 5 1 15 45 6 7 49 8 0 11 I 4 I 0 I 0 I 0 I -2 p 9 x 7 subject x 3 get x 8 Response n x 4 be_a x 6 should x 2 EM n x 4 stop p 5 I 0 I 82 I 12 I 83 I 19 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 7 subject x 3 get x 8 Response n x 4 be_a x 6 should p 9 I 0 I 80 I c I 81 I 16 I 86 I 27 I 0 I 28 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 2 it p 7 I 0 I 73 I 8 I 7b I 10 I 7f I 1b x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 19 shared_examples_for s 20 when using Net::HTTP M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 9 5 7 0 64 47 49 1 1 11 I 3 I 0 I 0 I 0 I -2 p 2 s 15 an HTTP request x 15 it_behaves_like p 3 I 0 I 8c I 9 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 7 context s 15 when using Curb M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 17 5 56 0 47 50 1 0 15 5 7 2 64 47 49 3 1 11 I 3 I 0 I 0 I 0 I -2 p 4 M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 13 45 0 1 7 2 13 18 2 49 3 1 15 11 I 4 I 0 I 0 I 0 I -2 p 4 x 7 Request n x 4 curb x 8 adapter= p 3 I 0 I 91 I d x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 6 before s 15 an HTTP request x 15 it_behaves_like p 5 I 0 I 90 I 8 I 94 I 11 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 s 20 when using Synchrony x 9 synchrony M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 17 5 56 0 47 50 1 0 15 5 7 2 64 47 49 3 1 11 I 3 I 0 I 0 I 0 I -2 p 4 M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 13 45 0 1 7 2 13 18 2 49 3 1 15 11 I 4 I 0 I 0 I 0 I -2 p 4 x 7 Request n x 9 synchrony x 8 adapter= p 3 I 0 I 99 I d x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 6 before s 15 an HTTP request x 15 it_behaves_like p 5 I 0 I 98 I 8 I 9c I 11 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 p 9 I 0 I 72 I b I 8b I 16 I 8f I 21 I 97 I 2e x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 s 7 #params M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 22 5 7 0 64 56 1 47 50 2 1 15 5 7 3 64 56 4 47 50 2 1 11 I 4 I 0 I 0 I 0 I -2 p 5 s 33 when no credentials are specified M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 11 5 7 0 64 56 1 47 50 2 1 11 I 4 I 0 I 0 I 0 I -2 p 3 s 15 raises an error M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 38 5 56 0 47 50 1 0 5 45 2 3 47 49 4 1 49 5 1 15 5 56 6 47 50 1 0 5 45 7 8 47 49 4 1 49 5 1 11 I 4 I 0 I 0 I 0 I -2 p 9 M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 7 5 48 0 49 1 0 11 I 2 I 0 I 0 I 0 I -2 p 2 x 7 subject x 6 params p 3 I 0 I a4 I 7 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 6 expect x 10 MissingKey n x 11 raise_error x 2 to M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 16 5 48 0 56 1 50 2 0 15 5 48 0 49 3 0 11 I 3 I 0 I 0 I 0 I -2 p 4 x 7 subject M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 17 57 19 0 15 20 0 7 0 64 13 18 2 49 1 1 15 11 I 5 I 1 I 1 I 1 n p 2 s 3 foo x 4 key= p 5 I 0 I a8 I 4 I a9 I 11 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 1 x 1 c x 9 configure x 6 params p 5 I 0 I a8 I 9 I ab I 10 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 10 MissingTag n p 13 I 0 I a3 I 7 I a5 I f I a3 I 13 I a7 I 1a I ac I 22 I a7 I 26 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 2 it p 3 I 0 I a2 I b x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 7 context s 30 when credentials are specified M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 63 5 56 0 47 50 1 0 15 5 7 2 64 56 3 47 50 4 1 15 5 7 5 64 56 6 47 50 4 1 15 5 7 7 64 56 8 47 50 4 1 15 5 7 9 64 56 10 47 50 11 1 15 5 7 12 64 56 13 47 50 11 1 11 I 4 I 0 I 0 I 0 I -2 p 14 M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 9 5 48 0 56 1 50 2 0 11 I 3 I 0 I 0 I 0 I -2 p 3 x 7 subject M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 30 57 19 0 15 20 0 7 0 64 13 18 2 49 1 1 15 15 20 0 7 2 64 13 18 2 49 3 1 15 11 I 5 I 1 I 1 I 1 n p 4 s 3 foo x 4 key= s 3 bar x 4 tag= p 7 I 0 I b2 I 4 I b3 I 11 I b4 I 1e x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 1 x 1 c x 9 configure p 3 I 0 I b2 I 9 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 6 before s 30 returns the request parameters M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 24 5 48 0 49 1 0 7 2 64 49 3 1 5 7 4 64 47 49 5 1 49 6 1 11 I 4 I 0 I 0 I 0 I -2 p 7 x 7 subject x 6 params s 7 Service x 2 [] s 19 AWSECommerceService x 3 eql x 6 should p 3 I 0 I b9 I 18 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 2 it s 20 includes credentials M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 36 5 48 0 49 1 0 5 7 2 64 47 49 3 1 49 4 1 15 5 48 0 49 1 0 5 7 5 64 47 49 3 1 49 4 1 11 I 4 I 0 I 0 I 0 I -2 p 6 x 7 subject x 6 params s 14 AWSAccessKeyId x 8 have_key x 6 should s 12 AssociateTag p 5 I 0 I bd I 12 I be I 24 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 s 20 includes a timestamp M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 18 5 48 0 49 1 0 5 7 2 64 47 49 3 1 49 4 1 11 I 4 I 0 I 0 I 0 I -2 p 5 x 7 subject x 6 params s 9 Timestamp x 8 have_key x 6 should p 3 I 0 I c2 I 12 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 s 32 when no API version is specified M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 11 5 7 0 64 56 1 47 50 2 1 11 I 4 I 0 I 0 I 0 I -2 p 3 s 32 includes the current API version M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 26 5 48 0 49 1 0 7 2 64 49 3 1 5 45 4 5 43 6 47 49 7 1 49 8 1 11 I 4 I 0 I 0 I 0 I -2 p 9 x 7 subject x 6 params s 7 Version x 2 [] x 7 Request n x 19 CURRENT_API_VERSION x 3 eql x 6 should p 3 I 0 I c7 I 1a x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 2 it p 3 I 0 I c6 I b x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 7 context s 32 when an API version is specified M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 11 5 7 0 64 56 1 47 50 2 1 11 I 4 I 0 I 0 I 0 I -2 p 3 s 25 includes that API version M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 49 5 48 0 44 43 1 79 49 2 1 13 7 3 64 7 4 64 49 5 2 15 49 6 1 15 5 48 0 49 7 0 7 3 64 49 8 1 5 7 4 64 47 49 9 1 49 10 1 11 I 6 I 0 I 0 I 0 I -2 p 11 x 7 subject x 4 Hash x 16 new_from_literal s 7 Version s 3 foo x 3 []= x 2 << x 6 params x 2 [] x 3 eql x 6 should p 5 I 0 I cd I 19 I ce I 31 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 2 it p 3 I 0 I cc I b x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 p 13 I 0 I b1 I 8 I b8 I 13 I bc I 1e I c1 I 29 I c5 I 34 I cb I 3f x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 p 5 I 0 I a1 I b I b0 I 16 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 s 6 #query M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 41 5 56 0 47 50 1 0 15 5 7 2 64 56 3 47 50 4 1 15 5 7 5 64 56 6 47 50 4 1 15 5 7 7 64 56 8 47 50 4 1 11 I 4 I 0 I 0 I 0 I -2 p 9 M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 9 5 48 0 56 1 50 2 0 11 I 3 I 0 I 0 I 0 I -2 p 3 x 7 subject M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 30 57 19 0 15 20 0 7 0 64 13 18 2 49 1 1 15 15 20 0 7 2 64 13 18 2 49 3 1 15 11 I 5 I 1 I 1 I 1 n p 4 s 3 foo x 4 key= s 3 bar x 4 tag= p 7 I 0 I d6 I 4 I d7 I 11 I d8 I 1e x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 1 x 1 c x 9 configure p 3 I 0 I d6 I 9 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 6 before s 36 canonicalizes the request parameters M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 33 5 48 0 49 1 0 5 7 2 13 70 9 25 15 44 43 3 7 4 78 49 5 2 6 2 47 49 6 1 49 7 1 11 I 6 I 0 I 0 I 0 I -2 p 8 x 7 subject x 5 query n x 6 Regexp s 8 \w+=\w+& x 3 new x 5 match x 6 should p 3 I 0 I dd I 21 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 2 it s 28 sorts the request parameters M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 56 5 48 0 44 43 1 79 49 2 1 13 7 3 64 79 49 4 2 15 49 5 1 15 5 48 0 49 6 0 5 7 7 13 70 9 48 15 44 43 8 7 9 78 49 10 2 6 7 47 49 11 1 49 12 1 11 I 6 I 0 I 0 I 0 I -2 p 13 x 7 subject x 4 Hash x 16 new_from_literal s 1 A x 3 []= x 2 << x 5 query n x 6 Regexp s 5 ^A=1& x 3 new x 5 match x 6 should p 5 I 0 I e1 I 17 I e2 I 38 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 s 18 URL-encodes values M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 57 5 48 0 44 43 1 79 49 2 1 13 7 3 7 4 64 49 5 2 15 49 6 1 15 5 48 0 49 7 0 5 7 8 13 70 9 49 15 44 43 9 7 10 78 49 11 2 6 8 47 49 12 1 49 13 1 11 I 6 I 0 I 0 I 0 I -2 p 14 x 7 subject x 4 Hash x 16 new_from_literal x 3 key s 7 foo,bar x 3 []= x 2 << x 5 query n x 6 Regexp s 9 foo%2Cbar x 3 new x 5 match x 6 should p 5 I 0 I e6 I 18 I e7 I 39 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 p 9 I 0 I d5 I 8 I dc I 13 I e0 I 1e I e5 I 29 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 s 6 #reset M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 19 5 56 0 47 50 1 0 15 5 7 2 64 56 3 47 50 4 1 11 I 4 I 0 I 0 I 0 I -2 p 5 M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 9 5 48 0 56 1 50 2 0 11 I 3 I 0 I 0 I 0 I -2 p 3 x 7 subject M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 30 57 19 0 15 20 0 7 0 64 13 18 2 49 1 1 15 15 20 0 7 2 64 13 18 2 49 3 1 15 11 I 5 I 1 I 1 I 1 n p 4 s 3 foo x 4 key= s 3 bar x 4 tag= p 7 I 0 I ed I 4 I ee I 11 I ef I 1e x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 1 x 1 c x 9 configure p 3 I 0 I ed I 9 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 6 before s 29 resets the request parameters M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 68 5 48 0 44 43 1 79 49 2 1 13 7 3 64 7 4 64 49 5 2 15 49 6 1 15 5 48 0 49 7 0 5 7 3 64 47 49 8 1 49 9 1 15 5 48 0 49 10 0 15 5 48 0 49 7 0 5 7 3 64 47 49 8 1 49 11 1 11 I 6 I 0 I 0 I 0 I -2 p 12 x 7 subject x 4 Hash x 16 new_from_literal s 3 Key s 5 value x 3 []= x 2 << x 6 params x 8 have_key x 6 should x 5 reset x 10 should_not p 9 I 0 I f4 I 19 I f5 I 2b I f7 I 32 I f8 I 44 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 2 it p 5 I 0 I ec I 8 I f3 I 13 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 s 5 #sign M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 22 5 7 0 64 56 1 47 50 2 1 15 5 7 3 64 56 4 47 50 2 1 11 I 4 I 0 I 0 I 0 I -2 p 5 s 27 adds a signature to a query M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 45 5 48 0 56 1 50 2 0 15 5 48 0 7 3 64 49 4 1 5 7 5 13 70 9 37 15 44 43 6 7 7 78 49 8 2 6 5 47 49 9 1 49 10 1 11 I 6 I 0 I 0 I 0 I -2 p 11 x 7 subject M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 17 57 19 0 15 20 0 7 0 64 13 18 2 49 1 1 15 11 I 5 I 1 I 1 I 1 n p 2 s 3 baz x 7 secret= p 5 I 0 I fe I 4 I ff I 11 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 1 x 1 c x 9 configure s 3 foo x 4 sign n x 6 Regexp s 15 ^foo&Signature= x 3 new x 5 match x 6 should p 5 I 0 I fe I 9 I 101 I 2d x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 2 it s 41 raises an error if no secret is specified M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 19 5 56 0 47 50 1 0 5 45 2 3 47 49 4 1 49 5 1 11 I 4 I 0 I 0 I 0 I -2 p 6 M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 10 5 48 0 7 1 64 49 2 1 11 I 3 I 0 I 0 I 0 I -2 p 3 x 7 subject s 3 foo x 4 sign p 3 I 0 I 105 I a x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 6 expect x 13 MissingSecret n x 11 raise_error x 2 to p 3 I 0 I 105 I 13 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 p 5 I 0 I fd I b I 104 I 16 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 s 10 #timestamp M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 11 5 7 0 64 56 1 47 50 2 1 11 I 4 I 0 I 0 I 0 I -2 p 3 s 21 generates a timestamp M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 33 5 48 0 49 1 0 5 7 2 13 70 9 25 15 44 43 3 7 4 78 49 5 2 6 2 47 49 6 1 49 7 1 11 I 6 I 0 I 0 I 0 I -2 p 8 x 7 subject x 9 timestamp n x 6 Regexp s 26 ^\d+-\d+-\d+T\d+:\d+:\d+Z$ x 3 new x 5 match x 6 should p 3 I 0 I 10b I 21 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 2 it p 3 I 0 I 10a I b x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 s 4 #url M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 19 5 56 0 47 50 1 0 15 5 7 2 64 56 3 47 50 4 1 11 I 4 I 0 I 0 I 0 I -2 p 5 M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 9 5 48 0 56 1 50 2 0 11 I 3 I 0 I 0 I 0 I -2 p 3 x 7 subject M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 43 57 19 0 15 20 0 7 0 64 13 18 2 49 1 1 15 15 20 0 7 2 64 13 18 2 49 3 1 15 15 20 0 7 4 64 13 18 2 49 5 1 15 11 I 5 I 1 I 1 I 1 n p 6 s 3 foo x 4 key= s 3 bar x 7 secret= s 3 baz x 4 tag= p 9 I 0 I 111 I 4 I 112 I 11 I 113 I 1e I 114 I 2b x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 1 x 1 c x 9 configure p 3 I 0 I 111 I 9 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 6 before s 12 builds a URL M 1 p 2 x 9 for_block t n x 13 AmazonProduct i 20 5 48 0 49 1 0 5 45 2 3 43 4 47 49 5 1 49 6 1 11 I 4 I 0 I 0 I 0 I -2 p 7 x 7 subject x 3 url x 3 URI n x 4 HTTP x 4 be_a x 6 should p 3 I 0 I 119 I 14 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 2 it p 5 I 0 I 110 I 8 I 118 I 13 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 p 27 I 0 I 5 I 8 I 7 I 13 I d I 1e I 1f I 29 I 41 I 34 I 67 I 3f I 71 I 4a I a0 I 55 I d4 I 60 I eb I 6b I fc I 76 I 109 I 81 I 10f I 8c x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 8 describe p 3 I 2 I 4 I d x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0 x 13 attach_method p 5 I 0 I 1 I 9 I 3 I 25 x 74 /Users/hakanensari/code/amazon_product/spec/amazon_product/request_spec.rb p 0