rest_baby 0.3 → 0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/ChangeLog +3 -0
  3. data/Gemfile +6 -8
  4. data/doc/MockRestService.html +13 -5
  5. data/doc/_index.html +45 -4
  6. data/doc/class_list.html +1 -1
  7. data/doc/css/style.css +1 -1
  8. data/doc/feature_list.html +39 -39
  9. data/doc/file.README.html +5 -5
  10. data/doc/frames.html +7 -5
  11. data/doc/index.html +5 -5
  12. data/doc/js/app.js +2 -7
  13. data/doc/method_list.html +26 -20
  14. data/doc/requirements/features/headers/header_options.html +33 -45
  15. data/doc/requirements/features/headers.html +4 -5
  16. data/doc/requirements/features/print_response.html +138 -26
  17. data/doc/requirements/features/rest_client.html +23 -23
  18. data/doc/requirements/features.html +8 -9
  19. data/doc/requirements/step_transformers.html +230 -212
  20. data/doc/requirements/tags/authentication.html +3 -3
  21. data/doc/requirements/tags/core.html +3 -3
  22. data/doc/requirements/tags/delete.html +3 -3
  23. data/doc/requirements/tags/extended.html +3 -3
  24. data/doc/requirements/tags/get.html +3 -3
  25. data/doc/requirements/tags/headers.html +3 -3
  26. data/doc/requirements/tags/post.html +3 -3
  27. data/doc/requirements/tags/print.html +3 -3
  28. data/doc/requirements/tags/put.html +3 -3
  29. data/doc/requirements/tags.html +39 -40
  30. data/doc/requirements.html +9 -10
  31. data/doc/step_list.html +210 -166
  32. data/doc/stepdefinition_list.html +40 -40
  33. data/doc/tag_list.html +6 -12
  34. data/doc/top-level-namespace.html +14 -5
  35. data/features/step_definitions/rest_client_steps.rb +4 -4
  36. data/lib/rest_baby/version.rb +1 -1
  37. data/lib/rest_baby.rb +1 -1
  38. data/rest_baby.gemspec +1 -2
  39. metadata +23 -24
  40. data/doc/requirements/tags/wip.html +0 -187
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Tag: @authentication
8
8
 
9
- &mdash; Documentation by YARD 0.8.7.3
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -160,9 +160,9 @@
160
160
  </div>
161
161
 
162
162
  <div id="footer">
163
- Generated on Thu Feb 13 23:38:39 2014 by
163
+ Generated on Sat Aug 10 17:19:41 2013 by
164
164
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
165
- 0.8.7.3 (ruby-2.0.0).
165
+ 0.8.7 (ruby-2.0.0).
166
166
  </div>
167
167
 
168
168
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Tag: @core
8
8
 
9
- &mdash; Documentation by YARD 0.8.7.3
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -178,9 +178,9 @@
178
178
  </div>
179
179
 
180
180
  <div id="footer">
181
- Generated on Thu Feb 13 23:38:39 2014 by
181
+ Generated on Sat Aug 10 17:19:41 2013 by
182
182
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
183
- 0.8.7.3 (ruby-2.0.0).
183
+ 0.8.7 (ruby-2.0.0).
184
184
  </div>
185
185
 
186
186
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Tag: @delete
8
8
 
9
- &mdash; Documentation by YARD 0.8.7.3
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -160,9 +160,9 @@
160
160
  </div>
161
161
 
162
162
  <div id="footer">
163
- Generated on Thu Feb 13 23:38:39 2014 by
163
+ Generated on Sat Aug 10 17:19:41 2013 by
164
164
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
165
- 0.8.7.3 (ruby-2.0.0).
165
+ 0.8.7 (ruby-2.0.0).
166
166
  </div>
167
167
 
168
168
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Tag: @extended
8
8
 
9
- &mdash; Documentation by YARD 0.8.7.3
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -214,9 +214,9 @@
214
214
  </div>
215
215
 
216
216
  <div id="footer">
217
- Generated on Thu Feb 13 23:38:39 2014 by
217
+ Generated on Sat Aug 10 17:19:41 2013 by
218
218
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
219
- 0.8.7.3 (ruby-2.0.0).
219
+ 0.8.7 (ruby-2.0.0).
220
220
  </div>
221
221
 
222
222
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Tag: @get
8
8
 
9
- &mdash; Documentation by YARD 0.8.7.3
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -169,9 +169,9 @@
169
169
  </div>
170
170
 
171
171
  <div id="footer">
172
- Generated on Thu Feb 13 23:38:39 2014 by
172
+ Generated on Sat Aug 10 17:19:41 2013 by
173
173
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
174
- 0.8.7.3 (ruby-2.0.0).
174
+ 0.8.7 (ruby-2.0.0).
175
175
  </div>
176
176
 
177
177
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Tag: @headers
8
8
 
9
- &mdash; Documentation by YARD 0.8.7.3
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -160,9 +160,9 @@
160
160
  </div>
161
161
 
162
162
  <div id="footer">
163
- Generated on Thu Feb 13 23:38:39 2014 by
163
+ Generated on Sat Aug 10 17:19:41 2013 by
164
164
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
165
- 0.8.7.3 (ruby-2.0.0).
165
+ 0.8.7 (ruby-2.0.0).
166
166
  </div>
167
167
 
168
168
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Tag: @post
8
8
 
9
- &mdash; Documentation by YARD 0.8.7.3
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -187,9 +187,9 @@
187
187
  </div>
188
188
 
189
189
  <div id="footer">
190
- Generated on Thu Feb 13 23:38:39 2014 by
190
+ Generated on Sat Aug 10 17:19:41 2013 by
191
191
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
192
- 0.8.7.3 (ruby-2.0.0).
192
+ 0.8.7 (ruby-2.0.0).
193
193
  </div>
194
194
 
195
195
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Tag: @print
8
8
 
9
- &mdash; Documentation by YARD 0.8.7.3
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -178,9 +178,9 @@
178
178
  </div>
179
179
 
180
180
  <div id="footer">
181
- Generated on Thu Feb 13 23:38:39 2014 by
181
+ Generated on Sat Aug 10 17:19:41 2013 by
182
182
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
183
- 0.8.7.3 (ruby-2.0.0).
183
+ 0.8.7 (ruby-2.0.0).
184
184
  </div>
185
185
 
186
186
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Tag: @put
8
8
 
9
- &mdash; Documentation by YARD 0.8.7.3
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -160,9 +160,9 @@
160
160
  </div>
161
161
 
162
162
  <div id="footer">
163
- Generated on Thu Feb 13 23:38:39 2014 by
163
+ Generated on Sat Aug 10 17:19:41 2013 by
164
164
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
165
- 0.8.7.3 (ruby-2.0.0).
165
+ 0.8.7 (ruby-2.0.0).
166
166
  </div>
167
167
 
168
168
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Tags
8
8
 
9
- &mdash; Documentation by YARD 0.8.7.3
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -95,7 +95,7 @@
95
95
  <div id="content">
96
96
  <div id="tags" class="requirements">
97
97
  <script type="text/javascript" charset="utf-8">
98
- var tag_list = [ '@authentication','@core','@delete','@extended','@get','@headers','@post','@print','@put','@wip' ];
98
+ var tag_list = [ '@authentication','@core','@delete','@extended','@get','@headers','@post','@print','@put' ];
99
99
 
100
100
  $(function() {
101
101
 
@@ -186,8 +186,7 @@
186
186
  <span class="tag" href="tags/headers.html">@headers</span>,
187
187
  <span class="tag" href="tags/post.html">@post</span>,
188
188
  <span class="tag" href="tags/print.html">@print</span>,
189
- <span class="tag" href="tags/put.html">@put</span>,
190
- <span class="tag" href="tags/wip.html">@wip</span>
189
+ <span class="tag" href="tags/put.html">@put</span>
191
190
  </div>
192
191
 
193
192
  <div id="features">
@@ -198,7 +197,7 @@
198
197
  <ul style="padding-left: 0px;">
199
198
 
200
199
  <li class="feature odd ">
201
- <span class='object_link'><a href="features/rest_client.html" title="requirements::features::rest_client (feature)">Create a basic rest client that can get, put, post, and delete</a></span>
200
+ <span class='object_link'><a href="features/headers/header_options.html" title="requirements::features::headers::header_options (feature)">Create a basic rest client that can get, put, post, and delete</a></span>
202
201
 
203
202
 
204
203
  </li>
@@ -206,54 +205,54 @@
206
205
 
207
206
  <ul style="padding-left: 20px;">
208
207
 
209
- <li class="scenario even @core @get">
208
+ <li class="scenario even @extended @get @headers">
210
209
  <span class='object_link'>
211
- <a href="features/rest_client.html#scenario0">
212
- client rest GET
210
+ <a href="features/headers/header_options.html#scenario0">
211
+ client uses an Accept header for a GET
213
212
  </a>
214
213
  </span>
215
214
 
216
215
 
217
- - <small><span class="tag" href="tags/core.html">@core</span>, <span class="tag" href="tags/get.html">@get</span></small>
216
+ - <small><span class="tag" href="tags/extended.html">@extended</span>, <span class="tag" href="tags/get.html">@get</span>, <span class="tag" href="tags/headers.html">@headers</span></small>
218
217
 
219
218
  </li>
220
219
 
221
220
 
222
- <li class="scenario odd @core @put">
221
+ <li class="scenario odd @extended @post @headers">
223
222
  <span class='object_link'>
224
- <a href="features/rest_client.html#scenario1">
225
- client rest PUT
223
+ <a href="features/headers/header_options.html#scenario1">
224
+ client uses an Accept and a Content-Type header for a POST
226
225
  </a>
227
226
  </span>
228
227
 
229
228
 
230
- - <small><span class="tag" href="tags/core.html">@core</span>, <span class="tag" href="tags/put.html">@put</span></small>
229
+ - <small><span class="tag" href="tags/extended.html">@extended</span>, <span class="tag" href="tags/post.html">@post</span>, <span class="tag" href="tags/headers.html">@headers</span></small>
231
230
 
232
231
  </li>
233
232
 
234
233
 
235
- <li class="scenario even @core @post">
234
+ <li class="scenario even @extended @post @authentication">
236
235
  <span class='object_link'>
237
- <a href="features/rest_client.html#scenario2">
238
- client rest POST
236
+ <a href="features/headers/header_options.html#scenario2">
237
+ client uses basic authentication
239
238
  </a>
240
239
  </span>
241
240
 
242
241
 
243
- - <small><span class="tag" href="tags/core.html">@core</span>, <span class="tag" href="tags/post.html">@post</span></small>
242
+ - <small><span class="tag" href="tags/extended.html">@extended</span>, <span class="tag" href="tags/post.html">@post</span>, <span class="tag" href="tags/authentication.html">@authentication</span></small>
244
243
 
245
244
  </li>
246
245
 
247
246
 
248
- <li class="scenario odd @core @delete">
247
+ <li class="scenario odd @extended @post @authentication">
249
248
  <span class='object_link'>
250
- <a href="features/rest_client.html#scenario3">
251
- client rest DELETE
249
+ <a href="features/headers/header_options.html#scenario3">
250
+ client uses a secure web server
252
251
  </a>
253
252
  </span>
254
253
 
255
254
 
256
- - <small><span class="tag" href="tags/core.html">@core</span>, <span class="tag" href="tags/delete.html">@delete</span></small>
255
+ - <small><span class="tag" href="tags/extended.html">@extended</span>, <span class="tag" href="tags/post.html">@post</span>, <span class="tag" href="tags/authentication.html">@authentication</span></small>
257
256
 
258
257
  </li>
259
258
 
@@ -326,7 +325,7 @@
326
325
 
327
326
 
328
327
  <li class="feature odd ">
329
- <span class='object_link'><a href="features/headers/header_options.html" title="requirements::features::headers::header_options (feature)">Create a basic rest client that can get, put, post, and delete</a></span>
328
+ <span class='object_link'><a href="features/rest_client.html" title="requirements::features::rest_client (feature)">Create a basic rest client that can get, put, post, and delete</a></span>
330
329
 
331
330
 
332
331
  </li>
@@ -334,54 +333,54 @@
334
333
 
335
334
  <ul style="padding-left: 20px;">
336
335
 
337
- <li class="scenario even @extended @get @headers @wip">
336
+ <li class="scenario even @core @get">
338
337
  <span class='object_link'>
339
- <a href="features/headers/header_options.html#scenario0">
340
- client uses an Accept header for a GET
338
+ <a href="features/rest_client.html#scenario0">
339
+ client rest GET
341
340
  </a>
342
341
  </span>
343
342
 
344
343
 
345
- - <small><span class="tag" href="tags/extended.html">@extended</span>, <span class="tag" href="tags/get.html">@get</span>, <span class="tag" href="tags/headers.html">@headers</span>, <span class="tag" href="tags/wip.html">@wip</span></small>
344
+ - <small><span class="tag" href="tags/core.html">@core</span>, <span class="tag" href="tags/get.html">@get</span></small>
346
345
 
347
346
  </li>
348
347
 
349
348
 
350
- <li class="scenario odd @extended @post @headers @wip">
349
+ <li class="scenario odd @core @put">
351
350
  <span class='object_link'>
352
- <a href="features/headers/header_options.html#scenario1">
353
- client uses an Accept and a Content-Type header for a POST
351
+ <a href="features/rest_client.html#scenario1">
352
+ client rest PUT
354
353
  </a>
355
354
  </span>
356
355
 
357
356
 
358
- - <small><span class="tag" href="tags/extended.html">@extended</span>, <span class="tag" href="tags/post.html">@post</span>, <span class="tag" href="tags/headers.html">@headers</span>, <span class="tag" href="tags/wip.html">@wip</span></small>
357
+ - <small><span class="tag" href="tags/core.html">@core</span>, <span class="tag" href="tags/put.html">@put</span></small>
359
358
 
360
359
  </li>
361
360
 
362
361
 
363
- <li class="scenario even @extended @post @authentication @wip">
362
+ <li class="scenario even @core @post">
364
363
  <span class='object_link'>
365
- <a href="features/headers/header_options.html#scenario2">
366
- client uses basic authentication
364
+ <a href="features/rest_client.html#scenario2">
365
+ client rest POST
367
366
  </a>
368
367
  </span>
369
368
 
370
369
 
371
- - <small><span class="tag" href="tags/extended.html">@extended</span>, <span class="tag" href="tags/post.html">@post</span>, <span class="tag" href="tags/authentication.html">@authentication</span>, <span class="tag" href="tags/wip.html">@wip</span></small>
370
+ - <small><span class="tag" href="tags/core.html">@core</span>, <span class="tag" href="tags/post.html">@post</span></small>
372
371
 
373
372
  </li>
374
373
 
375
374
 
376
- <li class="scenario odd @extended @post @authentication @wip">
375
+ <li class="scenario odd @core @delete">
377
376
  <span class='object_link'>
378
- <a href="features/headers/header_options.html#scenario3">
379
- client uses a secure web server
377
+ <a href="features/rest_client.html#scenario3">
378
+ client rest DELETE
380
379
  </a>
381
380
  </span>
382
381
 
383
382
 
384
- - <small><span class="tag" href="tags/extended.html">@extended</span>, <span class="tag" href="tags/post.html">@post</span>, <span class="tag" href="tags/authentication.html">@authentication</span>, <span class="tag" href="tags/wip.html">@wip</span></small>
383
+ - <small><span class="tag" href="tags/core.html">@core</span>, <span class="tag" href="tags/delete.html">@delete</span></small>
385
384
 
386
385
  </li>
387
386
 
@@ -400,9 +399,9 @@
400
399
  </div>
401
400
 
402
401
  <div id="footer">
403
- Generated on Thu Feb 13 23:38:40 2014 by
402
+ Generated on Sat Aug 10 17:19:42 2013 by
404
403
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
405
- 0.8.7.3 (ruby-2.0.0).
404
+ 0.8.7 (ruby-2.0.0).
406
405
  </div>
407
406
 
408
407
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Requirements
8
8
 
9
- &mdash; Documentation by YARD 0.8.7.3
9
+ &mdash; Documentation by YARD 0.8.7
10
10
 
11
11
  </title>
12
12
 
@@ -116,8 +116,8 @@
116
116
  <ul>
117
117
 
118
118
  <li>
119
- <span class='object_link'><a href="requirements/features/rest_client.html" title="requirements::features::rest_client (feature)">Create a basic rest client that can get, put, post, and delete</a></span>
120
- <small>(features/rest_client.feature)</small>
119
+ <span class='object_link'><a href="requirements/features/headers/header_options.html" title="requirements::features::headers::header_options (feature)">Create a basic rest client that can get, put, post, and delete</a></span>
120
+ <small>(features/headers/header_options.feature)</small>
121
121
  </li>
122
122
 
123
123
  <li>
@@ -126,8 +126,8 @@
126
126
  </li>
127
127
 
128
128
  <li>
129
- <span class='object_link'><a href="requirements/features/headers/header_options.html" title="requirements::features::headers::header_options (feature)">Create a basic rest client that can get, put, post, and delete</a></span>
130
- <small>(features/headers/header_options.feature)</small>
129
+ <span class='object_link'><a href="requirements/features/rest_client.html" title="requirements::features::rest_client (feature)">Create a basic rest client that can get, put, post, and delete</a></span>
130
+ <small>(features/rest_client.feature)</small>
131
131
  </li>
132
132
 
133
133
  </ul>
@@ -152,8 +152,7 @@
152
152
  <span class='object_link'><a href="requirements/tags/headers.html" title="requirements::tags::headers (tag)">@headers</a></span>,
153
153
  <span class='object_link'><a href="requirements/tags/post.html" title="requirements::tags::post (tag)">@post</a></span>,
154
154
  <span class='object_link'><a href="requirements/tags/print.html" title="requirements::tags::print (tag)">@print</a></span>,
155
- <span class='object_link'><a href="requirements/tags/put.html" title="requirements::tags::put (tag)">@put</a></span>,
156
- <span class='object_link'><a href="requirements/tags/wip.html" title="requirements::tags::wip (tag)">@wip</a></span>
155
+ <span class='object_link'><a href="requirements/tags/put.html" title="requirements::tags::put (tag)">@put</a></span>
157
156
  </div>
158
157
 
159
158
 
@@ -194,7 +193,7 @@
194
193
  <a href="requirements/step_transformers.html#step_definitions">Step Definitions</a>
195
194
  0
196
195
  <a href="requirements/step_transformers.html#step_transforms">Transforms</a>
197
- and 2
196
+ and 0
198
197
  <a href="requirements/step_transformers.html#undefined_steps">Undefined Steps</a>
199
198
  </div>
200
199
 
@@ -205,9 +204,9 @@
205
204
  </div>
206
205
 
207
206
  <div id="footer">
208
- Generated on Thu Feb 13 23:38:39 2014 by
207
+ Generated on Sat Aug 10 17:19:41 2013 by
209
208
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
210
- 0.8.7.3 (ruby-2.0.0).
209
+ 0.8.7 (ruby-2.0.0).
211
210
  </div>
212
211
 
213
212
  </body>