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