sucker 1.0.0.beta.4 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. data/CHANGELOG.md +12 -2
  2. data/README.md +5 -2
  3. data/lib/sucker.rbc +341 -0
  4. data/lib/sucker/request.rb +1 -1
  5. data/lib/sucker/request.rbc +2481 -0
  6. data/lib/sucker/response.rb +19 -7
  7. data/lib/sucker/response.rbc +1554 -0
  8. data/lib/sucker/version.rb +2 -2
  9. data/lib/sucker/version.rbc +130 -0
  10. data/spec/fixtures/asins.txt +9406 -406
  11. data/spec/fixtures/cassette_library/integration/alternate_versions.yml +27 -0
  12. data/spec/fixtures/cassette_library/integration/errors.yml +27 -0
  13. data/spec/fixtures/cassette_library/integration/france.yml +27 -0
  14. data/spec/fixtures/cassette_library/integration/images.yml +27 -0
  15. data/spec/fixtures/cassette_library/integration/item_lookup/multiple.yml +27 -0
  16. data/spec/fixtures/cassette_library/integration/item_lookup/single.yml +27 -0
  17. data/spec/fixtures/cassette_library/integration/item_search.yml +27 -0
  18. data/spec/fixtures/cassette_library/integration/japan.yml +27 -0
  19. data/spec/fixtures/cassette_library/integration/keyword_search.yml +27 -0
  20. data/spec/fixtures/cassette_library/integration/kindle.yml +27 -0
  21. data/spec/fixtures/cassette_library/integration/kindle_2.yml +27 -0
  22. data/spec/fixtures/cassette_library/integration/multiple_locales.yml +157 -0
  23. data/spec/fixtures/cassette_library/integration/power_search.yml +27 -0
  24. data/spec/fixtures/cassette_library/integration/related_items/child.yml +27 -0
  25. data/spec/fixtures/cassette_library/integration/related_items/parent.yml +27 -0
  26. data/spec/fixtures/cassette_library/integration/seller_listings_search.yml +27 -0
  27. data/spec/fixtures/cassette_library/integration/twenty_items.yml +27 -0
  28. data/spec/fixtures/cassette_library/unit/sucker/request.yml +29 -0
  29. data/spec/fixtures/cassette_library/unit/sucker/response.yml +27 -0
  30. data/spec/integration/alternate_versions_spec.rb +28 -20
  31. data/spec/integration/alternate_versions_spec.rbc +843 -0
  32. data/spec/integration/errors_spec.rb +10 -6
  33. data/spec/integration/errors_spec.rbc +964 -0
  34. data/spec/integration/france_spec.rb +33 -25
  35. data/spec/integration/france_spec.rbc +1012 -0
  36. data/spec/integration/images_spec.rb +32 -24
  37. data/spec/integration/images_spec.rbc +1047 -0
  38. data/spec/integration/item_lookup_spec.rb +11 -3
  39. data/spec/integration/item_lookup_spec.rbc +1723 -0
  40. data/spec/integration/item_search_spec.rb +6 -2
  41. data/spec/integration/item_search_spec.rbc +926 -0
  42. data/spec/integration/japan_spec.rb +27 -19
  43. data/spec/integration/japan_spec.rbc +849 -0
  44. data/spec/integration/keyword_search_spec.rb +5 -0
  45. data/spec/integration/keyword_search_spec.rbc +838 -0
  46. data/spec/integration/kindle_spec.rb +13 -5
  47. data/spec/integration/kindle_spec.rbc +1425 -0
  48. data/spec/integration/multiple_locales_spec.rb +34 -26
  49. data/spec/integration/multiple_locales_spec.rbc +1090 -0
  50. data/spec/integration/power_search_spec.rb +5 -0
  51. data/spec/integration/power_search_spec.rbc +838 -0
  52. data/spec/integration/related_items_spec.rb +41 -29
  53. data/spec/integration/related_items_spec.rbc +1228 -0
  54. data/spec/integration/seller_listing_search_spec.rb +3 -0
  55. data/spec/integration/seller_listing_search_spec.rbc +852 -0
  56. data/spec/integration/twenty_items_spec.rb +41 -34
  57. data/spec/integration/twenty_items_spec.rbc +1166 -0
  58. data/spec/spec_helper.rbc +231 -0
  59. data/spec/support/amazon.yml +3 -0
  60. data/spec/support/amazon.yml.example +1 -0
  61. data/spec/support/amazon_credentials.rbc +154 -0
  62. data/spec/support/asins.rb +6 -1
  63. data/spec/support/asins.rbc +335 -0
  64. data/spec/support/vcr.rbc +360 -0
  65. data/spec/unit/sucker/request_spec.rb +57 -23
  66. data/spec/unit/sucker/request_spec.rbc +4031 -0
  67. data/spec/unit/sucker/response_spec.rb +100 -26
  68. data/spec/unit/sucker/response_spec.rbc +3787 -0
  69. data/spec/unit/sucker_spec.rb +5 -1
  70. data/spec/unit/sucker_spec.rbc +299 -0
  71. metadata +94 -12
@@ -2,36 +2,44 @@
2
2
  require "spec_helper"
3
3
 
4
4
  module Sucker
5
- describe "Multiple locales" do
6
- use_vcr_cassette "integration/multiple_locales", :record => :new_episodes
7
-
8
- it "threads multiple requests" do
9
- locales = %w{us uk de ca fr jp}
10
-
11
- params = {
12
- "Operation" => "ItemLookup",
13
- "IdType" => "ASIN",
14
- "ResponseGroup" => "ItemAttributes",
15
- "ItemId" => "0816614024" }
16
-
17
- threads = locales.map do |locale|
18
- Thread.new do
19
- worker = Sucker.new(
20
- :locale => locale,
21
- :key => amazon["key"],
22
- :secret => amazon["secret"])
23
- worker << params
24
- Thread.current[:response] = worker.get
5
+
6
+ describe "Item lookup" do
7
+
8
+ context "when using threads to search multiple locales" do
9
+
10
+ use_vcr_cassette "integration/multiple_locales", :record => :new_episodes
11
+
12
+ it "returns matches across all locales" do
13
+ locales = %w{us uk de ca fr jp}
14
+
15
+ params = {
16
+ "Operation" => "ItemLookup",
17
+ "IdType" => "ASIN",
18
+ "ResponseGroup" => "ItemAttributes",
19
+ "ItemId" => "0816614024" }
20
+
21
+ threads = locales.map do |locale|
22
+ Thread.new do
23
+ worker = Sucker.new(
24
+ :locale => locale,
25
+ :key => amazon["key"],
26
+ :secret => amazon["secret"])
27
+ worker << params
28
+ Thread.current[:response] = worker.get
29
+ end
30
+ end
31
+
32
+ bindings = threads.map do |thread|
33
+ thread.join
34
+ item = thread[:response].find("Item").first
35
+ item["ItemAttributes"]["Binding"]
25
36
  end
26
- end
27
37
 
28
- bindings = threads.map do |thread|
29
- thread.join
30
- item = thread[:response].find("Item").first
31
- item["ItemAttributes"]["Binding"]
38
+ bindings.uniq.should =~ %w{ Paperback Taschenbuch Broché ペーパーバック }
32
39
  end
33
40
 
34
- bindings.uniq.should =~ %w{ Paperback Taschenbuch Broché ペーパーバック }
35
41
  end
42
+
36
43
  end
44
+
37
45
  end
@@ -0,0 +1,1090 @@
1
+ !RBIX
2
+ 0
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 37
13
+ 5
14
+ 7
15
+ 0
16
+ 64
17
+ 47
18
+ 49
19
+ 1
20
+ 1
21
+ 15
22
+ 99
23
+ 7
24
+ 2
25
+ 65
26
+ 49
27
+ 3
28
+ 2
29
+ 13
30
+ 99
31
+ 12
32
+ 7
33
+ 4
34
+ 12
35
+ 7
36
+ 5
37
+ 12
38
+ 65
39
+ 12
40
+ 49
41
+ 6
42
+ 4
43
+ 15
44
+ 49
45
+ 4
46
+ 0
47
+ 15
48
+ 2
49
+ 11
50
+ I
51
+ 6
52
+ I
53
+ 0
54
+ I
55
+ 0
56
+ I
57
+ 0
58
+ n
59
+ p
60
+ 7
61
+ s
62
+ 11
63
+ spec_helper
64
+ x
65
+ 7
66
+ require
67
+ x
68
+ 6
69
+ Sucker
70
+ x
71
+ 11
72
+ open_module
73
+ x
74
+ 15
75
+ __module_init__
76
+ M
77
+ 1
78
+ n
79
+ n
80
+ x
81
+ 6
82
+ Sucker
83
+ i
84
+ 13
85
+ 5
86
+ 66
87
+ 5
88
+ 7
89
+ 0
90
+ 64
91
+ 56
92
+ 1
93
+ 47
94
+ 50
95
+ 2
96
+ 1
97
+ 11
98
+ I
99
+ 3
100
+ I
101
+ 0
102
+ I
103
+ 0
104
+ I
105
+ 0
106
+ n
107
+ p
108
+ 3
109
+ s
110
+ 11
111
+ Item lookup
112
+ M
113
+ 1
114
+ p
115
+ 2
116
+ x
117
+ 9
118
+ for_block
119
+ t
120
+ n
121
+ x
122
+ 6
123
+ Sucker
124
+ i
125
+ 11
126
+ 5
127
+ 7
128
+ 0
129
+ 64
130
+ 56
131
+ 1
132
+ 47
133
+ 50
134
+ 2
135
+ 1
136
+ 11
137
+ I
138
+ 4
139
+ I
140
+ 0
141
+ I
142
+ 0
143
+ I
144
+ 0
145
+ I
146
+ -2
147
+ p
148
+ 3
149
+ s
150
+ 45
151
+ when using threads to search multiple locales
152
+ M
153
+ 1
154
+ p
155
+ 2
156
+ x
157
+ 9
158
+ for_block
159
+ t
160
+ n
161
+ x
162
+ 6
163
+ Sucker
164
+ i
165
+ 36
166
+ 5
167
+ 7
168
+ 0
169
+ 64
170
+ 44
171
+ 43
172
+ 1
173
+ 79
174
+ 49
175
+ 2
176
+ 1
177
+ 13
178
+ 7
179
+ 3
180
+ 7
181
+ 4
182
+ 49
183
+ 5
184
+ 2
185
+ 15
186
+ 47
187
+ 49
188
+ 6
189
+ 2
190
+ 15
191
+ 5
192
+ 7
193
+ 7
194
+ 64
195
+ 56
196
+ 8
197
+ 47
198
+ 50
199
+ 9
200
+ 1
201
+ 11
202
+ I
203
+ 7
204
+ I
205
+ 0
206
+ I
207
+ 0
208
+ I
209
+ 0
210
+ I
211
+ -2
212
+ p
213
+ 10
214
+ s
215
+ 28
216
+ integration/multiple_locales
217
+ x
218
+ 4
219
+ Hash
220
+ x
221
+ 16
222
+ new_from_literal
223
+ x
224
+ 6
225
+ record
226
+ x
227
+ 12
228
+ new_episodes
229
+ x
230
+ 3
231
+ []=
232
+ x
233
+ 16
234
+ use_vcr_cassette
235
+ s
236
+ 34
237
+ returns matches across all locales
238
+ M
239
+ 1
240
+ p
241
+ 2
242
+ x
243
+ 9
244
+ for_block
245
+ t
246
+ n
247
+ x
248
+ 6
249
+ Sucker
250
+ i
251
+ 124
252
+ 7
253
+ 0
254
+ 64
255
+ 7
256
+ 1
257
+ 64
258
+ 7
259
+ 2
260
+ 64
261
+ 7
262
+ 3
263
+ 64
264
+ 7
265
+ 4
266
+ 64
267
+ 7
268
+ 5
269
+ 64
270
+ 35
271
+ 6
272
+ 19
273
+ 0
274
+ 15
275
+ 44
276
+ 43
277
+ 6
278
+ 4
279
+ 4
280
+ 49
281
+ 7
282
+ 1
283
+ 13
284
+ 7
285
+ 8
286
+ 64
287
+ 7
288
+ 9
289
+ 64
290
+ 49
291
+ 10
292
+ 2
293
+ 15
294
+ 13
295
+ 7
296
+ 11
297
+ 64
298
+ 7
299
+ 12
300
+ 64
301
+ 49
302
+ 10
303
+ 2
304
+ 15
305
+ 13
306
+ 7
307
+ 13
308
+ 64
309
+ 7
310
+ 14
311
+ 64
312
+ 49
313
+ 10
314
+ 2
315
+ 15
316
+ 13
317
+ 7
318
+ 15
319
+ 64
320
+ 7
321
+ 16
322
+ 64
323
+ 49
324
+ 10
325
+ 2
326
+ 15
327
+ 19
328
+ 1
329
+ 15
330
+ 20
331
+ 0
332
+ 56
333
+ 17
334
+ 50
335
+ 18
336
+ 0
337
+ 19
338
+ 2
339
+ 15
340
+ 20
341
+ 2
342
+ 56
343
+ 19
344
+ 50
345
+ 18
346
+ 0
347
+ 19
348
+ 3
349
+ 15
350
+ 20
351
+ 3
352
+ 49
353
+ 20
354
+ 0
355
+ 49
356
+ 21
357
+ 0
358
+ 7
359
+ 22
360
+ 64
361
+ 7
362
+ 23
363
+ 64
364
+ 7
365
+ 24
366
+ 64
367
+ 7
368
+ 25
369
+ 64
370
+ 35
371
+ 4
372
+ 49
373
+ 26
374
+ 1
375
+ 11
376
+ I
377
+ b
378
+ I
379
+ 4
380
+ I
381
+ 0
382
+ I
383
+ 0
384
+ I
385
+ -2
386
+ p
387
+ 27
388
+ s
389
+ 2
390
+ us
391
+ s
392
+ 2
393
+ uk
394
+ s
395
+ 2
396
+ de
397
+ s
398
+ 2
399
+ ca
400
+ s
401
+ 2
402
+ fr
403
+ s
404
+ 2
405
+ jp
406
+ x
407
+ 4
408
+ Hash
409
+ x
410
+ 16
411
+ new_from_literal
412
+ s
413
+ 9
414
+ Operation
415
+ s
416
+ 10
417
+ ItemLookup
418
+ x
419
+ 3
420
+ []=
421
+ s
422
+ 6
423
+ IdType
424
+ s
425
+ 4
426
+ ASIN
427
+ s
428
+ 13
429
+ ResponseGroup
430
+ s
431
+ 14
432
+ ItemAttributes
433
+ s
434
+ 6
435
+ ItemId
436
+ s
437
+ 10
438
+ 0816614024
439
+ M
440
+ 1
441
+ p
442
+ 2
443
+ x
444
+ 9
445
+ for_block
446
+ t
447
+ n
448
+ x
449
+ 6
450
+ Sucker
451
+ i
452
+ 13
453
+ 57
454
+ 19
455
+ 0
456
+ 15
457
+ 45
458
+ 0
459
+ 1
460
+ 56
461
+ 2
462
+ 50
463
+ 3
464
+ 0
465
+ 11
466
+ I
467
+ 4
468
+ I
469
+ 1
470
+ I
471
+ 1
472
+ I
473
+ 1
474
+ n
475
+ p
476
+ 4
477
+ x
478
+ 6
479
+ Thread
480
+ n
481
+ M
482
+ 1
483
+ p
484
+ 2
485
+ x
486
+ 9
487
+ for_block
488
+ t
489
+ n
490
+ x
491
+ 6
492
+ Sucker
493
+ i
494
+ 157
495
+ 45
496
+ 0
497
+ 1
498
+ 13
499
+ 71
500
+ 2
501
+ 47
502
+ 9
503
+ 71
504
+ 47
505
+ 49
506
+ 3
507
+ 0
508
+ 13
509
+ 44
510
+ 43
511
+ 4
512
+ 4
513
+ 3
514
+ 49
515
+ 5
516
+ 1
517
+ 13
518
+ 7
519
+ 6
520
+ 21
521
+ 1
522
+ 0
523
+ 49
524
+ 7
525
+ 2
526
+ 15
527
+ 13
528
+ 7
529
+ 8
530
+ 5
531
+ 48
532
+ 9
533
+ 7
534
+ 10
535
+ 64
536
+ 49
537
+ 11
538
+ 1
539
+ 49
540
+ 7
541
+ 2
542
+ 15
543
+ 13
544
+ 7
545
+ 12
546
+ 5
547
+ 48
548
+ 9
549
+ 7
550
+ 13
551
+ 64
552
+ 49
553
+ 11
554
+ 1
555
+ 49
556
+ 7
557
+ 2
558
+ 15
559
+ 47
560
+ 49
561
+ 14
562
+ 1
563
+ 15
564
+ 8
565
+ 124
566
+ 44
567
+ 43
568
+ 4
569
+ 4
570
+ 3
571
+ 49
572
+ 5
573
+ 1
574
+ 13
575
+ 7
576
+ 6
577
+ 21
578
+ 1
579
+ 0
580
+ 49
581
+ 7
582
+ 2
583
+ 15
584
+ 13
585
+ 7
586
+ 8
587
+ 5
588
+ 48
589
+ 9
590
+ 7
591
+ 10
592
+ 64
593
+ 49
594
+ 11
595
+ 1
596
+ 49
597
+ 7
598
+ 2
599
+ 15
600
+ 13
601
+ 7
602
+ 12
603
+ 5
604
+ 48
605
+ 9
606
+ 7
607
+ 13
608
+ 64
609
+ 49
610
+ 11
611
+ 1
612
+ 49
613
+ 7
614
+ 2
615
+ 15
616
+ 49
617
+ 2
618
+ 1
619
+ 19
620
+ 0
621
+ 15
622
+ 20
623
+ 0
624
+ 21
625
+ 2
626
+ 1
627
+ 49
628
+ 15
629
+ 1
630
+ 15
631
+ 45
632
+ 16
633
+ 17
634
+ 49
635
+ 18
636
+ 0
637
+ 7
638
+ 19
639
+ 20
640
+ 0
641
+ 49
642
+ 20
643
+ 0
644
+ 13
645
+ 18
646
+ 3
647
+ 49
648
+ 7
649
+ 2
650
+ 15
651
+ 11
652
+ I
653
+ 9
654
+ I
655
+ 1
656
+ I
657
+ 0
658
+ I
659
+ 0
660
+ I
661
+ -2
662
+ p
663
+ 21
664
+ x
665
+ 6
666
+ Sucker
667
+ n
668
+ x
669
+ 3
670
+ new
671
+ x
672
+ 8
673
+ allocate
674
+ x
675
+ 4
676
+ Hash
677
+ x
678
+ 16
679
+ new_from_literal
680
+ x
681
+ 6
682
+ locale
683
+ x
684
+ 3
685
+ []=
686
+ x
687
+ 3
688
+ key
689
+ x
690
+ 6
691
+ amazon
692
+ s
693
+ 3
694
+ key
695
+ x
696
+ 2
697
+ []
698
+ x
699
+ 6
700
+ secret
701
+ s
702
+ 6
703
+ secret
704
+ x
705
+ 10
706
+ initialize
707
+ x
708
+ 2
709
+ <<
710
+ x
711
+ 6
712
+ Thread
713
+ n
714
+ x
715
+ 7
716
+ current
717
+ x
718
+ 8
719
+ response
720
+ x
721
+ 3
722
+ get
723
+ p
724
+ 23
725
+ I
726
+ 0
727
+ I
728
+ 16
729
+ I
730
+ 0
731
+ I
732
+ 17
733
+ I
734
+ e
735
+ I
736
+ 1a
737
+ I
738
+ 17
739
+ I
740
+ 18
741
+ I
742
+ 21
743
+ I
744
+ 19
745
+ I
746
+ 31
747
+ I
748
+ 1a
749
+ I
750
+ 50
751
+ I
752
+ 18
753
+ I
754
+ 5a
755
+ I
756
+ 19
757
+ I
758
+ 6a
759
+ I
760
+ 1a
761
+ I
762
+ 7f
763
+ I
764
+ 1b
765
+ I
766
+ 88
767
+ I
768
+ 1c
769
+ I
770
+ 9d
771
+ x
772
+ 64
773
+ /Users/snl/code/sucker/spec/integration/multiple_locales_spec.rb
774
+ p
775
+ 1
776
+ x
777
+ 6
778
+ worker
779
+ x
780
+ 3
781
+ new
782
+ p
783
+ 5
784
+ I
785
+ 0
786
+ I
787
+ 15
788
+ I
789
+ 4
790
+ I
791
+ 16
792
+ I
793
+ d
794
+ x
795
+ 64
796
+ /Users/snl/code/sucker/spec/integration/multiple_locales_spec.rb
797
+ p
798
+ 1
799
+ x
800
+ 6
801
+ locale
802
+ x
803
+ 3
804
+ map
805
+ M
806
+ 1
807
+ p
808
+ 2
809
+ x
810
+ 9
811
+ for_block
812
+ t
813
+ n
814
+ x
815
+ 6
816
+ Sucker
817
+ i
818
+ 44
819
+ 57
820
+ 19
821
+ 0
822
+ 15
823
+ 20
824
+ 0
825
+ 49
826
+ 0
827
+ 0
828
+ 15
829
+ 20
830
+ 0
831
+ 7
832
+ 1
833
+ 49
834
+ 2
835
+ 1
836
+ 7
837
+ 3
838
+ 64
839
+ 49
840
+ 4
841
+ 1
842
+ 49
843
+ 5
844
+ 0
845
+ 19
846
+ 1
847
+ 15
848
+ 20
849
+ 1
850
+ 7
851
+ 6
852
+ 64
853
+ 49
854
+ 2
855
+ 1
856
+ 7
857
+ 7
858
+ 64
859
+ 49
860
+ 2
861
+ 1
862
+ 11
863
+ I
864
+ 5
865
+ I
866
+ 2
867
+ I
868
+ 1
869
+ I
870
+ 1
871
+ n
872
+ p
873
+ 8
874
+ x
875
+ 4
876
+ join
877
+ x
878
+ 8
879
+ response
880
+ x
881
+ 2
882
+ []
883
+ s
884
+ 4
885
+ Item
886
+ x
887
+ 4
888
+ find
889
+ x
890
+ 5
891
+ first
892
+ s
893
+ 14
894
+ ItemAttributes
895
+ s
896
+ 7
897
+ Binding
898
+ p
899
+ 9
900
+ I
901
+ 0
902
+ I
903
+ 20
904
+ I
905
+ 4
906
+ I
907
+ 21
908
+ I
909
+ a
910
+ I
911
+ 22
912
+ I
913
+ 1d
914
+ I
915
+ 23
916
+ I
917
+ 2c
918
+ x
919
+ 64
920
+ /Users/snl/code/sucker/spec/integration/multiple_locales_spec.rb
921
+ p
922
+ 2
923
+ x
924
+ 6
925
+ thread
926
+ x
927
+ 4
928
+ item
929
+ x
930
+ 4
931
+ uniq
932
+ x
933
+ 6
934
+ should
935
+ s
936
+ 9
937
+ Paperback
938
+ s
939
+ 11
940
+ Taschenbuch
941
+ s
942
+ 7
943
+ Broché
944
+ s
945
+ 21
946
+ ペーパーバック
947
+ x
948
+ 2
949
+ =~
950
+ p
951
+ 21
952
+ I
953
+ 0
954
+ I
955
+ c
956
+ I
957
+ 0
958
+ I
959
+ d
960
+ I
961
+ 17
962
+ I
963
+ 13
964
+ I
965
+ 20
966
+ I
967
+ 10
968
+ I
969
+ 2b
970
+ I
971
+ 11
972
+ I
973
+ 36
974
+ I
975
+ 12
976
+ I
977
+ 41
978
+ I
979
+ 13
980
+ I
981
+ 4e
982
+ I
983
+ 15
984
+ I
985
+ 58
986
+ I
987
+ 20
988
+ I
989
+ 62
990
+ I
991
+ 26
992
+ I
993
+ 7c
994
+ x
995
+ 64
996
+ /Users/snl/code/sucker/spec/integration/multiple_locales_spec.rb
997
+ p
998
+ 4
999
+ x
1000
+ 7
1001
+ locales
1002
+ x
1003
+ 6
1004
+ params
1005
+ x
1006
+ 7
1007
+ threads
1008
+ x
1009
+ 8
1010
+ bindings
1011
+ x
1012
+ 2
1013
+ it
1014
+ p
1015
+ 7
1016
+ I
1017
+ 0
1018
+ I
1019
+ 8
1020
+ I
1021
+ 0
1022
+ I
1023
+ a
1024
+ I
1025
+ 19
1026
+ I
1027
+ c
1028
+ I
1029
+ 24
1030
+ x
1031
+ 64
1032
+ /Users/snl/code/sucker/spec/integration/multiple_locales_spec.rb
1033
+ p
1034
+ 0
1035
+ x
1036
+ 7
1037
+ context
1038
+ p
1039
+ 5
1040
+ I
1041
+ 0
1042
+ I
1043
+ 6
1044
+ I
1045
+ 0
1046
+ I
1047
+ 8
1048
+ I
1049
+ b
1050
+ x
1051
+ 64
1052
+ /Users/snl/code/sucker/spec/integration/multiple_locales_spec.rb
1053
+ p
1054
+ 0
1055
+ x
1056
+ 8
1057
+ describe
1058
+ p
1059
+ 3
1060
+ I
1061
+ 2
1062
+ I
1063
+ 6
1064
+ I
1065
+ d
1066
+ x
1067
+ 64
1068
+ /Users/snl/code/sucker/spec/integration/multiple_locales_spec.rb
1069
+ p
1070
+ 0
1071
+ x
1072
+ 13
1073
+ attach_method
1074
+ p
1075
+ 5
1076
+ I
1077
+ 0
1078
+ I
1079
+ 2
1080
+ I
1081
+ 9
1082
+ I
1083
+ 4
1084
+ I
1085
+ 25
1086
+ x
1087
+ 64
1088
+ /Users/snl/code/sucker/spec/integration/multiple_locales_spec.rb
1089
+ p
1090
+ 0