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.
Files changed (101) hide show
  1. data/CHANGELOG +59 -0
  2. data/LICENCE +7 -0
  3. data/README.rdoc +127 -0
  4. data/bin/wrest +3 -0
  5. data/bin/wrest_shell.rb +21 -0
  6. data/lib/wrest.rb +101 -0
  7. data/lib/wrest.rbc +1900 -0
  8. data/lib/wrest/components.rb +20 -0
  9. data/lib/wrest/components.rbc +217 -0
  10. data/lib/wrest/components/container.rb +185 -0
  11. data/lib/wrest/components/container.rbc +2466 -0
  12. data/lib/wrest/components/container/alias_accessors.rb +66 -0
  13. data/lib/wrest/components/container/alias_accessors.rbc +905 -0
  14. data/lib/wrest/components/container/typecaster.rb +127 -0
  15. data/lib/wrest/components/container/typecaster.rbc +1985 -0
  16. data/lib/wrest/components/mutators.rb +39 -0
  17. data/lib/wrest/components/mutators.rbc +650 -0
  18. data/lib/wrest/components/mutators/base.rb +56 -0
  19. data/lib/wrest/components/mutators/base.rbc +702 -0
  20. data/lib/wrest/components/mutators/camel_to_snake_case.rb +22 -0
  21. data/lib/wrest/components/mutators/camel_to_snake_case.rbc +360 -0
  22. data/lib/wrest/components/mutators/xml_mini_type_caster.rb +43 -0
  23. data/lib/wrest/components/mutators/xml_mini_type_caster.rbc +679 -0
  24. data/lib/wrest/components/mutators/xml_simple_type_caster.rb +37 -0
  25. data/lib/wrest/components/mutators/xml_simple_type_caster.rbc +559 -0
  26. data/lib/wrest/components/translators.rb +28 -0
  27. data/lib/wrest/components/translators.rbc +517 -0
  28. data/lib/wrest/components/translators/content_types.rb +20 -0
  29. data/lib/wrest/components/translators/content_types.rbc +339 -0
  30. data/lib/wrest/components/translators/json.rb +25 -0
  31. data/lib/wrest/components/translators/json.rbc +462 -0
  32. data/lib/wrest/components/translators/xml.rb +24 -0
  33. data/lib/wrest/components/translators/xml.rbc +457 -0
  34. data/lib/wrest/core_ext/hash.rb +5 -0
  35. data/lib/wrest/core_ext/hash.rbc +182 -0
  36. data/lib/wrest/core_ext/hash/conversions.rb +44 -0
  37. data/lib/wrest/core_ext/hash/conversions.rbc +501 -0
  38. data/lib/wrest/core_ext/string.rb +5 -0
  39. data/lib/wrest/core_ext/string.rbc +182 -0
  40. data/lib/wrest/core_ext/string/conversions.rb +23 -0
  41. data/lib/wrest/core_ext/string/conversions.rbc +471 -0
  42. data/lib/wrest/curl.rb +49 -0
  43. data/lib/wrest/curl.rbc +704 -0
  44. data/lib/wrest/curl/delete.rb +23 -0
  45. data/lib/wrest/curl/get.rb +23 -0
  46. data/lib/wrest/curl/options.rb +16 -0
  47. data/lib/wrest/curl/post.rb +23 -0
  48. data/lib/wrest/curl/put.rb +23 -0
  49. data/lib/wrest/curl/request.rb +97 -0
  50. data/lib/wrest/curl/response.rb +71 -0
  51. data/lib/wrest/curl/session.rb +57 -0
  52. data/lib/wrest/exceptions.rb +33 -0
  53. data/lib/wrest/exceptions.rbc +312 -0
  54. data/lib/wrest/http_shared.rb +23 -0
  55. data/lib/wrest/http_shared.rbc +279 -0
  56. data/lib/wrest/http_shared/headers.rb +343 -0
  57. data/lib/wrest/http_shared/headers.rbc +353 -0
  58. data/lib/wrest/http_shared/standard_headers.rb +21 -0
  59. data/lib/wrest/http_shared/standard_headers.rbc +336 -0
  60. data/lib/wrest/http_shared/standard_tokens.rb +18 -0
  61. data/lib/wrest/http_shared/standard_tokens.rbc +316 -0
  62. data/lib/wrest/multipart.rb +52 -0
  63. data/lib/wrest/native.rb +33 -0
  64. data/lib/wrest/native.rbc +513 -0
  65. data/lib/wrest/native/connection_factory.rb +23 -0
  66. data/lib/wrest/native/connection_factory.rbc +445 -0
  67. data/lib/wrest/native/delete.rb +23 -0
  68. data/lib/wrest/native/delete.rbc +371 -0
  69. data/lib/wrest/native/get.rb +51 -0
  70. data/lib/wrest/native/get.rbc +855 -0
  71. data/lib/wrest/native/options.rb +23 -0
  72. data/lib/wrest/native/options.rbc +347 -0
  73. data/lib/wrest/native/post.rb +23 -0
  74. data/lib/wrest/native/post.rbc +388 -0
  75. data/lib/wrest/native/post_multipart.rb +32 -0
  76. data/lib/wrest/native/put.rb +23 -0
  77. data/lib/wrest/native/put.rbc +388 -0
  78. data/lib/wrest/native/put_multipart.rb +32 -0
  79. data/lib/wrest/native/redirection.rb +38 -0
  80. data/lib/wrest/native/redirection.rbc +520 -0
  81. data/lib/wrest/native/request.rb +94 -0
  82. data/lib/wrest/native/request.rbc +1675 -0
  83. data/lib/wrest/native/response.rb +120 -0
  84. data/lib/wrest/native/response.rbc +2150 -0
  85. data/lib/wrest/native/session.rb +57 -0
  86. data/lib/wrest/native/session.rbc +1372 -0
  87. data/lib/wrest/resource.rb +18 -0
  88. data/lib/wrest/resource.rbc +163 -0
  89. data/lib/wrest/resource/base.rb +99 -0
  90. data/lib/wrest/resource/base.rbc +2115 -0
  91. data/lib/wrest/resource/collection.rb +12 -0
  92. data/lib/wrest/resource/state.rb +6 -0
  93. data/lib/wrest/test.rb +1 -0
  94. data/lib/wrest/test/request_patches.rb +5 -0
  95. data/lib/wrest/uri.rb +160 -0
  96. data/lib/wrest/uri.rbc +2599 -0
  97. data/lib/wrest/uri_template.rb +49 -0
  98. data/lib/wrest/uri_template.rbc +505 -0
  99. data/lib/wrest/version.rb +23 -0
  100. data/lib/wrest/version.rbc +372 -0
  101. metadata +231 -0
@@ -0,0 +1,22 @@
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
11
+ module Components
12
+ # Converts the key to snake case
13
+ #
14
+ # Example:
15
+ # Mutators::CamelToSnakeCase.new.mutate(['Spirit-Sword', 'true']) # => ['spirit_sword', 'true']**
16
+ class Mutators::CamelToSnakeCase < Mutators::Base
17
+ def do_mutate(tuple)
18
+ [tuple.first.underscore, tuple.last]
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,360 @@
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
+ Components
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
+ Components
125
+ i
126
+ 35
127
+ 5
128
+ 66
129
+ 99
130
+ 7
131
+ 0
132
+ 45
133
+ 1
134
+ 2
135
+ 43
136
+ 3
137
+ 45
138
+ 1
139
+ 4
140
+ 49
141
+ 5
142
+ 3
143
+ 13
144
+ 99
145
+ 12
146
+ 7
147
+ 6
148
+ 12
149
+ 7
150
+ 7
151
+ 12
152
+ 65
153
+ 12
154
+ 49
155
+ 8
156
+ 4
157
+ 15
158
+ 49
159
+ 6
160
+ 0
161
+ 11
162
+ I
163
+ 6
164
+ I
165
+ 0
166
+ I
167
+ 0
168
+ I
169
+ 0
170
+ n
171
+ p
172
+ 9
173
+ x
174
+ 16
175
+ CamelToSnakeCase
176
+ x
177
+ 8
178
+ Mutators
179
+ n
180
+ x
181
+ 4
182
+ Base
183
+ n
184
+ x
185
+ 16
186
+ open_class_under
187
+ x
188
+ 14
189
+ __class_init__
190
+ M
191
+ 1
192
+ n
193
+ n
194
+ x
195
+ 16
196
+ CamelToSnakeCase
197
+ i
198
+ 16
199
+ 5
200
+ 66
201
+ 99
202
+ 7
203
+ 0
204
+ 7
205
+ 1
206
+ 65
207
+ 67
208
+ 49
209
+ 2
210
+ 0
211
+ 49
212
+ 3
213
+ 4
214
+ 11
215
+ I
216
+ 5
217
+ I
218
+ 0
219
+ I
220
+ 0
221
+ I
222
+ 0
223
+ n
224
+ p
225
+ 4
226
+ x
227
+ 9
228
+ do_mutate
229
+ M
230
+ 1
231
+ n
232
+ n
233
+ x
234
+ 9
235
+ do_mutate
236
+ i
237
+ 16
238
+ 20
239
+ 0
240
+ 49
241
+ 0
242
+ 0
243
+ 49
244
+ 1
245
+ 0
246
+ 20
247
+ 0
248
+ 49
249
+ 2
250
+ 0
251
+ 35
252
+ 2
253
+ 11
254
+ I
255
+ 3
256
+ I
257
+ 1
258
+ I
259
+ 1
260
+ I
261
+ 1
262
+ n
263
+ p
264
+ 3
265
+ x
266
+ 5
267
+ first
268
+ x
269
+ 10
270
+ underscore
271
+ x
272
+ 4
273
+ last
274
+ p
275
+ 5
276
+ I
277
+ 0
278
+ I
279
+ 11
280
+ I
281
+ 0
282
+ I
283
+ 12
284
+ I
285
+ 10
286
+ x
287
+ 75
288
+ /Users/sidu/Work/wrest/lib/wrest/components/mutators/camel_to_snake_case.rb
289
+ p
290
+ 1
291
+ x
292
+ 5
293
+ tuple
294
+ x
295
+ 17
296
+ method_visibility
297
+ x
298
+ 15
299
+ add_defn_method
300
+ p
301
+ 3
302
+ I
303
+ 2
304
+ I
305
+ 11
306
+ I
307
+ 10
308
+ x
309
+ 75
310
+ /Users/sidu/Work/wrest/lib/wrest/components/mutators/camel_to_snake_case.rb
311
+ p
312
+ 0
313
+ x
314
+ 13
315
+ attach_method
316
+ p
317
+ 3
318
+ I
319
+ 2
320
+ I
321
+ 10
322
+ I
323
+ 23
324
+ x
325
+ 75
326
+ /Users/sidu/Work/wrest/lib/wrest/components/mutators/camel_to_snake_case.rb
327
+ p
328
+ 0
329
+ x
330
+ 13
331
+ attach_method
332
+ p
333
+ 3
334
+ I
335
+ 2
336
+ I
337
+ b
338
+ I
339
+ 1c
340
+ x
341
+ 75
342
+ /Users/sidu/Work/wrest/lib/wrest/components/mutators/camel_to_snake_case.rb
343
+ p
344
+ 0
345
+ x
346
+ 13
347
+ attach_method
348
+ p
349
+ 3
350
+ I
351
+ 0
352
+ I
353
+ a
354
+ I
355
+ 1c
356
+ x
357
+ 75
358
+ /Users/sidu/Work/wrest/lib/wrest/components/mutators/camel_to_snake_case.rb
359
+ p
360
+ 0
@@ -0,0 +1,43 @@
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
+
11
+ module Wrest
12
+ module Components
13
+ # This mutator undertands how do type casting
14
+ # using the type data embedded in a hash
15
+ # created by deserialising an xml using
16
+ # ActiveSupport::XmlMini
17
+ class Mutators::XmlMiniTypeCaster < Mutators::Base
18
+ def do_mutate(tuple)
19
+ out_key, in_value = tuple
20
+
21
+ case in_value
22
+ when Hash
23
+ if in_value['nil'] == 'true'
24
+ out_value = nil
25
+ elsif in_value.key?('type')
26
+ caster = ActiveSupport::XmlMini::PARSING[in_value['type']]
27
+ out_value = caster ? caster.call(in_value['__content__']) : in_value
28
+ elsif in_value.key?('__content__')
29
+ out_value = in_value['__content__']
30
+ else
31
+ out_value = in_value.mutate_using(self)
32
+ end
33
+ when Array
34
+ out_value = in_value.collect{|hash| hash.mutate_using(self)}
35
+ else
36
+ out_value = in_value
37
+ end
38
+
39
+ [out_key, out_value]
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,679 @@
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
+ Components
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
+ Components
125
+ i
126
+ 35
127
+ 5
128
+ 66
129
+ 99
130
+ 7
131
+ 0
132
+ 45
133
+ 1
134
+ 2
135
+ 43
136
+ 3
137
+ 45
138
+ 1
139
+ 4
140
+ 49
141
+ 5
142
+ 3
143
+ 13
144
+ 99
145
+ 12
146
+ 7
147
+ 6
148
+ 12
149
+ 7
150
+ 7
151
+ 12
152
+ 65
153
+ 12
154
+ 49
155
+ 8
156
+ 4
157
+ 15
158
+ 49
159
+ 6
160
+ 0
161
+ 11
162
+ I
163
+ 6
164
+ I
165
+ 0
166
+ I
167
+ 0
168
+ I
169
+ 0
170
+ n
171
+ p
172
+ 9
173
+ x
174
+ 17
175
+ XmlMiniTypeCaster
176
+ x
177
+ 8
178
+ Mutators
179
+ n
180
+ x
181
+ 4
182
+ Base
183
+ n
184
+ x
185
+ 16
186
+ open_class_under
187
+ x
188
+ 14
189
+ __class_init__
190
+ M
191
+ 1
192
+ n
193
+ n
194
+ x
195
+ 17
196
+ XmlMiniTypeCaster
197
+ i
198
+ 16
199
+ 5
200
+ 66
201
+ 99
202
+ 7
203
+ 0
204
+ 7
205
+ 1
206
+ 65
207
+ 67
208
+ 49
209
+ 2
210
+ 0
211
+ 49
212
+ 3
213
+ 4
214
+ 11
215
+ I
216
+ 5
217
+ I
218
+ 0
219
+ I
220
+ 0
221
+ I
222
+ 0
223
+ n
224
+ p
225
+ 4
226
+ x
227
+ 9
228
+ do_mutate
229
+ M
230
+ 1
231
+ n
232
+ n
233
+ x
234
+ 9
235
+ do_mutate
236
+ i
237
+ 170
238
+ 20
239
+ 0
240
+ 97
241
+ 37
242
+ 19
243
+ 1
244
+ 15
245
+ 37
246
+ 19
247
+ 2
248
+ 15
249
+ 15
250
+ 2
251
+ 15
252
+ 20
253
+ 2
254
+ 13
255
+ 45
256
+ 0
257
+ 1
258
+ 12
259
+ 49
260
+ 2
261
+ 1
262
+ 9
263
+ 135
264
+ 15
265
+ 20
266
+ 2
267
+ 7
268
+ 3
269
+ 64
270
+ 49
271
+ 4
272
+ 1
273
+ 7
274
+ 5
275
+ 64
276
+ 83
277
+ 6
278
+ 9
279
+ 47
280
+ 1
281
+ 19
282
+ 3
283
+ 8
284
+ 133
285
+ 20
286
+ 2
287
+ 7
288
+ 7
289
+ 64
290
+ 49
291
+ 8
292
+ 1
293
+ 9
294
+ 103
295
+ 45
296
+ 9
297
+ 10
298
+ 43
299
+ 11
300
+ 43
301
+ 12
302
+ 20
303
+ 2
304
+ 7
305
+ 7
306
+ 64
307
+ 49
308
+ 4
309
+ 1
310
+ 49
311
+ 4
312
+ 1
313
+ 19
314
+ 4
315
+ 15
316
+ 20
317
+ 4
318
+ 9
319
+ 97
320
+ 20
321
+ 4
322
+ 20
323
+ 2
324
+ 7
325
+ 13
326
+ 64
327
+ 49
328
+ 4
329
+ 1
330
+ 49
331
+ 14
332
+ 1
333
+ 8
334
+ 99
335
+ 20
336
+ 2
337
+ 19
338
+ 3
339
+ 8
340
+ 133
341
+ 20
342
+ 2
343
+ 7
344
+ 13
345
+ 64
346
+ 49
347
+ 8
348
+ 1
349
+ 9
350
+ 125
351
+ 20
352
+ 2
353
+ 7
354
+ 13
355
+ 64
356
+ 49
357
+ 4
358
+ 1
359
+ 19
360
+ 3
361
+ 8
362
+ 133
363
+ 20
364
+ 2
365
+ 5
366
+ 49
367
+ 15
368
+ 1
369
+ 19
370
+ 3
371
+ 8
372
+ 162
373
+ 13
374
+ 45
375
+ 16
376
+ 17
377
+ 12
378
+ 49
379
+ 2
380
+ 1
381
+ 9
382
+ 157
383
+ 15
384
+ 20
385
+ 2
386
+ 56
387
+ 18
388
+ 50
389
+ 19
390
+ 0
391
+ 19
392
+ 3
393
+ 8
394
+ 162
395
+ 15
396
+ 20
397
+ 2
398
+ 19
399
+ 3
400
+ 15
401
+ 20
402
+ 1
403
+ 20
404
+ 3
405
+ 35
406
+ 2
407
+ 11
408
+ I
409
+ 8
410
+ I
411
+ 5
412
+ I
413
+ 1
414
+ I
415
+ 1
416
+ n
417
+ p
418
+ 20
419
+ x
420
+ 4
421
+ Hash
422
+ n
423
+ x
424
+ 3
425
+ ===
426
+ s
427
+ 3
428
+ nil
429
+ x
430
+ 2
431
+ []
432
+ s
433
+ 4
434
+ true
435
+ x
436
+ 2
437
+ ==
438
+ s
439
+ 4
440
+ type
441
+ x
442
+ 4
443
+ key?
444
+ x
445
+ 13
446
+ ActiveSupport
447
+ n
448
+ x
449
+ 7
450
+ XmlMini
451
+ x
452
+ 7
453
+ PARSING
454
+ s
455
+ 11
456
+ __content__
457
+ x
458
+ 4
459
+ call
460
+ x
461
+ 12
462
+ mutate_using
463
+ x
464
+ 5
465
+ Array
466
+ n
467
+ M
468
+ 1
469
+ p
470
+ 2
471
+ x
472
+ 9
473
+ for_block
474
+ t
475
+ n
476
+ x
477
+ 9
478
+ do_mutate
479
+ i
480
+ 11
481
+ 57
482
+ 19
483
+ 0
484
+ 15
485
+ 20
486
+ 0
487
+ 5
488
+ 49
489
+ 0
490
+ 1
491
+ 11
492
+ I
493
+ 4
494
+ I
495
+ 1
496
+ I
497
+ 1
498
+ I
499
+ 1
500
+ n
501
+ p
502
+ 1
503
+ x
504
+ 12
505
+ mutate_using
506
+ p
507
+ 3
508
+ I
509
+ 0
510
+ I
511
+ 22
512
+ I
513
+ b
514
+ x
515
+ 76
516
+ /Users/sidu/Work/wrest/lib/wrest/components/mutators/xml_mini_type_caster.rb
517
+ p
518
+ 1
519
+ x
520
+ 4
521
+ hash
522
+ x
523
+ 7
524
+ collect
525
+ p
526
+ 33
527
+ I
528
+ 0
529
+ I
530
+ 12
531
+ I
532
+ 0
533
+ I
534
+ 13
535
+ I
536
+ e
537
+ I
538
+ 15
539
+ I
540
+ 11
541
+ I
542
+ 16
543
+ I
544
+ 1b
545
+ I
546
+ 17
547
+ I
548
+ 2a
549
+ I
550
+ 18
551
+ I
552
+ 2f
553
+ I
554
+ 19
555
+ I
556
+ 39
557
+ I
558
+ 1a
559
+ I
560
+ 4e
561
+ I
562
+ 1b
563
+ I
564
+ 67
565
+ I
566
+ 1c
567
+ I
568
+ 71
569
+ I
570
+ 1d
571
+ I
572
+ 7d
573
+ I
574
+ 1f
575
+ I
576
+ 88
577
+ I
578
+ 21
579
+ I
580
+ 92
581
+ I
582
+ 22
583
+ I
584
+ 9e
585
+ I
586
+ 24
587
+ I
588
+ a3
589
+ I
590
+ 27
591
+ I
592
+ aa
593
+ x
594
+ 76
595
+ /Users/sidu/Work/wrest/lib/wrest/components/mutators/xml_mini_type_caster.rb
596
+ p
597
+ 5
598
+ x
599
+ 5
600
+ tuple
601
+ x
602
+ 7
603
+ out_key
604
+ x
605
+ 8
606
+ in_value
607
+ x
608
+ 9
609
+ out_value
610
+ x
611
+ 6
612
+ caster
613
+ x
614
+ 17
615
+ method_visibility
616
+ x
617
+ 15
618
+ add_defn_method
619
+ p
620
+ 3
621
+ I
622
+ 2
623
+ I
624
+ 12
625
+ I
626
+ 10
627
+ x
628
+ 76
629
+ /Users/sidu/Work/wrest/lib/wrest/components/mutators/xml_mini_type_caster.rb
630
+ p
631
+ 0
632
+ x
633
+ 13
634
+ attach_method
635
+ p
636
+ 3
637
+ I
638
+ 2
639
+ I
640
+ 11
641
+ I
642
+ 23
643
+ x
644
+ 76
645
+ /Users/sidu/Work/wrest/lib/wrest/components/mutators/xml_mini_type_caster.rb
646
+ p
647
+ 0
648
+ x
649
+ 13
650
+ attach_method
651
+ p
652
+ 3
653
+ I
654
+ 2
655
+ I
656
+ c
657
+ I
658
+ 1c
659
+ x
660
+ 76
661
+ /Users/sidu/Work/wrest/lib/wrest/components/mutators/xml_mini_type_caster.rb
662
+ p
663
+ 0
664
+ x
665
+ 13
666
+ attach_method
667
+ p
668
+ 3
669
+ I
670
+ 0
671
+ I
672
+ b
673
+ I
674
+ 1c
675
+ x
676
+ 76
677
+ /Users/sidu/Work/wrest/lib/wrest/components/mutators/xml_mini_type_caster.rb
678
+ p
679
+ 0