rack-client 0.3.1.pre.c → 0.3.1.pre.d

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.
Files changed (54) hide show
  1. data/lib/rack/client/adapter/base.rb +0 -1
  2. data/lib/rack/client/adapter/simple.rb +13 -4
  3. data/lib/rack/client/version.rb +1 -1
  4. metadata +80 -108
  5. data/spec/core/headers_spec.rb +0 -47
  6. data/spec/core/headers_spec.rbc +0 -1674
  7. data/spec/core/response_spec.rb +0 -78
  8. data/spec/core/response_spec.rbc +0 -2244
  9. data/spec/handler/em_http_spec.rb +0 -7
  10. data/spec/handler/em_http_spec.rbc +0 -224
  11. data/spec/handler/excon_spec.rb +0 -7
  12. data/spec/handler/excon_spec.rbc +0 -224
  13. data/spec/handler/net_http_spec.rb +0 -11
  14. data/spec/handler/net_http_spec.rbc +0 -307
  15. data/spec/handler/typhoeus_spec.rb +0 -11
  16. data/spec/handler/typhoeus_spec.rbc +0 -307
  17. data/spec/helpers/async_helper.rb +0 -31
  18. data/spec/helpers/async_helper.rbc +0 -843
  19. data/spec/helpers/em_http_helper.rb +0 -24
  20. data/spec/helpers/em_http_helper.rbc +0 -663
  21. data/spec/helpers/excon_helper.rb +0 -13
  22. data/spec/helpers/excon_helper.rbc +0 -461
  23. data/spec/helpers/handler_helper.rb +0 -68
  24. data/spec/helpers/handler_helper.rbc +0 -1769
  25. data/spec/helpers/net_http_helper.rb +0 -26
  26. data/spec/helpers/net_http_helper.rbc +0 -806
  27. data/spec/helpers/sync_helper.rb +0 -9
  28. data/spec/helpers/sync_helper.rbc +0 -311
  29. data/spec/helpers/typhoeus_helper.rb +0 -32
  30. data/spec/helpers/typhoeus_helper.rbc +0 -936
  31. data/spec/middleware/cache_spec.rb +0 -25
  32. data/spec/middleware/cache_spec.rbc +0 -712
  33. data/spec/middleware/cookie_jar_spec.rb +0 -19
  34. data/spec/middleware/cookie_jar_spec.rbc +0 -614
  35. data/spec/middleware/etag_spec.rb +0 -10
  36. data/spec/middleware/etag_spec.rbc +0 -438
  37. data/spec/middleware/follow_redirects_spec.rb +0 -12
  38. data/spec/middleware/follow_redirects_spec.rbc +0 -402
  39. data/spec/middleware/lint_spec.rb +0 -10
  40. data/spec/middleware/lint_spec.rbc +0 -392
  41. data/spec/shared/handler_api.rb +0 -33
  42. data/spec/shared/handler_api.rbc +0 -1340
  43. data/spec/shared/streamed_response_api.rb +0 -14
  44. data/spec/shared/streamed_response_api.rbc +0 -508
  45. data/spec/spec_apps/cache.ru +0 -14
  46. data/spec/spec_apps/cookie.ru +0 -12
  47. data/spec/spec_apps/delete.ru +0 -10
  48. data/spec/spec_apps/get.ru +0 -13
  49. data/spec/spec_apps/head.ru +0 -10
  50. data/spec/spec_apps/hello_world.ru +0 -1
  51. data/spec/spec_apps/redirect.ru +0 -13
  52. data/spec/spec_apps/stream.ru +0 -9
  53. data/spec/spec_config.ru +0 -10
  54. data/spec/spec_helper.rb +0 -22
@@ -1,1340 +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
- 13
13
- 5
14
- 7
15
- 0
16
- 64
17
- 56
18
- 1
19
- 47
20
- 50
21
- 2
22
- 1
23
- 15
24
- 2
25
- 11
26
- I
27
- 3
28
- I
29
- 0
30
- I
31
- 0
32
- I
33
- 0
34
- n
35
- p
36
- 3
37
- s
38
- 11
39
- Handler API
40
- M
41
- 1
42
- p
43
- 2
44
- x
45
- 9
46
- for_block
47
- t
48
- n
49
- x
50
- 9
51
- __block__
52
- i
53
- 33
54
- 5
55
- 7
56
- 0
57
- 64
58
- 56
59
- 1
60
- 47
61
- 50
62
- 2
63
- 1
64
- 15
65
- 5
66
- 7
67
- 3
68
- 64
69
- 56
70
- 4
71
- 47
72
- 50
73
- 2
74
- 1
75
- 15
76
- 5
77
- 7
78
- 5
79
- 64
80
- 56
81
- 6
82
- 47
83
- 50
84
- 2
85
- 1
86
- 11
87
- I
88
- 4
89
- I
90
- 0
91
- I
92
- 0
93
- I
94
- 0
95
- I
96
- -2
97
- p
98
- 7
99
- s
100
- 11
101
- GET request
102
- M
103
- 1
104
- p
105
- 2
106
- x
107
- 9
108
- for_block
109
- t
110
- n
111
- x
112
- 9
113
- __block__
114
- i
115
- 33
116
- 5
117
- 7
118
- 0
119
- 64
120
- 56
121
- 1
122
- 47
123
- 50
124
- 2
125
- 1
126
- 15
127
- 5
128
- 7
129
- 3
130
- 64
131
- 56
132
- 4
133
- 47
134
- 50
135
- 2
136
- 1
137
- 15
138
- 5
139
- 7
140
- 5
141
- 64
142
- 56
143
- 6
144
- 47
145
- 50
146
- 2
147
- 1
148
- 11
149
- I
150
- 4
151
- I
152
- 0
153
- I
154
- 0
155
- I
156
- 0
157
- I
158
- -2
159
- p
160
- 7
161
- s
162
- 27
163
- has the correct status code
164
- M
165
- 1
166
- p
167
- 2
168
- x
169
- 9
170
- for_block
171
- t
172
- n
173
- x
174
- 9
175
- __block__
176
- i
177
- 16
178
- 5
179
- 56
180
- 0
181
- 47
182
- 50
183
- 1
184
- 0
185
- 15
186
- 5
187
- 56
188
- 2
189
- 47
190
- 50
191
- 3
192
- 0
193
- 11
194
- I
195
- 3
196
- I
197
- 0
198
- I
199
- 0
200
- I
201
- 0
202
- I
203
- -2
204
- p
205
- 4
206
- M
207
- 1
208
- p
209
- 2
210
- x
211
- 9
212
- for_block
213
- t
214
- n
215
- x
216
- 9
217
- __block__
218
- i
219
- 9
220
- 5
221
- 7
222
- 0
223
- 64
224
- 47
225
- 49
226
- 1
227
- 1
228
- 11
229
- I
230
- 3
231
- I
232
- 0
233
- I
234
- 0
235
- I
236
- 0
237
- I
238
- -2
239
- p
240
- 2
241
- s
242
- 16
243
- /get/hello_world
244
- x
245
- 3
246
- get
247
- p
248
- 3
249
- I
250
- 0
251
- I
252
- 5
253
- I
254
- 9
255
- x
256
- 54
257
- /Users/ben/code/rack-client/spec/shared/handler_api.rb
258
- p
259
- 0
260
- x
261
- 7
262
- request
263
- M
264
- 1
265
- p
266
- 2
267
- x
268
- 9
269
- for_block
270
- t
271
- n
272
- x
273
- 9
274
- __block__
275
- i
276
- 11
277
- 5
278
- 48
279
- 0
280
- 49
281
- 1
282
- 0
283
- 4
284
- 200
285
- 83
286
- 2
287
- 11
288
- I
289
- 3
290
- I
291
- 0
292
- I
293
- 0
294
- I
295
- 0
296
- I
297
- -2
298
- p
299
- 3
300
- x
301
- 6
302
- status
303
- x
304
- 6
305
- should
306
- x
307
- 2
308
- ==
309
- p
310
- 3
311
- I
312
- 0
313
- I
314
- 6
315
- I
316
- b
317
- x
318
- 54
319
- /Users/ben/code/rack-client/spec/shared/handler_api.rb
320
- p
321
- 0
322
- x
323
- 8
324
- response
325
- p
326
- 7
327
- I
328
- 0
329
- I
330
- 4
331
- I
332
- 0
333
- I
334
- 5
335
- I
336
- 8
337
- I
338
- 6
339
- I
340
- 10
341
- x
342
- 54
343
- /Users/ben/code/rack-client/spec/shared/handler_api.rb
344
- p
345
- 0
346
- x
347
- 2
348
- it
349
- s
350
- 23
351
- has the correct headers
352
- M
353
- 1
354
- p
355
- 2
356
- x
357
- 9
358
- for_block
359
- t
360
- n
361
- x
362
- 9
363
- __block__
364
- i
365
- 16
366
- 5
367
- 56
368
- 0
369
- 47
370
- 50
371
- 1
372
- 0
373
- 15
374
- 5
375
- 56
376
- 2
377
- 47
378
- 50
379
- 3
380
- 0
381
- 11
382
- I
383
- 3
384
- I
385
- 0
386
- I
387
- 0
388
- I
389
- 0
390
- I
391
- -2
392
- p
393
- 4
394
- M
395
- 1
396
- p
397
- 2
398
- x
399
- 9
400
- for_block
401
- t
402
- n
403
- x
404
- 9
405
- __block__
406
- i
407
- 9
408
- 5
409
- 7
410
- 0
411
- 64
412
- 47
413
- 49
414
- 1
415
- 1
416
- 11
417
- I
418
- 3
419
- I
420
- 0
421
- I
422
- 0
423
- I
424
- 0
425
- I
426
- -2
427
- p
428
- 2
429
- s
430
- 16
431
- /get/hello_world
432
- x
433
- 3
434
- get
435
- p
436
- 3
437
- I
438
- 0
439
- I
440
- a
441
- I
442
- 9
443
- x
444
- 54
445
- /Users/ben/code/rack-client/spec/shared/handler_api.rb
446
- p
447
- 0
448
- x
449
- 7
450
- request
451
- M
452
- 1
453
- p
454
- 2
455
- x
456
- 9
457
- for_block
458
- t
459
- n
460
- x
461
- 9
462
- __block__
463
- i
464
- 32
465
- 5
466
- 48
467
- 0
468
- 49
469
- 1
470
- 0
471
- 49
472
- 2
473
- 0
474
- 49
475
- 3
476
- 0
477
- 7
478
- 4
479
- 64
480
- 7
481
- 5
482
- 64
483
- 7
484
- 6
485
- 64
486
- 7
487
- 7
488
- 64
489
- 35
490
- 4
491
- 49
492
- 2
493
- 0
494
- 83
495
- 8
496
- 11
497
- I
498
- 6
499
- I
500
- 0
501
- I
502
- 0
503
- I
504
- 0
505
- I
506
- -2
507
- p
508
- 9
509
- x
510
- 7
511
- headers
512
- x
513
- 4
514
- keys
515
- x
516
- 4
517
- sort
518
- x
519
- 6
520
- should
521
- s
522
- 12
523
- Content-Type
524
- s
525
- 4
526
- Date
527
- s
528
- 14
529
- Content-Length
530
- s
531
- 10
532
- Connection
533
- x
534
- 2
535
- ==
536
- p
537
- 3
538
- I
539
- 0
540
- I
541
- b
542
- I
543
- 20
544
- x
545
- 54
546
- /Users/ben/code/rack-client/spec/shared/handler_api.rb
547
- p
548
- 0
549
- x
550
- 8
551
- response
552
- p
553
- 7
554
- I
555
- 0
556
- I
557
- 9
558
- I
559
- 0
560
- I
561
- a
562
- I
563
- 8
564
- I
565
- b
566
- I
567
- 10
568
- x
569
- 54
570
- /Users/ben/code/rack-client/spec/shared/handler_api.rb
571
- p
572
- 0
573
- s
574
- 20
575
- has the correct body
576
- M
577
- 1
578
- p
579
- 2
580
- x
581
- 9
582
- for_block
583
- t
584
- n
585
- x
586
- 9
587
- __block__
588
- i
589
- 16
590
- 5
591
- 56
592
- 0
593
- 47
594
- 50
595
- 1
596
- 0
597
- 15
598
- 5
599
- 56
600
- 2
601
- 47
602
- 50
603
- 3
604
- 0
605
- 11
606
- I
607
- 3
608
- I
609
- 0
610
- I
611
- 0
612
- I
613
- 0
614
- I
615
- -2
616
- p
617
- 4
618
- M
619
- 1
620
- p
621
- 2
622
- x
623
- 9
624
- for_block
625
- t
626
- n
627
- x
628
- 9
629
- __block__
630
- i
631
- 9
632
- 5
633
- 7
634
- 0
635
- 64
636
- 47
637
- 49
638
- 1
639
- 1
640
- 11
641
- I
642
- 3
643
- I
644
- 0
645
- I
646
- 0
647
- I
648
- 0
649
- I
650
- -2
651
- p
652
- 2
653
- s
654
- 16
655
- /get/hello_world
656
- x
657
- 3
658
- get
659
- p
660
- 3
661
- I
662
- 0
663
- I
664
- f
665
- I
666
- 9
667
- x
668
- 54
669
- /Users/ben/code/rack-client/spec/shared/handler_api.rb
670
- p
671
- 0
672
- x
673
- 7
674
- request
675
- M
676
- 1
677
- p
678
- 2
679
- x
680
- 9
681
- for_block
682
- t
683
- n
684
- x
685
- 9
686
- __block__
687
- i
688
- 12
689
- 5
690
- 48
691
- 0
692
- 49
693
- 1
694
- 0
695
- 7
696
- 2
697
- 64
698
- 83
699
- 3
700
- 11
701
- I
702
- 3
703
- I
704
- 0
705
- I
706
- 0
707
- I
708
- 0
709
- I
710
- -2
711
- p
712
- 4
713
- x
714
- 4
715
- body
716
- x
717
- 6
718
- should
719
- s
720
- 12
721
- Hello World!
722
- x
723
- 2
724
- ==
725
- p
726
- 3
727
- I
728
- 0
729
- I
730
- 10
731
- I
732
- c
733
- x
734
- 54
735
- /Users/ben/code/rack-client/spec/shared/handler_api.rb
736
- p
737
- 0
738
- x
739
- 8
740
- response
741
- p
742
- 7
743
- I
744
- 0
745
- I
746
- e
747
- I
748
- 0
749
- I
750
- f
751
- I
752
- 8
753
- I
754
- 10
755
- I
756
- 10
757
- x
758
- 54
759
- /Users/ben/code/rack-client/spec/shared/handler_api.rb
760
- p
761
- 0
762
- p
763
- 9
764
- I
765
- 0
766
- I
767
- 3
768
- I
769
- 0
770
- I
771
- 4
772
- I
773
- b
774
- I
775
- 9
776
- I
777
- 16
778
- I
779
- e
780
- I
781
- 21
782
- x
783
- 54
784
- /Users/ben/code/rack-client/spec/shared/handler_api.rb
785
- p
786
- 0
787
- x
788
- 7
789
- context
790
- s
791
- 14
792
- DELETE request
793
- M
794
- 1
795
- p
796
- 2
797
- x
798
- 9
799
- for_block
800
- t
801
- n
802
- x
803
- 9
804
- __block__
805
- i
806
- 11
807
- 5
808
- 7
809
- 0
810
- 64
811
- 56
812
- 1
813
- 47
814
- 50
815
- 2
816
- 1
817
- 11
818
- I
819
- 4
820
- I
821
- 0
822
- I
823
- 0
824
- I
825
- 0
826
- I
827
- -2
828
- p
829
- 3
830
- s
831
- 32
832
- can handle a No Content response
833
- M
834
- 1
835
- p
836
- 2
837
- x
838
- 9
839
- for_block
840
- t
841
- n
842
- x
843
- 9
844
- __block__
845
- i
846
- 16
847
- 5
848
- 56
849
- 0
850
- 47
851
- 50
852
- 1
853
- 0
854
- 15
855
- 5
856
- 56
857
- 2
858
- 47
859
- 50
860
- 3
861
- 0
862
- 11
863
- I
864
- 3
865
- I
866
- 0
867
- I
868
- 0
869
- I
870
- 0
871
- I
872
- -2
873
- p
874
- 4
875
- M
876
- 1
877
- p
878
- 2
879
- x
880
- 9
881
- for_block
882
- t
883
- n
884
- x
885
- 9
886
- __block__
887
- i
888
- 9
889
- 5
890
- 7
891
- 0
892
- 64
893
- 47
894
- 49
895
- 1
896
- 1
897
- 11
898
- I
899
- 3
900
- I
901
- 0
902
- I
903
- 0
904
- I
905
- 0
906
- I
907
- -2
908
- p
909
- 2
910
- s
911
- 18
912
- /delete/no-content
913
- x
914
- 6
915
- delete
916
- p
917
- 3
918
- I
919
- 0
920
- I
921
- 16
922
- I
923
- 9
924
- x
925
- 54
926
- /Users/ben/code/rack-client/spec/shared/handler_api.rb
927
- p
928
- 0
929
- x
930
- 7
931
- request
932
- M
933
- 1
934
- p
935
- 2
936
- x
937
- 9
938
- for_block
939
- t
940
- n
941
- x
942
- 9
943
- __block__
944
- i
945
- 12
946
- 5
947
- 48
948
- 0
949
- 49
950
- 1
951
- 0
952
- 7
953
- 2
954
- 64
955
- 83
956
- 3
957
- 11
958
- I
959
- 3
960
- I
961
- 0
962
- I
963
- 0
964
- I
965
- 0
966
- I
967
- -2
968
- p
969
- 4
970
- x
971
- 4
972
- body
973
- x
974
- 6
975
- should
976
- s
977
- 0
978
-
979
- x
980
- 2
981
- ==
982
- p
983
- 3
984
- I
985
- 0
986
- I
987
- 17
988
- I
989
- c
990
- x
991
- 54
992
- /Users/ben/code/rack-client/spec/shared/handler_api.rb
993
- p
994
- 0
995
- x
996
- 8
997
- response
998
- p
999
- 7
1000
- I
1001
- 0
1002
- I
1003
- 15
1004
- I
1005
- 0
1006
- I
1007
- 16
1008
- I
1009
- 8
1010
- I
1011
- 17
1012
- I
1013
- 10
1014
- x
1015
- 54
1016
- /Users/ben/code/rack-client/spec/shared/handler_api.rb
1017
- p
1018
- 0
1019
- x
1020
- 2
1021
- it
1022
- p
1023
- 5
1024
- I
1025
- 0
1026
- I
1027
- 14
1028
- I
1029
- 0
1030
- I
1031
- 15
1032
- I
1033
- b
1034
- x
1035
- 54
1036
- /Users/ben/code/rack-client/spec/shared/handler_api.rb
1037
- p
1038
- 0
1039
- s
1040
- 12
1041
- HEAD request
1042
- M
1043
- 1
1044
- p
1045
- 2
1046
- x
1047
- 9
1048
- for_block
1049
- t
1050
- n
1051
- x
1052
- 9
1053
- __block__
1054
- i
1055
- 11
1056
- 5
1057
- 7
1058
- 0
1059
- 64
1060
- 56
1061
- 1
1062
- 47
1063
- 50
1064
- 2
1065
- 1
1066
- 11
1067
- I
1068
- 4
1069
- I
1070
- 0
1071
- I
1072
- 0
1073
- I
1074
- 0
1075
- I
1076
- -2
1077
- p
1078
- 3
1079
- s
1080
- 23
1081
- can handle ETag headers
1082
- M
1083
- 1
1084
- p
1085
- 2
1086
- x
1087
- 9
1088
- for_block
1089
- t
1090
- n
1091
- x
1092
- 9
1093
- __block__
1094
- i
1095
- 16
1096
- 5
1097
- 56
1098
- 0
1099
- 47
1100
- 50
1101
- 1
1102
- 0
1103
- 15
1104
- 5
1105
- 56
1106
- 2
1107
- 47
1108
- 50
1109
- 3
1110
- 0
1111
- 11
1112
- I
1113
- 3
1114
- I
1115
- 0
1116
- I
1117
- 0
1118
- I
1119
- 0
1120
- I
1121
- -2
1122
- p
1123
- 4
1124
- M
1125
- 1
1126
- p
1127
- 2
1128
- x
1129
- 9
1130
- for_block
1131
- t
1132
- n
1133
- x
1134
- 9
1135
- __block__
1136
- i
1137
- 9
1138
- 5
1139
- 7
1140
- 0
1141
- 64
1142
- 47
1143
- 49
1144
- 1
1145
- 1
1146
- 11
1147
- I
1148
- 3
1149
- I
1150
- 0
1151
- I
1152
- 0
1153
- I
1154
- 0
1155
- I
1156
- -2
1157
- p
1158
- 2
1159
- s
1160
- 10
1161
- /head/etag
1162
- x
1163
- 4
1164
- head
1165
- p
1166
- 3
1167
- I
1168
- 0
1169
- I
1170
- 1d
1171
- I
1172
- 9
1173
- x
1174
- 54
1175
- /Users/ben/code/rack-client/spec/shared/handler_api.rb
1176
- p
1177
- 0
1178
- x
1179
- 7
1180
- request
1181
- M
1182
- 1
1183
- p
1184
- 2
1185
- x
1186
- 9
1187
- for_block
1188
- t
1189
- n
1190
- x
1191
- 9
1192
- __block__
1193
- i
1194
- 18
1195
- 5
1196
- 48
1197
- 0
1198
- 7
1199
- 1
1200
- 64
1201
- 49
1202
- 2
1203
- 1
1204
- 49
1205
- 3
1206
- 0
1207
- 7
1208
- 4
1209
- 64
1210
- 83
1211
- 5
1212
- 11
1213
- I
1214
- 3
1215
- I
1216
- 0
1217
- I
1218
- 0
1219
- I
1220
- 0
1221
- I
1222
- -2
1223
- p
1224
- 6
1225
- x
1226
- 7
1227
- headers
1228
- s
1229
- 4
1230
- ETag
1231
- x
1232
- 2
1233
- []
1234
- x
1235
- 6
1236
- should
1237
- s
1238
- 8
1239
- DEADBEEF
1240
- x
1241
- 2
1242
- ==
1243
- p
1244
- 3
1245
- I
1246
- 0
1247
- I
1248
- 1e
1249
- I
1250
- 12
1251
- x
1252
- 54
1253
- /Users/ben/code/rack-client/spec/shared/handler_api.rb
1254
- p
1255
- 0
1256
- x
1257
- 8
1258
- response
1259
- p
1260
- 7
1261
- I
1262
- 0
1263
- I
1264
- 1c
1265
- I
1266
- 0
1267
- I
1268
- 1d
1269
- I
1270
- 8
1271
- I
1272
- 1e
1273
- I
1274
- 10
1275
- x
1276
- 54
1277
- /Users/ben/code/rack-client/spec/shared/handler_api.rb
1278
- p
1279
- 0
1280
- x
1281
- 2
1282
- it
1283
- p
1284
- 5
1285
- I
1286
- 0
1287
- I
1288
- 1b
1289
- I
1290
- 0
1291
- I
1292
- 1c
1293
- I
1294
- b
1295
- x
1296
- 54
1297
- /Users/ben/code/rack-client/spec/shared/handler_api.rb
1298
- p
1299
- 0
1300
- p
1301
- 9
1302
- I
1303
- 0
1304
- I
1305
- 1
1306
- I
1307
- 0
1308
- I
1309
- 3
1310
- I
1311
- b
1312
- I
1313
- 14
1314
- I
1315
- 16
1316
- I
1317
- 1b
1318
- I
1319
- 21
1320
- x
1321
- 54
1322
- /Users/ben/code/rack-client/spec/shared/handler_api.rb
1323
- p
1324
- 0
1325
- x
1326
- 19
1327
- shared_examples_for
1328
- p
1329
- 3
1330
- I
1331
- 0
1332
- I
1333
- 1
1334
- I
1335
- d
1336
- x
1337
- 54
1338
- /Users/ben/code/rack-client/spec/shared/handler_api.rb
1339
- p
1340
- 0