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