wrest 1.0.0.beta1 → 1.0.0.beta2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. data/CHANGELOG +14 -2
  2. data/LICENCE +7 -0
  3. data/README.rdoc +15 -69
  4. data/lib/wrest/components/container/alias_accessors.rb +1 -1
  5. data/lib/wrest/components/container/alias_accessors.rbc +905 -0
  6. data/lib/wrest/components/container/typecaster.rb +5 -5
  7. data/lib/wrest/components/container/typecaster.rbc +1985 -0
  8. data/lib/wrest/components/container.rb +11 -12
  9. data/lib/wrest/components/container.rbc +2466 -0
  10. data/lib/wrest/components/mutators/base.rbc +702 -0
  11. data/lib/wrest/components/mutators/camel_to_snake_case.rbc +360 -0
  12. data/lib/wrest/components/mutators/xml_mini_type_caster.rbc +679 -0
  13. data/lib/wrest/components/mutators/xml_simple_type_caster.rbc +559 -0
  14. data/lib/wrest/components/mutators.rbc +650 -0
  15. data/lib/wrest/components/translators/content_types.rbc +339 -0
  16. data/lib/wrest/components/translators/json.rbc +462 -0
  17. data/lib/wrest/components/translators/xml.rbc +457 -0
  18. data/lib/wrest/components/translators.rbc +517 -0
  19. data/lib/wrest/components.rbc +217 -0
  20. data/lib/wrest/core_ext/hash/conversions.rbc +501 -0
  21. data/lib/wrest/core_ext/hash.rbc +182 -0
  22. data/lib/wrest/core_ext/string/conversions.rbc +471 -0
  23. data/lib/wrest/core_ext/string.rbc +182 -0
  24. data/lib/wrest/curl/response.rb +8 -0
  25. data/lib/wrest/curl.rbc +704 -0
  26. data/lib/wrest/exceptions.rbc +312 -0
  27. data/lib/wrest/http_shared/headers.rb +0 -7
  28. data/lib/wrest/http_shared/headers.rbc +353 -0
  29. data/lib/wrest/http_shared/standard_headers.rbc +336 -0
  30. data/lib/wrest/http_shared/standard_tokens.rbc +316 -0
  31. data/lib/wrest/http_shared.rbc +279 -0
  32. data/lib/wrest/native/connection_factory.rbc +445 -0
  33. data/lib/wrest/native/delete.rbc +371 -0
  34. data/lib/wrest/native/get.rb +26 -0
  35. data/lib/wrest/native/get.rbc +855 -0
  36. data/lib/wrest/native/options.rbc +347 -0
  37. data/lib/wrest/native/post.rbc +388 -0
  38. data/lib/wrest/native/put.rbc +388 -0
  39. data/lib/wrest/native/redirection.rbc +520 -0
  40. data/lib/wrest/native/request.rb +4 -2
  41. data/lib/wrest/native/request.rbc +1675 -0
  42. data/lib/wrest/native/response.rb +53 -2
  43. data/lib/wrest/native/response.rbc +2150 -0
  44. data/lib/wrest/native/session.rbc +1372 -0
  45. data/lib/wrest/native.rbc +513 -0
  46. data/lib/wrest/resource/base.rbc +2115 -0
  47. data/lib/wrest/resource.rbc +163 -0
  48. data/lib/wrest/uri.rbc +2599 -0
  49. data/lib/wrest/uri_template.rbc +505 -0
  50. data/lib/wrest/version.rb +1 -1
  51. data/lib/wrest/version.rbc +372 -0
  52. data/lib/wrest.rb +1 -1
  53. data/lib/wrest.rbc +1900 -0
  54. metadata +99 -102
  55. data/Rakefile +0 -495
  56. data/VERSION.yml +0 -5
  57. data/bin/jwrest +0 -3
  58. data/examples/delicious.rb +0 -72
  59. data/examples/facebook.rb +0 -101
  60. data/examples/imgur_multipart.rb +0 -24
  61. data/examples/keep_alive.rb +0 -37
  62. data/examples/redirection.rb +0 -27
  63. data/examples/twitter.rb +0 -78
  64. data/examples/twitter_public_timeline.rb +0 -32
  65. data/examples/wow_realm_status.rb +0 -67
  66. data/init.rb +0 -0
  67. data/spec/custom_matchers/custom_matchers.rb +0 -2
  68. data/spec/rcov.opts +0 -4
  69. data/spec/spec.opts.disable +0 -6
  70. data/spec/unit/spec_helper.rb +0 -35
  71. data/spec/unit/wrest/components/attributes_container/alias_accessors_spec.rb +0 -49
  72. data/spec/unit/wrest/components/attributes_container/typecaster_spec.rb +0 -83
  73. data/spec/unit/wrest/components/attributes_container_spec.rb +0 -254
  74. data/spec/unit/wrest/components/mutators/base_spec.rb +0 -42
  75. data/spec/unit/wrest/components/mutators/camel_to_snake_spec.rb +0 -22
  76. data/spec/unit/wrest/components/mutators/xml_mini_type_caster_spec.rb +0 -75
  77. data/spec/unit/wrest/components/mutators/xml_simple_type_caster_spec.rb +0 -47
  78. data/spec/unit/wrest/components/mutators_spec.rb +0 -21
  79. data/spec/unit/wrest/components/translators/xml_spec.rb +0 -16
  80. data/spec/unit/wrest/components/translators_spec.rb +0 -18
  81. data/spec/unit/wrest/core_ext/hash/conversions_spec.rb +0 -22
  82. data/spec/unit/wrest/core_ext/string/conversions_spec.rb +0 -39
  83. data/spec/unit/wrest/curl/request_spec.rb +0 -19
  84. data/spec/unit/wrest/curl/response_spec.rb +0 -16
  85. data/spec/unit/wrest/http/response_spec.rb +0 -24
  86. data/spec/unit/wrest/native/redirection_spec.rb +0 -42
  87. data/spec/unit/wrest/native/request_spec.rb +0 -71
  88. data/spec/unit/wrest/native/response_spec.rb +0 -72
  89. data/spec/unit/wrest/native/session_spec.rb +0 -74
  90. data/spec/unit/wrest/resource/base_spec.rb +0 -274
  91. data/spec/unit/wrest/uri_spec.rb +0 -273
  92. data/spec/unit/wrest/uri_template_spec.rb +0 -38
  93. data/wrest.gemspec +0 -168
data/lib/wrest.rbc ADDED
@@ -0,0 +1,1900 @@
1
+ !RBIX
2
+ 0
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 814
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
+ 7
27
+ 3
28
+ 64
29
+ 47
30
+ 49
31
+ 4
32
+ 2
33
+ 15
34
+ 5
35
+ 7
36
+ 5
37
+ 64
38
+ 47
39
+ 49
40
+ 1
41
+ 1
42
+ 15
43
+ 5
44
+ 7
45
+ 6
46
+ 64
47
+ 47
48
+ 49
49
+ 1
50
+ 1
51
+ 15
52
+ 5
53
+ 7
54
+ 7
55
+ 64
56
+ 47
57
+ 49
58
+ 1
59
+ 1
60
+ 15
61
+ 5
62
+ 7
63
+ 8
64
+ 64
65
+ 47
66
+ 49
67
+ 1
68
+ 1
69
+ 15
70
+ 5
71
+ 7
72
+ 9
73
+ 64
74
+ 47
75
+ 49
76
+ 1
77
+ 1
78
+ 15
79
+ 5
80
+ 7
81
+ 10
82
+ 64
83
+ 47
84
+ 49
85
+ 1
86
+ 1
87
+ 15
88
+ 5
89
+ 7
90
+ 11
91
+ 64
92
+ 47
93
+ 49
94
+ 1
95
+ 1
96
+ 15
97
+ 5
98
+ 7
99
+ 12
100
+ 64
101
+ 47
102
+ 49
103
+ 1
104
+ 1
105
+ 15
106
+ 5
107
+ 7
108
+ 13
109
+ 64
110
+ 47
111
+ 49
112
+ 1
113
+ 1
114
+ 15
115
+ 5
116
+ 7
117
+ 14
118
+ 64
119
+ 47
120
+ 49
121
+ 1
122
+ 1
123
+ 15
124
+ 5
125
+ 7
126
+ 15
127
+ 64
128
+ 47
129
+ 49
130
+ 1
131
+ 1
132
+ 15
133
+ 5
134
+ 7
135
+ 16
136
+ 64
137
+ 47
138
+ 49
139
+ 1
140
+ 1
141
+ 15
142
+ 5
143
+ 7
144
+ 17
145
+ 64
146
+ 47
147
+ 49
148
+ 1
149
+ 1
150
+ 15
151
+ 5
152
+ 7
153
+ 18
154
+ 64
155
+ 47
156
+ 49
157
+ 1
158
+ 1
159
+ 15
160
+ 99
161
+ 7
162
+ 19
163
+ 65
164
+ 49
165
+ 20
166
+ 2
167
+ 13
168
+ 99
169
+ 12
170
+ 7
171
+ 21
172
+ 12
173
+ 7
174
+ 22
175
+ 12
176
+ 65
177
+ 12
178
+ 49
179
+ 23
180
+ 4
181
+ 15
182
+ 49
183
+ 21
184
+ 0
185
+ 15
186
+ 45
187
+ 19
188
+ 24
189
+ 45
190
+ 25
191
+ 26
192
+ 43
193
+ 27
194
+ 13
195
+ 71
196
+ 28
197
+ 47
198
+ 9
199
+ 202
200
+ 47
201
+ 49
202
+ 29
203
+ 0
204
+ 13
205
+ 45
206
+ 30
207
+ 31
208
+ 47
209
+ 49
210
+ 32
211
+ 1
212
+ 15
213
+ 8
214
+ 208
215
+ 45
216
+ 30
217
+ 33
218
+ 49
219
+ 28
220
+ 1
221
+ 13
222
+ 18
223
+ 2
224
+ 49
225
+ 34
226
+ 1
227
+ 15
228
+ 15
229
+ 45
230
+ 19
231
+ 35
232
+ 49
233
+ 36
234
+ 0
235
+ 45
236
+ 37
237
+ 38
238
+ 43
239
+ 39
240
+ 13
241
+ 18
242
+ 2
243
+ 49
244
+ 40
245
+ 1
246
+ 15
247
+ 15
248
+ 26
249
+ 93
250
+ 0
251
+ 15
252
+ 29
253
+ 272
254
+ 0
255
+ 5
256
+ 7
257
+ 41
258
+ 64
259
+ 7
260
+ 42
261
+ 64
262
+ 47
263
+ 49
264
+ 4
265
+ 2
266
+ 15
267
+ 45
268
+ 25
269
+ 43
270
+ 43
271
+ 44
272
+ 7
273
+ 45
274
+ 64
275
+ 13
276
+ 18
277
+ 2
278
+ 49
279
+ 46
280
+ 1
281
+ 15
282
+ 30
283
+ 8
284
+ 553
285
+ 26
286
+ 93
287
+ 1
288
+ 15
289
+ 24
290
+ 13
291
+ 45
292
+ 47
293
+ 48
294
+ 43
295
+ 49
296
+ 12
297
+ 49
298
+ 50
299
+ 1
300
+ 10
301
+ 291
302
+ 8
303
+ 548
304
+ 15
305
+ 26
306
+ 93
307
+ 2
308
+ 15
309
+ 29
310
+ 329
311
+ 0
312
+ 5
313
+ 7
314
+ 51
315
+ 64
316
+ 7
317
+ 52
318
+ 64
319
+ 47
320
+ 49
321
+ 4
322
+ 2
323
+ 15
324
+ 45
325
+ 25
326
+ 53
327
+ 43
328
+ 44
329
+ 7
330
+ 54
331
+ 64
332
+ 13
333
+ 18
334
+ 2
335
+ 49
336
+ 46
337
+ 1
338
+ 15
339
+ 30
340
+ 8
341
+ 542
342
+ 26
343
+ 93
344
+ 3
345
+ 15
346
+ 24
347
+ 13
348
+ 45
349
+ 47
350
+ 55
351
+ 43
352
+ 49
353
+ 12
354
+ 49
355
+ 50
356
+ 1
357
+ 10
358
+ 348
359
+ 8
360
+ 537
361
+ 15
362
+ 45
363
+ 56
364
+ 57
365
+ 7
366
+ 58
367
+ 13
368
+ 70
369
+ 9
370
+ 370
371
+ 15
372
+ 44
373
+ 43
374
+ 59
375
+ 7
376
+ 60
377
+ 78
378
+ 49
379
+ 28
380
+ 2
381
+ 6
382
+ 58
383
+ 49
384
+ 61
385
+ 1
386
+ 9
387
+ 378
388
+ 1
389
+ 8
390
+ 390
391
+ 45
392
+ 19
393
+ 62
394
+ 49
395
+ 36
396
+ 0
397
+ 7
398
+ 63
399
+ 64
400
+ 49
401
+ 64
402
+ 1
403
+ 15
404
+ 45
405
+ 19
406
+ 65
407
+ 49
408
+ 36
409
+ 0
410
+ 7
411
+ 66
412
+ 45
413
+ 25
414
+ 67
415
+ 43
416
+ 44
417
+ 49
418
+ 68
419
+ 0
420
+ 47
421
+ 49
422
+ 69
423
+ 0
424
+ 7
425
+ 70
426
+ 63
427
+ 3
428
+ 49
429
+ 64
430
+ 1
431
+ 15
432
+ 45
433
+ 56
434
+ 71
435
+ 7
436
+ 72
437
+ 13
438
+ 70
439
+ 9
440
+ 440
441
+ 15
442
+ 44
443
+ 43
444
+ 59
445
+ 7
446
+ 60
447
+ 78
448
+ 49
449
+ 28
450
+ 2
451
+ 6
452
+ 72
453
+ 49
454
+ 61
455
+ 1
456
+ 9
457
+ 533
458
+ 26
459
+ 93
460
+ 4
461
+ 15
462
+ 29
463
+ 488
464
+ 0
465
+ 5
466
+ 7
467
+ 73
468
+ 64
469
+ 7
470
+ 74
471
+ 64
472
+ 47
473
+ 49
474
+ 4
475
+ 2
476
+ 15
477
+ 5
478
+ 7
479
+ 73
480
+ 64
481
+ 47
482
+ 49
483
+ 1
484
+ 1
485
+ 15
486
+ 45
487
+ 19
488
+ 75
489
+ 49
490
+ 36
491
+ 0
492
+ 7
493
+ 76
494
+ 64
495
+ 49
496
+ 64
497
+ 1
498
+ 30
499
+ 8
500
+ 528
501
+ 26
502
+ 93
503
+ 5
504
+ 15
505
+ 24
506
+ 13
507
+ 45
508
+ 47
509
+ 77
510
+ 43
511
+ 49
512
+ 12
513
+ 49
514
+ 50
515
+ 1
516
+ 10
517
+ 507
518
+ 8
519
+ 523
520
+ 15
521
+ 45
522
+ 19
523
+ 78
524
+ 49
525
+ 36
526
+ 0
527
+ 7
528
+ 79
529
+ 64
530
+ 49
531
+ 64
532
+ 1
533
+ 25
534
+ 8
535
+ 528
536
+ 15
537
+ 92
538
+ 5
539
+ 27
540
+ 34
541
+ 92
542
+ 4
543
+ 27
544
+ 8
545
+ 534
546
+ 1
547
+ 25
548
+ 8
549
+ 542
550
+ 15
551
+ 92
552
+ 3
553
+ 27
554
+ 34
555
+ 92
556
+ 2
557
+ 27
558
+ 25
559
+ 8
560
+ 553
561
+ 15
562
+ 92
563
+ 1
564
+ 27
565
+ 34
566
+ 92
567
+ 0
568
+ 27
569
+ 15
570
+ 45
571
+ 56
572
+ 80
573
+ 7
574
+ 81
575
+ 13
576
+ 70
577
+ 9
578
+ 578
579
+ 15
580
+ 44
581
+ 43
582
+ 59
583
+ 7
584
+ 60
585
+ 78
586
+ 49
587
+ 28
588
+ 2
589
+ 6
590
+ 81
591
+ 49
592
+ 61
593
+ 1
594
+ 9
595
+ 596
596
+ 5
597
+ 7
598
+ 82
599
+ 64
600
+ 7
601
+ 83
602
+ 64
603
+ 47
604
+ 49
605
+ 4
606
+ 2
607
+ 8
608
+ 607
609
+ 5
610
+ 7
611
+ 84
612
+ 64
613
+ 7
614
+ 83
615
+ 64
616
+ 47
617
+ 49
618
+ 4
619
+ 2
620
+ 15
621
+ 45
622
+ 25
623
+ 85
624
+ 43
625
+ 86
626
+ 7
627
+ 87
628
+ 64
629
+ 13
630
+ 18
631
+ 2
632
+ 49
633
+ 46
634
+ 1
635
+ 15
636
+ 15
637
+ 45
638
+ 88
639
+ 89
640
+ 45
641
+ 90
642
+ 91
643
+ 45
644
+ 90
645
+ 92
646
+ 65
647
+ 49
648
+ 93
649
+ 0
650
+ 49
651
+ 94
652
+ 1
653
+ 49
654
+ 95
655
+ 1
656
+ 47
657
+ 49
658
+ 69
659
+ 0
660
+ 7
661
+ 96
662
+ 63
663
+ 2
664
+ 49
665
+ 97
666
+ 1
667
+ 56
668
+ 98
669
+ 50
670
+ 99
671
+ 0
672
+ 15
673
+ 5
674
+ 45
675
+ 19
676
+ 100
677
+ 43
678
+ 101
679
+ 47
680
+ 49
681
+ 69
682
+ 0
683
+ 7
684
+ 102
685
+ 63
686
+ 2
687
+ 47
688
+ 49
689
+ 1
690
+ 1
691
+ 15
692
+ 5
693
+ 45
694
+ 19
695
+ 103
696
+ 43
697
+ 101
698
+ 47
699
+ 49
700
+ 69
701
+ 0
702
+ 7
703
+ 104
704
+ 63
705
+ 2
706
+ 47
707
+ 49
708
+ 1
709
+ 1
710
+ 15
711
+ 5
712
+ 45
713
+ 19
714
+ 105
715
+ 43
716
+ 101
717
+ 47
718
+ 49
719
+ 69
720
+ 0
721
+ 7
722
+ 106
723
+ 63
724
+ 2
725
+ 47
726
+ 49
727
+ 1
728
+ 1
729
+ 15
730
+ 5
731
+ 45
732
+ 19
733
+ 107
734
+ 43
735
+ 101
736
+ 47
737
+ 49
738
+ 69
739
+ 0
740
+ 7
741
+ 108
742
+ 63
743
+ 2
744
+ 47
745
+ 49
746
+ 1
747
+ 1
748
+ 15
749
+ 5
750
+ 45
751
+ 19
752
+ 109
753
+ 43
754
+ 101
755
+ 47
756
+ 49
757
+ 69
758
+ 0
759
+ 7
760
+ 110
761
+ 63
762
+ 2
763
+ 47
764
+ 49
765
+ 1
766
+ 1
767
+ 15
768
+ 5
769
+ 45
770
+ 19
771
+ 111
772
+ 43
773
+ 101
774
+ 47
775
+ 49
776
+ 69
777
+ 0
778
+ 7
779
+ 112
780
+ 63
781
+ 2
782
+ 47
783
+ 49
784
+ 1
785
+ 1
786
+ 15
787
+ 5
788
+ 45
789
+ 19
790
+ 113
791
+ 43
792
+ 101
793
+ 47
794
+ 49
795
+ 69
796
+ 0
797
+ 7
798
+ 114
799
+ 63
800
+ 2
801
+ 47
802
+ 49
803
+ 1
804
+ 1
805
+ 15
806
+ 5
807
+ 45
808
+ 19
809
+ 115
810
+ 43
811
+ 101
812
+ 47
813
+ 49
814
+ 69
815
+ 0
816
+ 7
817
+ 116
818
+ 63
819
+ 2
820
+ 47
821
+ 49
822
+ 1
823
+ 1
824
+ 15
825
+ 2
826
+ 11
827
+ I
828
+ c
829
+ I
830
+ 0
831
+ I
832
+ 0
833
+ I
834
+ 0
835
+ n
836
+ p
837
+ 117
838
+ s
839
+ 8
840
+ rubygems
841
+ x
842
+ 7
843
+ require
844
+ s
845
+ 13
846
+ activesupport
847
+ s
848
+ 8
849
+ >= 3.0.0
850
+ x
851
+ 3
852
+ gem
853
+ s
854
+ 8
855
+ net/http
856
+ s
857
+ 9
858
+ net/https
859
+ s
860
+ 11
861
+ forwardable
862
+ s
863
+ 4
864
+ date
865
+ s
866
+ 3
867
+ cgi
868
+ s
869
+ 6
870
+ base64
871
+ s
872
+ 6
873
+ logger
874
+ s
875
+ 9
876
+ benchmark
877
+ s
878
+ 14
879
+ active_support
880
+ s
881
+ 19
882
+ active_support/json
883
+ s
884
+ 30
885
+ active_support/core_ext/string
886
+ s
887
+ 28
888
+ active_support/core_ext/hash
889
+ s
890
+ 30
891
+ active_support/core_ext/module
892
+ s
893
+ 30
894
+ active_support/core_ext/object
895
+ x
896
+ 5
897
+ Wrest
898
+ x
899
+ 11
900
+ open_module
901
+ x
902
+ 15
903
+ __module_init__
904
+ M
905
+ 1
906
+ n
907
+ n
908
+ x
909
+ 5
910
+ Wrest
911
+ i
912
+ 78
913
+ 5
914
+ 66
915
+ 65
916
+ 7
917
+ 0
918
+ 45
919
+ 1
920
+ 2
921
+ 65
922
+ 49
923
+ 3
924
+ 0
925
+ 49
926
+ 4
927
+ 1
928
+ 49
929
+ 5
930
+ 2
931
+ 15
932
+ 99
933
+ 43
934
+ 6
935
+ 7
936
+ 7
937
+ 49
938
+ 8
939
+ 1
940
+ 45
941
+ 0
942
+ 9
943
+ 49
944
+ 10
945
+ 1
946
+ 15
947
+ 99
948
+ 7
949
+ 11
950
+ 7
951
+ 12
952
+ 65
953
+ 5
954
+ 49
955
+ 13
956
+ 4
957
+ 15
958
+ 99
959
+ 7
960
+ 14
961
+ 7
962
+ 15
963
+ 65
964
+ 5
965
+ 49
966
+ 13
967
+ 4
968
+ 15
969
+ 99
970
+ 7
971
+ 16
972
+ 7
973
+ 17
974
+ 65
975
+ 5
976
+ 49
977
+ 13
978
+ 4
979
+ 15
980
+ 99
981
+ 7
982
+ 18
983
+ 7
984
+ 19
985
+ 65
986
+ 5
987
+ 49
988
+ 13
989
+ 4
990
+ 11
991
+ I
992
+ 5
993
+ I
994
+ 0
995
+ I
996
+ 0
997
+ I
998
+ 0
999
+ n
1000
+ p
1001
+ 20
1002
+ x
1003
+ 4
1004
+ Root
1005
+ x
1006
+ 4
1007
+ File
1008
+ n
1009
+ x
1010
+ 11
1011
+ active_path
1012
+ x
1013
+ 7
1014
+ dirname
1015
+ x
1016
+ 9
1017
+ const_set
1018
+ x
1019
+ 7
1020
+ Globals
1021
+ x
1022
+ 2
1023
+ $:
1024
+ x
1025
+ 2
1026
+ []
1027
+ n
1028
+ x
1029
+ 7
1030
+ unshift
1031
+ x
1032
+ 7
1033
+ logger=
1034
+ M
1035
+ 1
1036
+ n
1037
+ n
1038
+ x
1039
+ 7
1040
+ logger=
1041
+ i
1042
+ 5
1043
+ 20
1044
+ 0
1045
+ 38
1046
+ 0
1047
+ 11
1048
+ I
1049
+ 2
1050
+ I
1051
+ 1
1052
+ I
1053
+ 1
1054
+ I
1055
+ 1
1056
+ n
1057
+ p
1058
+ 1
1059
+ x
1060
+ 7
1061
+ @logger
1062
+ p
1063
+ 5
1064
+ I
1065
+ 0
1066
+ I
1067
+ 20
1068
+ I
1069
+ 0
1070
+ I
1071
+ 21
1072
+ I
1073
+ 5
1074
+ x
1075
+ 35
1076
+ /Users/sidu/Work/wrest/lib/wrest.rb
1077
+ p
1078
+ 1
1079
+ x
1080
+ 6
1081
+ logger
1082
+ x
1083
+ 13
1084
+ attach_method
1085
+ x
1086
+ 6
1087
+ logger
1088
+ M
1089
+ 1
1090
+ n
1091
+ n
1092
+ x
1093
+ 6
1094
+ logger
1095
+ i
1096
+ 3
1097
+ 39
1098
+ 0
1099
+ 11
1100
+ I
1101
+ 1
1102
+ I
1103
+ 0
1104
+ I
1105
+ 0
1106
+ I
1107
+ 0
1108
+ n
1109
+ p
1110
+ 1
1111
+ x
1112
+ 7
1113
+ @logger
1114
+ p
1115
+ 5
1116
+ I
1117
+ 0
1118
+ I
1119
+ 24
1120
+ I
1121
+ 0
1122
+ I
1123
+ 25
1124
+ I
1125
+ 3
1126
+ x
1127
+ 35
1128
+ /Users/sidu/Work/wrest/lib/wrest.rb
1129
+ p
1130
+ 0
1131
+ x
1132
+ 10
1133
+ use_native
1134
+ M
1135
+ 1
1136
+ n
1137
+ n
1138
+ x
1139
+ 10
1140
+ use_native
1141
+ i
1142
+ 8
1143
+ 5
1144
+ 56
1145
+ 0
1146
+ 47
1147
+ 50
1148
+ 1
1149
+ 0
1150
+ 11
1151
+ I
1152
+ 2
1153
+ I
1154
+ 0
1155
+ I
1156
+ 0
1157
+ I
1158
+ 0
1159
+ n
1160
+ p
1161
+ 2
1162
+ M
1163
+ 1
1164
+ p
1165
+ 2
1166
+ x
1167
+ 9
1168
+ for_block
1169
+ t
1170
+ n
1171
+ x
1172
+ 10
1173
+ use_native
1174
+ i
1175
+ 15
1176
+ 45
1177
+ 0
1178
+ 1
1179
+ 7
1180
+ 2
1181
+ 64
1182
+ 45
1183
+ 0
1184
+ 3
1185
+ 43
1186
+ 4
1187
+ 49
1188
+ 5
1189
+ 2
1190
+ 11
1191
+ I
1192
+ 4
1193
+ I
1194
+ 0
1195
+ I
1196
+ 0
1197
+ I
1198
+ 0
1199
+ I
1200
+ -2
1201
+ p
1202
+ 6
1203
+ x
1204
+ 5
1205
+ Wrest
1206
+ n
1207
+ s
1208
+ 4
1209
+ Http
1210
+ n
1211
+ x
1212
+ 6
1213
+ Native
1214
+ x
1215
+ 9
1216
+ const_set
1217
+ p
1218
+ 3
1219
+ I
1220
+ 0
1221
+ I
1222
+ 2a
1223
+ I
1224
+ f
1225
+ x
1226
+ 35
1227
+ /Users/sidu/Work/wrest/lib/wrest.rb
1228
+ p
1229
+ 0
1230
+ x
1231
+ 16
1232
+ silence_warnings
1233
+ p
1234
+ 5
1235
+ I
1236
+ 0
1237
+ I
1238
+ 29
1239
+ I
1240
+ 0
1241
+ I
1242
+ 2a
1243
+ I
1244
+ 8
1245
+ x
1246
+ 35
1247
+ /Users/sidu/Work/wrest/lib/wrest.rb
1248
+ p
1249
+ 0
1250
+ x
1251
+ 8
1252
+ use_curl
1253
+ M
1254
+ 1
1255
+ n
1256
+ n
1257
+ x
1258
+ 8
1259
+ use_curl
1260
+ i
1261
+ 27
1262
+ 5
1263
+ 45
1264
+ 0
1265
+ 1
1266
+ 43
1267
+ 2
1268
+ 47
1269
+ 49
1270
+ 3
1271
+ 0
1272
+ 7
1273
+ 4
1274
+ 63
1275
+ 2
1276
+ 47
1277
+ 49
1278
+ 5
1279
+ 1
1280
+ 15
1281
+ 5
1282
+ 56
1283
+ 6
1284
+ 47
1285
+ 50
1286
+ 7
1287
+ 0
1288
+ 11
1289
+ I
1290
+ 3
1291
+ I
1292
+ 0
1293
+ I
1294
+ 0
1295
+ I
1296
+ 0
1297
+ n
1298
+ p
1299
+ 8
1300
+ x
1301
+ 5
1302
+ Wrest
1303
+ n
1304
+ x
1305
+ 4
1306
+ Root
1307
+ x
1308
+ 4
1309
+ to_s
1310
+ s
1311
+ 11
1312
+ /wrest/curl
1313
+ x
1314
+ 7
1315
+ require
1316
+ M
1317
+ 1
1318
+ p
1319
+ 2
1320
+ x
1321
+ 9
1322
+ for_block
1323
+ t
1324
+ n
1325
+ x
1326
+ 8
1327
+ use_curl
1328
+ i
1329
+ 15
1330
+ 45
1331
+ 0
1332
+ 1
1333
+ 7
1334
+ 2
1335
+ 64
1336
+ 45
1337
+ 0
1338
+ 3
1339
+ 43
1340
+ 4
1341
+ 49
1342
+ 5
1343
+ 2
1344
+ 11
1345
+ I
1346
+ 4
1347
+ I
1348
+ 0
1349
+ I
1350
+ 0
1351
+ I
1352
+ 0
1353
+ I
1354
+ -2
1355
+ p
1356
+ 6
1357
+ x
1358
+ 5
1359
+ Wrest
1360
+ n
1361
+ s
1362
+ 4
1363
+ Http
1364
+ n
1365
+ x
1366
+ 4
1367
+ Curl
1368
+ x
1369
+ 9
1370
+ const_set
1371
+ p
1372
+ 3
1373
+ I
1374
+ 0
1375
+ I
1376
+ 30
1377
+ I
1378
+ f
1379
+ x
1380
+ 35
1381
+ /Users/sidu/Work/wrest/lib/wrest.rb
1382
+ p
1383
+ 0
1384
+ x
1385
+ 16
1386
+ silence_warnings
1387
+ p
1388
+ 7
1389
+ I
1390
+ 0
1391
+ I
1392
+ 2e
1393
+ I
1394
+ 0
1395
+ I
1396
+ 2f
1397
+ I
1398
+ 13
1399
+ I
1400
+ 30
1401
+ I
1402
+ 1b
1403
+ x
1404
+ 35
1405
+ /Users/sidu/Work/wrest/lib/wrest.rb
1406
+ p
1407
+ 0
1408
+ p
1409
+ 13
1410
+ I
1411
+ 2
1412
+ I
1413
+ 1c
1414
+ I
1415
+ 13
1416
+ I
1417
+ 1e
1418
+ I
1419
+ 22
1420
+ I
1421
+ 20
1422
+ I
1423
+ 2d
1424
+ I
1425
+ 24
1426
+ I
1427
+ 38
1428
+ I
1429
+ 29
1430
+ I
1431
+ 43
1432
+ I
1433
+ 2e
1434
+ I
1435
+ 4e
1436
+ x
1437
+ 35
1438
+ /Users/sidu/Work/wrest/lib/wrest.rb
1439
+ p
1440
+ 0
1441
+ x
1442
+ 13
1443
+ attach_method
1444
+ n
1445
+ x
1446
+ 13
1447
+ ActiveSupport
1448
+ n
1449
+ x
1450
+ 14
1451
+ BufferedLogger
1452
+ x
1453
+ 3
1454
+ new
1455
+ x
1456
+ 8
1457
+ allocate
1458
+ x
1459
+ 6
1460
+ STDOUT
1461
+ n
1462
+ x
1463
+ 10
1464
+ initialize
1465
+ n
1466
+ x
1467
+ 7
1468
+ logger=
1469
+ n
1470
+ x
1471
+ 6
1472
+ logger
1473
+ x
1474
+ 6
1475
+ Logger
1476
+ n
1477
+ x
1478
+ 5
1479
+ DEBUG
1480
+ x
1481
+ 6
1482
+ level=
1483
+ s
1484
+ 11
1485
+ libxml-ruby
1486
+ s
1487
+ 8
1488
+ >= 1.1.3
1489
+ n
1490
+ x
1491
+ 7
1492
+ XmlMini
1493
+ s
1494
+ 6
1495
+ LibXML
1496
+ x
1497
+ 8
1498
+ backend=
1499
+ x
1500
+ 3
1501
+ Gem
1502
+ n
1503
+ x
1504
+ 9
1505
+ LoadError
1506
+ x
1507
+ 3
1508
+ ===
1509
+ s
1510
+ 8
1511
+ nokogiri
1512
+ s
1513
+ 8
1514
+ >= 1.3.3
1515
+ n
1516
+ s
1517
+ 8
1518
+ Nokogiri
1519
+ n
1520
+ x
1521
+ 13
1522
+ RUBY_PLATFORM
1523
+ n
1524
+ n
1525
+ x
1526
+ 6
1527
+ Regexp
1528
+ s
1529
+ 4
1530
+ java
1531
+ x
1532
+ 2
1533
+ =~
1534
+ n
1535
+ s
1536
+ 158
1537
+ Warning: LibXML >= 1.1.3 not found, attempting to use Nokogiri. To install LibXML run `(sudo) gem install libxml-ruby` (libxml-ruby is not available on JRuby)
1538
+ x
1539
+ 5
1540
+ debug
1541
+ n
1542
+ s
1543
+ 54
1544
+ Warning: Nokogiri >= 1.3.3 not found, falling back to
1545
+ n
1546
+ x
1547
+ 7
1548
+ backend
1549
+ x
1550
+ 4
1551
+ to_s
1552
+ s
1553
+ 107
1554
+ (which is probably significantly slower). To install Nokogiri run `(sudo) (jruby -S) gem install nokogiri`
1555
+ n
1556
+ n
1557
+ s
1558
+ 6
1559
+ jrexml
1560
+ s
1561
+ 8
1562
+ >= 0.5.3
1563
+ n
1564
+ s
1565
+ 30
1566
+ Detected JRuby, JREXML loaded.
1567
+ n
1568
+ n
1569
+ s
1570
+ 182
1571
+ Warning: Detected JRuby, but failed to load JREXML. JREXML offers *some* performance improvement when using REXML on JRuby. To install JREXML run `(sudo) jruby -S gem install jrexml`
1572
+ n
1573
+ n
1574
+ s
1575
+ 10
1576
+ json-jruby
1577
+ s
1578
+ 8
1579
+ >= 1.4.2
1580
+ s
1581
+ 4
1582
+ json
1583
+ n
1584
+ x
1585
+ 4
1586
+ JSON
1587
+ s
1588
+ 7
1589
+ JSONGem
1590
+ x
1591
+ 3
1592
+ Dir
1593
+ n
1594
+ x
1595
+ 4
1596
+ File
1597
+ n
1598
+ n
1599
+ x
1600
+ 11
1601
+ active_path
1602
+ x
1603
+ 7
1604
+ dirname
1605
+ x
1606
+ 11
1607
+ expand_path
1608
+ s
1609
+ 20
1610
+ /wrest/core_ext/*.rb
1611
+ x
1612
+ 2
1613
+ []
1614
+ M
1615
+ 1
1616
+ p
1617
+ 2
1618
+ x
1619
+ 9
1620
+ for_block
1621
+ t
1622
+ n
1623
+ x
1624
+ 9
1625
+ __block__
1626
+ i
1627
+ 12
1628
+ 57
1629
+ 19
1630
+ 0
1631
+ 15
1632
+ 5
1633
+ 20
1634
+ 0
1635
+ 47
1636
+ 49
1637
+ 0
1638
+ 1
1639
+ 11
1640
+ I
1641
+ 4
1642
+ I
1643
+ 1
1644
+ I
1645
+ 1
1646
+ I
1647
+ 1
1648
+ n
1649
+ p
1650
+ 1
1651
+ x
1652
+ 7
1653
+ require
1654
+ p
1655
+ 3
1656
+ I
1657
+ 0
1658
+ I
1659
+ 53
1660
+ I
1661
+ c
1662
+ x
1663
+ 35
1664
+ /Users/sidu/Work/wrest/lib/wrest.rb
1665
+ p
1666
+ 1
1667
+ x
1668
+ 4
1669
+ file
1670
+ x
1671
+ 4
1672
+ each
1673
+ n
1674
+ x
1675
+ 4
1676
+ Root
1677
+ s
1678
+ 14
1679
+ /wrest/version
1680
+ n
1681
+ s
1682
+ 18
1683
+ /wrest/http_shared
1684
+ n
1685
+ s
1686
+ 13
1687
+ /wrest/native
1688
+ n
1689
+ s
1690
+ 10
1691
+ /wrest/uri
1692
+ n
1693
+ s
1694
+ 19
1695
+ /wrest/uri_template
1696
+ n
1697
+ s
1698
+ 17
1699
+ /wrest/exceptions
1700
+ n
1701
+ s
1702
+ 17
1703
+ /wrest/components
1704
+ n
1705
+ s
1706
+ 15
1707
+ /wrest/resource
1708
+ p
1709
+ 93
1710
+ I
1711
+ 0
1712
+ I
1713
+ 9
1714
+ I
1715
+ 9
1716
+ I
1717
+ a
1718
+ I
1719
+ 15
1720
+ I
1721
+ c
1722
+ I
1723
+ 1e
1724
+ I
1725
+ d
1726
+ I
1727
+ 27
1728
+ I
1729
+ e
1730
+ I
1731
+ 30
1732
+ I
1733
+ f
1734
+ I
1735
+ 39
1736
+ I
1737
+ 10
1738
+ I
1739
+ 42
1740
+ I
1741
+ 11
1742
+ I
1743
+ 4b
1744
+ I
1745
+ 12
1746
+ I
1747
+ 54
1748
+ I
1749
+ 13
1750
+ I
1751
+ 5d
1752
+ I
1753
+ 14
1754
+ I
1755
+ 66
1756
+ I
1757
+ 15
1758
+ I
1759
+ 6f
1760
+ I
1761
+ 16
1762
+ I
1763
+ 78
1764
+ I
1765
+ 17
1766
+ I
1767
+ 81
1768
+ I
1769
+ 18
1770
+ I
1771
+ 8a
1772
+ I
1773
+ 19
1774
+ I
1775
+ 93
1776
+ I
1777
+ 1b
1778
+ I
1779
+ ad
1780
+ I
1781
+ 34
1782
+ I
1783
+ d8
1784
+ I
1785
+ 35
1786
+ I
1787
+ eb
1788
+ I
1789
+ 38
1790
+ I
1791
+ fe
1792
+ I
1793
+ 39
1794
+ I
1795
+ 115
1796
+ I
1797
+ 3a
1798
+ I
1799
+ 124
1800
+ I
1801
+ 3c
1802
+ I
1803
+ 137
1804
+ I
1805
+ 3d
1806
+ I
1807
+ 14e
1808
+ I
1809
+ 3e
1810
+ I
1811
+ 15d
1812
+ I
1813
+ 3f
1814
+ I
1815
+ 17a
1816
+ I
1817
+ 40
1818
+ I
1819
+ 187
1820
+ I
1821
+ 42
1822
+ I
1823
+ 1a3
1824
+ I
1825
+ 43
1826
+ I
1827
+ 1bd
1828
+ I
1829
+ 45
1830
+ I
1831
+ 1d0
1832
+ I
1833
+ 46
1834
+ I
1835
+ 1d9
1836
+ I
1837
+ 47
1838
+ I
1839
+ 1ed
1840
+ I
1841
+ 48
1842
+ I
1843
+ 1fc
1844
+ I
1845
+ 49
1846
+ I
1847
+ 215
1848
+ I
1849
+ 43
1850
+ I
1851
+ 22d
1852
+ I
1853
+ 4f
1854
+ I
1855
+ 260
1856
+ I
1857
+ 50
1858
+ I
1859
+ 270
1860
+ I
1861
+ 53
1862
+ I
1863
+ 294
1864
+ I
1865
+ 56
1866
+ I
1867
+ 2a7
1868
+ I
1869
+ 57
1870
+ I
1871
+ 2ba
1872
+ I
1873
+ 58
1874
+ I
1875
+ 2cd
1876
+ I
1877
+ 5b
1878
+ I
1879
+ 2e0
1880
+ I
1881
+ 5c
1882
+ I
1883
+ 2f3
1884
+ I
1885
+ 5d
1886
+ I
1887
+ 306
1888
+ I
1889
+ 5e
1890
+ I
1891
+ 319
1892
+ I
1893
+ 61
1894
+ I
1895
+ 32e
1896
+ x
1897
+ 35
1898
+ /Users/sidu/Work/wrest/lib/wrest.rb
1899
+ p
1900
+ 0