wrest 1.4.2-universal-java-1.6 → 1.5.0-universal-java-1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +19 -0
- data/README.rdoc +24 -5
- data/bin/rdoc +16 -0
- data/lib/wrest/async_request/event_machine_backend.rb +2 -2
- data/lib/wrest/async_request/thread_backend.rb +2 -2
- data/lib/wrest/async_request.rb +1 -1
- data/lib/wrest/caching.rb +1 -1
- data/lib/wrest/components/container.rb +2 -2
- data/lib/wrest/components/mutators.rb +5 -5
- data/lib/wrest/components/translators/content_types.rb +2 -1
- data/lib/wrest/components/translators/json.rb +9 -1
- data/lib/wrest/components/translators/txt.rb +31 -0
- data/lib/wrest/components/translators/xml.rb +8 -0
- data/lib/wrest/components/translators.rb +4 -3
- data/lib/wrest/components.rb +2 -2
- data/lib/wrest/core_ext/hash.rb +1 -1
- data/lib/wrest/core_ext/string.rb +1 -1
- data/lib/wrest/curl/response.rb +11 -3
- data/lib/wrest/curl.rb +12 -12
- data/lib/wrest/http_shared/standard_headers.rb +1 -0
- data/lib/wrest/http_shared/standard_tokens.rb +1 -0
- data/lib/wrest/http_shared.rb +3 -3
- data/lib/wrest/multipart.rb +0 -2
- data/lib/wrest/native/response.rb +9 -1
- data/lib/wrest/native.rb +10 -10
- data/lib/wrest/test.rb +1 -1
- data/lib/wrest/uri/builders.rb +42 -0
- data/lib/wrest/uri.rb +63 -63
- data/lib/wrest/version.rb +1 -1
- data/lib/wrest/xml_mini.rb +0 -2
- data/lib/wrest.rb +22 -30
- metadata +39 -48
- data/bin/wrest.compiled.rbc +0 -78
- data/bin/wrest_shell.rbc +0 -642
data/bin/wrest_shell.rbc
DELETED
@@ -1,642 +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
|
-
233
|
13
|
-
5
|
14
|
-
7
|
15
|
-
0
|
16
|
-
45
|
17
|
-
1
|
18
|
-
2
|
19
|
-
47
|
20
|
-
49
|
21
|
-
3
|
22
|
-
0
|
23
|
-
7
|
24
|
-
4
|
25
|
-
45
|
26
|
-
5
|
27
|
-
6
|
28
|
-
47
|
29
|
-
49
|
30
|
-
3
|
31
|
-
0
|
32
|
-
7
|
33
|
-
4
|
34
|
-
45
|
35
|
-
7
|
36
|
-
8
|
37
|
-
47
|
38
|
-
49
|
39
|
-
3
|
40
|
-
0
|
41
|
-
63
|
42
|
-
6
|
43
|
-
47
|
44
|
-
49
|
45
|
-
9
|
46
|
-
1
|
47
|
-
15
|
48
|
-
45
|
49
|
-
10
|
50
|
-
11
|
51
|
-
65
|
52
|
-
49
|
53
|
-
12
|
54
|
-
0
|
55
|
-
49
|
56
|
-
13
|
57
|
-
1
|
58
|
-
47
|
59
|
-
49
|
60
|
-
3
|
61
|
-
0
|
62
|
-
7
|
63
|
-
14
|
64
|
-
63
|
65
|
-
2
|
66
|
-
19
|
67
|
-
0
|
68
|
-
15
|
69
|
-
45
|
70
|
-
10
|
71
|
-
15
|
72
|
-
65
|
73
|
-
49
|
74
|
-
12
|
75
|
-
0
|
76
|
-
49
|
77
|
-
13
|
78
|
-
1
|
79
|
-
47
|
80
|
-
49
|
81
|
-
3
|
82
|
-
0
|
83
|
-
7
|
84
|
-
16
|
85
|
-
63
|
86
|
-
2
|
87
|
-
19
|
88
|
-
1
|
89
|
-
15
|
90
|
-
45
|
91
|
-
7
|
92
|
-
17
|
93
|
-
7
|
94
|
-
18
|
95
|
-
13
|
96
|
-
70
|
97
|
-
9
|
98
|
-
98
|
99
|
-
15
|
100
|
-
44
|
101
|
-
43
|
102
|
-
19
|
103
|
-
7
|
104
|
-
20
|
105
|
-
78
|
106
|
-
49
|
107
|
-
21
|
108
|
-
2
|
109
|
-
6
|
110
|
-
18
|
111
|
-
49
|
112
|
-
22
|
113
|
-
1
|
114
|
-
9
|
115
|
-
108
|
116
|
-
7
|
117
|
-
23
|
118
|
-
64
|
119
|
-
8
|
120
|
-
111
|
121
|
-
7
|
122
|
-
24
|
123
|
-
64
|
124
|
-
19
|
125
|
-
2
|
126
|
-
15
|
127
|
-
5
|
128
|
-
7
|
129
|
-
25
|
130
|
-
64
|
131
|
-
47
|
132
|
-
49
|
133
|
-
26
|
134
|
-
1
|
135
|
-
15
|
136
|
-
44
|
137
|
-
43
|
138
|
-
27
|
139
|
-
79
|
140
|
-
49
|
141
|
-
28
|
142
|
-
1
|
143
|
-
13
|
144
|
-
7
|
145
|
-
29
|
146
|
-
20
|
147
|
-
2
|
148
|
-
49
|
149
|
-
30
|
150
|
-
2
|
151
|
-
15
|
152
|
-
19
|
153
|
-
3
|
154
|
-
15
|
155
|
-
45
|
156
|
-
31
|
157
|
-
32
|
158
|
-
56
|
159
|
-
33
|
160
|
-
50
|
161
|
-
21
|
162
|
-
0
|
163
|
-
15
|
164
|
-
7
|
165
|
-
34
|
166
|
-
64
|
167
|
-
19
|
168
|
-
4
|
169
|
-
15
|
170
|
-
20
|
171
|
-
4
|
172
|
-
7
|
173
|
-
35
|
174
|
-
20
|
175
|
-
0
|
176
|
-
47
|
177
|
-
49
|
178
|
-
3
|
179
|
-
0
|
180
|
-
63
|
181
|
-
2
|
182
|
-
49
|
183
|
-
36
|
184
|
-
1
|
185
|
-
15
|
186
|
-
5
|
187
|
-
20
|
188
|
-
1
|
189
|
-
47
|
190
|
-
49
|
191
|
-
26
|
192
|
-
1
|
193
|
-
15
|
194
|
-
5
|
195
|
-
7
|
196
|
-
37
|
197
|
-
45
|
198
|
-
38
|
199
|
-
39
|
200
|
-
43
|
201
|
-
40
|
202
|
-
43
|
203
|
-
41
|
204
|
-
47
|
205
|
-
49
|
206
|
-
3
|
207
|
-
0
|
208
|
-
63
|
209
|
-
2
|
210
|
-
47
|
211
|
-
49
|
212
|
-
9
|
213
|
-
1
|
214
|
-
15
|
215
|
-
5
|
216
|
-
20
|
217
|
-
3
|
218
|
-
7
|
219
|
-
29
|
220
|
-
49
|
221
|
-
42
|
222
|
-
1
|
223
|
-
47
|
224
|
-
49
|
225
|
-
3
|
226
|
-
0
|
227
|
-
7
|
228
|
-
43
|
229
|
-
20
|
230
|
-
4
|
231
|
-
47
|
232
|
-
49
|
233
|
-
3
|
234
|
-
0
|
235
|
-
7
|
236
|
-
44
|
237
|
-
63
|
238
|
-
4
|
239
|
-
47
|
240
|
-
49
|
241
|
-
45
|
242
|
-
1
|
243
|
-
15
|
244
|
-
2
|
245
|
-
11
|
246
|
-
I
|
247
|
-
c
|
248
|
-
I
|
249
|
-
5
|
250
|
-
I
|
251
|
-
0
|
252
|
-
I
|
253
|
-
0
|
254
|
-
n
|
255
|
-
p
|
256
|
-
46
|
257
|
-
s
|
258
|
-
5
|
259
|
-
Ruby
|
260
|
-
x
|
261
|
-
12
|
262
|
-
RUBY_VERSION
|
263
|
-
n
|
264
|
-
x
|
265
|
-
4
|
266
|
-
to_s
|
267
|
-
s
|
268
|
-
2
|
269
|
-
,
|
270
|
-
x
|
271
|
-
17
|
272
|
-
RUBY_RELEASE_DATE
|
273
|
-
n
|
274
|
-
x
|
275
|
-
13
|
276
|
-
RUBY_PLATFORM
|
277
|
-
n
|
278
|
-
x
|
279
|
-
4
|
280
|
-
puts
|
281
|
-
x
|
282
|
-
4
|
283
|
-
File
|
284
|
-
n
|
285
|
-
x
|
286
|
-
11
|
287
|
-
active_path
|
288
|
-
x
|
289
|
-
7
|
290
|
-
dirname
|
291
|
-
s
|
292
|
-
16
|
293
|
-
/../lib/wrest.rb
|
294
|
-
n
|
295
|
-
s
|
296
|
-
24
|
297
|
-
/../lib/wrest/version.rb
|
298
|
-
n
|
299
|
-
n
|
300
|
-
x
|
301
|
-
6
|
302
|
-
Regexp
|
303
|
-
s
|
304
|
-
15
|
305
|
-
(:?mswin|mingw)
|
306
|
-
x
|
307
|
-
3
|
308
|
-
new
|
309
|
-
x
|
310
|
-
2
|
311
|
-
=~
|
312
|
-
s
|
313
|
-
7
|
314
|
-
irb.bat
|
315
|
-
s
|
316
|
-
3
|
317
|
-
irb
|
318
|
-
s
|
319
|
-
8
|
320
|
-
optparse
|
321
|
-
x
|
322
|
-
7
|
323
|
-
require
|
324
|
-
x
|
325
|
-
4
|
326
|
-
Hash
|
327
|
-
x
|
328
|
-
16
|
329
|
-
new_from_literal
|
330
|
-
x
|
331
|
-
3
|
332
|
-
irb
|
333
|
-
x
|
334
|
-
3
|
335
|
-
[]=
|
336
|
-
x
|
337
|
-
12
|
338
|
-
OptionParser
|
339
|
-
n
|
340
|
-
M
|
341
|
-
1
|
342
|
-
p
|
343
|
-
2
|
344
|
-
x
|
345
|
-
9
|
346
|
-
for_block
|
347
|
-
t
|
348
|
-
n
|
349
|
-
x
|
350
|
-
9
|
351
|
-
__block__
|
352
|
-
i
|
353
|
-
50
|
354
|
-
57
|
355
|
-
19
|
356
|
-
0
|
357
|
-
15
|
358
|
-
20
|
359
|
-
0
|
360
|
-
7
|
361
|
-
0
|
362
|
-
64
|
363
|
-
13
|
364
|
-
18
|
365
|
-
2
|
366
|
-
49
|
367
|
-
1
|
368
|
-
1
|
369
|
-
15
|
370
|
-
15
|
371
|
-
20
|
372
|
-
0
|
373
|
-
7
|
374
|
-
2
|
375
|
-
21
|
376
|
-
1
|
377
|
-
2
|
378
|
-
47
|
379
|
-
49
|
380
|
-
3
|
381
|
-
0
|
382
|
-
7
|
383
|
-
4
|
384
|
-
63
|
385
|
-
3
|
386
|
-
7
|
387
|
-
5
|
388
|
-
64
|
389
|
-
56
|
390
|
-
6
|
391
|
-
50
|
392
|
-
7
|
393
|
-
2
|
394
|
-
15
|
395
|
-
20
|
396
|
-
0
|
397
|
-
45
|
398
|
-
8
|
399
|
-
9
|
400
|
-
49
|
401
|
-
10
|
402
|
-
1
|
403
|
-
11
|
404
|
-
I
|
405
|
-
6
|
406
|
-
I
|
407
|
-
1
|
408
|
-
I
|
409
|
-
1
|
410
|
-
I
|
411
|
-
1
|
412
|
-
n
|
413
|
-
p
|
414
|
-
11
|
415
|
-
s
|
416
|
-
24
|
417
|
-
Usage: console [options]
|
418
|
-
x
|
419
|
-
7
|
420
|
-
banner=
|
421
|
-
s
|
422
|
-
7
|
423
|
-
--irb=[
|
424
|
-
x
|
425
|
-
4
|
426
|
-
to_s
|
427
|
-
s
|
428
|
-
1
|
429
|
-
]
|
430
|
-
s
|
431
|
-
23
|
432
|
-
Invoke a different irb.
|
433
|
-
M
|
434
|
-
1
|
435
|
-
p
|
436
|
-
2
|
437
|
-
x
|
438
|
-
9
|
439
|
-
for_block
|
440
|
-
t
|
441
|
-
n
|
442
|
-
x
|
443
|
-
9
|
444
|
-
__block__
|
445
|
-
i
|
446
|
-
19
|
447
|
-
57
|
448
|
-
19
|
449
|
-
0
|
450
|
-
15
|
451
|
-
21
|
452
|
-
2
|
453
|
-
3
|
454
|
-
7
|
455
|
-
0
|
456
|
-
20
|
457
|
-
0
|
458
|
-
13
|
459
|
-
18
|
460
|
-
3
|
461
|
-
49
|
462
|
-
1
|
463
|
-
2
|
464
|
-
15
|
465
|
-
11
|
466
|
-
I
|
467
|
-
6
|
468
|
-
I
|
469
|
-
1
|
470
|
-
I
|
471
|
-
1
|
472
|
-
I
|
473
|
-
1
|
474
|
-
n
|
475
|
-
p
|
476
|
-
2
|
477
|
-
x
|
478
|
-
3
|
479
|
-
irb
|
480
|
-
x
|
481
|
-
3
|
482
|
-
[]=
|
483
|
-
p
|
484
|
-
3
|
485
|
-
I
|
486
|
-
0
|
487
|
-
I
|
488
|
-
c
|
489
|
-
I
|
490
|
-
13
|
491
|
-
x
|
492
|
-
41
|
493
|
-
/Users/sidu/Work/wrest/bin/wrest_shell.rb
|
494
|
-
p
|
495
|
-
1
|
496
|
-
x
|
497
|
-
1
|
498
|
-
v
|
499
|
-
x
|
500
|
-
2
|
501
|
-
on
|
502
|
-
x
|
503
|
-
4
|
504
|
-
ARGV
|
505
|
-
n
|
506
|
-
x
|
507
|
-
6
|
508
|
-
parse!
|
509
|
-
p
|
510
|
-
9
|
511
|
-
I
|
512
|
-
0
|
513
|
-
I
|
514
|
-
a
|
515
|
-
I
|
516
|
-
4
|
517
|
-
I
|
518
|
-
b
|
519
|
-
I
|
520
|
-
11
|
521
|
-
I
|
522
|
-
c
|
523
|
-
I
|
524
|
-
29
|
525
|
-
I
|
526
|
-
d
|
527
|
-
I
|
528
|
-
32
|
529
|
-
x
|
530
|
-
41
|
531
|
-
/Users/sidu/Work/wrest/bin/wrest_shell.rb
|
532
|
-
p
|
533
|
-
1
|
534
|
-
x
|
535
|
-
3
|
536
|
-
opt
|
537
|
-
s
|
538
|
-
18
|
539
|
-
-r irb/completion
|
540
|
-
s
|
541
|
-
4
|
542
|
-
-r
|
543
|
-
x
|
544
|
-
2
|
545
|
-
<<
|
546
|
-
s
|
547
|
-
14
|
548
|
-
Loading Wrest
|
549
|
-
x
|
550
|
-
5
|
551
|
-
Wrest
|
552
|
-
n
|
553
|
-
x
|
554
|
-
7
|
555
|
-
VERSION
|
556
|
-
x
|
557
|
-
6
|
558
|
-
STRING
|
559
|
-
x
|
560
|
-
2
|
561
|
-
[]
|
562
|
-
s
|
563
|
-
1
|
564
|
-
|
565
|
-
s
|
566
|
-
16
|
567
|
-
--simple-prompt
|
568
|
-
x
|
569
|
-
4
|
570
|
-
exec
|
571
|
-
p
|
572
|
-
25
|
573
|
-
I
|
574
|
-
0
|
575
|
-
I
|
576
|
-
1
|
577
|
-
I
|
578
|
-
23
|
579
|
-
I
|
580
|
-
3
|
581
|
-
I
|
582
|
-
38
|
583
|
-
I
|
584
|
-
4
|
585
|
-
I
|
586
|
-
4d
|
587
|
-
I
|
588
|
-
6
|
589
|
-
I
|
590
|
-
72
|
591
|
-
I
|
592
|
-
8
|
593
|
-
I
|
594
|
-
7b
|
595
|
-
I
|
596
|
-
9
|
597
|
-
I
|
598
|
-
8e
|
599
|
-
I
|
600
|
-
a
|
601
|
-
I
|
602
|
-
97
|
603
|
-
I
|
604
|
-
10
|
605
|
-
I
|
606
|
-
9d
|
607
|
-
I
|
608
|
-
11
|
609
|
-
I
|
610
|
-
ad
|
611
|
-
I
|
612
|
-
13
|
613
|
-
I
|
614
|
-
b5
|
615
|
-
I
|
616
|
-
14
|
617
|
-
I
|
618
|
-
ca
|
619
|
-
I
|
620
|
-
15
|
621
|
-
I
|
622
|
-
e9
|
623
|
-
x
|
624
|
-
41
|
625
|
-
/Users/sidu/Work/wrest/bin/wrest_shell.rb
|
626
|
-
p
|
627
|
-
5
|
628
|
-
x
|
629
|
-
11
|
630
|
-
entry_point
|
631
|
-
x
|
632
|
-
7
|
633
|
-
version
|
634
|
-
x
|
635
|
-
3
|
636
|
-
irb
|
637
|
-
x
|
638
|
-
7
|
639
|
-
options
|
640
|
-
x
|
641
|
-
4
|
642
|
-
libs
|