rack-client 0.3.1.pre.g → 0.3.1.pre.h

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