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/core_ext/hash.rbc
DELETED
@@ -1,182 +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
|
-
48
|
13
|
-
5
|
14
|
-
45
|
15
|
-
0
|
16
|
-
1
|
17
|
-
43
|
18
|
-
2
|
19
|
-
47
|
20
|
-
49
|
21
|
-
3
|
22
|
-
0
|
23
|
-
7
|
24
|
-
4
|
25
|
-
63
|
26
|
-
2
|
27
|
-
47
|
28
|
-
49
|
29
|
-
5
|
30
|
-
1
|
31
|
-
15
|
32
|
-
99
|
33
|
-
7
|
34
|
-
6
|
35
|
-
1
|
36
|
-
65
|
37
|
-
49
|
38
|
-
7
|
39
|
-
3
|
40
|
-
13
|
41
|
-
99
|
42
|
-
12
|
43
|
-
7
|
44
|
-
8
|
45
|
-
12
|
46
|
-
7
|
47
|
-
9
|
48
|
-
12
|
49
|
-
65
|
50
|
-
12
|
51
|
-
49
|
52
|
-
10
|
53
|
-
4
|
54
|
-
15
|
55
|
-
49
|
56
|
-
8
|
57
|
-
0
|
58
|
-
15
|
59
|
-
2
|
60
|
-
11
|
61
|
-
I
|
62
|
-
6
|
63
|
-
I
|
64
|
-
0
|
65
|
-
I
|
66
|
-
0
|
67
|
-
I
|
68
|
-
0
|
69
|
-
n
|
70
|
-
p
|
71
|
-
11
|
72
|
-
x
|
73
|
-
5
|
74
|
-
Wrest
|
75
|
-
n
|
76
|
-
x
|
77
|
-
4
|
78
|
-
Root
|
79
|
-
x
|
80
|
-
4
|
81
|
-
to_s
|
82
|
-
s
|
83
|
-
32
|
84
|
-
/wrest/core_ext/hash/conversions
|
85
|
-
x
|
86
|
-
7
|
87
|
-
require
|
88
|
-
x
|
89
|
-
4
|
90
|
-
Hash
|
91
|
-
x
|
92
|
-
10
|
93
|
-
open_class
|
94
|
-
x
|
95
|
-
14
|
96
|
-
__class_init__
|
97
|
-
M
|
98
|
-
1
|
99
|
-
n
|
100
|
-
n
|
101
|
-
x
|
102
|
-
4
|
103
|
-
Hash
|
104
|
-
i
|
105
|
-
17
|
106
|
-
5
|
107
|
-
66
|
108
|
-
5
|
109
|
-
45
|
110
|
-
0
|
111
|
-
1
|
112
|
-
43
|
113
|
-
2
|
114
|
-
43
|
115
|
-
3
|
116
|
-
43
|
117
|
-
4
|
118
|
-
47
|
119
|
-
49
|
120
|
-
5
|
121
|
-
1
|
122
|
-
11
|
123
|
-
I
|
124
|
-
2
|
125
|
-
I
|
126
|
-
0
|
127
|
-
I
|
128
|
-
0
|
129
|
-
I
|
130
|
-
0
|
131
|
-
n
|
132
|
-
p
|
133
|
-
6
|
134
|
-
x
|
135
|
-
5
|
136
|
-
Wrest
|
137
|
-
n
|
138
|
-
x
|
139
|
-
7
|
140
|
-
CoreExt
|
141
|
-
x
|
142
|
-
4
|
143
|
-
Hash
|
144
|
-
x
|
145
|
-
11
|
146
|
-
Conversions
|
147
|
-
x
|
148
|
-
7
|
149
|
-
include
|
150
|
-
p
|
151
|
-
3
|
152
|
-
I
|
153
|
-
2
|
154
|
-
I
|
155
|
-
4
|
156
|
-
I
|
157
|
-
11
|
158
|
-
x
|
159
|
-
49
|
160
|
-
/Users/sidu/Work/wrest/lib/wrest/core_ext/hash.rb
|
161
|
-
p
|
162
|
-
0
|
163
|
-
x
|
164
|
-
13
|
165
|
-
attach_method
|
166
|
-
p
|
167
|
-
5
|
168
|
-
I
|
169
|
-
0
|
170
|
-
I
|
171
|
-
1
|
172
|
-
I
|
173
|
-
13
|
174
|
-
I
|
175
|
-
3
|
176
|
-
I
|
177
|
-
30
|
178
|
-
x
|
179
|
-
49
|
180
|
-
/Users/sidu/Work/wrest/lib/wrest/core_ext/hash.rb
|
181
|
-
p
|
182
|
-
0
|
@@ -1,501 +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
|
-
28
|
13
|
-
99
|
14
|
-
7
|
15
|
-
0
|
16
|
-
65
|
17
|
-
49
|
18
|
-
1
|
19
|
-
2
|
20
|
-
13
|
21
|
-
99
|
22
|
-
12
|
23
|
-
7
|
24
|
-
2
|
25
|
-
12
|
26
|
-
7
|
27
|
-
3
|
28
|
-
12
|
29
|
-
65
|
30
|
-
12
|
31
|
-
49
|
32
|
-
4
|
33
|
-
4
|
34
|
-
15
|
35
|
-
49
|
36
|
-
2
|
37
|
-
0
|
38
|
-
15
|
39
|
-
2
|
40
|
-
11
|
41
|
-
I
|
42
|
-
6
|
43
|
-
I
|
44
|
-
0
|
45
|
-
I
|
46
|
-
0
|
47
|
-
I
|
48
|
-
0
|
49
|
-
n
|
50
|
-
p
|
51
|
-
5
|
52
|
-
x
|
53
|
-
5
|
54
|
-
Wrest
|
55
|
-
x
|
56
|
-
11
|
57
|
-
open_module
|
58
|
-
x
|
59
|
-
15
|
60
|
-
__module_init__
|
61
|
-
M
|
62
|
-
1
|
63
|
-
n
|
64
|
-
n
|
65
|
-
x
|
66
|
-
5
|
67
|
-
Wrest
|
68
|
-
i
|
69
|
-
28
|
70
|
-
5
|
71
|
-
66
|
72
|
-
99
|
73
|
-
7
|
74
|
-
0
|
75
|
-
65
|
76
|
-
49
|
77
|
-
1
|
78
|
-
2
|
79
|
-
13
|
80
|
-
99
|
81
|
-
12
|
82
|
-
7
|
83
|
-
2
|
84
|
-
12
|
85
|
-
7
|
86
|
-
3
|
87
|
-
12
|
88
|
-
65
|
89
|
-
12
|
90
|
-
49
|
91
|
-
4
|
92
|
-
4
|
93
|
-
15
|
94
|
-
49
|
95
|
-
2
|
96
|
-
0
|
97
|
-
11
|
98
|
-
I
|
99
|
-
6
|
100
|
-
I
|
101
|
-
0
|
102
|
-
I
|
103
|
-
0
|
104
|
-
I
|
105
|
-
0
|
106
|
-
n
|
107
|
-
p
|
108
|
-
5
|
109
|
-
x
|
110
|
-
7
|
111
|
-
CoreExt
|
112
|
-
x
|
113
|
-
11
|
114
|
-
open_module
|
115
|
-
x
|
116
|
-
15
|
117
|
-
__module_init__
|
118
|
-
M
|
119
|
-
1
|
120
|
-
n
|
121
|
-
n
|
122
|
-
x
|
123
|
-
7
|
124
|
-
CoreExt
|
125
|
-
i
|
126
|
-
28
|
127
|
-
5
|
128
|
-
66
|
129
|
-
99
|
130
|
-
7
|
131
|
-
0
|
132
|
-
65
|
133
|
-
49
|
134
|
-
1
|
135
|
-
2
|
136
|
-
13
|
137
|
-
99
|
138
|
-
12
|
139
|
-
7
|
140
|
-
2
|
141
|
-
12
|
142
|
-
7
|
143
|
-
3
|
144
|
-
12
|
145
|
-
65
|
146
|
-
12
|
147
|
-
49
|
148
|
-
4
|
149
|
-
4
|
150
|
-
15
|
151
|
-
49
|
152
|
-
2
|
153
|
-
0
|
154
|
-
11
|
155
|
-
I
|
156
|
-
6
|
157
|
-
I
|
158
|
-
0
|
159
|
-
I
|
160
|
-
0
|
161
|
-
I
|
162
|
-
0
|
163
|
-
n
|
164
|
-
p
|
165
|
-
5
|
166
|
-
x
|
167
|
-
4
|
168
|
-
Hash
|
169
|
-
x
|
170
|
-
11
|
171
|
-
open_module
|
172
|
-
x
|
173
|
-
15
|
174
|
-
__module_init__
|
175
|
-
M
|
176
|
-
1
|
177
|
-
n
|
178
|
-
n
|
179
|
-
x
|
180
|
-
4
|
181
|
-
Hash
|
182
|
-
i
|
183
|
-
28
|
184
|
-
5
|
185
|
-
66
|
186
|
-
99
|
187
|
-
7
|
188
|
-
0
|
189
|
-
65
|
190
|
-
49
|
191
|
-
1
|
192
|
-
2
|
193
|
-
13
|
194
|
-
99
|
195
|
-
12
|
196
|
-
7
|
197
|
-
2
|
198
|
-
12
|
199
|
-
7
|
200
|
-
3
|
201
|
-
12
|
202
|
-
65
|
203
|
-
12
|
204
|
-
49
|
205
|
-
4
|
206
|
-
4
|
207
|
-
15
|
208
|
-
49
|
209
|
-
2
|
210
|
-
0
|
211
|
-
11
|
212
|
-
I
|
213
|
-
6
|
214
|
-
I
|
215
|
-
0
|
216
|
-
I
|
217
|
-
0
|
218
|
-
I
|
219
|
-
0
|
220
|
-
n
|
221
|
-
p
|
222
|
-
5
|
223
|
-
x
|
224
|
-
11
|
225
|
-
Conversions
|
226
|
-
x
|
227
|
-
11
|
228
|
-
open_module
|
229
|
-
x
|
230
|
-
15
|
231
|
-
__module_init__
|
232
|
-
M
|
233
|
-
1
|
234
|
-
n
|
235
|
-
n
|
236
|
-
x
|
237
|
-
11
|
238
|
-
Conversions
|
239
|
-
i
|
240
|
-
16
|
241
|
-
5
|
242
|
-
66
|
243
|
-
99
|
244
|
-
7
|
245
|
-
0
|
246
|
-
7
|
247
|
-
1
|
248
|
-
65
|
249
|
-
67
|
250
|
-
49
|
251
|
-
2
|
252
|
-
0
|
253
|
-
49
|
254
|
-
3
|
255
|
-
4
|
256
|
-
11
|
257
|
-
I
|
258
|
-
5
|
259
|
-
I
|
260
|
-
0
|
261
|
-
I
|
262
|
-
0
|
263
|
-
I
|
264
|
-
0
|
265
|
-
n
|
266
|
-
p
|
267
|
-
4
|
268
|
-
x
|
269
|
-
12
|
270
|
-
mutate_using
|
271
|
-
M
|
272
|
-
1
|
273
|
-
n
|
274
|
-
n
|
275
|
-
x
|
276
|
-
12
|
277
|
-
mutate_using
|
278
|
-
i
|
279
|
-
20
|
280
|
-
44
|
281
|
-
43
|
282
|
-
0
|
283
|
-
78
|
284
|
-
49
|
285
|
-
1
|
286
|
-
1
|
287
|
-
19
|
288
|
-
1
|
289
|
-
15
|
290
|
-
5
|
291
|
-
56
|
292
|
-
2
|
293
|
-
50
|
294
|
-
3
|
295
|
-
0
|
296
|
-
15
|
297
|
-
20
|
298
|
-
1
|
299
|
-
11
|
300
|
-
I
|
301
|
-
4
|
302
|
-
I
|
303
|
-
2
|
304
|
-
I
|
305
|
-
1
|
306
|
-
I
|
307
|
-
1
|
308
|
-
n
|
309
|
-
p
|
310
|
-
4
|
311
|
-
x
|
312
|
-
4
|
313
|
-
Hash
|
314
|
-
x
|
315
|
-
16
|
316
|
-
new_from_literal
|
317
|
-
M
|
318
|
-
1
|
319
|
-
p
|
320
|
-
2
|
321
|
-
x
|
322
|
-
9
|
323
|
-
for_block
|
324
|
-
t
|
325
|
-
n
|
326
|
-
x
|
327
|
-
12
|
328
|
-
mutate_using
|
329
|
-
i
|
330
|
-
21
|
331
|
-
57
|
332
|
-
19
|
333
|
-
0
|
334
|
-
15
|
335
|
-
21
|
336
|
-
1
|
337
|
-
1
|
338
|
-
21
|
339
|
-
1
|
340
|
-
0
|
341
|
-
20
|
342
|
-
0
|
343
|
-
49
|
344
|
-
0
|
345
|
-
1
|
346
|
-
36
|
347
|
-
1
|
348
|
-
51
|
349
|
-
1
|
350
|
-
0
|
351
|
-
11
|
352
|
-
I
|
353
|
-
5
|
354
|
-
I
|
355
|
-
1
|
356
|
-
I
|
357
|
-
1
|
358
|
-
I
|
359
|
-
1
|
360
|
-
n
|
361
|
-
p
|
362
|
-
2
|
363
|
-
x
|
364
|
-
6
|
365
|
-
mutate
|
366
|
-
x
|
367
|
-
5
|
368
|
-
store
|
369
|
-
p
|
370
|
-
3
|
371
|
-
I
|
372
|
-
0
|
373
|
-
I
|
374
|
-
26
|
375
|
-
I
|
376
|
-
15
|
377
|
-
x
|
378
|
-
61
|
379
|
-
/Users/sidu/Work/wrest/lib/wrest/core_ext/hash/conversions.rb
|
380
|
-
p
|
381
|
-
1
|
382
|
-
x
|
383
|
-
5
|
384
|
-
tuple
|
385
|
-
x
|
386
|
-
4
|
387
|
-
each
|
388
|
-
p
|
389
|
-
9
|
390
|
-
I
|
391
|
-
0
|
392
|
-
I
|
393
|
-
24
|
394
|
-
I
|
395
|
-
0
|
396
|
-
I
|
397
|
-
25
|
398
|
-
I
|
399
|
-
a
|
400
|
-
I
|
401
|
-
26
|
402
|
-
I
|
403
|
-
11
|
404
|
-
I
|
405
|
-
27
|
406
|
-
I
|
407
|
-
14
|
408
|
-
x
|
409
|
-
61
|
410
|
-
/Users/sidu/Work/wrest/lib/wrest/core_ext/hash/conversions.rb
|
411
|
-
p
|
412
|
-
2
|
413
|
-
x
|
414
|
-
7
|
415
|
-
mutator
|
416
|
-
x
|
417
|
-
12
|
418
|
-
mutated_hash
|
419
|
-
x
|
420
|
-
17
|
421
|
-
method_visibility
|
422
|
-
x
|
423
|
-
15
|
424
|
-
add_defn_method
|
425
|
-
p
|
426
|
-
3
|
427
|
-
I
|
428
|
-
2
|
429
|
-
I
|
430
|
-
24
|
431
|
-
I
|
432
|
-
10
|
433
|
-
x
|
434
|
-
61
|
435
|
-
/Users/sidu/Work/wrest/lib/wrest/core_ext/hash/conversions.rb
|
436
|
-
p
|
437
|
-
0
|
438
|
-
x
|
439
|
-
13
|
440
|
-
attach_method
|
441
|
-
p
|
442
|
-
3
|
443
|
-
I
|
444
|
-
2
|
445
|
-
I
|
446
|
-
e
|
447
|
-
I
|
448
|
-
1c
|
449
|
-
x
|
450
|
-
61
|
451
|
-
/Users/sidu/Work/wrest/lib/wrest/core_ext/hash/conversions.rb
|
452
|
-
p
|
453
|
-
0
|
454
|
-
x
|
455
|
-
13
|
456
|
-
attach_method
|
457
|
-
p
|
458
|
-
3
|
459
|
-
I
|
460
|
-
2
|
461
|
-
I
|
462
|
-
c
|
463
|
-
I
|
464
|
-
1c
|
465
|
-
x
|
466
|
-
61
|
467
|
-
/Users/sidu/Work/wrest/lib/wrest/core_ext/hash/conversions.rb
|
468
|
-
p
|
469
|
-
0
|
470
|
-
x
|
471
|
-
13
|
472
|
-
attach_method
|
473
|
-
p
|
474
|
-
3
|
475
|
-
I
|
476
|
-
2
|
477
|
-
I
|
478
|
-
b
|
479
|
-
I
|
480
|
-
1c
|
481
|
-
x
|
482
|
-
61
|
483
|
-
/Users/sidu/Work/wrest/lib/wrest/core_ext/hash/conversions.rb
|
484
|
-
p
|
485
|
-
0
|
486
|
-
x
|
487
|
-
13
|
488
|
-
attach_method
|
489
|
-
p
|
490
|
-
3
|
491
|
-
I
|
492
|
-
0
|
493
|
-
I
|
494
|
-
a
|
495
|
-
I
|
496
|
-
1c
|
497
|
-
x
|
498
|
-
61
|
499
|
-
/Users/sidu/Work/wrest/lib/wrest/core_ext/hash/conversions.rb
|
500
|
-
p
|
501
|
-
0
|