sucker 1.5.0.1 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. data/README.md +11 -12
  2. data/lib/sucker.rb +12 -9
  3. data/lib/sucker/parameters.rb +5 -3
  4. data/lib/sucker/request.rb +27 -27
  5. data/lib/sucker/version.rb +1 -1
  6. data/spec/sucker/request_spec.rb +10 -15
  7. data/spec/sucker/response_spec.rb +2 -2
  8. data/spec/support/amazon_credentials.rb +6 -2
  9. metadata +62 -71
  10. data/lib/sucker.rbc +0 -265
  11. data/lib/sucker/hash.rbc +0 -914
  12. data/lib/sucker/parameters.rbc +0 -843
  13. data/lib/sucker/request.rbc +0 -2315
  14. data/lib/sucker/response.rbc +0 -1229
  15. data/lib/sucker/version.rbc +0 -130
  16. data/spec/fixtures/cassette_library/cartcreate/e3e2f9b71afba67619a95c7178178595.yml +0 -26
  17. data/spec/fixtures/cassette_library/itemlookup/4908294851a4df13269707e9f6507f91.yml +0 -26
  18. data/spec/fixtures/cassette_library/itemlookup/5670727fa0cb9f30464e41aa1346c91c.yml +0 -26
  19. data/spec/fixtures/cassette_library/itemlookup/6e6b1dc74378e2e1118713e254191fc0.yml +0 -26
  20. data/spec/fixtures/cassette_library/itemlookup/76f548183c2804a74d0ed7e0bfbd6d4a.yml +0 -26
  21. data/spec/fixtures/cassette_library/itemlookup/8286b763b726d3dc1fc992023e639b9b.yml +0 -151
  22. data/spec/fixtures/cassette_library/itemlookup/9d82768fe80b09c4a3697c608e5edebe.yml +0 -26
  23. data/spec/fixtures/cassette_library/itemlookup/d3d6ea869d31173526f48907bff752a3.yml +0 -26
  24. data/spec/fixtures/cassette_library/itemlookup/d8ad346710c3b479febcf58e67fea7ef.yml +0 -26
  25. data/spec/fixtures/cassette_library/itemsearch/295b9eadfb69d55e1c0acb06220e0b6e.yml +0 -26
  26. data/spec/fixtures/cassette_library/itemsearch/4c1e50d070821f4eb9fe3961aba105ee.yml +0 -26
  27. data/spec/fixtures/cassette_library/itemsearch/5a15430433ab94c70466eb61c919a028.yml +0 -26
  28. data/spec/fixtures/cassette_library/itemsearch/8fd40b929a9ed46e2b38ac905c8ab53a.yml +0 -26
  29. data/spec/fixtures/cassette_library/sellerlistingsearch/cb25caadce96ac3de70b69b76431d730.yml +0 -26
  30. data/spec/fixtures/cassette_library/sellerlistingsearch/e1261838e1754870ffd309dd78eb7374.yml +0 -26
  31. data/spec/spec_helper.rbc +0 -230
  32. data/spec/sucker/hash_spec.rbc +0 -861
  33. data/spec/sucker/parameters_spec.rbc +0 -1475
  34. data/spec/sucker/request_spec.rbc +0 -2754
  35. data/spec/sucker/response_spec.rbc +0 -3627
  36. data/spec/sucker_spec.rbc +0 -287
  37. data/spec/support/amazon.yml +0 -3
  38. data/spec/support/amazon.yml.example +0 -3
  39. data/spec/support/amazon_credentials.rbc +0 -154
  40. data/spec/support/asins.rbc +0 -335
  41. data/spec/support/vcr.rbc +0 -356
@@ -1,843 +0,0 @@
1
- !RBIX
2
- 0
3
- x
4
- M
5
- 1
6
- n
7
- n
8
- x
9
- 10
10
- __script__
11
- i
12
- 28
13
- 99
14
- 7
15
- 0
16
- 65
17
- 49
18
- 1
19
- 2
20
- 13
21
- 99
22
- 12
23
- 7
24
- 2
25
- 12
26
- 7
27
- 3
28
- 12
29
- 65
30
- 12
31
- 49
32
- 4
33
- 4
34
- 15
35
- 49
36
- 2
37
- 0
38
- 15
39
- 2
40
- 11
41
- I
42
- 6
43
- I
44
- 0
45
- I
46
- 0
47
- I
48
- 0
49
- n
50
- p
51
- 5
52
- x
53
- 6
54
- Sucker
55
- x
56
- 11
57
- open_module
58
- x
59
- 15
60
- __module_init__
61
- M
62
- 1
63
- n
64
- n
65
- x
66
- 6
67
- Sucker
68
- i
69
- 31
70
- 5
71
- 66
72
- 99
73
- 7
74
- 0
75
- 44
76
- 43
77
- 1
78
- 65
79
- 49
80
- 2
81
- 3
82
- 13
83
- 99
84
- 12
85
- 7
86
- 3
87
- 12
88
- 7
89
- 4
90
- 12
91
- 65
92
- 12
93
- 49
94
- 5
95
- 4
96
- 15
97
- 49
98
- 3
99
- 0
100
- 11
101
- I
102
- 6
103
- I
104
- 0
105
- I
106
- 0
107
- I
108
- 0
109
- n
110
- p
111
- 6
112
- x
113
- 10
114
- Parameters
115
- x
116
- 4
117
- Hash
118
- x
119
- 10
120
- open_class
121
- x
122
- 14
123
- __class_init__
124
- M
125
- 1
126
- n
127
- n
128
- x
129
- 10
130
- Parameters
131
- i
132
- 72
133
- 5
134
- 66
135
- 65
136
- 7
137
- 0
138
- 7
139
- 1
140
- 64
141
- 49
142
- 2
143
- 2
144
- 15
145
- 99
146
- 7
147
- 3
148
- 7
149
- 4
150
- 65
151
- 67
152
- 49
153
- 5
154
- 0
155
- 49
156
- 6
157
- 4
158
- 15
159
- 99
160
- 7
161
- 7
162
- 7
163
- 8
164
- 65
165
- 67
166
- 49
167
- 5
168
- 0
169
- 49
170
- 6
171
- 4
172
- 15
173
- 99
174
- 7
175
- 9
176
- 7
177
- 10
178
- 65
179
- 67
180
- 49
181
- 5
182
- 0
183
- 49
184
- 6
185
- 4
186
- 15
187
- 5
188
- 48
189
- 11
190
- 15
191
- 99
192
- 7
193
- 12
194
- 7
195
- 13
196
- 65
197
- 67
198
- 49
199
- 5
200
- 0
201
- 49
202
- 6
203
- 4
204
- 11
205
- I
206
- 5
207
- I
208
- 0
209
- I
210
- 0
211
- I
212
- 0
213
- n
214
- p
215
- 14
216
- x
217
- 19
218
- CURRENT_API_VERSION
219
- s
220
- 10
221
- 2010-11-01
222
- x
223
- 9
224
- const_set
225
- x
226
- 10
227
- initialize
228
- M
229
- 1
230
- n
231
- n
232
- x
233
- 10
234
- initialize
235
- i
236
- 4
237
- 5
238
- 48
239
- 0
240
- 11
241
- I
242
- 1
243
- I
244
- 0
245
- I
246
- 0
247
- I
248
- 0
249
- n
250
- p
251
- 1
252
- x
253
- 6
254
- set_up
255
- p
256
- 5
257
- I
258
- -1
259
- I
260
- 5
261
- I
262
- 0
263
- I
264
- 6
265
- I
266
- 4
267
- x
268
- 55
269
- /Users/hakanensari/code/sucker/lib/sucker/parameters.rb
270
- p
271
- 0
272
- x
273
- 17
274
- method_visibility
275
- x
276
- 15
277
- add_defn_method
278
- x
279
- 6
280
- set_up
281
- M
282
- 1
283
- n
284
- n
285
- x
286
- 6
287
- set_up
288
- i
289
- 33
290
- 5
291
- 7
292
- 0
293
- 64
294
- 7
295
- 1
296
- 64
297
- 49
298
- 2
299
- 2
300
- 15
301
- 5
302
- 7
303
- 3
304
- 64
305
- 45
306
- 4
307
- 5
308
- 49
309
- 2
310
- 2
311
- 15
312
- 5
313
- 7
314
- 6
315
- 64
316
- 5
317
- 48
318
- 7
319
- 49
320
- 2
321
- 2
322
- 11
323
- I
324
- 3
325
- I
326
- 0
327
- I
328
- 0
329
- I
330
- 0
331
- n
332
- p
333
- 8
334
- s
335
- 7
336
- Service
337
- s
338
- 19
339
- AWSECommerceService
340
- x
341
- 5
342
- store
343
- s
344
- 7
345
- Version
346
- x
347
- 19
348
- CURRENT_API_VERSION
349
- n
350
- s
351
- 9
352
- Timestamp
353
- x
354
- 9
355
- timestamp
356
- p
357
- 9
358
- I
359
- -1
360
- I
361
- 9
362
- I
363
- 0
364
- I
365
- a
366
- I
367
- b
368
- I
369
- b
370
- I
371
- 16
372
- I
373
- c
374
- I
375
- 21
376
- x
377
- 55
378
- /Users/hakanensari/code/sucker/lib/sucker/parameters.rb
379
- p
380
- 0
381
- x
382
- 9
383
- normalize
384
- M
385
- 1
386
- n
387
- n
388
- x
389
- 9
390
- normalize
391
- i
392
- 15
393
- 5
394
- 44
395
- 43
396
- 0
397
- 78
398
- 49
399
- 1
400
- 1
401
- 56
402
- 2
403
- 47
404
- 50
405
- 3
406
- 1
407
- 11
408
- I
409
- 3
410
- I
411
- 0
412
- I
413
- 0
414
- I
415
- 0
416
- n
417
- p
418
- 4
419
- x
420
- 4
421
- Hash
422
- x
423
- 16
424
- new_from_literal
425
- M
426
- 1
427
- p
428
- 2
429
- x
430
- 9
431
- for_block
432
- t
433
- n
434
- x
435
- 9
436
- normalize
437
- i
438
- 86
439
- 58
440
- 37
441
- 19
442
- 0
443
- 15
444
- 37
445
- 19
446
- 1
447
- 15
448
- 15
449
- 20
450
- 1
451
- 97
452
- 37
453
- 19
454
- 2
455
- 15
456
- 37
457
- 19
458
- 3
459
- 15
460
- 15
461
- 2
462
- 15
463
- 20
464
- 3
465
- 45
466
- 0
467
- 1
468
- 49
469
- 2
470
- 1
471
- 9
472
- 44
473
- 20
474
- 3
475
- 7
476
- 3
477
- 64
478
- 49
479
- 4
480
- 1
481
- 8
482
- 49
483
- 20
484
- 3
485
- 49
486
- 5
487
- 0
488
- 19
489
- 3
490
- 15
491
- 20
492
- 0
493
- 20
494
- 2
495
- 49
496
- 5
497
- 0
498
- 7
499
- 6
500
- 64
501
- 49
502
- 7
503
- 1
504
- 56
505
- 8
506
- 50
507
- 9
508
- 0
509
- 49
510
- 4
511
- 0
512
- 20
513
- 3
514
- 13
515
- 18
516
- 3
517
- 49
518
- 10
519
- 2
520
- 15
521
- 15
522
- 20
523
- 0
524
- 11
525
- I
526
- 9
527
- I
528
- 4
529
- I
530
- 2
531
- I
532
- 2
533
- n
534
- p
535
- 11
536
- x
537
- 5
538
- Array
539
- n
540
- x
541
- 5
542
- is_a?
543
- s
544
- 1
545
- ,
546
- x
547
- 4
548
- join
549
- x
550
- 4
551
- to_s
552
- s
553
- 1
554
- _
555
- x
556
- 5
557
- split
558
- M
559
- 1
560
- p
561
- 2
562
- x
563
- 9
564
- for_block
565
- t
566
- n
567
- x
568
- 9
569
- normalize
570
- i
571
- 29
572
- 57
573
- 19
574
- 0
575
- 15
576
- 20
577
- 0
578
- 78
579
- 79
580
- 20
581
- 0
582
- 78
583
- 79
584
- 49
585
- 0
586
- 2
587
- 49
588
- 1
589
- 0
590
- 13
591
- 18
592
- 4
593
- 49
594
- 2
595
- 3
596
- 15
597
- 15
598
- 20
599
- 0
600
- 11
601
- I
602
- 8
603
- I
604
- 1
605
- I
606
- 1
607
- I
608
- 1
609
- n
610
- p
611
- 3
612
- x
613
- 2
614
- []
615
- x
616
- 6
617
- upcase
618
- x
619
- 3
620
- []=
621
- p
622
- 3
623
- I
624
- 0
625
- I
626
- 14
627
- I
628
- 1d
629
- x
630
- 55
631
- /Users/hakanensari/code/sucker/lib/sucker/parameters.rb
632
- p
633
- 1
634
- x
635
- 1
636
- w
637
- x
638
- 3
639
- map
640
- x
641
- 3
642
- []=
643
- p
644
- 11
645
- I
646
- 0
647
- I
648
- 11
649
- I
650
- a
651
- I
652
- 12
653
- I
654
- 18
655
- I
656
- 13
657
- I
658
- 34
659
- I
660
- 14
661
- I
662
- 53
663
- I
664
- 15
665
- I
666
- 56
667
- x
668
- 55
669
- /Users/hakanensari/code/sucker/lib/sucker/parameters.rb
670
- p
671
- 4
672
- x
673
- 4
674
- hash
675
- x
676
- 2
677
- kv
678
- x
679
- 1
680
- k
681
- x
682
- 1
683
- v
684
- x
685
- 6
686
- inject
687
- p
688
- 5
689
- I
690
- -1
691
- I
692
- 10
693
- I
694
- 0
695
- I
696
- 11
697
- I
698
- f
699
- x
700
- 55
701
- /Users/hakanensari/code/sucker/lib/sucker/parameters.rb
702
- p
703
- 0
704
- x
705
- 7
706
- private
707
- x
708
- 9
709
- timestamp
710
- M
711
- 1
712
- n
713
- n
714
- x
715
- 9
716
- timestamp
717
- i
718
- 16
719
- 45
720
- 0
721
- 1
722
- 49
723
- 2
724
- 0
725
- 49
726
- 3
727
- 0
728
- 7
729
- 4
730
- 64
731
- 49
732
- 5
733
- 1
734
- 11
735
- I
736
- 2
737
- I
738
- 0
739
- I
740
- 0
741
- I
742
- 0
743
- n
744
- p
745
- 6
746
- x
747
- 4
748
- Time
749
- n
750
- x
751
- 3
752
- now
753
- x
754
- 3
755
- utc
756
- s
757
- 18
758
- %Y-%m-%dT%H:%M:%SZ
759
- x
760
- 8
761
- strftime
762
- p
763
- 5
764
- I
765
- -1
766
- I
767
- 1b
768
- I
769
- 0
770
- I
771
- 1c
772
- I
773
- 10
774
- x
775
- 55
776
- /Users/hakanensari/code/sucker/lib/sucker/parameters.rb
777
- p
778
- 0
779
- p
780
- 13
781
- I
782
- 2
783
- I
784
- 3
785
- I
786
- c
787
- I
788
- 5
789
- I
790
- 1a
791
- I
792
- 9
793
- I
794
- 28
795
- I
796
- 10
797
- I
798
- 36
799
- I
800
- 19
801
- I
802
- 3a
803
- I
804
- 1b
805
- I
806
- 48
807
- x
808
- 55
809
- /Users/hakanensari/code/sucker/lib/sucker/parameters.rb
810
- p
811
- 0
812
- x
813
- 13
814
- attach_method
815
- p
816
- 3
817
- I
818
- 2
819
- I
820
- 2
821
- I
822
- 1f
823
- x
824
- 55
825
- /Users/hakanensari/code/sucker/lib/sucker/parameters.rb
826
- p
827
- 0
828
- x
829
- 13
830
- attach_method
831
- p
832
- 3
833
- I
834
- 0
835
- I
836
- 1
837
- I
838
- 1c
839
- x
840
- 55
841
- /Users/hakanensari/code/sucker/lib/sucker/parameters.rb
842
- p
843
- 0