zxing 0.2.1 → 0.3.0

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/spec/zxing_spec.rb CHANGED
@@ -74,4 +74,60 @@ describe ZXing do
74
74
  end
75
75
  end
76
76
  end
77
+
78
+ describe ".decode_all" do
79
+ subject { ZXing.decode_all(file) }
80
+
81
+ context "with a single barcoded image" do
82
+ let(:file) { fixture_image("example") }
83
+ it { should == ["example"] }
84
+ end
85
+
86
+ context "with a multiple barcoded image" do
87
+ let(:file) {fixture_image("multi_barcode_example") }
88
+ it { should == ['test456','test123']}
89
+ end
90
+
91
+ context "when the image cannot be decoded" do
92
+ let(:file) { fixture_image("cat") }
93
+ it { should == [] }
94
+ end
95
+
96
+ context "when file does not exist" do
97
+ let(:file) { 'nonexistentfile.png' }
98
+ it "raises an error" do
99
+ expect { subject }.to raise_error(ArgumentError, "File nonexistentfile.png could not be found")
100
+ end
101
+ end
102
+
103
+ end
104
+
105
+ describe ".decode_all!" do
106
+ subject { ZXing.decode_all!(file) }
107
+
108
+ context "with a single barcoded image" do
109
+ let(:file) { fixture_image("example") }
110
+ it { should == ["example"] }
111
+ end
112
+
113
+ context "with a multiple barcoded image" do
114
+ let(:file) {fixture_image("multi_barcode_example") }
115
+ it { should == ['test456','test123']}
116
+ end
117
+
118
+ context "when the image cannot be decoded" do
119
+ let(:file) { fixture_image("cat") }
120
+ it "raises an error" do
121
+ expect { subject }.to raise_error(ZXing::UndecodableError, "Image not decodable")
122
+ end
123
+ end
124
+
125
+ context "when file does not exist" do
126
+ let(:file) { 'nonexistentfile.png' }
127
+ it "raises an error" do
128
+ expect { subject }.to raise_error(ArgumentError, "File nonexistentfile.png could not be found")
129
+ end
130
+ end
131
+ end
132
+
77
133
  end
@@ -0,0 +1,4949 @@
1
+ !RBIX
2
+ 2390329161478264409
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 58
13
+ 5
14
+ 7
15
+ 0
16
+ 64
17
+ 47
18
+ 49
19
+ 1
20
+ 1
21
+ 15
22
+ 5
23
+ 7
24
+ 2
25
+ 64
26
+ 47
27
+ 49
28
+ 1
29
+ 1
30
+ 15
31
+ 99
32
+ 7
33
+ 3
34
+ 1
35
+ 65
36
+ 49
37
+ 4
38
+ 3
39
+ 13
40
+ 99
41
+ 12
42
+ 7
43
+ 5
44
+ 12
45
+ 7
46
+ 6
47
+ 12
48
+ 65
49
+ 12
50
+ 49
51
+ 7
52
+ 4
53
+ 15
54
+ 49
55
+ 5
56
+ 0
57
+ 15
58
+ 5
59
+ 45
60
+ 8
61
+ 9
62
+ 56
63
+ 10
64
+ 47
65
+ 50
66
+ 11
67
+ 1
68
+ 15
69
+ 2
70
+ 11
71
+ I
72
+ 6
73
+ I
74
+ 0
75
+ I
76
+ 0
77
+ I
78
+ 0
79
+ n
80
+ p
81
+ 12
82
+ s
83
+ 11
84
+ spec_helper
85
+ x
86
+ 7
87
+ require
88
+ s
89
+ 5
90
+ zxing
91
+ x
92
+ 3
93
+ Foo
94
+ x
95
+ 10
96
+ open_class
97
+ x
98
+ 14
99
+ __class_init__
100
+ M
101
+ 1
102
+ n
103
+ n
104
+ x
105
+ 3
106
+ Foo
107
+ i
108
+ 16
109
+ 5
110
+ 66
111
+ 99
112
+ 7
113
+ 0
114
+ 7
115
+ 1
116
+ 65
117
+ 67
118
+ 49
119
+ 2
120
+ 0
121
+ 49
122
+ 3
123
+ 4
124
+ 11
125
+ I
126
+ 5
127
+ I
128
+ 0
129
+ I
130
+ 0
131
+ I
132
+ 0
133
+ n
134
+ p
135
+ 4
136
+ x
137
+ 4
138
+ path
139
+ M
140
+ 1
141
+ n
142
+ n
143
+ x
144
+ 4
145
+ path
146
+ i
147
+ 14
148
+ 45
149
+ 0
150
+ 1
151
+ 7
152
+ 2
153
+ 64
154
+ 65
155
+ 49
156
+ 3
157
+ 0
158
+ 49
159
+ 4
160
+ 2
161
+ 11
162
+ I
163
+ 3
164
+ I
165
+ 0
166
+ I
167
+ 0
168
+ I
169
+ 0
170
+ n
171
+ p
172
+ 5
173
+ x
174
+ 4
175
+ File
176
+ n
177
+ s
178
+ 23
179
+ ../fixtures/example.png
180
+ x
181
+ 11
182
+ active_path
183
+ x
184
+ 11
185
+ expand_path
186
+ p
187
+ 5
188
+ I
189
+ -1
190
+ I
191
+ 5
192
+ I
193
+ 0
194
+ I
195
+ 6
196
+ I
197
+ e
198
+ x
199
+ 59
200
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
201
+ p
202
+ 0
203
+ x
204
+ 17
205
+ method_visibility
206
+ x
207
+ 15
208
+ add_defn_method
209
+ p
210
+ 3
211
+ I
212
+ 2
213
+ I
214
+ 5
215
+ I
216
+ 10
217
+ x
218
+ 59
219
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
220
+ p
221
+ 0
222
+ x
223
+ 13
224
+ attach_method
225
+ x
226
+ 5
227
+ ZXing
228
+ n
229
+ M
230
+ 1
231
+ p
232
+ 2
233
+ x
234
+ 9
235
+ for_block
236
+ t
237
+ n
238
+ x
239
+ 9
240
+ __block__
241
+ i
242
+ 44
243
+ 5
244
+ 7
245
+ 0
246
+ 64
247
+ 56
248
+ 1
249
+ 47
250
+ 50
251
+ 2
252
+ 1
253
+ 15
254
+ 5
255
+ 7
256
+ 3
257
+ 64
258
+ 56
259
+ 4
260
+ 47
261
+ 50
262
+ 2
263
+ 1
264
+ 15
265
+ 5
266
+ 7
267
+ 5
268
+ 64
269
+ 56
270
+ 6
271
+ 47
272
+ 50
273
+ 2
274
+ 1
275
+ 15
276
+ 5
277
+ 7
278
+ 7
279
+ 64
280
+ 56
281
+ 8
282
+ 47
283
+ 50
284
+ 2
285
+ 1
286
+ 11
287
+ I
288
+ 4
289
+ I
290
+ 0
291
+ I
292
+ 0
293
+ I
294
+ 0
295
+ I
296
+ -2
297
+ p
298
+ 9
299
+ s
300
+ 7
301
+ .decode
302
+ M
303
+ 1
304
+ p
305
+ 2
306
+ x
307
+ 9
308
+ for_block
309
+ t
310
+ n
311
+ x
312
+ 9
313
+ __block__
314
+ i
315
+ 74
316
+ 5
317
+ 56
318
+ 0
319
+ 47
320
+ 50
321
+ 1
322
+ 0
323
+ 15
324
+ 5
325
+ 7
326
+ 2
327
+ 64
328
+ 56
329
+ 3
330
+ 47
331
+ 50
332
+ 4
333
+ 1
334
+ 15
335
+ 5
336
+ 7
337
+ 5
338
+ 64
339
+ 56
340
+ 6
341
+ 47
342
+ 50
343
+ 4
344
+ 1
345
+ 15
346
+ 5
347
+ 7
348
+ 7
349
+ 64
350
+ 56
351
+ 8
352
+ 47
353
+ 50
354
+ 4
355
+ 1
356
+ 15
357
+ 5
358
+ 7
359
+ 9
360
+ 64
361
+ 56
362
+ 10
363
+ 47
364
+ 50
365
+ 4
366
+ 1
367
+ 15
368
+ 5
369
+ 7
370
+ 11
371
+ 64
372
+ 56
373
+ 12
374
+ 47
375
+ 50
376
+ 4
377
+ 1
378
+ 15
379
+ 5
380
+ 7
381
+ 13
382
+ 64
383
+ 56
384
+ 14
385
+ 47
386
+ 50
387
+ 4
388
+ 1
389
+ 11
390
+ I
391
+ 4
392
+ I
393
+ 0
394
+ I
395
+ 0
396
+ I
397
+ 0
398
+ I
399
+ -2
400
+ p
401
+ 15
402
+ M
403
+ 1
404
+ p
405
+ 2
406
+ x
407
+ 9
408
+ for_block
409
+ t
410
+ n
411
+ x
412
+ 9
413
+ __block__
414
+ i
415
+ 10
416
+ 45
417
+ 0
418
+ 1
419
+ 5
420
+ 48
421
+ 2
422
+ 49
423
+ 3
424
+ 1
425
+ 11
426
+ I
427
+ 3
428
+ I
429
+ 0
430
+ I
431
+ 0
432
+ I
433
+ 0
434
+ I
435
+ -2
436
+ p
437
+ 4
438
+ x
439
+ 5
440
+ ZXing
441
+ n
442
+ x
443
+ 4
444
+ file
445
+ x
446
+ 6
447
+ decode
448
+ p
449
+ 3
450
+ I
451
+ 0
452
+ I
453
+ c
454
+ I
455
+ a
456
+ x
457
+ 59
458
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
459
+ p
460
+ 0
461
+ x
462
+ 7
463
+ subject
464
+ s
465
+ 27
466
+ with a string path to image
467
+ M
468
+ 1
469
+ p
470
+ 2
471
+ x
472
+ 9
473
+ for_block
474
+ t
475
+ n
476
+ x
477
+ 9
478
+ __block__
479
+ i
480
+ 18
481
+ 5
482
+ 7
483
+ 0
484
+ 56
485
+ 1
486
+ 47
487
+ 50
488
+ 2
489
+ 1
490
+ 15
491
+ 5
492
+ 56
493
+ 3
494
+ 47
495
+ 50
496
+ 4
497
+ 0
498
+ 11
499
+ I
500
+ 4
501
+ I
502
+ 0
503
+ I
504
+ 0
505
+ I
506
+ 0
507
+ I
508
+ -2
509
+ p
510
+ 5
511
+ x
512
+ 4
513
+ file
514
+ M
515
+ 1
516
+ p
517
+ 2
518
+ x
519
+ 9
520
+ for_block
521
+ t
522
+ n
523
+ x
524
+ 9
525
+ __block__
526
+ i
527
+ 9
528
+ 5
529
+ 7
530
+ 0
531
+ 64
532
+ 47
533
+ 49
534
+ 1
535
+ 1
536
+ 11
537
+ I
538
+ 3
539
+ I
540
+ 0
541
+ I
542
+ 0
543
+ I
544
+ 0
545
+ I
546
+ -2
547
+ p
548
+ 2
549
+ s
550
+ 7
551
+ example
552
+ x
553
+ 13
554
+ fixture_image
555
+ p
556
+ 3
557
+ I
558
+ 0
559
+ I
560
+ f
561
+ I
562
+ 9
563
+ x
564
+ 59
565
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
566
+ p
567
+ 0
568
+ x
569
+ 3
570
+ let
571
+ M
572
+ 1
573
+ p
574
+ 2
575
+ x
576
+ 9
577
+ for_block
578
+ t
579
+ n
580
+ x
581
+ 9
582
+ __block__
583
+ i
584
+ 9
585
+ 5
586
+ 48
587
+ 0
588
+ 7
589
+ 1
590
+ 64
591
+ 83
592
+ 2
593
+ 11
594
+ I
595
+ 3
596
+ I
597
+ 0
598
+ I
599
+ 0
600
+ I
601
+ 0
602
+ I
603
+ -2
604
+ p
605
+ 3
606
+ x
607
+ 6
608
+ should
609
+ s
610
+ 7
611
+ example
612
+ x
613
+ 2
614
+ ==
615
+ p
616
+ 3
617
+ I
618
+ 0
619
+ I
620
+ 10
621
+ I
622
+ 9
623
+ x
624
+ 59
625
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
626
+ p
627
+ 0
628
+ x
629
+ 2
630
+ it
631
+ p
632
+ 5
633
+ I
634
+ 0
635
+ I
636
+ f
637
+ I
638
+ a
639
+ I
640
+ 10
641
+ I
642
+ 12
643
+ x
644
+ 59
645
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
646
+ p
647
+ 0
648
+ x
649
+ 7
650
+ context
651
+ s
652
+ 10
653
+ with a uri
654
+ M
655
+ 1
656
+ p
657
+ 2
658
+ x
659
+ 9
660
+ for_block
661
+ t
662
+ n
663
+ x
664
+ 9
665
+ __block__
666
+ i
667
+ 18
668
+ 5
669
+ 7
670
+ 0
671
+ 56
672
+ 1
673
+ 47
674
+ 50
675
+ 2
676
+ 1
677
+ 15
678
+ 5
679
+ 56
680
+ 3
681
+ 47
682
+ 50
683
+ 4
684
+ 0
685
+ 11
686
+ I
687
+ 4
688
+ I
689
+ 0
690
+ I
691
+ 0
692
+ I
693
+ 0
694
+ I
695
+ -2
696
+ p
697
+ 5
698
+ x
699
+ 4
700
+ file
701
+ M
702
+ 1
703
+ p
704
+ 2
705
+ x
706
+ 9
707
+ for_block
708
+ t
709
+ n
710
+ x
711
+ 9
712
+ __block__
713
+ i
714
+ 4
715
+ 7
716
+ 0
717
+ 64
718
+ 11
719
+ I
720
+ 2
721
+ I
722
+ 0
723
+ I
724
+ 0
725
+ I
726
+ 0
727
+ I
728
+ -2
729
+ p
730
+ 1
731
+ s
732
+ 51
733
+ http://2d-code.co.uk/images/bbc-logo-in-qr-code.gif
734
+ p
735
+ 3
736
+ I
737
+ 0
738
+ I
739
+ 14
740
+ I
741
+ 4
742
+ x
743
+ 59
744
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
745
+ p
746
+ 0
747
+ x
748
+ 3
749
+ let
750
+ M
751
+ 1
752
+ p
753
+ 2
754
+ x
755
+ 9
756
+ for_block
757
+ t
758
+ n
759
+ x
760
+ 9
761
+ __block__
762
+ i
763
+ 9
764
+ 5
765
+ 48
766
+ 0
767
+ 7
768
+ 1
769
+ 64
770
+ 83
771
+ 2
772
+ 11
773
+ I
774
+ 3
775
+ I
776
+ 0
777
+ I
778
+ 0
779
+ I
780
+ 0
781
+ I
782
+ -2
783
+ p
784
+ 3
785
+ x
786
+ 6
787
+ should
788
+ s
789
+ 27
790
+ http://bbc.co.uk/programmes
791
+ x
792
+ 2
793
+ ==
794
+ p
795
+ 3
796
+ I
797
+ 0
798
+ I
799
+ 15
800
+ I
801
+ 9
802
+ x
803
+ 59
804
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
805
+ p
806
+ 0
807
+ x
808
+ 2
809
+ it
810
+ p
811
+ 5
812
+ I
813
+ 0
814
+ I
815
+ 14
816
+ I
817
+ a
818
+ I
819
+ 15
820
+ I
821
+ 12
822
+ x
823
+ 59
824
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
825
+ p
826
+ 0
827
+ s
828
+ 24
829
+ with an instance of File
830
+ M
831
+ 1
832
+ p
833
+ 2
834
+ x
835
+ 9
836
+ for_block
837
+ t
838
+ n
839
+ x
840
+ 9
841
+ __block__
842
+ i
843
+ 18
844
+ 5
845
+ 7
846
+ 0
847
+ 56
848
+ 1
849
+ 47
850
+ 50
851
+ 2
852
+ 1
853
+ 15
854
+ 5
855
+ 56
856
+ 3
857
+ 47
858
+ 50
859
+ 4
860
+ 0
861
+ 11
862
+ I
863
+ 4
864
+ I
865
+ 0
866
+ I
867
+ 0
868
+ I
869
+ 0
870
+ I
871
+ -2
872
+ p
873
+ 5
874
+ x
875
+ 4
876
+ file
877
+ M
878
+ 1
879
+ p
880
+ 2
881
+ x
882
+ 9
883
+ for_block
884
+ t
885
+ n
886
+ x
887
+ 9
888
+ __block__
889
+ i
890
+ 41
891
+ 45
892
+ 0
893
+ 1
894
+ 13
895
+ 71
896
+ 2
897
+ 47
898
+ 9
899
+ 29
900
+ 47
901
+ 49
902
+ 3
903
+ 0
904
+ 13
905
+ 5
906
+ 7
907
+ 4
908
+ 64
909
+ 47
910
+ 49
911
+ 5
912
+ 1
913
+ 47
914
+ 49
915
+ 6
916
+ 1
917
+ 15
918
+ 8
919
+ 40
920
+ 5
921
+ 7
922
+ 4
923
+ 64
924
+ 47
925
+ 49
926
+ 5
927
+ 1
928
+ 49
929
+ 2
930
+ 1
931
+ 11
932
+ I
933
+ 5
934
+ I
935
+ 0
936
+ I
937
+ 0
938
+ I
939
+ 0
940
+ I
941
+ -2
942
+ p
943
+ 7
944
+ x
945
+ 4
946
+ File
947
+ n
948
+ x
949
+ 3
950
+ new
951
+ x
952
+ 8
953
+ allocate
954
+ s
955
+ 7
956
+ example
957
+ x
958
+ 13
959
+ fixture_image
960
+ x
961
+ 10
962
+ initialize
963
+ p
964
+ 3
965
+ I
966
+ 0
967
+ I
968
+ 19
969
+ I
970
+ 29
971
+ x
972
+ 59
973
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
974
+ p
975
+ 0
976
+ x
977
+ 3
978
+ let
979
+ M
980
+ 1
981
+ p
982
+ 2
983
+ x
984
+ 9
985
+ for_block
986
+ t
987
+ n
988
+ x
989
+ 9
990
+ __block__
991
+ i
992
+ 9
993
+ 5
994
+ 48
995
+ 0
996
+ 7
997
+ 1
998
+ 64
999
+ 83
1000
+ 2
1001
+ 11
1002
+ I
1003
+ 3
1004
+ I
1005
+ 0
1006
+ I
1007
+ 0
1008
+ I
1009
+ 0
1010
+ I
1011
+ -2
1012
+ p
1013
+ 3
1014
+ x
1015
+ 6
1016
+ should
1017
+ s
1018
+ 7
1019
+ example
1020
+ x
1021
+ 2
1022
+ ==
1023
+ p
1024
+ 3
1025
+ I
1026
+ 0
1027
+ I
1028
+ 1a
1029
+ I
1030
+ 9
1031
+ x
1032
+ 59
1033
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
1034
+ p
1035
+ 0
1036
+ x
1037
+ 2
1038
+ it
1039
+ p
1040
+ 5
1041
+ I
1042
+ 0
1043
+ I
1044
+ 19
1045
+ I
1046
+ a
1047
+ I
1048
+ 1a
1049
+ I
1050
+ 12
1051
+ x
1052
+ 59
1053
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
1054
+ p
1055
+ 0
1056
+ s
1057
+ 37
1058
+ with an object that responds to #path
1059
+ M
1060
+ 1
1061
+ p
1062
+ 2
1063
+ x
1064
+ 9
1065
+ for_block
1066
+ t
1067
+ n
1068
+ x
1069
+ 9
1070
+ __block__
1071
+ i
1072
+ 18
1073
+ 5
1074
+ 7
1075
+ 0
1076
+ 56
1077
+ 1
1078
+ 47
1079
+ 50
1080
+ 2
1081
+ 1
1082
+ 15
1083
+ 5
1084
+ 56
1085
+ 3
1086
+ 47
1087
+ 50
1088
+ 4
1089
+ 0
1090
+ 11
1091
+ I
1092
+ 4
1093
+ I
1094
+ 0
1095
+ I
1096
+ 0
1097
+ I
1098
+ 0
1099
+ I
1100
+ -2
1101
+ p
1102
+ 5
1103
+ x
1104
+ 4
1105
+ file
1106
+ M
1107
+ 1
1108
+ p
1109
+ 2
1110
+ x
1111
+ 9
1112
+ for_block
1113
+ t
1114
+ n
1115
+ x
1116
+ 9
1117
+ __block__
1118
+ i
1119
+ 25
1120
+ 45
1121
+ 0
1122
+ 1
1123
+ 13
1124
+ 71
1125
+ 2
1126
+ 47
1127
+ 9
1128
+ 21
1129
+ 47
1130
+ 49
1131
+ 3
1132
+ 0
1133
+ 13
1134
+ 47
1135
+ 49
1136
+ 4
1137
+ 0
1138
+ 15
1139
+ 8
1140
+ 24
1141
+ 49
1142
+ 2
1143
+ 0
1144
+ 11
1145
+ I
1146
+ 3
1147
+ I
1148
+ 0
1149
+ I
1150
+ 0
1151
+ I
1152
+ 0
1153
+ I
1154
+ -2
1155
+ p
1156
+ 5
1157
+ x
1158
+ 3
1159
+ Foo
1160
+ n
1161
+ x
1162
+ 3
1163
+ new
1164
+ x
1165
+ 8
1166
+ allocate
1167
+ x
1168
+ 10
1169
+ initialize
1170
+ p
1171
+ 3
1172
+ I
1173
+ 0
1174
+ I
1175
+ 1e
1176
+ I
1177
+ 19
1178
+ x
1179
+ 59
1180
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
1181
+ p
1182
+ 0
1183
+ x
1184
+ 3
1185
+ let
1186
+ M
1187
+ 1
1188
+ p
1189
+ 2
1190
+ x
1191
+ 9
1192
+ for_block
1193
+ t
1194
+ n
1195
+ x
1196
+ 9
1197
+ __block__
1198
+ i
1199
+ 9
1200
+ 5
1201
+ 48
1202
+ 0
1203
+ 7
1204
+ 1
1205
+ 64
1206
+ 83
1207
+ 2
1208
+ 11
1209
+ I
1210
+ 3
1211
+ I
1212
+ 0
1213
+ I
1214
+ 0
1215
+ I
1216
+ 0
1217
+ I
1218
+ -2
1219
+ p
1220
+ 3
1221
+ x
1222
+ 6
1223
+ should
1224
+ s
1225
+ 7
1226
+ example
1227
+ x
1228
+ 2
1229
+ ==
1230
+ p
1231
+ 3
1232
+ I
1233
+ 0
1234
+ I
1235
+ 1f
1236
+ I
1237
+ 9
1238
+ x
1239
+ 59
1240
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
1241
+ p
1242
+ 0
1243
+ x
1244
+ 2
1245
+ it
1246
+ p
1247
+ 5
1248
+ I
1249
+ 0
1250
+ I
1251
+ 1e
1252
+ I
1253
+ a
1254
+ I
1255
+ 1f
1256
+ I
1257
+ 12
1258
+ x
1259
+ 59
1260
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
1261
+ p
1262
+ 0
1263
+ s
1264
+ 32
1265
+ when the image cannot be decoded
1266
+ M
1267
+ 1
1268
+ p
1269
+ 2
1270
+ x
1271
+ 9
1272
+ for_block
1273
+ t
1274
+ n
1275
+ x
1276
+ 9
1277
+ __block__
1278
+ i
1279
+ 18
1280
+ 5
1281
+ 7
1282
+ 0
1283
+ 56
1284
+ 1
1285
+ 47
1286
+ 50
1287
+ 2
1288
+ 1
1289
+ 15
1290
+ 5
1291
+ 56
1292
+ 3
1293
+ 47
1294
+ 50
1295
+ 4
1296
+ 0
1297
+ 11
1298
+ I
1299
+ 4
1300
+ I
1301
+ 0
1302
+ I
1303
+ 0
1304
+ I
1305
+ 0
1306
+ I
1307
+ -2
1308
+ p
1309
+ 5
1310
+ x
1311
+ 4
1312
+ file
1313
+ M
1314
+ 1
1315
+ p
1316
+ 2
1317
+ x
1318
+ 9
1319
+ for_block
1320
+ t
1321
+ n
1322
+ x
1323
+ 9
1324
+ __block__
1325
+ i
1326
+ 9
1327
+ 5
1328
+ 7
1329
+ 0
1330
+ 64
1331
+ 47
1332
+ 49
1333
+ 1
1334
+ 1
1335
+ 11
1336
+ I
1337
+ 3
1338
+ I
1339
+ 0
1340
+ I
1341
+ 0
1342
+ I
1343
+ 0
1344
+ I
1345
+ -2
1346
+ p
1347
+ 2
1348
+ s
1349
+ 3
1350
+ cat
1351
+ x
1352
+ 13
1353
+ fixture_image
1354
+ p
1355
+ 3
1356
+ I
1357
+ 0
1358
+ I
1359
+ 23
1360
+ I
1361
+ 9
1362
+ x
1363
+ 59
1364
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
1365
+ p
1366
+ 0
1367
+ x
1368
+ 3
1369
+ let
1370
+ M
1371
+ 1
1372
+ p
1373
+ 2
1374
+ x
1375
+ 9
1376
+ for_block
1377
+ t
1378
+ n
1379
+ x
1380
+ 9
1381
+ __block__
1382
+ i
1383
+ 9
1384
+ 5
1385
+ 5
1386
+ 48
1387
+ 0
1388
+ 47
1389
+ 49
1390
+ 1
1391
+ 1
1392
+ 11
1393
+ I
1394
+ 3
1395
+ I
1396
+ 0
1397
+ I
1398
+ 0
1399
+ I
1400
+ 0
1401
+ I
1402
+ -2
1403
+ p
1404
+ 2
1405
+ x
1406
+ 6
1407
+ be_nil
1408
+ x
1409
+ 6
1410
+ should
1411
+ p
1412
+ 3
1413
+ I
1414
+ 0
1415
+ I
1416
+ 24
1417
+ I
1418
+ 9
1419
+ x
1420
+ 59
1421
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
1422
+ p
1423
+ 0
1424
+ x
1425
+ 2
1426
+ it
1427
+ p
1428
+ 5
1429
+ I
1430
+ 0
1431
+ I
1432
+ 23
1433
+ I
1434
+ a
1435
+ I
1436
+ 24
1437
+ I
1438
+ 12
1439
+ x
1440
+ 59
1441
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
1442
+ p
1443
+ 0
1444
+ s
1445
+ 24
1446
+ when file does not exist
1447
+ M
1448
+ 1
1449
+ p
1450
+ 2
1451
+ x
1452
+ 9
1453
+ for_block
1454
+ t
1455
+ n
1456
+ x
1457
+ 9
1458
+ __block__
1459
+ i
1460
+ 21
1461
+ 5
1462
+ 7
1463
+ 0
1464
+ 56
1465
+ 1
1466
+ 47
1467
+ 50
1468
+ 2
1469
+ 1
1470
+ 15
1471
+ 5
1472
+ 7
1473
+ 3
1474
+ 64
1475
+ 56
1476
+ 4
1477
+ 47
1478
+ 50
1479
+ 5
1480
+ 1
1481
+ 11
1482
+ I
1483
+ 4
1484
+ I
1485
+ 0
1486
+ I
1487
+ 0
1488
+ I
1489
+ 0
1490
+ I
1491
+ -2
1492
+ p
1493
+ 6
1494
+ x
1495
+ 4
1496
+ file
1497
+ M
1498
+ 1
1499
+ p
1500
+ 2
1501
+ x
1502
+ 9
1503
+ for_block
1504
+ t
1505
+ n
1506
+ x
1507
+ 9
1508
+ __block__
1509
+ i
1510
+ 4
1511
+ 7
1512
+ 0
1513
+ 64
1514
+ 11
1515
+ I
1516
+ 2
1517
+ I
1518
+ 0
1519
+ I
1520
+ 0
1521
+ I
1522
+ 0
1523
+ I
1524
+ -2
1525
+ p
1526
+ 1
1527
+ s
1528
+ 19
1529
+ nonexistentfile.png
1530
+ p
1531
+ 3
1532
+ I
1533
+ 0
1534
+ I
1535
+ 28
1536
+ I
1537
+ 4
1538
+ x
1539
+ 59
1540
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
1541
+ p
1542
+ 0
1543
+ x
1544
+ 3
1545
+ let
1546
+ s
1547
+ 15
1548
+ raises an error
1549
+ M
1550
+ 1
1551
+ p
1552
+ 2
1553
+ x
1554
+ 9
1555
+ for_block
1556
+ t
1557
+ n
1558
+ x
1559
+ 9
1560
+ __block__
1561
+ i
1562
+ 22
1563
+ 5
1564
+ 56
1565
+ 0
1566
+ 47
1567
+ 50
1568
+ 1
1569
+ 0
1570
+ 5
1571
+ 45
1572
+ 2
1573
+ 3
1574
+ 7
1575
+ 4
1576
+ 64
1577
+ 47
1578
+ 49
1579
+ 5
1580
+ 2
1581
+ 49
1582
+ 6
1583
+ 1
1584
+ 11
1585
+ I
1586
+ 5
1587
+ I
1588
+ 0
1589
+ I
1590
+ 0
1591
+ I
1592
+ 0
1593
+ I
1594
+ -2
1595
+ p
1596
+ 7
1597
+ M
1598
+ 1
1599
+ p
1600
+ 2
1601
+ x
1602
+ 9
1603
+ for_block
1604
+ t
1605
+ n
1606
+ x
1607
+ 9
1608
+ __block__
1609
+ i
1610
+ 4
1611
+ 5
1612
+ 48
1613
+ 0
1614
+ 11
1615
+ I
1616
+ 2
1617
+ I
1618
+ 0
1619
+ I
1620
+ 0
1621
+ I
1622
+ 0
1623
+ I
1624
+ -2
1625
+ p
1626
+ 1
1627
+ x
1628
+ 7
1629
+ subject
1630
+ p
1631
+ 3
1632
+ I
1633
+ 0
1634
+ I
1635
+ 2a
1636
+ I
1637
+ 4
1638
+ x
1639
+ 59
1640
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
1641
+ p
1642
+ 0
1643
+ x
1644
+ 6
1645
+ expect
1646
+ x
1647
+ 13
1648
+ ArgumentError
1649
+ n
1650
+ s
1651
+ 43
1652
+ File nonexistentfile.png could not be found
1653
+ x
1654
+ 11
1655
+ raise_error
1656
+ x
1657
+ 2
1658
+ to
1659
+ p
1660
+ 3
1661
+ I
1662
+ 0
1663
+ I
1664
+ 2a
1665
+ I
1666
+ 16
1667
+ x
1668
+ 59
1669
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
1670
+ p
1671
+ 0
1672
+ x
1673
+ 2
1674
+ it
1675
+ p
1676
+ 5
1677
+ I
1678
+ 0
1679
+ I
1680
+ 28
1681
+ I
1682
+ a
1683
+ I
1684
+ 29
1685
+ I
1686
+ 15
1687
+ x
1688
+ 59
1689
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
1690
+ p
1691
+ 0
1692
+ p
1693
+ 15
1694
+ I
1695
+ 0
1696
+ I
1697
+ c
1698
+ I
1699
+ 8
1700
+ I
1701
+ e
1702
+ I
1703
+ 13
1704
+ I
1705
+ 13
1706
+ I
1707
+ 1e
1708
+ I
1709
+ 18
1710
+ I
1711
+ 29
1712
+ I
1713
+ 1d
1714
+ I
1715
+ 34
1716
+ I
1717
+ 22
1718
+ I
1719
+ 3f
1720
+ I
1721
+ 27
1722
+ I
1723
+ 4a
1724
+ x
1725
+ 59
1726
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
1727
+ p
1728
+ 0
1729
+ x
1730
+ 8
1731
+ describe
1732
+ s
1733
+ 8
1734
+ .decode!
1735
+ M
1736
+ 1
1737
+ p
1738
+ 2
1739
+ x
1740
+ 9
1741
+ for_block
1742
+ t
1743
+ n
1744
+ x
1745
+ 9
1746
+ __block__
1747
+ i
1748
+ 52
1749
+ 5
1750
+ 56
1751
+ 0
1752
+ 47
1753
+ 50
1754
+ 1
1755
+ 0
1756
+ 15
1757
+ 5
1758
+ 7
1759
+ 2
1760
+ 64
1761
+ 56
1762
+ 3
1763
+ 47
1764
+ 50
1765
+ 4
1766
+ 1
1767
+ 15
1768
+ 5
1769
+ 7
1770
+ 5
1771
+ 64
1772
+ 56
1773
+ 6
1774
+ 47
1775
+ 50
1776
+ 4
1777
+ 1
1778
+ 15
1779
+ 5
1780
+ 7
1781
+ 7
1782
+ 64
1783
+ 56
1784
+ 8
1785
+ 47
1786
+ 50
1787
+ 4
1788
+ 1
1789
+ 15
1790
+ 5
1791
+ 7
1792
+ 9
1793
+ 64
1794
+ 56
1795
+ 10
1796
+ 47
1797
+ 50
1798
+ 4
1799
+ 1
1800
+ 11
1801
+ I
1802
+ 4
1803
+ I
1804
+ 0
1805
+ I
1806
+ 0
1807
+ I
1808
+ 0
1809
+ I
1810
+ -2
1811
+ p
1812
+ 11
1813
+ M
1814
+ 1
1815
+ p
1816
+ 2
1817
+ x
1818
+ 9
1819
+ for_block
1820
+ t
1821
+ n
1822
+ x
1823
+ 9
1824
+ __block__
1825
+ i
1826
+ 10
1827
+ 45
1828
+ 0
1829
+ 1
1830
+ 5
1831
+ 48
1832
+ 2
1833
+ 49
1834
+ 3
1835
+ 1
1836
+ 11
1837
+ I
1838
+ 3
1839
+ I
1840
+ 0
1841
+ I
1842
+ 0
1843
+ I
1844
+ 0
1845
+ I
1846
+ -2
1847
+ p
1848
+ 4
1849
+ x
1850
+ 5
1851
+ ZXing
1852
+ n
1853
+ x
1854
+ 4
1855
+ file
1856
+ x
1857
+ 7
1858
+ decode!
1859
+ p
1860
+ 3
1861
+ I
1862
+ 0
1863
+ I
1864
+ 31
1865
+ I
1866
+ a
1867
+ x
1868
+ 59
1869
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
1870
+ p
1871
+ 0
1872
+ x
1873
+ 7
1874
+ subject
1875
+ s
1876
+ 18
1877
+ with a qrcode file
1878
+ M
1879
+ 1
1880
+ p
1881
+ 2
1882
+ x
1883
+ 9
1884
+ for_block
1885
+ t
1886
+ n
1887
+ x
1888
+ 9
1889
+ __block__
1890
+ i
1891
+ 18
1892
+ 5
1893
+ 7
1894
+ 0
1895
+ 56
1896
+ 1
1897
+ 47
1898
+ 50
1899
+ 2
1900
+ 1
1901
+ 15
1902
+ 5
1903
+ 56
1904
+ 3
1905
+ 47
1906
+ 50
1907
+ 4
1908
+ 0
1909
+ 11
1910
+ I
1911
+ 4
1912
+ I
1913
+ 0
1914
+ I
1915
+ 0
1916
+ I
1917
+ 0
1918
+ I
1919
+ -2
1920
+ p
1921
+ 5
1922
+ x
1923
+ 4
1924
+ file
1925
+ M
1926
+ 1
1927
+ p
1928
+ 2
1929
+ x
1930
+ 9
1931
+ for_block
1932
+ t
1933
+ n
1934
+ x
1935
+ 9
1936
+ __block__
1937
+ i
1938
+ 9
1939
+ 5
1940
+ 7
1941
+ 0
1942
+ 64
1943
+ 47
1944
+ 49
1945
+ 1
1946
+ 1
1947
+ 11
1948
+ I
1949
+ 3
1950
+ I
1951
+ 0
1952
+ I
1953
+ 0
1954
+ I
1955
+ 0
1956
+ I
1957
+ -2
1958
+ p
1959
+ 2
1960
+ s
1961
+ 7
1962
+ example
1963
+ x
1964
+ 13
1965
+ fixture_image
1966
+ p
1967
+ 3
1968
+ I
1969
+ 0
1970
+ I
1971
+ 34
1972
+ I
1973
+ 9
1974
+ x
1975
+ 59
1976
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
1977
+ p
1978
+ 0
1979
+ x
1980
+ 3
1981
+ let
1982
+ M
1983
+ 1
1984
+ p
1985
+ 2
1986
+ x
1987
+ 9
1988
+ for_block
1989
+ t
1990
+ n
1991
+ x
1992
+ 9
1993
+ __block__
1994
+ i
1995
+ 9
1996
+ 5
1997
+ 48
1998
+ 0
1999
+ 7
2000
+ 1
2001
+ 64
2002
+ 83
2003
+ 2
2004
+ 11
2005
+ I
2006
+ 3
2007
+ I
2008
+ 0
2009
+ I
2010
+ 0
2011
+ I
2012
+ 0
2013
+ I
2014
+ -2
2015
+ p
2016
+ 3
2017
+ x
2018
+ 6
2019
+ should
2020
+ s
2021
+ 7
2022
+ example
2023
+ x
2024
+ 2
2025
+ ==
2026
+ p
2027
+ 3
2028
+ I
2029
+ 0
2030
+ I
2031
+ 35
2032
+ I
2033
+ 9
2034
+ x
2035
+ 59
2036
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
2037
+ p
2038
+ 0
2039
+ x
2040
+ 2
2041
+ it
2042
+ p
2043
+ 5
2044
+ I
2045
+ 0
2046
+ I
2047
+ 34
2048
+ I
2049
+ a
2050
+ I
2051
+ 35
2052
+ I
2053
+ 12
2054
+ x
2055
+ 59
2056
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
2057
+ p
2058
+ 0
2059
+ x
2060
+ 7
2061
+ context
2062
+ s
2063
+ 32
2064
+ when the image cannot be decoded
2065
+ M
2066
+ 1
2067
+ p
2068
+ 2
2069
+ x
2070
+ 9
2071
+ for_block
2072
+ t
2073
+ n
2074
+ x
2075
+ 9
2076
+ __block__
2077
+ i
2078
+ 21
2079
+ 5
2080
+ 7
2081
+ 0
2082
+ 56
2083
+ 1
2084
+ 47
2085
+ 50
2086
+ 2
2087
+ 1
2088
+ 15
2089
+ 5
2090
+ 7
2091
+ 3
2092
+ 64
2093
+ 56
2094
+ 4
2095
+ 47
2096
+ 50
2097
+ 5
2098
+ 1
2099
+ 11
2100
+ I
2101
+ 4
2102
+ I
2103
+ 0
2104
+ I
2105
+ 0
2106
+ I
2107
+ 0
2108
+ I
2109
+ -2
2110
+ p
2111
+ 6
2112
+ x
2113
+ 4
2114
+ file
2115
+ M
2116
+ 1
2117
+ p
2118
+ 2
2119
+ x
2120
+ 9
2121
+ for_block
2122
+ t
2123
+ n
2124
+ x
2125
+ 9
2126
+ __block__
2127
+ i
2128
+ 9
2129
+ 5
2130
+ 7
2131
+ 0
2132
+ 64
2133
+ 47
2134
+ 49
2135
+ 1
2136
+ 1
2137
+ 11
2138
+ I
2139
+ 3
2140
+ I
2141
+ 0
2142
+ I
2143
+ 0
2144
+ I
2145
+ 0
2146
+ I
2147
+ -2
2148
+ p
2149
+ 2
2150
+ s
2151
+ 3
2152
+ cat
2153
+ x
2154
+ 13
2155
+ fixture_image
2156
+ p
2157
+ 3
2158
+ I
2159
+ 0
2160
+ I
2161
+ 39
2162
+ I
2163
+ 9
2164
+ x
2165
+ 59
2166
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
2167
+ p
2168
+ 0
2169
+ x
2170
+ 3
2171
+ let
2172
+ s
2173
+ 15
2174
+ raises an error
2175
+ M
2176
+ 1
2177
+ p
2178
+ 2
2179
+ x
2180
+ 9
2181
+ for_block
2182
+ t
2183
+ n
2184
+ x
2185
+ 9
2186
+ __block__
2187
+ i
2188
+ 24
2189
+ 5
2190
+ 56
2191
+ 0
2192
+ 47
2193
+ 50
2194
+ 1
2195
+ 0
2196
+ 5
2197
+ 45
2198
+ 2
2199
+ 3
2200
+ 43
2201
+ 4
2202
+ 7
2203
+ 5
2204
+ 64
2205
+ 47
2206
+ 49
2207
+ 6
2208
+ 2
2209
+ 49
2210
+ 7
2211
+ 1
2212
+ 11
2213
+ I
2214
+ 5
2215
+ I
2216
+ 0
2217
+ I
2218
+ 0
2219
+ I
2220
+ 0
2221
+ I
2222
+ -2
2223
+ p
2224
+ 8
2225
+ M
2226
+ 1
2227
+ p
2228
+ 2
2229
+ x
2230
+ 9
2231
+ for_block
2232
+ t
2233
+ n
2234
+ x
2235
+ 9
2236
+ __block__
2237
+ i
2238
+ 4
2239
+ 5
2240
+ 48
2241
+ 0
2242
+ 11
2243
+ I
2244
+ 2
2245
+ I
2246
+ 0
2247
+ I
2248
+ 0
2249
+ I
2250
+ 0
2251
+ I
2252
+ -2
2253
+ p
2254
+ 1
2255
+ x
2256
+ 7
2257
+ subject
2258
+ p
2259
+ 3
2260
+ I
2261
+ 0
2262
+ I
2263
+ 3b
2264
+ I
2265
+ 4
2266
+ x
2267
+ 59
2268
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
2269
+ p
2270
+ 0
2271
+ x
2272
+ 6
2273
+ expect
2274
+ x
2275
+ 5
2276
+ ZXing
2277
+ n
2278
+ x
2279
+ 16
2280
+ UndecodableError
2281
+ s
2282
+ 19
2283
+ Image not decodable
2284
+ x
2285
+ 11
2286
+ raise_error
2287
+ x
2288
+ 2
2289
+ to
2290
+ p
2291
+ 3
2292
+ I
2293
+ 0
2294
+ I
2295
+ 3b
2296
+ I
2297
+ 18
2298
+ x
2299
+ 59
2300
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
2301
+ p
2302
+ 0
2303
+ x
2304
+ 2
2305
+ it
2306
+ p
2307
+ 5
2308
+ I
2309
+ 0
2310
+ I
2311
+ 39
2312
+ I
2313
+ a
2314
+ I
2315
+ 3a
2316
+ I
2317
+ 15
2318
+ x
2319
+ 59
2320
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
2321
+ p
2322
+ 0
2323
+ s
2324
+ 43
2325
+ when the image cannot be decoded from a URL
2326
+ M
2327
+ 1
2328
+ p
2329
+ 2
2330
+ x
2331
+ 9
2332
+ for_block
2333
+ t
2334
+ n
2335
+ x
2336
+ 9
2337
+ __block__
2338
+ i
2339
+ 21
2340
+ 5
2341
+ 7
2342
+ 0
2343
+ 56
2344
+ 1
2345
+ 47
2346
+ 50
2347
+ 2
2348
+ 1
2349
+ 15
2350
+ 5
2351
+ 7
2352
+ 3
2353
+ 64
2354
+ 56
2355
+ 4
2356
+ 47
2357
+ 50
2358
+ 5
2359
+ 1
2360
+ 11
2361
+ I
2362
+ 4
2363
+ I
2364
+ 0
2365
+ I
2366
+ 0
2367
+ I
2368
+ 0
2369
+ I
2370
+ -2
2371
+ p
2372
+ 6
2373
+ x
2374
+ 4
2375
+ file
2376
+ M
2377
+ 1
2378
+ p
2379
+ 2
2380
+ x
2381
+ 9
2382
+ for_block
2383
+ t
2384
+ n
2385
+ x
2386
+ 9
2387
+ __block__
2388
+ i
2389
+ 4
2390
+ 7
2391
+ 0
2392
+ 64
2393
+ 11
2394
+ I
2395
+ 2
2396
+ I
2397
+ 0
2398
+ I
2399
+ 0
2400
+ I
2401
+ 0
2402
+ I
2403
+ -2
2404
+ p
2405
+ 1
2406
+ s
2407
+ 49
2408
+ http://www.google.com/logos/grandparentsday10.gif
2409
+ p
2410
+ 3
2411
+ I
2412
+ 0
2413
+ I
2414
+ 40
2415
+ I
2416
+ 4
2417
+ x
2418
+ 59
2419
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
2420
+ p
2421
+ 0
2422
+ x
2423
+ 3
2424
+ let
2425
+ s
2426
+ 15
2427
+ raises an error
2428
+ M
2429
+ 1
2430
+ p
2431
+ 2
2432
+ x
2433
+ 9
2434
+ for_block
2435
+ t
2436
+ n
2437
+ x
2438
+ 9
2439
+ __block__
2440
+ i
2441
+ 24
2442
+ 5
2443
+ 56
2444
+ 0
2445
+ 47
2446
+ 50
2447
+ 1
2448
+ 0
2449
+ 5
2450
+ 45
2451
+ 2
2452
+ 3
2453
+ 43
2454
+ 4
2455
+ 7
2456
+ 5
2457
+ 64
2458
+ 47
2459
+ 49
2460
+ 6
2461
+ 2
2462
+ 49
2463
+ 7
2464
+ 1
2465
+ 11
2466
+ I
2467
+ 5
2468
+ I
2469
+ 0
2470
+ I
2471
+ 0
2472
+ I
2473
+ 0
2474
+ I
2475
+ -2
2476
+ p
2477
+ 8
2478
+ M
2479
+ 1
2480
+ p
2481
+ 2
2482
+ x
2483
+ 9
2484
+ for_block
2485
+ t
2486
+ n
2487
+ x
2488
+ 9
2489
+ __block__
2490
+ i
2491
+ 4
2492
+ 5
2493
+ 48
2494
+ 0
2495
+ 11
2496
+ I
2497
+ 2
2498
+ I
2499
+ 0
2500
+ I
2501
+ 0
2502
+ I
2503
+ 0
2504
+ I
2505
+ -2
2506
+ p
2507
+ 1
2508
+ x
2509
+ 7
2510
+ subject
2511
+ p
2512
+ 3
2513
+ I
2514
+ 0
2515
+ I
2516
+ 42
2517
+ I
2518
+ 4
2519
+ x
2520
+ 59
2521
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
2522
+ p
2523
+ 0
2524
+ x
2525
+ 6
2526
+ expect
2527
+ x
2528
+ 5
2529
+ ZXing
2530
+ n
2531
+ x
2532
+ 16
2533
+ UndecodableError
2534
+ s
2535
+ 19
2536
+ Image not decodable
2537
+ x
2538
+ 11
2539
+ raise_error
2540
+ x
2541
+ 2
2542
+ to
2543
+ p
2544
+ 3
2545
+ I
2546
+ 0
2547
+ I
2548
+ 42
2549
+ I
2550
+ 18
2551
+ x
2552
+ 59
2553
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
2554
+ p
2555
+ 0
2556
+ x
2557
+ 2
2558
+ it
2559
+ p
2560
+ 5
2561
+ I
2562
+ 0
2563
+ I
2564
+ 40
2565
+ I
2566
+ a
2567
+ I
2568
+ 41
2569
+ I
2570
+ 15
2571
+ x
2572
+ 59
2573
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
2574
+ p
2575
+ 0
2576
+ s
2577
+ 24
2578
+ when file does not exist
2579
+ M
2580
+ 1
2581
+ p
2582
+ 2
2583
+ x
2584
+ 9
2585
+ for_block
2586
+ t
2587
+ n
2588
+ x
2589
+ 9
2590
+ __block__
2591
+ i
2592
+ 21
2593
+ 5
2594
+ 7
2595
+ 0
2596
+ 56
2597
+ 1
2598
+ 47
2599
+ 50
2600
+ 2
2601
+ 1
2602
+ 15
2603
+ 5
2604
+ 7
2605
+ 3
2606
+ 64
2607
+ 56
2608
+ 4
2609
+ 47
2610
+ 50
2611
+ 5
2612
+ 1
2613
+ 11
2614
+ I
2615
+ 4
2616
+ I
2617
+ 0
2618
+ I
2619
+ 0
2620
+ I
2621
+ 0
2622
+ I
2623
+ -2
2624
+ p
2625
+ 6
2626
+ x
2627
+ 4
2628
+ file
2629
+ M
2630
+ 1
2631
+ p
2632
+ 2
2633
+ x
2634
+ 9
2635
+ for_block
2636
+ t
2637
+ n
2638
+ x
2639
+ 9
2640
+ __block__
2641
+ i
2642
+ 4
2643
+ 7
2644
+ 0
2645
+ 64
2646
+ 11
2647
+ I
2648
+ 2
2649
+ I
2650
+ 0
2651
+ I
2652
+ 0
2653
+ I
2654
+ 0
2655
+ I
2656
+ -2
2657
+ p
2658
+ 1
2659
+ s
2660
+ 19
2661
+ nonexistentfile.png
2662
+ p
2663
+ 3
2664
+ I
2665
+ 0
2666
+ I
2667
+ 47
2668
+ I
2669
+ 4
2670
+ x
2671
+ 59
2672
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
2673
+ p
2674
+ 0
2675
+ x
2676
+ 3
2677
+ let
2678
+ s
2679
+ 15
2680
+ raises an error
2681
+ M
2682
+ 1
2683
+ p
2684
+ 2
2685
+ x
2686
+ 9
2687
+ for_block
2688
+ t
2689
+ n
2690
+ x
2691
+ 9
2692
+ __block__
2693
+ i
2694
+ 22
2695
+ 5
2696
+ 56
2697
+ 0
2698
+ 47
2699
+ 50
2700
+ 1
2701
+ 0
2702
+ 5
2703
+ 45
2704
+ 2
2705
+ 3
2706
+ 7
2707
+ 4
2708
+ 64
2709
+ 47
2710
+ 49
2711
+ 5
2712
+ 2
2713
+ 49
2714
+ 6
2715
+ 1
2716
+ 11
2717
+ I
2718
+ 5
2719
+ I
2720
+ 0
2721
+ I
2722
+ 0
2723
+ I
2724
+ 0
2725
+ I
2726
+ -2
2727
+ p
2728
+ 7
2729
+ M
2730
+ 1
2731
+ p
2732
+ 2
2733
+ x
2734
+ 9
2735
+ for_block
2736
+ t
2737
+ n
2738
+ x
2739
+ 9
2740
+ __block__
2741
+ i
2742
+ 4
2743
+ 5
2744
+ 48
2745
+ 0
2746
+ 11
2747
+ I
2748
+ 2
2749
+ I
2750
+ 0
2751
+ I
2752
+ 0
2753
+ I
2754
+ 0
2755
+ I
2756
+ -2
2757
+ p
2758
+ 1
2759
+ x
2760
+ 7
2761
+ subject
2762
+ p
2763
+ 3
2764
+ I
2765
+ 0
2766
+ I
2767
+ 49
2768
+ I
2769
+ 4
2770
+ x
2771
+ 59
2772
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
2773
+ p
2774
+ 0
2775
+ x
2776
+ 6
2777
+ expect
2778
+ x
2779
+ 13
2780
+ ArgumentError
2781
+ n
2782
+ s
2783
+ 43
2784
+ File nonexistentfile.png could not be found
2785
+ x
2786
+ 11
2787
+ raise_error
2788
+ x
2789
+ 2
2790
+ to
2791
+ p
2792
+ 3
2793
+ I
2794
+ 0
2795
+ I
2796
+ 49
2797
+ I
2798
+ 16
2799
+ x
2800
+ 59
2801
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
2802
+ p
2803
+ 0
2804
+ x
2805
+ 2
2806
+ it
2807
+ p
2808
+ 5
2809
+ I
2810
+ 0
2811
+ I
2812
+ 47
2813
+ I
2814
+ a
2815
+ I
2816
+ 48
2817
+ I
2818
+ 15
2819
+ x
2820
+ 59
2821
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
2822
+ p
2823
+ 0
2824
+ p
2825
+ 11
2826
+ I
2827
+ 0
2828
+ I
2829
+ 31
2830
+ I
2831
+ 8
2832
+ I
2833
+ 33
2834
+ I
2835
+ 13
2836
+ I
2837
+ 38
2838
+ I
2839
+ 1e
2840
+ I
2841
+ 3f
2842
+ I
2843
+ 29
2844
+ I
2845
+ 46
2846
+ I
2847
+ 34
2848
+ x
2849
+ 59
2850
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
2851
+ p
2852
+ 0
2853
+ s
2854
+ 11
2855
+ .decode_all
2856
+ M
2857
+ 1
2858
+ p
2859
+ 2
2860
+ x
2861
+ 9
2862
+ for_block
2863
+ t
2864
+ n
2865
+ x
2866
+ 9
2867
+ __block__
2868
+ i
2869
+ 52
2870
+ 5
2871
+ 56
2872
+ 0
2873
+ 47
2874
+ 50
2875
+ 1
2876
+ 0
2877
+ 15
2878
+ 5
2879
+ 7
2880
+ 2
2881
+ 64
2882
+ 56
2883
+ 3
2884
+ 47
2885
+ 50
2886
+ 4
2887
+ 1
2888
+ 15
2889
+ 5
2890
+ 7
2891
+ 5
2892
+ 64
2893
+ 56
2894
+ 6
2895
+ 47
2896
+ 50
2897
+ 4
2898
+ 1
2899
+ 15
2900
+ 5
2901
+ 7
2902
+ 7
2903
+ 64
2904
+ 56
2905
+ 8
2906
+ 47
2907
+ 50
2908
+ 4
2909
+ 1
2910
+ 15
2911
+ 5
2912
+ 7
2913
+ 9
2914
+ 64
2915
+ 56
2916
+ 10
2917
+ 47
2918
+ 50
2919
+ 4
2920
+ 1
2921
+ 11
2922
+ I
2923
+ 4
2924
+ I
2925
+ 0
2926
+ I
2927
+ 0
2928
+ I
2929
+ 0
2930
+ I
2931
+ -2
2932
+ p
2933
+ 11
2934
+ M
2935
+ 1
2936
+ p
2937
+ 2
2938
+ x
2939
+ 9
2940
+ for_block
2941
+ t
2942
+ n
2943
+ x
2944
+ 9
2945
+ __block__
2946
+ i
2947
+ 10
2948
+ 45
2949
+ 0
2950
+ 1
2951
+ 5
2952
+ 48
2953
+ 2
2954
+ 49
2955
+ 3
2956
+ 1
2957
+ 11
2958
+ I
2959
+ 3
2960
+ I
2961
+ 0
2962
+ I
2963
+ 0
2964
+ I
2965
+ 0
2966
+ I
2967
+ -2
2968
+ p
2969
+ 4
2970
+ x
2971
+ 5
2972
+ ZXing
2973
+ n
2974
+ x
2975
+ 4
2976
+ file
2977
+ x
2978
+ 10
2979
+ decode_all
2980
+ p
2981
+ 3
2982
+ I
2983
+ 0
2984
+ I
2985
+ 4f
2986
+ I
2987
+ a
2988
+ x
2989
+ 59
2990
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
2991
+ p
2992
+ 0
2993
+ x
2994
+ 7
2995
+ subject
2996
+ s
2997
+ 28
2998
+ with a single barcoded image
2999
+ M
3000
+ 1
3001
+ p
3002
+ 2
3003
+ x
3004
+ 9
3005
+ for_block
3006
+ t
3007
+ n
3008
+ x
3009
+ 9
3010
+ __block__
3011
+ i
3012
+ 18
3013
+ 5
3014
+ 7
3015
+ 0
3016
+ 56
3017
+ 1
3018
+ 47
3019
+ 50
3020
+ 2
3021
+ 1
3022
+ 15
3023
+ 5
3024
+ 56
3025
+ 3
3026
+ 47
3027
+ 50
3028
+ 4
3029
+ 0
3030
+ 11
3031
+ I
3032
+ 4
3033
+ I
3034
+ 0
3035
+ I
3036
+ 0
3037
+ I
3038
+ 0
3039
+ I
3040
+ -2
3041
+ p
3042
+ 5
3043
+ x
3044
+ 4
3045
+ file
3046
+ M
3047
+ 1
3048
+ p
3049
+ 2
3050
+ x
3051
+ 9
3052
+ for_block
3053
+ t
3054
+ n
3055
+ x
3056
+ 9
3057
+ __block__
3058
+ i
3059
+ 9
3060
+ 5
3061
+ 7
3062
+ 0
3063
+ 64
3064
+ 47
3065
+ 49
3066
+ 1
3067
+ 1
3068
+ 11
3069
+ I
3070
+ 3
3071
+ I
3072
+ 0
3073
+ I
3074
+ 0
3075
+ I
3076
+ 0
3077
+ I
3078
+ -2
3079
+ p
3080
+ 2
3081
+ s
3082
+ 7
3083
+ example
3084
+ x
3085
+ 13
3086
+ fixture_image
3087
+ p
3088
+ 3
3089
+ I
3090
+ 0
3091
+ I
3092
+ 52
3093
+ I
3094
+ 9
3095
+ x
3096
+ 59
3097
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
3098
+ p
3099
+ 0
3100
+ x
3101
+ 3
3102
+ let
3103
+ M
3104
+ 1
3105
+ p
3106
+ 2
3107
+ x
3108
+ 9
3109
+ for_block
3110
+ t
3111
+ n
3112
+ x
3113
+ 9
3114
+ __block__
3115
+ i
3116
+ 11
3117
+ 5
3118
+ 48
3119
+ 0
3120
+ 7
3121
+ 1
3122
+ 64
3123
+ 35
3124
+ 1
3125
+ 83
3126
+ 2
3127
+ 11
3128
+ I
3129
+ 3
3130
+ I
3131
+ 0
3132
+ I
3133
+ 0
3134
+ I
3135
+ 0
3136
+ I
3137
+ -2
3138
+ p
3139
+ 3
3140
+ x
3141
+ 6
3142
+ should
3143
+ s
3144
+ 7
3145
+ example
3146
+ x
3147
+ 2
3148
+ ==
3149
+ p
3150
+ 3
3151
+ I
3152
+ 0
3153
+ I
3154
+ 53
3155
+ I
3156
+ b
3157
+ x
3158
+ 59
3159
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
3160
+ p
3161
+ 0
3162
+ x
3163
+ 2
3164
+ it
3165
+ p
3166
+ 5
3167
+ I
3168
+ 0
3169
+ I
3170
+ 52
3171
+ I
3172
+ a
3173
+ I
3174
+ 53
3175
+ I
3176
+ 12
3177
+ x
3178
+ 59
3179
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
3180
+ p
3181
+ 0
3182
+ x
3183
+ 7
3184
+ context
3185
+ s
3186
+ 30
3187
+ with a multiple barcoded image
3188
+ M
3189
+ 1
3190
+ p
3191
+ 2
3192
+ x
3193
+ 9
3194
+ for_block
3195
+ t
3196
+ n
3197
+ x
3198
+ 9
3199
+ __block__
3200
+ i
3201
+ 18
3202
+ 5
3203
+ 7
3204
+ 0
3205
+ 56
3206
+ 1
3207
+ 47
3208
+ 50
3209
+ 2
3210
+ 1
3211
+ 15
3212
+ 5
3213
+ 56
3214
+ 3
3215
+ 47
3216
+ 50
3217
+ 4
3218
+ 0
3219
+ 11
3220
+ I
3221
+ 4
3222
+ I
3223
+ 0
3224
+ I
3225
+ 0
3226
+ I
3227
+ 0
3228
+ I
3229
+ -2
3230
+ p
3231
+ 5
3232
+ x
3233
+ 4
3234
+ file
3235
+ M
3236
+ 1
3237
+ p
3238
+ 2
3239
+ x
3240
+ 9
3241
+ for_block
3242
+ t
3243
+ n
3244
+ x
3245
+ 9
3246
+ __block__
3247
+ i
3248
+ 9
3249
+ 5
3250
+ 7
3251
+ 0
3252
+ 64
3253
+ 47
3254
+ 49
3255
+ 1
3256
+ 1
3257
+ 11
3258
+ I
3259
+ 3
3260
+ I
3261
+ 0
3262
+ I
3263
+ 0
3264
+ I
3265
+ 0
3266
+ I
3267
+ -2
3268
+ p
3269
+ 2
3270
+ s
3271
+ 21
3272
+ multi_barcode_example
3273
+ x
3274
+ 13
3275
+ fixture_image
3276
+ p
3277
+ 3
3278
+ I
3279
+ 0
3280
+ I
3281
+ 57
3282
+ I
3283
+ 9
3284
+ x
3285
+ 59
3286
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
3287
+ p
3288
+ 0
3289
+ x
3290
+ 3
3291
+ let
3292
+ M
3293
+ 1
3294
+ p
3295
+ 2
3296
+ x
3297
+ 9
3298
+ for_block
3299
+ t
3300
+ n
3301
+ x
3302
+ 9
3303
+ __block__
3304
+ i
3305
+ 14
3306
+ 5
3307
+ 48
3308
+ 0
3309
+ 7
3310
+ 1
3311
+ 64
3312
+ 7
3313
+ 2
3314
+ 64
3315
+ 35
3316
+ 2
3317
+ 83
3318
+ 3
3319
+ 11
3320
+ I
3321
+ 4
3322
+ I
3323
+ 0
3324
+ I
3325
+ 0
3326
+ I
3327
+ 0
3328
+ I
3329
+ -2
3330
+ p
3331
+ 4
3332
+ x
3333
+ 6
3334
+ should
3335
+ s
3336
+ 7
3337
+ test456
3338
+ s
3339
+ 7
3340
+ test123
3341
+ x
3342
+ 2
3343
+ ==
3344
+ p
3345
+ 3
3346
+ I
3347
+ 0
3348
+ I
3349
+ 58
3350
+ I
3351
+ e
3352
+ x
3353
+ 59
3354
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
3355
+ p
3356
+ 0
3357
+ x
3358
+ 2
3359
+ it
3360
+ p
3361
+ 5
3362
+ I
3363
+ 0
3364
+ I
3365
+ 57
3366
+ I
3367
+ a
3368
+ I
3369
+ 58
3370
+ I
3371
+ 12
3372
+ x
3373
+ 59
3374
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
3375
+ p
3376
+ 0
3377
+ s
3378
+ 32
3379
+ when the image cannot be decoded
3380
+ M
3381
+ 1
3382
+ p
3383
+ 2
3384
+ x
3385
+ 9
3386
+ for_block
3387
+ t
3388
+ n
3389
+ x
3390
+ 9
3391
+ __block__
3392
+ i
3393
+ 18
3394
+ 5
3395
+ 7
3396
+ 0
3397
+ 56
3398
+ 1
3399
+ 47
3400
+ 50
3401
+ 2
3402
+ 1
3403
+ 15
3404
+ 5
3405
+ 56
3406
+ 3
3407
+ 47
3408
+ 50
3409
+ 4
3410
+ 0
3411
+ 11
3412
+ I
3413
+ 4
3414
+ I
3415
+ 0
3416
+ I
3417
+ 0
3418
+ I
3419
+ 0
3420
+ I
3421
+ -2
3422
+ p
3423
+ 5
3424
+ x
3425
+ 4
3426
+ file
3427
+ M
3428
+ 1
3429
+ p
3430
+ 2
3431
+ x
3432
+ 9
3433
+ for_block
3434
+ t
3435
+ n
3436
+ x
3437
+ 9
3438
+ __block__
3439
+ i
3440
+ 9
3441
+ 5
3442
+ 7
3443
+ 0
3444
+ 64
3445
+ 47
3446
+ 49
3447
+ 1
3448
+ 1
3449
+ 11
3450
+ I
3451
+ 3
3452
+ I
3453
+ 0
3454
+ I
3455
+ 0
3456
+ I
3457
+ 0
3458
+ I
3459
+ -2
3460
+ p
3461
+ 2
3462
+ s
3463
+ 3
3464
+ cat
3465
+ x
3466
+ 13
3467
+ fixture_image
3468
+ p
3469
+ 3
3470
+ I
3471
+ 0
3472
+ I
3473
+ 5c
3474
+ I
3475
+ 9
3476
+ x
3477
+ 59
3478
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
3479
+ p
3480
+ 0
3481
+ x
3482
+ 3
3483
+ let
3484
+ M
3485
+ 1
3486
+ p
3487
+ 2
3488
+ x
3489
+ 9
3490
+ for_block
3491
+ t
3492
+ n
3493
+ x
3494
+ 9
3495
+ __block__
3496
+ i
3497
+ 9
3498
+ 5
3499
+ 5
3500
+ 48
3501
+ 0
3502
+ 47
3503
+ 49
3504
+ 1
3505
+ 1
3506
+ 11
3507
+ I
3508
+ 3
3509
+ I
3510
+ 0
3511
+ I
3512
+ 0
3513
+ I
3514
+ 0
3515
+ I
3516
+ -2
3517
+ p
3518
+ 2
3519
+ x
3520
+ 6
3521
+ be_nil
3522
+ x
3523
+ 6
3524
+ should
3525
+ p
3526
+ 3
3527
+ I
3528
+ 0
3529
+ I
3530
+ 5d
3531
+ I
3532
+ 9
3533
+ x
3534
+ 59
3535
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
3536
+ p
3537
+ 0
3538
+ x
3539
+ 2
3540
+ it
3541
+ p
3542
+ 5
3543
+ I
3544
+ 0
3545
+ I
3546
+ 5c
3547
+ I
3548
+ a
3549
+ I
3550
+ 5d
3551
+ I
3552
+ 12
3553
+ x
3554
+ 59
3555
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
3556
+ p
3557
+ 0
3558
+ s
3559
+ 24
3560
+ when file does not exist
3561
+ M
3562
+ 1
3563
+ p
3564
+ 2
3565
+ x
3566
+ 9
3567
+ for_block
3568
+ t
3569
+ n
3570
+ x
3571
+ 9
3572
+ __block__
3573
+ i
3574
+ 21
3575
+ 5
3576
+ 7
3577
+ 0
3578
+ 56
3579
+ 1
3580
+ 47
3581
+ 50
3582
+ 2
3583
+ 1
3584
+ 15
3585
+ 5
3586
+ 7
3587
+ 3
3588
+ 64
3589
+ 56
3590
+ 4
3591
+ 47
3592
+ 50
3593
+ 5
3594
+ 1
3595
+ 11
3596
+ I
3597
+ 4
3598
+ I
3599
+ 0
3600
+ I
3601
+ 0
3602
+ I
3603
+ 0
3604
+ I
3605
+ -2
3606
+ p
3607
+ 6
3608
+ x
3609
+ 4
3610
+ file
3611
+ M
3612
+ 1
3613
+ p
3614
+ 2
3615
+ x
3616
+ 9
3617
+ for_block
3618
+ t
3619
+ n
3620
+ x
3621
+ 9
3622
+ __block__
3623
+ i
3624
+ 4
3625
+ 7
3626
+ 0
3627
+ 64
3628
+ 11
3629
+ I
3630
+ 2
3631
+ I
3632
+ 0
3633
+ I
3634
+ 0
3635
+ I
3636
+ 0
3637
+ I
3638
+ -2
3639
+ p
3640
+ 1
3641
+ s
3642
+ 19
3643
+ nonexistentfile.png
3644
+ p
3645
+ 3
3646
+ I
3647
+ 0
3648
+ I
3649
+ 61
3650
+ I
3651
+ 4
3652
+ x
3653
+ 59
3654
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
3655
+ p
3656
+ 0
3657
+ x
3658
+ 3
3659
+ let
3660
+ s
3661
+ 15
3662
+ raises an error
3663
+ M
3664
+ 1
3665
+ p
3666
+ 2
3667
+ x
3668
+ 9
3669
+ for_block
3670
+ t
3671
+ n
3672
+ x
3673
+ 9
3674
+ __block__
3675
+ i
3676
+ 22
3677
+ 5
3678
+ 56
3679
+ 0
3680
+ 47
3681
+ 50
3682
+ 1
3683
+ 0
3684
+ 5
3685
+ 45
3686
+ 2
3687
+ 3
3688
+ 7
3689
+ 4
3690
+ 64
3691
+ 47
3692
+ 49
3693
+ 5
3694
+ 2
3695
+ 49
3696
+ 6
3697
+ 1
3698
+ 11
3699
+ I
3700
+ 5
3701
+ I
3702
+ 0
3703
+ I
3704
+ 0
3705
+ I
3706
+ 0
3707
+ I
3708
+ -2
3709
+ p
3710
+ 7
3711
+ M
3712
+ 1
3713
+ p
3714
+ 2
3715
+ x
3716
+ 9
3717
+ for_block
3718
+ t
3719
+ n
3720
+ x
3721
+ 9
3722
+ __block__
3723
+ i
3724
+ 4
3725
+ 5
3726
+ 48
3727
+ 0
3728
+ 11
3729
+ I
3730
+ 2
3731
+ I
3732
+ 0
3733
+ I
3734
+ 0
3735
+ I
3736
+ 0
3737
+ I
3738
+ -2
3739
+ p
3740
+ 1
3741
+ x
3742
+ 7
3743
+ subject
3744
+ p
3745
+ 3
3746
+ I
3747
+ 0
3748
+ I
3749
+ 63
3750
+ I
3751
+ 4
3752
+ x
3753
+ 59
3754
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
3755
+ p
3756
+ 0
3757
+ x
3758
+ 6
3759
+ expect
3760
+ x
3761
+ 13
3762
+ ArgumentError
3763
+ n
3764
+ s
3765
+ 43
3766
+ File nonexistentfile.png could not be found
3767
+ x
3768
+ 11
3769
+ raise_error
3770
+ x
3771
+ 2
3772
+ to
3773
+ p
3774
+ 3
3775
+ I
3776
+ 0
3777
+ I
3778
+ 63
3779
+ I
3780
+ 16
3781
+ x
3782
+ 59
3783
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
3784
+ p
3785
+ 0
3786
+ x
3787
+ 2
3788
+ it
3789
+ p
3790
+ 5
3791
+ I
3792
+ 0
3793
+ I
3794
+ 61
3795
+ I
3796
+ a
3797
+ I
3798
+ 62
3799
+ I
3800
+ 15
3801
+ x
3802
+ 59
3803
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
3804
+ p
3805
+ 0
3806
+ p
3807
+ 11
3808
+ I
3809
+ 0
3810
+ I
3811
+ 4f
3812
+ I
3813
+ 8
3814
+ I
3815
+ 51
3816
+ I
3817
+ 13
3818
+ I
3819
+ 56
3820
+ I
3821
+ 1e
3822
+ I
3823
+ 5b
3824
+ I
3825
+ 29
3826
+ I
3827
+ 60
3828
+ I
3829
+ 34
3830
+ x
3831
+ 59
3832
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
3833
+ p
3834
+ 0
3835
+ s
3836
+ 12
3837
+ .decode_all!
3838
+ M
3839
+ 1
3840
+ p
3841
+ 2
3842
+ x
3843
+ 9
3844
+ for_block
3845
+ t
3846
+ n
3847
+ x
3848
+ 9
3849
+ __block__
3850
+ i
3851
+ 52
3852
+ 5
3853
+ 56
3854
+ 0
3855
+ 47
3856
+ 50
3857
+ 1
3858
+ 0
3859
+ 15
3860
+ 5
3861
+ 7
3862
+ 2
3863
+ 64
3864
+ 56
3865
+ 3
3866
+ 47
3867
+ 50
3868
+ 4
3869
+ 1
3870
+ 15
3871
+ 5
3872
+ 7
3873
+ 5
3874
+ 64
3875
+ 56
3876
+ 6
3877
+ 47
3878
+ 50
3879
+ 4
3880
+ 1
3881
+ 15
3882
+ 5
3883
+ 7
3884
+ 7
3885
+ 64
3886
+ 56
3887
+ 8
3888
+ 47
3889
+ 50
3890
+ 4
3891
+ 1
3892
+ 15
3893
+ 5
3894
+ 7
3895
+ 9
3896
+ 64
3897
+ 56
3898
+ 10
3899
+ 47
3900
+ 50
3901
+ 4
3902
+ 1
3903
+ 11
3904
+ I
3905
+ 4
3906
+ I
3907
+ 0
3908
+ I
3909
+ 0
3910
+ I
3911
+ 0
3912
+ I
3913
+ -2
3914
+ p
3915
+ 11
3916
+ M
3917
+ 1
3918
+ p
3919
+ 2
3920
+ x
3921
+ 9
3922
+ for_block
3923
+ t
3924
+ n
3925
+ x
3926
+ 9
3927
+ __block__
3928
+ i
3929
+ 10
3930
+ 45
3931
+ 0
3932
+ 1
3933
+ 5
3934
+ 48
3935
+ 2
3936
+ 49
3937
+ 3
3938
+ 1
3939
+ 11
3940
+ I
3941
+ 3
3942
+ I
3943
+ 0
3944
+ I
3945
+ 0
3946
+ I
3947
+ 0
3948
+ I
3949
+ -2
3950
+ p
3951
+ 4
3952
+ x
3953
+ 5
3954
+ ZXing
3955
+ n
3956
+ x
3957
+ 4
3958
+ file
3959
+ x
3960
+ 11
3961
+ decode_all!
3962
+ p
3963
+ 3
3964
+ I
3965
+ 0
3966
+ I
3967
+ 6a
3968
+ I
3969
+ a
3970
+ x
3971
+ 59
3972
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
3973
+ p
3974
+ 0
3975
+ x
3976
+ 7
3977
+ subject
3978
+ s
3979
+ 28
3980
+ with a single barcoded image
3981
+ M
3982
+ 1
3983
+ p
3984
+ 2
3985
+ x
3986
+ 9
3987
+ for_block
3988
+ t
3989
+ n
3990
+ x
3991
+ 9
3992
+ __block__
3993
+ i
3994
+ 18
3995
+ 5
3996
+ 7
3997
+ 0
3998
+ 56
3999
+ 1
4000
+ 47
4001
+ 50
4002
+ 2
4003
+ 1
4004
+ 15
4005
+ 5
4006
+ 56
4007
+ 3
4008
+ 47
4009
+ 50
4010
+ 4
4011
+ 0
4012
+ 11
4013
+ I
4014
+ 4
4015
+ I
4016
+ 0
4017
+ I
4018
+ 0
4019
+ I
4020
+ 0
4021
+ I
4022
+ -2
4023
+ p
4024
+ 5
4025
+ x
4026
+ 4
4027
+ file
4028
+ M
4029
+ 1
4030
+ p
4031
+ 2
4032
+ x
4033
+ 9
4034
+ for_block
4035
+ t
4036
+ n
4037
+ x
4038
+ 9
4039
+ __block__
4040
+ i
4041
+ 9
4042
+ 5
4043
+ 7
4044
+ 0
4045
+ 64
4046
+ 47
4047
+ 49
4048
+ 1
4049
+ 1
4050
+ 11
4051
+ I
4052
+ 3
4053
+ I
4054
+ 0
4055
+ I
4056
+ 0
4057
+ I
4058
+ 0
4059
+ I
4060
+ -2
4061
+ p
4062
+ 2
4063
+ s
4064
+ 7
4065
+ example
4066
+ x
4067
+ 13
4068
+ fixture_image
4069
+ p
4070
+ 3
4071
+ I
4072
+ 0
4073
+ I
4074
+ 6d
4075
+ I
4076
+ 9
4077
+ x
4078
+ 59
4079
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
4080
+ p
4081
+ 0
4082
+ x
4083
+ 3
4084
+ let
4085
+ M
4086
+ 1
4087
+ p
4088
+ 2
4089
+ x
4090
+ 9
4091
+ for_block
4092
+ t
4093
+ n
4094
+ x
4095
+ 9
4096
+ __block__
4097
+ i
4098
+ 11
4099
+ 5
4100
+ 48
4101
+ 0
4102
+ 7
4103
+ 1
4104
+ 64
4105
+ 35
4106
+ 1
4107
+ 83
4108
+ 2
4109
+ 11
4110
+ I
4111
+ 3
4112
+ I
4113
+ 0
4114
+ I
4115
+ 0
4116
+ I
4117
+ 0
4118
+ I
4119
+ -2
4120
+ p
4121
+ 3
4122
+ x
4123
+ 6
4124
+ should
4125
+ s
4126
+ 7
4127
+ example
4128
+ x
4129
+ 2
4130
+ ==
4131
+ p
4132
+ 3
4133
+ I
4134
+ 0
4135
+ I
4136
+ 6e
4137
+ I
4138
+ b
4139
+ x
4140
+ 59
4141
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
4142
+ p
4143
+ 0
4144
+ x
4145
+ 2
4146
+ it
4147
+ p
4148
+ 5
4149
+ I
4150
+ 0
4151
+ I
4152
+ 6d
4153
+ I
4154
+ a
4155
+ I
4156
+ 6e
4157
+ I
4158
+ 12
4159
+ x
4160
+ 59
4161
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
4162
+ p
4163
+ 0
4164
+ x
4165
+ 7
4166
+ context
4167
+ s
4168
+ 30
4169
+ with a multiple barcoded image
4170
+ M
4171
+ 1
4172
+ p
4173
+ 2
4174
+ x
4175
+ 9
4176
+ for_block
4177
+ t
4178
+ n
4179
+ x
4180
+ 9
4181
+ __block__
4182
+ i
4183
+ 18
4184
+ 5
4185
+ 7
4186
+ 0
4187
+ 56
4188
+ 1
4189
+ 47
4190
+ 50
4191
+ 2
4192
+ 1
4193
+ 15
4194
+ 5
4195
+ 56
4196
+ 3
4197
+ 47
4198
+ 50
4199
+ 4
4200
+ 0
4201
+ 11
4202
+ I
4203
+ 4
4204
+ I
4205
+ 0
4206
+ I
4207
+ 0
4208
+ I
4209
+ 0
4210
+ I
4211
+ -2
4212
+ p
4213
+ 5
4214
+ x
4215
+ 4
4216
+ file
4217
+ M
4218
+ 1
4219
+ p
4220
+ 2
4221
+ x
4222
+ 9
4223
+ for_block
4224
+ t
4225
+ n
4226
+ x
4227
+ 9
4228
+ __block__
4229
+ i
4230
+ 9
4231
+ 5
4232
+ 7
4233
+ 0
4234
+ 64
4235
+ 47
4236
+ 49
4237
+ 1
4238
+ 1
4239
+ 11
4240
+ I
4241
+ 3
4242
+ I
4243
+ 0
4244
+ I
4245
+ 0
4246
+ I
4247
+ 0
4248
+ I
4249
+ -2
4250
+ p
4251
+ 2
4252
+ s
4253
+ 21
4254
+ multi_barcode_example
4255
+ x
4256
+ 13
4257
+ fixture_image
4258
+ p
4259
+ 3
4260
+ I
4261
+ 0
4262
+ I
4263
+ 72
4264
+ I
4265
+ 9
4266
+ x
4267
+ 59
4268
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
4269
+ p
4270
+ 0
4271
+ x
4272
+ 3
4273
+ let
4274
+ M
4275
+ 1
4276
+ p
4277
+ 2
4278
+ x
4279
+ 9
4280
+ for_block
4281
+ t
4282
+ n
4283
+ x
4284
+ 9
4285
+ __block__
4286
+ i
4287
+ 14
4288
+ 5
4289
+ 48
4290
+ 0
4291
+ 7
4292
+ 1
4293
+ 64
4294
+ 7
4295
+ 2
4296
+ 64
4297
+ 35
4298
+ 2
4299
+ 83
4300
+ 3
4301
+ 11
4302
+ I
4303
+ 4
4304
+ I
4305
+ 0
4306
+ I
4307
+ 0
4308
+ I
4309
+ 0
4310
+ I
4311
+ -2
4312
+ p
4313
+ 4
4314
+ x
4315
+ 6
4316
+ should
4317
+ s
4318
+ 7
4319
+ test456
4320
+ s
4321
+ 7
4322
+ test123
4323
+ x
4324
+ 2
4325
+ ==
4326
+ p
4327
+ 3
4328
+ I
4329
+ 0
4330
+ I
4331
+ 73
4332
+ I
4333
+ e
4334
+ x
4335
+ 59
4336
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
4337
+ p
4338
+ 0
4339
+ x
4340
+ 2
4341
+ it
4342
+ p
4343
+ 5
4344
+ I
4345
+ 0
4346
+ I
4347
+ 72
4348
+ I
4349
+ a
4350
+ I
4351
+ 73
4352
+ I
4353
+ 12
4354
+ x
4355
+ 59
4356
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
4357
+ p
4358
+ 0
4359
+ s
4360
+ 32
4361
+ when the image cannot be decoded
4362
+ M
4363
+ 1
4364
+ p
4365
+ 2
4366
+ x
4367
+ 9
4368
+ for_block
4369
+ t
4370
+ n
4371
+ x
4372
+ 9
4373
+ __block__
4374
+ i
4375
+ 21
4376
+ 5
4377
+ 7
4378
+ 0
4379
+ 56
4380
+ 1
4381
+ 47
4382
+ 50
4383
+ 2
4384
+ 1
4385
+ 15
4386
+ 5
4387
+ 7
4388
+ 3
4389
+ 64
4390
+ 56
4391
+ 4
4392
+ 47
4393
+ 50
4394
+ 5
4395
+ 1
4396
+ 11
4397
+ I
4398
+ 4
4399
+ I
4400
+ 0
4401
+ I
4402
+ 0
4403
+ I
4404
+ 0
4405
+ I
4406
+ -2
4407
+ p
4408
+ 6
4409
+ x
4410
+ 4
4411
+ file
4412
+ M
4413
+ 1
4414
+ p
4415
+ 2
4416
+ x
4417
+ 9
4418
+ for_block
4419
+ t
4420
+ n
4421
+ x
4422
+ 9
4423
+ __block__
4424
+ i
4425
+ 9
4426
+ 5
4427
+ 7
4428
+ 0
4429
+ 64
4430
+ 47
4431
+ 49
4432
+ 1
4433
+ 1
4434
+ 11
4435
+ I
4436
+ 3
4437
+ I
4438
+ 0
4439
+ I
4440
+ 0
4441
+ I
4442
+ 0
4443
+ I
4444
+ -2
4445
+ p
4446
+ 2
4447
+ s
4448
+ 3
4449
+ cat
4450
+ x
4451
+ 13
4452
+ fixture_image
4453
+ p
4454
+ 3
4455
+ I
4456
+ 0
4457
+ I
4458
+ 77
4459
+ I
4460
+ 9
4461
+ x
4462
+ 59
4463
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
4464
+ p
4465
+ 0
4466
+ x
4467
+ 3
4468
+ let
4469
+ s
4470
+ 15
4471
+ raises an error
4472
+ M
4473
+ 1
4474
+ p
4475
+ 2
4476
+ x
4477
+ 9
4478
+ for_block
4479
+ t
4480
+ n
4481
+ x
4482
+ 9
4483
+ __block__
4484
+ i
4485
+ 24
4486
+ 5
4487
+ 56
4488
+ 0
4489
+ 47
4490
+ 50
4491
+ 1
4492
+ 0
4493
+ 5
4494
+ 45
4495
+ 2
4496
+ 3
4497
+ 43
4498
+ 4
4499
+ 7
4500
+ 5
4501
+ 64
4502
+ 47
4503
+ 49
4504
+ 6
4505
+ 2
4506
+ 49
4507
+ 7
4508
+ 1
4509
+ 11
4510
+ I
4511
+ 5
4512
+ I
4513
+ 0
4514
+ I
4515
+ 0
4516
+ I
4517
+ 0
4518
+ I
4519
+ -2
4520
+ p
4521
+ 8
4522
+ M
4523
+ 1
4524
+ p
4525
+ 2
4526
+ x
4527
+ 9
4528
+ for_block
4529
+ t
4530
+ n
4531
+ x
4532
+ 9
4533
+ __block__
4534
+ i
4535
+ 4
4536
+ 5
4537
+ 48
4538
+ 0
4539
+ 11
4540
+ I
4541
+ 2
4542
+ I
4543
+ 0
4544
+ I
4545
+ 0
4546
+ I
4547
+ 0
4548
+ I
4549
+ -2
4550
+ p
4551
+ 1
4552
+ x
4553
+ 7
4554
+ subject
4555
+ p
4556
+ 3
4557
+ I
4558
+ 0
4559
+ I
4560
+ 79
4561
+ I
4562
+ 4
4563
+ x
4564
+ 59
4565
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
4566
+ p
4567
+ 0
4568
+ x
4569
+ 6
4570
+ expect
4571
+ x
4572
+ 5
4573
+ ZXing
4574
+ n
4575
+ x
4576
+ 16
4577
+ UndecodableError
4578
+ s
4579
+ 19
4580
+ Image not decodable
4581
+ x
4582
+ 11
4583
+ raise_error
4584
+ x
4585
+ 2
4586
+ to
4587
+ p
4588
+ 3
4589
+ I
4590
+ 0
4591
+ I
4592
+ 79
4593
+ I
4594
+ 18
4595
+ x
4596
+ 59
4597
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
4598
+ p
4599
+ 0
4600
+ x
4601
+ 2
4602
+ it
4603
+ p
4604
+ 5
4605
+ I
4606
+ 0
4607
+ I
4608
+ 77
4609
+ I
4610
+ a
4611
+ I
4612
+ 78
4613
+ I
4614
+ 15
4615
+ x
4616
+ 59
4617
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
4618
+ p
4619
+ 0
4620
+ s
4621
+ 24
4622
+ when file does not exist
4623
+ M
4624
+ 1
4625
+ p
4626
+ 2
4627
+ x
4628
+ 9
4629
+ for_block
4630
+ t
4631
+ n
4632
+ x
4633
+ 9
4634
+ __block__
4635
+ i
4636
+ 21
4637
+ 5
4638
+ 7
4639
+ 0
4640
+ 56
4641
+ 1
4642
+ 47
4643
+ 50
4644
+ 2
4645
+ 1
4646
+ 15
4647
+ 5
4648
+ 7
4649
+ 3
4650
+ 64
4651
+ 56
4652
+ 4
4653
+ 47
4654
+ 50
4655
+ 5
4656
+ 1
4657
+ 11
4658
+ I
4659
+ 4
4660
+ I
4661
+ 0
4662
+ I
4663
+ 0
4664
+ I
4665
+ 0
4666
+ I
4667
+ -2
4668
+ p
4669
+ 6
4670
+ x
4671
+ 4
4672
+ file
4673
+ M
4674
+ 1
4675
+ p
4676
+ 2
4677
+ x
4678
+ 9
4679
+ for_block
4680
+ t
4681
+ n
4682
+ x
4683
+ 9
4684
+ __block__
4685
+ i
4686
+ 4
4687
+ 7
4688
+ 0
4689
+ 64
4690
+ 11
4691
+ I
4692
+ 2
4693
+ I
4694
+ 0
4695
+ I
4696
+ 0
4697
+ I
4698
+ 0
4699
+ I
4700
+ -2
4701
+ p
4702
+ 1
4703
+ s
4704
+ 19
4705
+ nonexistentfile.png
4706
+ p
4707
+ 3
4708
+ I
4709
+ 0
4710
+ I
4711
+ 7e
4712
+ I
4713
+ 4
4714
+ x
4715
+ 59
4716
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
4717
+ p
4718
+ 0
4719
+ x
4720
+ 3
4721
+ let
4722
+ s
4723
+ 15
4724
+ raises an error
4725
+ M
4726
+ 1
4727
+ p
4728
+ 2
4729
+ x
4730
+ 9
4731
+ for_block
4732
+ t
4733
+ n
4734
+ x
4735
+ 9
4736
+ __block__
4737
+ i
4738
+ 22
4739
+ 5
4740
+ 56
4741
+ 0
4742
+ 47
4743
+ 50
4744
+ 1
4745
+ 0
4746
+ 5
4747
+ 45
4748
+ 2
4749
+ 3
4750
+ 7
4751
+ 4
4752
+ 64
4753
+ 47
4754
+ 49
4755
+ 5
4756
+ 2
4757
+ 49
4758
+ 6
4759
+ 1
4760
+ 11
4761
+ I
4762
+ 5
4763
+ I
4764
+ 0
4765
+ I
4766
+ 0
4767
+ I
4768
+ 0
4769
+ I
4770
+ -2
4771
+ p
4772
+ 7
4773
+ M
4774
+ 1
4775
+ p
4776
+ 2
4777
+ x
4778
+ 9
4779
+ for_block
4780
+ t
4781
+ n
4782
+ x
4783
+ 9
4784
+ __block__
4785
+ i
4786
+ 4
4787
+ 5
4788
+ 48
4789
+ 0
4790
+ 11
4791
+ I
4792
+ 2
4793
+ I
4794
+ 0
4795
+ I
4796
+ 0
4797
+ I
4798
+ 0
4799
+ I
4800
+ -2
4801
+ p
4802
+ 1
4803
+ x
4804
+ 7
4805
+ subject
4806
+ p
4807
+ 3
4808
+ I
4809
+ 0
4810
+ I
4811
+ 80
4812
+ I
4813
+ 4
4814
+ x
4815
+ 59
4816
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
4817
+ p
4818
+ 0
4819
+ x
4820
+ 6
4821
+ expect
4822
+ x
4823
+ 13
4824
+ ArgumentError
4825
+ n
4826
+ s
4827
+ 43
4828
+ File nonexistentfile.png could not be found
4829
+ x
4830
+ 11
4831
+ raise_error
4832
+ x
4833
+ 2
4834
+ to
4835
+ p
4836
+ 3
4837
+ I
4838
+ 0
4839
+ I
4840
+ 80
4841
+ I
4842
+ 16
4843
+ x
4844
+ 59
4845
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
4846
+ p
4847
+ 0
4848
+ x
4849
+ 2
4850
+ it
4851
+ p
4852
+ 5
4853
+ I
4854
+ 0
4855
+ I
4856
+ 7e
4857
+ I
4858
+ a
4859
+ I
4860
+ 7f
4861
+ I
4862
+ 15
4863
+ x
4864
+ 59
4865
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
4866
+ p
4867
+ 0
4868
+ p
4869
+ 11
4870
+ I
4871
+ 0
4872
+ I
4873
+ 6a
4874
+ I
4875
+ 8
4876
+ I
4877
+ 6c
4878
+ I
4879
+ 13
4880
+ I
4881
+ 71
4882
+ I
4883
+ 1e
4884
+ I
4885
+ 76
4886
+ I
4887
+ 29
4888
+ I
4889
+ 7d
4890
+ I
4891
+ 34
4892
+ x
4893
+ 59
4894
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
4895
+ p
4896
+ 0
4897
+ p
4898
+ 9
4899
+ I
4900
+ 0
4901
+ I
4902
+ b
4903
+ I
4904
+ b
4905
+ I
4906
+ 30
4907
+ I
4908
+ 16
4909
+ I
4910
+ 4e
4911
+ I
4912
+ 21
4913
+ I
4914
+ 69
4915
+ I
4916
+ 2c
4917
+ x
4918
+ 59
4919
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
4920
+ p
4921
+ 0
4922
+ x
4923
+ 8
4924
+ describe
4925
+ p
4926
+ 9
4927
+ I
4928
+ 0
4929
+ I
4930
+ 1
4931
+ I
4932
+ 9
4933
+ I
4934
+ 2
4935
+ I
4936
+ 12
4937
+ I
4938
+ 4
4939
+ I
4940
+ 2d
4941
+ I
4942
+ a
4943
+ I
4944
+ 3a
4945
+ x
4946
+ 59
4947
+ /Users/ncrespo/Developer/ruby/ruby/zxing/spec/zxing_spec.rb
4948
+ p
4949
+ 0