wrest 1.0.0.beta2-universal-java-1.6 → 1.0.0.beta3-universal-java-1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +9 -1
- data/README.rdoc +2 -2
- data/lib/wrest.rb +2 -2
- data/lib/wrest/curl.rb +2 -2
- data/lib/wrest/multipart.rb +3 -3
- data/lib/wrest/native/get.rb +0 -1
- data/lib/wrest/native/request.rb +5 -1
- data/lib/wrest/uri.rb +20 -11
- data/lib/wrest/uri_template.rb +9 -0
- data/lib/wrest/version.rb +1 -1
- metadata +72 -103
- data/lib/wrest.rbc +0 -1900
- data/lib/wrest/components.rbc +0 -217
- data/lib/wrest/components/container.rbc +0 -2466
- data/lib/wrest/components/container/alias_accessors.rbc +0 -905
- data/lib/wrest/components/container/typecaster.rbc +0 -1985
- data/lib/wrest/components/mutators.rbc +0 -650
- data/lib/wrest/components/mutators/base.rbc +0 -702
- data/lib/wrest/components/mutators/camel_to_snake_case.rbc +0 -360
- data/lib/wrest/components/mutators/xml_mini_type_caster.rbc +0 -679
- data/lib/wrest/components/mutators/xml_simple_type_caster.rbc +0 -559
- data/lib/wrest/components/translators.rbc +0 -517
- data/lib/wrest/components/translators/content_types.rbc +0 -339
- data/lib/wrest/components/translators/json.rbc +0 -462
- data/lib/wrest/components/translators/xml.rbc +0 -457
- data/lib/wrest/core_ext/hash.rbc +0 -182
- data/lib/wrest/core_ext/hash/conversions.rbc +0 -501
- data/lib/wrest/core_ext/string.rbc +0 -182
- data/lib/wrest/core_ext/string/conversions.rbc +0 -471
- data/lib/wrest/curl.rbc +0 -704
- data/lib/wrest/exceptions.rbc +0 -312
- data/lib/wrest/http_shared.rbc +0 -279
- data/lib/wrest/http_shared/headers.rbc +0 -353
- data/lib/wrest/http_shared/standard_headers.rbc +0 -336
- data/lib/wrest/http_shared/standard_tokens.rbc +0 -316
- data/lib/wrest/native.rbc +0 -513
- data/lib/wrest/native/connection_factory.rbc +0 -445
- data/lib/wrest/native/delete.rbc +0 -371
- data/lib/wrest/native/get.rbc +0 -855
- data/lib/wrest/native/options.rbc +0 -347
- data/lib/wrest/native/post.rbc +0 -388
- data/lib/wrest/native/put.rbc +0 -388
- data/lib/wrest/native/redirection.rbc +0 -520
- data/lib/wrest/native/request.rbc +0 -1675
- data/lib/wrest/native/response.rbc +0 -2150
- data/lib/wrest/native/session.rbc +0 -1372
- data/lib/wrest/resource.rbc +0 -163
- data/lib/wrest/resource/base.rbc +0 -2115
- data/lib/wrest/uri.rbc +0 -2599
- data/lib/wrest/uri_template.rbc +0 -505
- data/lib/wrest/version.rbc +0 -372
data/lib/wrest/curl.rbc
DELETED
@@ -1,704 +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
|
-
273
|
13
|
-
26
|
14
|
-
93
|
15
|
-
0
|
16
|
-
15
|
17
|
-
29
|
18
|
-
21
|
19
|
-
0
|
20
|
-
5
|
21
|
-
7
|
22
|
-
0
|
23
|
-
64
|
24
|
-
7
|
25
|
-
1
|
26
|
-
64
|
27
|
-
47
|
28
|
-
49
|
29
|
-
2
|
30
|
-
2
|
31
|
-
30
|
32
|
-
8
|
33
|
-
73
|
34
|
-
26
|
35
|
-
93
|
36
|
-
1
|
37
|
-
15
|
38
|
-
24
|
39
|
-
13
|
40
|
-
45
|
41
|
-
3
|
42
|
-
4
|
43
|
-
43
|
44
|
-
5
|
45
|
-
12
|
46
|
-
49
|
47
|
-
6
|
48
|
-
1
|
49
|
-
10
|
50
|
-
40
|
51
|
-
8
|
52
|
-
68
|
53
|
-
15
|
54
|
-
24
|
55
|
-
19
|
56
|
-
0
|
57
|
-
15
|
58
|
-
45
|
59
|
-
7
|
60
|
-
8
|
61
|
-
49
|
62
|
-
9
|
63
|
-
0
|
64
|
-
7
|
65
|
-
10
|
66
|
-
64
|
67
|
-
49
|
68
|
-
11
|
69
|
-
1
|
70
|
-
15
|
71
|
-
5
|
72
|
-
20
|
73
|
-
0
|
74
|
-
47
|
75
|
-
49
|
76
|
-
12
|
77
|
-
1
|
78
|
-
25
|
79
|
-
8
|
80
|
-
73
|
81
|
-
15
|
82
|
-
92
|
83
|
-
1
|
84
|
-
27
|
85
|
-
34
|
86
|
-
92
|
87
|
-
0
|
88
|
-
27
|
89
|
-
15
|
90
|
-
5
|
91
|
-
7
|
92
|
-
0
|
93
|
-
64
|
94
|
-
47
|
95
|
-
49
|
96
|
-
13
|
97
|
-
1
|
98
|
-
15
|
99
|
-
99
|
100
|
-
7
|
101
|
-
7
|
102
|
-
65
|
103
|
-
49
|
104
|
-
14
|
105
|
-
2
|
106
|
-
13
|
107
|
-
99
|
108
|
-
12
|
109
|
-
7
|
110
|
-
15
|
111
|
-
12
|
112
|
-
7
|
113
|
-
16
|
114
|
-
12
|
115
|
-
65
|
116
|
-
12
|
117
|
-
49
|
118
|
-
17
|
119
|
-
4
|
120
|
-
15
|
121
|
-
49
|
122
|
-
15
|
123
|
-
0
|
124
|
-
15
|
125
|
-
99
|
126
|
-
7
|
127
|
-
18
|
128
|
-
65
|
129
|
-
49
|
130
|
-
14
|
131
|
-
2
|
132
|
-
13
|
133
|
-
99
|
134
|
-
12
|
135
|
-
7
|
136
|
-
15
|
137
|
-
12
|
138
|
-
7
|
139
|
-
19
|
140
|
-
12
|
141
|
-
65
|
142
|
-
12
|
143
|
-
49
|
144
|
-
17
|
145
|
-
4
|
146
|
-
15
|
147
|
-
49
|
148
|
-
15
|
149
|
-
0
|
150
|
-
15
|
151
|
-
5
|
152
|
-
45
|
153
|
-
7
|
154
|
-
20
|
155
|
-
43
|
156
|
-
21
|
157
|
-
47
|
158
|
-
49
|
159
|
-
22
|
160
|
-
0
|
161
|
-
7
|
162
|
-
23
|
163
|
-
63
|
164
|
-
2
|
165
|
-
47
|
166
|
-
49
|
167
|
-
13
|
168
|
-
1
|
169
|
-
15
|
170
|
-
5
|
171
|
-
45
|
172
|
-
7
|
173
|
-
24
|
174
|
-
43
|
175
|
-
21
|
176
|
-
47
|
177
|
-
49
|
178
|
-
22
|
179
|
-
0
|
180
|
-
7
|
181
|
-
25
|
182
|
-
63
|
183
|
-
2
|
184
|
-
47
|
185
|
-
49
|
186
|
-
13
|
187
|
-
1
|
188
|
-
15
|
189
|
-
5
|
190
|
-
45
|
191
|
-
7
|
192
|
-
26
|
193
|
-
43
|
194
|
-
21
|
195
|
-
47
|
196
|
-
49
|
197
|
-
22
|
198
|
-
0
|
199
|
-
7
|
200
|
-
27
|
201
|
-
63
|
202
|
-
2
|
203
|
-
47
|
204
|
-
49
|
205
|
-
13
|
206
|
-
1
|
207
|
-
15
|
208
|
-
5
|
209
|
-
45
|
210
|
-
7
|
211
|
-
28
|
212
|
-
43
|
213
|
-
21
|
214
|
-
47
|
215
|
-
49
|
216
|
-
22
|
217
|
-
0
|
218
|
-
7
|
219
|
-
29
|
220
|
-
63
|
221
|
-
2
|
222
|
-
47
|
223
|
-
49
|
224
|
-
13
|
225
|
-
1
|
226
|
-
15
|
227
|
-
5
|
228
|
-
45
|
229
|
-
7
|
230
|
-
30
|
231
|
-
43
|
232
|
-
21
|
233
|
-
47
|
234
|
-
49
|
235
|
-
22
|
236
|
-
0
|
237
|
-
7
|
238
|
-
31
|
239
|
-
63
|
240
|
-
2
|
241
|
-
47
|
242
|
-
49
|
243
|
-
13
|
244
|
-
1
|
245
|
-
15
|
246
|
-
5
|
247
|
-
45
|
248
|
-
7
|
249
|
-
32
|
250
|
-
43
|
251
|
-
21
|
252
|
-
47
|
253
|
-
49
|
254
|
-
22
|
255
|
-
0
|
256
|
-
7
|
257
|
-
33
|
258
|
-
63
|
259
|
-
2
|
260
|
-
47
|
261
|
-
49
|
262
|
-
13
|
263
|
-
1
|
264
|
-
15
|
265
|
-
5
|
266
|
-
45
|
267
|
-
7
|
268
|
-
34
|
269
|
-
43
|
270
|
-
21
|
271
|
-
47
|
272
|
-
49
|
273
|
-
22
|
274
|
-
0
|
275
|
-
7
|
276
|
-
35
|
277
|
-
63
|
278
|
-
2
|
279
|
-
47
|
280
|
-
49
|
281
|
-
13
|
282
|
-
1
|
283
|
-
15
|
284
|
-
2
|
285
|
-
11
|
286
|
-
I
|
287
|
-
9
|
288
|
-
I
|
289
|
-
1
|
290
|
-
I
|
291
|
-
0
|
292
|
-
I
|
293
|
-
0
|
294
|
-
n
|
295
|
-
p
|
296
|
-
36
|
297
|
-
s
|
298
|
-
6
|
299
|
-
patron
|
300
|
-
s
|
301
|
-
7
|
302
|
-
>=0.4.4
|
303
|
-
x
|
304
|
-
3
|
305
|
-
gem
|
306
|
-
x
|
307
|
-
3
|
308
|
-
Gem
|
309
|
-
n
|
310
|
-
x
|
311
|
-
9
|
312
|
-
LoadError
|
313
|
-
x
|
314
|
-
3
|
315
|
-
===
|
316
|
-
x
|
317
|
-
5
|
318
|
-
Wrest
|
319
|
-
n
|
320
|
-
x
|
321
|
-
6
|
322
|
-
logger
|
323
|
-
s
|
324
|
-
180
|
325
|
-
Patron >= 0.4.4 not found. Patron is necessary to use libcurl. To install Patron run `sudo gem install patron` (patron is not available on JRuby, but you shouldn't need it anyway).
|
326
|
-
x
|
327
|
-
5
|
328
|
-
debug
|
329
|
-
x
|
330
|
-
5
|
331
|
-
raise
|
332
|
-
x
|
333
|
-
7
|
334
|
-
require
|
335
|
-
x
|
336
|
-
11
|
337
|
-
open_module
|
338
|
-
x
|
339
|
-
15
|
340
|
-
__module_init__
|
341
|
-
M
|
342
|
-
1
|
343
|
-
n
|
344
|
-
n
|
345
|
-
x
|
346
|
-
5
|
347
|
-
Wrest
|
348
|
-
i
|
349
|
-
28
|
350
|
-
5
|
351
|
-
66
|
352
|
-
99
|
353
|
-
7
|
354
|
-
0
|
355
|
-
65
|
356
|
-
49
|
357
|
-
1
|
358
|
-
2
|
359
|
-
13
|
360
|
-
99
|
361
|
-
12
|
362
|
-
7
|
363
|
-
2
|
364
|
-
12
|
365
|
-
7
|
366
|
-
3
|
367
|
-
12
|
368
|
-
65
|
369
|
-
12
|
370
|
-
49
|
371
|
-
4
|
372
|
-
4
|
373
|
-
15
|
374
|
-
49
|
375
|
-
2
|
376
|
-
0
|
377
|
-
11
|
378
|
-
I
|
379
|
-
6
|
380
|
-
I
|
381
|
-
0
|
382
|
-
I
|
383
|
-
0
|
384
|
-
I
|
385
|
-
0
|
386
|
-
n
|
387
|
-
p
|
388
|
-
5
|
389
|
-
x
|
390
|
-
4
|
391
|
-
Curl
|
392
|
-
x
|
393
|
-
11
|
394
|
-
open_module
|
395
|
-
x
|
396
|
-
15
|
397
|
-
__module_init__
|
398
|
-
M
|
399
|
-
1
|
400
|
-
n
|
401
|
-
n
|
402
|
-
x
|
403
|
-
4
|
404
|
-
Curl
|
405
|
-
i
|
406
|
-
13
|
407
|
-
5
|
408
|
-
66
|
409
|
-
5
|
410
|
-
45
|
411
|
-
0
|
412
|
-
1
|
413
|
-
43
|
414
|
-
2
|
415
|
-
47
|
416
|
-
49
|
417
|
-
3
|
418
|
-
1
|
419
|
-
11
|
420
|
-
I
|
421
|
-
2
|
422
|
-
I
|
423
|
-
0
|
424
|
-
I
|
425
|
-
0
|
426
|
-
I
|
427
|
-
0
|
428
|
-
n
|
429
|
-
p
|
430
|
-
4
|
431
|
-
x
|
432
|
-
5
|
433
|
-
Wrest
|
434
|
-
n
|
435
|
-
x
|
436
|
-
10
|
437
|
-
HttpShared
|
438
|
-
x
|
439
|
-
7
|
440
|
-
include
|
441
|
-
p
|
442
|
-
3
|
443
|
-
I
|
444
|
-
2
|
445
|
-
I
|
446
|
-
1f
|
447
|
-
I
|
448
|
-
d
|
449
|
-
x
|
450
|
-
40
|
451
|
-
/Users/sidu/Work/wrest/lib/wrest/curl.rb
|
452
|
-
p
|
453
|
-
0
|
454
|
-
x
|
455
|
-
13
|
456
|
-
attach_method
|
457
|
-
p
|
458
|
-
3
|
459
|
-
I
|
460
|
-
2
|
461
|
-
I
|
462
|
-
1e
|
463
|
-
I
|
464
|
-
1c
|
465
|
-
x
|
466
|
-
40
|
467
|
-
/Users/sidu/Work/wrest/lib/wrest/curl.rb
|
468
|
-
p
|
469
|
-
0
|
470
|
-
x
|
471
|
-
13
|
472
|
-
attach_method
|
473
|
-
x
|
474
|
-
6
|
475
|
-
Patron
|
476
|
-
M
|
477
|
-
1
|
478
|
-
n
|
479
|
-
n
|
480
|
-
x
|
481
|
-
6
|
482
|
-
Patron
|
483
|
-
i
|
484
|
-
29
|
485
|
-
5
|
486
|
-
66
|
487
|
-
99
|
488
|
-
7
|
489
|
-
0
|
490
|
-
1
|
491
|
-
65
|
492
|
-
49
|
493
|
-
1
|
494
|
-
3
|
495
|
-
13
|
496
|
-
99
|
497
|
-
12
|
498
|
-
7
|
499
|
-
2
|
500
|
-
12
|
501
|
-
7
|
502
|
-
3
|
503
|
-
12
|
504
|
-
65
|
505
|
-
12
|
506
|
-
49
|
507
|
-
4
|
508
|
-
4
|
509
|
-
15
|
510
|
-
49
|
511
|
-
2
|
512
|
-
0
|
513
|
-
11
|
514
|
-
I
|
515
|
-
6
|
516
|
-
I
|
517
|
-
0
|
518
|
-
I
|
519
|
-
0
|
520
|
-
I
|
521
|
-
0
|
522
|
-
n
|
523
|
-
p
|
524
|
-
5
|
525
|
-
x
|
526
|
-
7
|
527
|
-
Session
|
528
|
-
x
|
529
|
-
10
|
530
|
-
open_class
|
531
|
-
x
|
532
|
-
14
|
533
|
-
__class_init__
|
534
|
-
M
|
535
|
-
1
|
536
|
-
n
|
537
|
-
n
|
538
|
-
x
|
539
|
-
7
|
540
|
-
Session
|
541
|
-
i
|
542
|
-
10
|
543
|
-
5
|
544
|
-
66
|
545
|
-
5
|
546
|
-
7
|
547
|
-
0
|
548
|
-
47
|
549
|
-
49
|
550
|
-
1
|
551
|
-
1
|
552
|
-
11
|
553
|
-
I
|
554
|
-
2
|
555
|
-
I
|
556
|
-
0
|
557
|
-
I
|
558
|
-
0
|
559
|
-
I
|
560
|
-
0
|
561
|
-
n
|
562
|
-
p
|
563
|
-
2
|
564
|
-
x
|
565
|
-
14
|
566
|
-
handle_request
|
567
|
-
x
|
568
|
-
6
|
569
|
-
public
|
570
|
-
p
|
571
|
-
3
|
572
|
-
I
|
573
|
-
2
|
574
|
-
I
|
575
|
-
26
|
576
|
-
I
|
577
|
-
a
|
578
|
-
x
|
579
|
-
40
|
580
|
-
/Users/sidu/Work/wrest/lib/wrest/curl.rb
|
581
|
-
p
|
582
|
-
0
|
583
|
-
x
|
584
|
-
13
|
585
|
-
attach_method
|
586
|
-
p
|
587
|
-
3
|
588
|
-
I
|
589
|
-
2
|
590
|
-
I
|
591
|
-
25
|
592
|
-
I
|
593
|
-
1d
|
594
|
-
x
|
595
|
-
40
|
596
|
-
/Users/sidu/Work/wrest/lib/wrest/curl.rb
|
597
|
-
p
|
598
|
-
0
|
599
|
-
n
|
600
|
-
x
|
601
|
-
4
|
602
|
-
Root
|
603
|
-
x
|
604
|
-
4
|
605
|
-
to_s
|
606
|
-
s
|
607
|
-
20
|
608
|
-
/wrest/curl/response
|
609
|
-
n
|
610
|
-
s
|
611
|
-
19
|
612
|
-
/wrest/curl/request
|
613
|
-
n
|
614
|
-
s
|
615
|
-
15
|
616
|
-
/wrest/curl/get
|
617
|
-
n
|
618
|
-
s
|
619
|
-
15
|
620
|
-
/wrest/curl/put
|
621
|
-
n
|
622
|
-
s
|
623
|
-
16
|
624
|
-
/wrest/curl/post
|
625
|
-
n
|
626
|
-
s
|
627
|
-
18
|
628
|
-
/wrest/curl/delete
|
629
|
-
n
|
630
|
-
s
|
631
|
-
19
|
632
|
-
/wrest/curl/options
|
633
|
-
p
|
634
|
-
31
|
635
|
-
I
|
636
|
-
0
|
637
|
-
I
|
638
|
-
b
|
639
|
-
I
|
640
|
-
1a
|
641
|
-
I
|
642
|
-
c
|
643
|
-
I
|
644
|
-
29
|
645
|
-
I
|
646
|
-
f
|
647
|
-
I
|
648
|
-
2d
|
649
|
-
I
|
650
|
-
d
|
651
|
-
I
|
652
|
-
3a
|
653
|
-
I
|
654
|
-
e
|
655
|
-
I
|
656
|
-
4d
|
657
|
-
I
|
658
|
-
10
|
659
|
-
I
|
660
|
-
56
|
661
|
-
I
|
662
|
-
12
|
663
|
-
I
|
664
|
-
70
|
665
|
-
I
|
666
|
-
23
|
667
|
-
I
|
668
|
-
8a
|
669
|
-
I
|
670
|
-
2a
|
671
|
-
I
|
672
|
-
9d
|
673
|
-
I
|
674
|
-
2b
|
675
|
-
I
|
676
|
-
b0
|
677
|
-
I
|
678
|
-
2c
|
679
|
-
I
|
680
|
-
c3
|
681
|
-
I
|
682
|
-
2d
|
683
|
-
I
|
684
|
-
d6
|
685
|
-
I
|
686
|
-
2e
|
687
|
-
I
|
688
|
-
e9
|
689
|
-
I
|
690
|
-
2f
|
691
|
-
I
|
692
|
-
fc
|
693
|
-
I
|
694
|
-
30
|
695
|
-
I
|
696
|
-
111
|
697
|
-
x
|
698
|
-
40
|
699
|
-
/Users/sidu/Work/wrest/lib/wrest/curl.rb
|
700
|
-
p
|
701
|
-
1
|
702
|
-
x
|
703
|
-
1
|
704
|
-
e
|