wrest 1.0.0.beta2-universal-java-1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +59 -0
- data/LICENCE +7 -0
- data/README.rdoc +127 -0
- data/bin/wrest +3 -0
- data/bin/wrest_shell.rb +21 -0
- data/lib/wrest.rb +101 -0
- data/lib/wrest.rbc +1900 -0
- data/lib/wrest/components.rb +20 -0
- data/lib/wrest/components.rbc +217 -0
- data/lib/wrest/components/container.rb +185 -0
- data/lib/wrest/components/container.rbc +2466 -0
- data/lib/wrest/components/container/alias_accessors.rb +66 -0
- data/lib/wrest/components/container/alias_accessors.rbc +905 -0
- data/lib/wrest/components/container/typecaster.rb +127 -0
- data/lib/wrest/components/container/typecaster.rbc +1985 -0
- data/lib/wrest/components/mutators.rb +39 -0
- data/lib/wrest/components/mutators.rbc +650 -0
- data/lib/wrest/components/mutators/base.rb +56 -0
- data/lib/wrest/components/mutators/base.rbc +702 -0
- data/lib/wrest/components/mutators/camel_to_snake_case.rb +22 -0
- data/lib/wrest/components/mutators/camel_to_snake_case.rbc +360 -0
- data/lib/wrest/components/mutators/xml_mini_type_caster.rb +43 -0
- data/lib/wrest/components/mutators/xml_mini_type_caster.rbc +679 -0
- data/lib/wrest/components/mutators/xml_simple_type_caster.rb +37 -0
- data/lib/wrest/components/mutators/xml_simple_type_caster.rbc +559 -0
- data/lib/wrest/components/translators.rb +28 -0
- data/lib/wrest/components/translators.rbc +517 -0
- data/lib/wrest/components/translators/content_types.rb +20 -0
- data/lib/wrest/components/translators/content_types.rbc +339 -0
- data/lib/wrest/components/translators/json.rb +25 -0
- data/lib/wrest/components/translators/json.rbc +462 -0
- data/lib/wrest/components/translators/xml.rb +24 -0
- data/lib/wrest/components/translators/xml.rbc +457 -0
- data/lib/wrest/core_ext/hash.rb +5 -0
- data/lib/wrest/core_ext/hash.rbc +182 -0
- data/lib/wrest/core_ext/hash/conversions.rb +44 -0
- data/lib/wrest/core_ext/hash/conversions.rbc +501 -0
- data/lib/wrest/core_ext/string.rb +5 -0
- data/lib/wrest/core_ext/string.rbc +182 -0
- data/lib/wrest/core_ext/string/conversions.rb +23 -0
- data/lib/wrest/core_ext/string/conversions.rbc +471 -0
- data/lib/wrest/curl.rb +49 -0
- data/lib/wrest/curl.rbc +704 -0
- data/lib/wrest/curl/delete.rb +23 -0
- data/lib/wrest/curl/get.rb +23 -0
- data/lib/wrest/curl/options.rb +16 -0
- data/lib/wrest/curl/post.rb +23 -0
- data/lib/wrest/curl/put.rb +23 -0
- data/lib/wrest/curl/request.rb +97 -0
- data/lib/wrest/curl/response.rb +71 -0
- data/lib/wrest/curl/session.rb +57 -0
- data/lib/wrest/exceptions.rb +33 -0
- data/lib/wrest/exceptions.rbc +312 -0
- data/lib/wrest/http_shared.rb +23 -0
- data/lib/wrest/http_shared.rbc +279 -0
- data/lib/wrest/http_shared/headers.rb +343 -0
- data/lib/wrest/http_shared/headers.rbc +353 -0
- data/lib/wrest/http_shared/standard_headers.rb +21 -0
- data/lib/wrest/http_shared/standard_headers.rbc +336 -0
- data/lib/wrest/http_shared/standard_tokens.rb +18 -0
- data/lib/wrest/http_shared/standard_tokens.rbc +316 -0
- data/lib/wrest/multipart.rb +52 -0
- data/lib/wrest/native.rb +33 -0
- data/lib/wrest/native.rbc +513 -0
- data/lib/wrest/native/connection_factory.rb +23 -0
- data/lib/wrest/native/connection_factory.rbc +445 -0
- data/lib/wrest/native/delete.rb +23 -0
- data/lib/wrest/native/delete.rbc +371 -0
- data/lib/wrest/native/get.rb +51 -0
- data/lib/wrest/native/get.rbc +855 -0
- data/lib/wrest/native/options.rb +23 -0
- data/lib/wrest/native/options.rbc +347 -0
- data/lib/wrest/native/post.rb +23 -0
- data/lib/wrest/native/post.rbc +388 -0
- data/lib/wrest/native/post_multipart.rb +32 -0
- data/lib/wrest/native/put.rb +23 -0
- data/lib/wrest/native/put.rbc +388 -0
- data/lib/wrest/native/put_multipart.rb +32 -0
- data/lib/wrest/native/redirection.rb +38 -0
- data/lib/wrest/native/redirection.rbc +520 -0
- data/lib/wrest/native/request.rb +94 -0
- data/lib/wrest/native/request.rbc +1675 -0
- data/lib/wrest/native/response.rb +120 -0
- data/lib/wrest/native/response.rbc +2150 -0
- data/lib/wrest/native/session.rb +57 -0
- data/lib/wrest/native/session.rbc +1372 -0
- data/lib/wrest/resource.rb +18 -0
- data/lib/wrest/resource.rbc +163 -0
- data/lib/wrest/resource/base.rb +99 -0
- data/lib/wrest/resource/base.rbc +2115 -0
- data/lib/wrest/resource/collection.rb +12 -0
- data/lib/wrest/resource/state.rb +6 -0
- data/lib/wrest/test.rb +1 -0
- data/lib/wrest/test/request_patches.rb +5 -0
- data/lib/wrest/uri.rb +160 -0
- data/lib/wrest/uri.rbc +2599 -0
- data/lib/wrest/uri_template.rb +49 -0
- data/lib/wrest/uri_template.rbc +505 -0
- data/lib/wrest/version.rb +23 -0
- data/lib/wrest/version.rbc +372 -0
- metadata +231 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
# Copyright 2009 Sidu Ponnappa
|
2
|
+
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
6
|
+
# Unless required by applicable law or agreed to in writing, software distributed under the License
|
7
|
+
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
8
|
+
# See the License for the specific language governing permissions and limitations under the License.
|
9
|
+
|
10
|
+
module Wrest::Native
|
11
|
+
class Delete < Request
|
12
|
+
def initialize(wrest_uri, parameters = {}, headers = {}, options = {})
|
13
|
+
super(
|
14
|
+
wrest_uri,
|
15
|
+
Net::HTTP::Delete,
|
16
|
+
parameters,
|
17
|
+
nil,
|
18
|
+
headers,
|
19
|
+
options
|
20
|
+
)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,371 @@
|
|
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
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# Copyright 2009 Sidu Ponnappa
|
2
|
+
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
6
|
+
# Unless required by applicable law or agreed to in writing, software distributed under the License
|
7
|
+
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
8
|
+
# See the License for the specific language governing permissions and limitations under the License.
|
9
|
+
|
10
|
+
module Wrest::Native
|
11
|
+
class Get < Request
|
12
|
+
def initialize(wrest_uri, parameters = {}, headers = {}, options = {})
|
13
|
+
follow_redirects = options[:follow_redirects]
|
14
|
+
options[:follow_redirects] = (follow_redirects == nil ? true : follow_redirects)
|
15
|
+
options[:cache_store] ||= {}
|
16
|
+
super(
|
17
|
+
wrest_uri,
|
18
|
+
Net::HTTP::Get,
|
19
|
+
parameters,
|
20
|
+
nil,
|
21
|
+
headers,
|
22
|
+
options
|
23
|
+
)
|
24
|
+
end
|
25
|
+
|
26
|
+
def invoke_with_cache_check
|
27
|
+
cached_response = get_cached_response
|
28
|
+
if cached_response.nil? then
|
29
|
+
response = invoke_without_cache_check
|
30
|
+
cache_response(response) if !response.nil? && response.cacheable?
|
31
|
+
response
|
32
|
+
else
|
33
|
+
cached_response
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
def get_cached_response
|
38
|
+
response = nil
|
39
|
+
if cache_store.has_key?(@uri)
|
40
|
+
response = cache_store.fetch(@uri)
|
41
|
+
end
|
42
|
+
response
|
43
|
+
end
|
44
|
+
|
45
|
+
def cache_response(response)
|
46
|
+
cache_store[@uri] = response
|
47
|
+
end
|
48
|
+
|
49
|
+
alias_method_chain :invoke, :cache_check
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,855 @@
|
|
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
|
+
3
|
120
|
+
Get
|
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
|
+
3
|
137
|
+
Get
|
138
|
+
i
|
139
|
+
68
|
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
|
+
15
|
156
|
+
99
|
157
|
+
7
|
158
|
+
4
|
159
|
+
7
|
160
|
+
5
|
161
|
+
65
|
162
|
+
67
|
163
|
+
49
|
164
|
+
2
|
165
|
+
0
|
166
|
+
49
|
167
|
+
3
|
168
|
+
4
|
169
|
+
15
|
170
|
+
99
|
171
|
+
7
|
172
|
+
6
|
173
|
+
7
|
174
|
+
7
|
175
|
+
65
|
176
|
+
67
|
177
|
+
49
|
178
|
+
2
|
179
|
+
0
|
180
|
+
49
|
181
|
+
3
|
182
|
+
4
|
183
|
+
15
|
184
|
+
99
|
185
|
+
7
|
186
|
+
8
|
187
|
+
7
|
188
|
+
9
|
189
|
+
65
|
190
|
+
67
|
191
|
+
49
|
192
|
+
2
|
193
|
+
0
|
194
|
+
49
|
195
|
+
3
|
196
|
+
4
|
197
|
+
15
|
198
|
+
5
|
199
|
+
7
|
200
|
+
10
|
201
|
+
7
|
202
|
+
11
|
203
|
+
47
|
204
|
+
49
|
205
|
+
12
|
206
|
+
2
|
207
|
+
11
|
208
|
+
I
|
209
|
+
5
|
210
|
+
I
|
211
|
+
0
|
212
|
+
I
|
213
|
+
0
|
214
|
+
I
|
215
|
+
0
|
216
|
+
n
|
217
|
+
p
|
218
|
+
13
|
219
|
+
x
|
220
|
+
10
|
221
|
+
initialize
|
222
|
+
M
|
223
|
+
1
|
224
|
+
n
|
225
|
+
n
|
226
|
+
x
|
227
|
+
10
|
228
|
+
initialize
|
229
|
+
i
|
230
|
+
131
|
231
|
+
23
|
232
|
+
1
|
233
|
+
10
|
234
|
+
14
|
235
|
+
44
|
236
|
+
43
|
237
|
+
0
|
238
|
+
78
|
239
|
+
49
|
240
|
+
1
|
241
|
+
1
|
242
|
+
19
|
243
|
+
1
|
244
|
+
15
|
245
|
+
23
|
246
|
+
2
|
247
|
+
10
|
248
|
+
28
|
249
|
+
44
|
250
|
+
43
|
251
|
+
0
|
252
|
+
78
|
253
|
+
49
|
254
|
+
1
|
255
|
+
1
|
256
|
+
19
|
257
|
+
2
|
258
|
+
15
|
259
|
+
23
|
260
|
+
3
|
261
|
+
10
|
262
|
+
42
|
263
|
+
44
|
264
|
+
43
|
265
|
+
0
|
266
|
+
78
|
267
|
+
49
|
268
|
+
1
|
269
|
+
1
|
270
|
+
19
|
271
|
+
3
|
272
|
+
15
|
273
|
+
20
|
274
|
+
3
|
275
|
+
7
|
276
|
+
2
|
277
|
+
49
|
278
|
+
3
|
279
|
+
1
|
280
|
+
19
|
281
|
+
4
|
282
|
+
15
|
283
|
+
20
|
284
|
+
3
|
285
|
+
7
|
286
|
+
2
|
287
|
+
20
|
288
|
+
4
|
289
|
+
1
|
290
|
+
83
|
291
|
+
4
|
292
|
+
9
|
293
|
+
66
|
294
|
+
2
|
295
|
+
8
|
296
|
+
68
|
297
|
+
20
|
298
|
+
4
|
299
|
+
13
|
300
|
+
18
|
301
|
+
3
|
302
|
+
49
|
303
|
+
5
|
304
|
+
2
|
305
|
+
15
|
306
|
+
15
|
307
|
+
20
|
308
|
+
3
|
309
|
+
7
|
310
|
+
6
|
311
|
+
14
|
312
|
+
2
|
313
|
+
49
|
314
|
+
3
|
315
|
+
1
|
316
|
+
13
|
317
|
+
10
|
318
|
+
105
|
319
|
+
15
|
320
|
+
44
|
321
|
+
43
|
322
|
+
0
|
323
|
+
78
|
324
|
+
49
|
325
|
+
1
|
326
|
+
1
|
327
|
+
13
|
328
|
+
18
|
329
|
+
3
|
330
|
+
49
|
331
|
+
5
|
332
|
+
2
|
333
|
+
15
|
334
|
+
8
|
335
|
+
109
|
336
|
+
18
|
337
|
+
2
|
338
|
+
16
|
339
|
+
2
|
340
|
+
15
|
341
|
+
20
|
342
|
+
0
|
343
|
+
45
|
344
|
+
7
|
345
|
+
8
|
346
|
+
43
|
347
|
+
9
|
348
|
+
43
|
349
|
+
10
|
350
|
+
20
|
351
|
+
1
|
352
|
+
1
|
353
|
+
20
|
354
|
+
2
|
355
|
+
20
|
356
|
+
3
|
357
|
+
54
|
358
|
+
52
|
359
|
+
11
|
360
|
+
6
|
361
|
+
11
|
362
|
+
I
|
363
|
+
c
|
364
|
+
I
|
365
|
+
5
|
366
|
+
I
|
367
|
+
1
|
368
|
+
I
|
369
|
+
4
|
370
|
+
n
|
371
|
+
p
|
372
|
+
12
|
373
|
+
x
|
374
|
+
4
|
375
|
+
Hash
|
376
|
+
x
|
377
|
+
16
|
378
|
+
new_from_literal
|
379
|
+
x
|
380
|
+
16
|
381
|
+
follow_redirects
|
382
|
+
x
|
383
|
+
2
|
384
|
+
[]
|
385
|
+
x
|
386
|
+
2
|
387
|
+
==
|
388
|
+
x
|
389
|
+
3
|
390
|
+
[]=
|
391
|
+
x
|
392
|
+
11
|
393
|
+
cache_store
|
394
|
+
x
|
395
|
+
3
|
396
|
+
Net
|
397
|
+
n
|
398
|
+
x
|
399
|
+
4
|
400
|
+
HTTP
|
401
|
+
x
|
402
|
+
3
|
403
|
+
Get
|
404
|
+
x
|
405
|
+
10
|
406
|
+
initialize
|
407
|
+
p
|
408
|
+
21
|
409
|
+
I
|
410
|
+
0
|
411
|
+
I
|
412
|
+
c
|
413
|
+
I
|
414
|
+
2a
|
415
|
+
I
|
416
|
+
d
|
417
|
+
I
|
418
|
+
34
|
419
|
+
I
|
420
|
+
e
|
421
|
+
I
|
422
|
+
4c
|
423
|
+
I
|
424
|
+
f
|
425
|
+
I
|
426
|
+
6e
|
427
|
+
I
|
428
|
+
11
|
429
|
+
I
|
430
|
+
70
|
431
|
+
I
|
432
|
+
12
|
433
|
+
I
|
434
|
+
77
|
435
|
+
I
|
436
|
+
13
|
437
|
+
I
|
438
|
+
79
|
439
|
+
I
|
440
|
+
14
|
441
|
+
I
|
442
|
+
7a
|
443
|
+
I
|
444
|
+
15
|
445
|
+
I
|
446
|
+
7c
|
447
|
+
I
|
448
|
+
16
|
449
|
+
I
|
450
|
+
83
|
451
|
+
x
|
452
|
+
46
|
453
|
+
/Users/sidu/Work/wrest/lib/wrest/native/get.rb
|
454
|
+
p
|
455
|
+
5
|
456
|
+
x
|
457
|
+
9
|
458
|
+
wrest_uri
|
459
|
+
x
|
460
|
+
10
|
461
|
+
parameters
|
462
|
+
x
|
463
|
+
7
|
464
|
+
headers
|
465
|
+
x
|
466
|
+
7
|
467
|
+
options
|
468
|
+
x
|
469
|
+
16
|
470
|
+
follow_redirects
|
471
|
+
x
|
472
|
+
17
|
473
|
+
method_visibility
|
474
|
+
x
|
475
|
+
15
|
476
|
+
add_defn_method
|
477
|
+
x
|
478
|
+
23
|
479
|
+
invoke_with_cache_check
|
480
|
+
M
|
481
|
+
1
|
482
|
+
n
|
483
|
+
n
|
484
|
+
x
|
485
|
+
23
|
486
|
+
invoke_with_cache_check
|
487
|
+
i
|
488
|
+
59
|
489
|
+
5
|
490
|
+
48
|
491
|
+
0
|
492
|
+
19
|
493
|
+
0
|
494
|
+
15
|
495
|
+
20
|
496
|
+
0
|
497
|
+
49
|
498
|
+
1
|
499
|
+
0
|
500
|
+
9
|
501
|
+
56
|
502
|
+
5
|
503
|
+
48
|
504
|
+
2
|
505
|
+
19
|
506
|
+
1
|
507
|
+
15
|
508
|
+
20
|
509
|
+
1
|
510
|
+
49
|
511
|
+
1
|
512
|
+
0
|
513
|
+
10
|
514
|
+
29
|
515
|
+
2
|
516
|
+
8
|
517
|
+
30
|
518
|
+
3
|
519
|
+
13
|
520
|
+
9
|
521
|
+
39
|
522
|
+
15
|
523
|
+
20
|
524
|
+
1
|
525
|
+
49
|
526
|
+
3
|
527
|
+
0
|
528
|
+
9
|
529
|
+
50
|
530
|
+
5
|
531
|
+
20
|
532
|
+
1
|
533
|
+
47
|
534
|
+
49
|
535
|
+
4
|
536
|
+
1
|
537
|
+
8
|
538
|
+
51
|
539
|
+
1
|
540
|
+
15
|
541
|
+
20
|
542
|
+
1
|
543
|
+
8
|
544
|
+
58
|
545
|
+
20
|
546
|
+
0
|
547
|
+
11
|
548
|
+
I
|
549
|
+
4
|
550
|
+
I
|
551
|
+
2
|
552
|
+
I
|
553
|
+
0
|
554
|
+
I
|
555
|
+
0
|
556
|
+
n
|
557
|
+
p
|
558
|
+
5
|
559
|
+
x
|
560
|
+
19
|
561
|
+
get_cached_response
|
562
|
+
x
|
563
|
+
4
|
564
|
+
nil?
|
565
|
+
x
|
566
|
+
26
|
567
|
+
invoke_without_cache_check
|
568
|
+
x
|
569
|
+
10
|
570
|
+
cacheable?
|
571
|
+
x
|
572
|
+
14
|
573
|
+
cache_response
|
574
|
+
p
|
575
|
+
15
|
576
|
+
I
|
577
|
+
0
|
578
|
+
I
|
579
|
+
1a
|
580
|
+
I
|
581
|
+
0
|
582
|
+
I
|
583
|
+
1b
|
584
|
+
I
|
585
|
+
6
|
586
|
+
I
|
587
|
+
1c
|
588
|
+
I
|
589
|
+
d
|
590
|
+
I
|
591
|
+
1d
|
592
|
+
I
|
593
|
+
13
|
594
|
+
I
|
595
|
+
1e
|
596
|
+
I
|
597
|
+
34
|
598
|
+
I
|
599
|
+
1f
|
600
|
+
I
|
601
|
+
38
|
602
|
+
I
|
603
|
+
21
|
604
|
+
I
|
605
|
+
3b
|
606
|
+
x
|
607
|
+
46
|
608
|
+
/Users/sidu/Work/wrest/lib/wrest/native/get.rb
|
609
|
+
p
|
610
|
+
2
|
611
|
+
x
|
612
|
+
15
|
613
|
+
cached_response
|
614
|
+
x
|
615
|
+
8
|
616
|
+
response
|
617
|
+
x
|
618
|
+
19
|
619
|
+
get_cached_response
|
620
|
+
M
|
621
|
+
1
|
622
|
+
n
|
623
|
+
n
|
624
|
+
x
|
625
|
+
19
|
626
|
+
get_cached_response
|
627
|
+
i
|
628
|
+
31
|
629
|
+
1
|
630
|
+
19
|
631
|
+
0
|
632
|
+
15
|
633
|
+
5
|
634
|
+
48
|
635
|
+
0
|
636
|
+
39
|
637
|
+
1
|
638
|
+
49
|
639
|
+
2
|
640
|
+
1
|
641
|
+
9
|
642
|
+
26
|
643
|
+
5
|
644
|
+
48
|
645
|
+
0
|
646
|
+
39
|
647
|
+
1
|
648
|
+
49
|
649
|
+
3
|
650
|
+
1
|
651
|
+
19
|
652
|
+
0
|
653
|
+
8
|
654
|
+
27
|
655
|
+
1
|
656
|
+
15
|
657
|
+
20
|
658
|
+
0
|
659
|
+
11
|
660
|
+
I
|
661
|
+
3
|
662
|
+
I
|
663
|
+
1
|
664
|
+
I
|
665
|
+
0
|
666
|
+
I
|
667
|
+
0
|
668
|
+
n
|
669
|
+
p
|
670
|
+
4
|
671
|
+
x
|
672
|
+
11
|
673
|
+
cache_store
|
674
|
+
x
|
675
|
+
4
|
676
|
+
@uri
|
677
|
+
x
|
678
|
+
8
|
679
|
+
has_key?
|
680
|
+
x
|
681
|
+
5
|
682
|
+
fetch
|
683
|
+
p
|
684
|
+
13
|
685
|
+
I
|
686
|
+
0
|
687
|
+
I
|
688
|
+
25
|
689
|
+
I
|
690
|
+
0
|
691
|
+
I
|
692
|
+
26
|
693
|
+
I
|
694
|
+
4
|
695
|
+
I
|
696
|
+
27
|
697
|
+
I
|
698
|
+
e
|
699
|
+
I
|
700
|
+
28
|
701
|
+
I
|
702
|
+
1a
|
703
|
+
I
|
704
|
+
27
|
705
|
+
I
|
706
|
+
1c
|
707
|
+
I
|
708
|
+
2a
|
709
|
+
I
|
710
|
+
1f
|
711
|
+
x
|
712
|
+
46
|
713
|
+
/Users/sidu/Work/wrest/lib/wrest/native/get.rb
|
714
|
+
p
|
715
|
+
1
|
716
|
+
x
|
717
|
+
8
|
718
|
+
response
|
719
|
+
x
|
720
|
+
14
|
721
|
+
cache_response
|
722
|
+
M
|
723
|
+
1
|
724
|
+
n
|
725
|
+
n
|
726
|
+
x
|
727
|
+
14
|
728
|
+
cache_response
|
729
|
+
i
|
730
|
+
15
|
731
|
+
5
|
732
|
+
48
|
733
|
+
0
|
734
|
+
39
|
735
|
+
1
|
736
|
+
20
|
737
|
+
0
|
738
|
+
13
|
739
|
+
18
|
740
|
+
3
|
741
|
+
49
|
742
|
+
2
|
743
|
+
2
|
744
|
+
15
|
745
|
+
11
|
746
|
+
I
|
747
|
+
5
|
748
|
+
I
|
749
|
+
1
|
750
|
+
I
|
751
|
+
1
|
752
|
+
I
|
753
|
+
1
|
754
|
+
n
|
755
|
+
p
|
756
|
+
3
|
757
|
+
x
|
758
|
+
11
|
759
|
+
cache_store
|
760
|
+
x
|
761
|
+
4
|
762
|
+
@uri
|
763
|
+
x
|
764
|
+
3
|
765
|
+
[]=
|
766
|
+
p
|
767
|
+
5
|
768
|
+
I
|
769
|
+
0
|
770
|
+
I
|
771
|
+
2d
|
772
|
+
I
|
773
|
+
0
|
774
|
+
I
|
775
|
+
2e
|
776
|
+
I
|
777
|
+
f
|
778
|
+
x
|
779
|
+
46
|
780
|
+
/Users/sidu/Work/wrest/lib/wrest/native/get.rb
|
781
|
+
p
|
782
|
+
1
|
783
|
+
x
|
784
|
+
8
|
785
|
+
response
|
786
|
+
x
|
787
|
+
6
|
788
|
+
invoke
|
789
|
+
x
|
790
|
+
11
|
791
|
+
cache_check
|
792
|
+
x
|
793
|
+
18
|
794
|
+
alias_method_chain
|
795
|
+
p
|
796
|
+
11
|
797
|
+
I
|
798
|
+
2
|
799
|
+
I
|
800
|
+
c
|
801
|
+
I
|
802
|
+
10
|
803
|
+
I
|
804
|
+
1a
|
805
|
+
I
|
806
|
+
1e
|
807
|
+
I
|
808
|
+
25
|
809
|
+
I
|
810
|
+
2c
|
811
|
+
I
|
812
|
+
2d
|
813
|
+
I
|
814
|
+
3a
|
815
|
+
I
|
816
|
+
31
|
817
|
+
I
|
818
|
+
44
|
819
|
+
x
|
820
|
+
46
|
821
|
+
/Users/sidu/Work/wrest/lib/wrest/native/get.rb
|
822
|
+
p
|
823
|
+
0
|
824
|
+
x
|
825
|
+
13
|
826
|
+
attach_method
|
827
|
+
p
|
828
|
+
3
|
829
|
+
I
|
830
|
+
2
|
831
|
+
I
|
832
|
+
b
|
833
|
+
I
|
834
|
+
1f
|
835
|
+
x
|
836
|
+
46
|
837
|
+
/Users/sidu/Work/wrest/lib/wrest/native/get.rb
|
838
|
+
p
|
839
|
+
0
|
840
|
+
x
|
841
|
+
13
|
842
|
+
attach_method
|
843
|
+
p
|
844
|
+
3
|
845
|
+
I
|
846
|
+
0
|
847
|
+
I
|
848
|
+
a
|
849
|
+
I
|
850
|
+
1e
|
851
|
+
x
|
852
|
+
46
|
853
|
+
/Users/sidu/Work/wrest/lib/wrest/native/get.rb
|
854
|
+
p
|
855
|
+
0
|