wrest 1.0.0.beta1 → 1.0.0.beta2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +14 -2
- data/LICENCE +7 -0
- data/README.rdoc +15 -69
- data/lib/wrest/components/container/alias_accessors.rb +1 -1
- data/lib/wrest/components/container/alias_accessors.rbc +905 -0
- data/lib/wrest/components/container/typecaster.rb +5 -5
- data/lib/wrest/components/container/typecaster.rbc +1985 -0
- data/lib/wrest/components/container.rb +11 -12
- data/lib/wrest/components/container.rbc +2466 -0
- data/lib/wrest/components/mutators/base.rbc +702 -0
- data/lib/wrest/components/mutators/camel_to_snake_case.rbc +360 -0
- data/lib/wrest/components/mutators/xml_mini_type_caster.rbc +679 -0
- data/lib/wrest/components/mutators/xml_simple_type_caster.rbc +559 -0
- data/lib/wrest/components/mutators.rbc +650 -0
- data/lib/wrest/components/translators/content_types.rbc +339 -0
- data/lib/wrest/components/translators/json.rbc +462 -0
- data/lib/wrest/components/translators/xml.rbc +457 -0
- data/lib/wrest/components/translators.rbc +517 -0
- data/lib/wrest/components.rbc +217 -0
- data/lib/wrest/core_ext/hash/conversions.rbc +501 -0
- data/lib/wrest/core_ext/hash.rbc +182 -0
- data/lib/wrest/core_ext/string/conversions.rbc +471 -0
- data/lib/wrest/core_ext/string.rbc +182 -0
- data/lib/wrest/curl/response.rb +8 -0
- data/lib/wrest/curl.rbc +704 -0
- data/lib/wrest/exceptions.rbc +312 -0
- data/lib/wrest/http_shared/headers.rb +0 -7
- data/lib/wrest/http_shared/headers.rbc +353 -0
- data/lib/wrest/http_shared/standard_headers.rbc +336 -0
- data/lib/wrest/http_shared/standard_tokens.rbc +316 -0
- data/lib/wrest/http_shared.rbc +279 -0
- data/lib/wrest/native/connection_factory.rbc +445 -0
- data/lib/wrest/native/delete.rbc +371 -0
- data/lib/wrest/native/get.rb +26 -0
- data/lib/wrest/native/get.rbc +855 -0
- data/lib/wrest/native/options.rbc +347 -0
- data/lib/wrest/native/post.rbc +388 -0
- data/lib/wrest/native/put.rbc +388 -0
- data/lib/wrest/native/redirection.rbc +520 -0
- data/lib/wrest/native/request.rb +4 -2
- data/lib/wrest/native/request.rbc +1675 -0
- data/lib/wrest/native/response.rb +53 -2
- data/lib/wrest/native/response.rbc +2150 -0
- data/lib/wrest/native/session.rbc +1372 -0
- data/lib/wrest/native.rbc +513 -0
- data/lib/wrest/resource/base.rbc +2115 -0
- data/lib/wrest/resource.rbc +163 -0
- data/lib/wrest/uri.rbc +2599 -0
- data/lib/wrest/uri_template.rbc +505 -0
- data/lib/wrest/version.rb +1 -1
- data/lib/wrest/version.rbc +372 -0
- data/lib/wrest.rb +1 -1
- data/lib/wrest.rbc +1900 -0
- metadata +99 -102
- data/Rakefile +0 -495
- data/VERSION.yml +0 -5
- data/bin/jwrest +0 -3
- data/examples/delicious.rb +0 -72
- data/examples/facebook.rb +0 -101
- data/examples/imgur_multipart.rb +0 -24
- data/examples/keep_alive.rb +0 -37
- data/examples/redirection.rb +0 -27
- data/examples/twitter.rb +0 -78
- data/examples/twitter_public_timeline.rb +0 -32
- data/examples/wow_realm_status.rb +0 -67
- data/init.rb +0 -0
- data/spec/custom_matchers/custom_matchers.rb +0 -2
- data/spec/rcov.opts +0 -4
- data/spec/spec.opts.disable +0 -6
- data/spec/unit/spec_helper.rb +0 -35
- data/spec/unit/wrest/components/attributes_container/alias_accessors_spec.rb +0 -49
- data/spec/unit/wrest/components/attributes_container/typecaster_spec.rb +0 -83
- data/spec/unit/wrest/components/attributes_container_spec.rb +0 -254
- data/spec/unit/wrest/components/mutators/base_spec.rb +0 -42
- data/spec/unit/wrest/components/mutators/camel_to_snake_spec.rb +0 -22
- data/spec/unit/wrest/components/mutators/xml_mini_type_caster_spec.rb +0 -75
- data/spec/unit/wrest/components/mutators/xml_simple_type_caster_spec.rb +0 -47
- data/spec/unit/wrest/components/mutators_spec.rb +0 -21
- data/spec/unit/wrest/components/translators/xml_spec.rb +0 -16
- data/spec/unit/wrest/components/translators_spec.rb +0 -18
- data/spec/unit/wrest/core_ext/hash/conversions_spec.rb +0 -22
- data/spec/unit/wrest/core_ext/string/conversions_spec.rb +0 -39
- data/spec/unit/wrest/curl/request_spec.rb +0 -19
- data/spec/unit/wrest/curl/response_spec.rb +0 -16
- data/spec/unit/wrest/http/response_spec.rb +0 -24
- data/spec/unit/wrest/native/redirection_spec.rb +0 -42
- data/spec/unit/wrest/native/request_spec.rb +0 -71
- data/spec/unit/wrest/native/response_spec.rb +0 -72
- data/spec/unit/wrest/native/session_spec.rb +0 -74
- data/spec/unit/wrest/resource/base_spec.rb +0 -274
- data/spec/unit/wrest/uri_spec.rb +0 -273
- data/spec/unit/wrest/uri_template_spec.rb +0 -38
- data/wrest.gemspec +0 -168
@@ -0,0 +1,163 @@
|
|
1
|
+
!RBIX
|
2
|
+
0
|
3
|
+
x
|
4
|
+
M
|
5
|
+
1
|
6
|
+
n
|
7
|
+
n
|
8
|
+
x
|
9
|
+
10
|
10
|
+
__script__
|
11
|
+
i
|
12
|
+
47
|
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
|
+
2
|
59
|
+
11
|
60
|
+
I
|
61
|
+
6
|
62
|
+
I
|
63
|
+
0
|
64
|
+
I
|
65
|
+
0
|
66
|
+
I
|
67
|
+
0
|
68
|
+
n
|
69
|
+
p
|
70
|
+
10
|
71
|
+
x
|
72
|
+
5
|
73
|
+
Wrest
|
74
|
+
x
|
75
|
+
11
|
76
|
+
open_module
|
77
|
+
x
|
78
|
+
15
|
79
|
+
__module_init__
|
80
|
+
M
|
81
|
+
1
|
82
|
+
n
|
83
|
+
n
|
84
|
+
x
|
85
|
+
5
|
86
|
+
Wrest
|
87
|
+
i
|
88
|
+
12
|
89
|
+
5
|
90
|
+
66
|
91
|
+
99
|
92
|
+
7
|
93
|
+
0
|
94
|
+
65
|
95
|
+
49
|
96
|
+
1
|
97
|
+
2
|
98
|
+
15
|
99
|
+
1
|
100
|
+
11
|
101
|
+
I
|
102
|
+
3
|
103
|
+
I
|
104
|
+
0
|
105
|
+
I
|
106
|
+
0
|
107
|
+
I
|
108
|
+
0
|
109
|
+
n
|
110
|
+
p
|
111
|
+
2
|
112
|
+
x
|
113
|
+
8
|
114
|
+
Resource
|
115
|
+
x
|
116
|
+
11
|
117
|
+
open_module
|
118
|
+
p
|
119
|
+
3
|
120
|
+
I
|
121
|
+
2
|
122
|
+
I
|
123
|
+
e
|
124
|
+
I
|
125
|
+
c
|
126
|
+
x
|
127
|
+
44
|
128
|
+
/Users/sidu/Work/wrest/lib/wrest/resource.rb
|
129
|
+
p
|
130
|
+
0
|
131
|
+
x
|
132
|
+
13
|
133
|
+
attach_method
|
134
|
+
n
|
135
|
+
x
|
136
|
+
4
|
137
|
+
Root
|
138
|
+
x
|
139
|
+
4
|
140
|
+
to_s
|
141
|
+
s
|
142
|
+
20
|
143
|
+
/wrest/resource/base
|
144
|
+
x
|
145
|
+
7
|
146
|
+
require
|
147
|
+
p
|
148
|
+
5
|
149
|
+
I
|
150
|
+
0
|
151
|
+
I
|
152
|
+
a
|
153
|
+
I
|
154
|
+
1a
|
155
|
+
I
|
156
|
+
12
|
157
|
+
I
|
158
|
+
2f
|
159
|
+
x
|
160
|
+
44
|
161
|
+
/Users/sidu/Work/wrest/lib/wrest/resource.rb
|
162
|
+
p
|
163
|
+
0
|