rest_baby 0.8 → 1.3

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 (61) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +0 -1
  3. data/ChangeLog +12 -2
  4. data/Gemfile +2 -0
  5. data/Rakefile +7 -1
  6. data/doc/MockRestService.html +204 -31
  7. data/doc/RestBaby/Client.html +686 -246
  8. data/doc/RestBaby.html +6 -7
  9. data/doc/_index.html +6 -19
  10. data/doc/class_list.html +6 -2
  11. data/doc/css/style.css +2 -1
  12. data/doc/feature_list.html +82 -55
  13. data/doc/featuredirectories_list.html +25 -32
  14. data/doc/file.README.html +6 -6
  15. data/doc/file_list.html +5 -1
  16. data/doc/frames.html +5 -7
  17. data/doc/index.html +6 -6
  18. data/doc/js/app.js +7 -2
  19. data/doc/js/full_list.js +4 -1
  20. data/doc/method_list.html +41 -25
  21. data/doc/requirements/features/header_options.html +81 -45
  22. data/doc/requirements/features/print_response.html +42 -148
  23. data/doc/requirements/features/rest_client.html +38 -30
  24. data/doc/requirements/features/url_parameter.html +342 -0
  25. data/doc/requirements/features.html +42 -39
  26. data/doc/requirements/step_transformers.html +524 -321
  27. data/doc/requirements/tags/authentication.html +8 -8
  28. data/doc/requirements/tags/core.html +4 -4
  29. data/doc/requirements/tags/delete.html +4 -4
  30. data/doc/requirements/tags/extended.html +12 -12
  31. data/doc/requirements/tags/get.html +6 -6
  32. data/doc/requirements/tags/header.S1.html +160 -0
  33. data/doc/requirements/tags/header.S2.html +160 -0
  34. data/doc/requirements/tags/header.S3.html +160 -0
  35. data/doc/requirements/tags/header.S4.html +160 -0
  36. data/doc/requirements/tags/header.html +160 -0
  37. data/doc/requirements/tags/headers.html +7 -16
  38. data/doc/requirements/tags/parameter.S1.html +160 -0
  39. data/doc/requirements/tags/parameter.html +160 -0
  40. data/doc/requirements/tags/post.html +10 -10
  41. data/doc/requirements/tags/print.S1.html +160 -0
  42. data/doc/requirements/tags/print.S2.html +160 -0
  43. data/doc/requirements/tags/print.S3.html +160 -0
  44. data/doc/requirements/tags/print.S4.html +160 -0
  45. data/doc/requirements/tags/print.html +4 -4
  46. data/doc/requirements/tags/put.html +4 -4
  47. data/doc/requirements/tags/rest.S1.html +160 -0
  48. data/doc/requirements/tags/rest.S2.html +160 -0
  49. data/doc/requirements/tags/rest.S3.html +160 -0
  50. data/doc/requirements/tags/rest.S4.html +160 -0
  51. data/doc/requirements/tags.html +97 -57
  52. data/doc/requirements.html +43 -38
  53. data/doc/step_list.html +204 -189
  54. data/doc/stepdefinition_list.html +69 -35
  55. data/doc/tag_list.html +100 -6
  56. data/doc/top-level-namespace.html +79 -13
  57. data/features/step_definitions/rest_client_steps.rb +4 -4
  58. data/lib/rest_baby/version.rb +1 -1
  59. data/lib/rest_baby.rb +1 -1
  60. metadata +46 -31
  61. data/Gemfile.lock +0 -68
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Tag: @authentication
8
8
 
9
- &mdash; Documentation by YARD 0.8.7
9
+ &mdash; Documentation by YARD 0.8.7.6
10
10
 
11
11
  </title>
12
12
 
@@ -19,7 +19,7 @@
19
19
  <script type="text/javascript" charset="utf-8">
20
20
  hasFrames = window.top.frames.main ? true : false;
21
21
  relpath = '../../';
22
- framesUrl = "../../frames.html#!" + escape(window.location.href);
22
+ framesUrl = "../../frames.html#!requirements/tags/authentication.html";
23
23
  </script>
24
24
 
25
25
 
@@ -128,20 +128,20 @@
128
128
 
129
129
  <li>
130
130
 
131
- <a href="../features/headers/header_options.html#scenario_3">
131
+ <a href="../features/header_options.html#scenario_3">
132
132
  client uses basic authentication
133
133
  </a>
134
134
 
135
- <small>(features/headers/header_options.feature)</small>
135
+ <small>(features/header_options.feature)</small>
136
136
  </li>
137
137
 
138
138
  <li>
139
139
 
140
- <a href="../features/headers/header_options.html#scenario_4">
140
+ <a href="../features/header_options.html#scenario_4">
141
141
  client uses a secure web server
142
142
  </a>
143
143
 
144
- <small>(features/headers/header_options.feature)</small>
144
+ <small>(features/header_options.feature)</small>
145
145
  </li>
146
146
 
147
147
  </ul>
@@ -160,9 +160,9 @@
160
160
  </div>
161
161
 
162
162
  <div id="footer">
163
- Generated on Sat Aug 10 17:19:41 2013 by
163
+ Generated on Fri Jul 17 23:52:38 2015 by
164
164
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
165
- 0.8.7 (ruby-2.0.0).
165
+ 0.8.7.6 (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
9
+ &mdash; Documentation by YARD 0.8.7.6
10
10
 
11
11
  </title>
12
12
 
@@ -19,7 +19,7 @@
19
19
  <script type="text/javascript" charset="utf-8">
20
20
  hasFrames = window.top.frames.main ? true : false;
21
21
  relpath = '../../';
22
- framesUrl = "../../frames.html#!" + escape(window.location.href);
22
+ framesUrl = "../../frames.html#!requirements/tags/core.html";
23
23
  </script>
24
24
 
25
25
 
@@ -178,9 +178,9 @@
178
178
  </div>
179
179
 
180
180
  <div id="footer">
181
- Generated on Sat Aug 10 17:19:41 2013 by
181
+ Generated on Fri Jul 17 23:52:38 2015 by
182
182
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
183
- 0.8.7 (ruby-2.0.0).
183
+ 0.8.7.6 (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
9
+ &mdash; Documentation by YARD 0.8.7.6
10
10
 
11
11
  </title>
12
12
 
@@ -19,7 +19,7 @@
19
19
  <script type="text/javascript" charset="utf-8">
20
20
  hasFrames = window.top.frames.main ? true : false;
21
21
  relpath = '../../';
22
- framesUrl = "../../frames.html#!" + escape(window.location.href);
22
+ framesUrl = "../../frames.html#!requirements/tags/delete.html";
23
23
  </script>
24
24
 
25
25
 
@@ -160,9 +160,9 @@
160
160
  </div>
161
161
 
162
162
  <div id="footer">
163
- Generated on Sat Aug 10 17:19:41 2013 by
163
+ Generated on Fri Jul 17 23:52:38 2015 by
164
164
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
165
- 0.8.7 (ruby-2.0.0).
165
+ 0.8.7.6 (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
9
+ &mdash; Documentation by YARD 0.8.7.6
10
10
 
11
11
  </title>
12
12
 
@@ -19,7 +19,7 @@
19
19
  <script type="text/javascript" charset="utf-8">
20
20
  hasFrames = window.top.frames.main ? true : false;
21
21
  relpath = '../../';
22
- framesUrl = "../../frames.html#!" + escape(window.location.href);
22
+ framesUrl = "../../frames.html#!requirements/tags/extended.html";
23
23
  </script>
24
24
 
25
25
 
@@ -128,38 +128,38 @@
128
128
 
129
129
  <li>
130
130
 
131
- <a href="../features/headers/header_options.html#scenario_3">
131
+ <a href="../features/header_options.html#scenario_3">
132
132
  client uses basic authentication
133
133
  </a>
134
134
 
135
- <small>(features/headers/header_options.feature)</small>
135
+ <small>(features/header_options.feature)</small>
136
136
  </li>
137
137
 
138
138
  <li>
139
139
 
140
- <a href="../features/headers/header_options.html#scenario_1">
140
+ <a href="../features/header_options.html#scenario_1">
141
141
  client uses an Accept header for a GET
142
142
  </a>
143
143
 
144
- <small>(features/headers/header_options.feature)</small>
144
+ <small>(features/header_options.feature)</small>
145
145
  </li>
146
146
 
147
147
  <li>
148
148
 
149
- <a href="../features/headers/header_options.html#scenario_2">
149
+ <a href="../features/header_options.html#scenario_2">
150
150
  client uses an Accept and a Content-Type header for a POST
151
151
  </a>
152
152
 
153
- <small>(features/headers/header_options.feature)</small>
153
+ <small>(features/header_options.feature)</small>
154
154
  </li>
155
155
 
156
156
  <li>
157
157
 
158
- <a href="../features/headers/header_options.html#scenario_4">
158
+ <a href="../features/header_options.html#scenario_4">
159
159
  client uses a secure web server
160
160
  </a>
161
161
 
162
- <small>(features/headers/header_options.feature)</small>
162
+ <small>(features/header_options.feature)</small>
163
163
  </li>
164
164
 
165
165
  <li>
@@ -214,9 +214,9 @@
214
214
  </div>
215
215
 
216
216
  <div id="footer">
217
- Generated on Sat Aug 10 17:19:41 2013 by
217
+ Generated on Fri Jul 17 23:52:38 2015 by
218
218
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
219
- 0.8.7 (ruby-2.0.0).
219
+ 0.8.7.6 (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
9
+ &mdash; Documentation by YARD 0.8.7.6
10
10
 
11
11
  </title>
12
12
 
@@ -19,7 +19,7 @@
19
19
  <script type="text/javascript" charset="utf-8">
20
20
  hasFrames = window.top.frames.main ? true : false;
21
21
  relpath = '../../';
22
- framesUrl = "../../frames.html#!" + escape(window.location.href);
22
+ framesUrl = "../../frames.html#!requirements/tags/get.html";
23
23
  </script>
24
24
 
25
25
 
@@ -128,11 +128,11 @@
128
128
 
129
129
  <li>
130
130
 
131
- <a href="../features/headers/header_options.html#scenario_1">
131
+ <a href="../features/header_options.html#scenario_1">
132
132
  client uses an Accept header for a GET
133
133
  </a>
134
134
 
135
- <small>(features/headers/header_options.feature)</small>
135
+ <small>(features/header_options.feature)</small>
136
136
  </li>
137
137
 
138
138
  <li>
@@ -169,9 +169,9 @@
169
169
  </div>
170
170
 
171
171
  <div id="footer">
172
- Generated on Sat Aug 10 17:19:41 2013 by
172
+ Generated on Fri Jul 17 23:52:38 2015 by
173
173
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
174
- 0.8.7 (ruby-2.0.0).
174
+ 0.8.7.6 (ruby-2.0.0).
175
175
  </div>
176
176
 
177
177
  </body>
@@ -0,0 +1,160 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Tag: @header.S1
8
+
9
+ &mdash; Documentation by YARD 0.8.7.6
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <link rel="stylesheet" href="../../css/cucumber.css" type="text/css" charset="utf-8" />
18
+
19
+ <script type="text/javascript" charset="utf-8">
20
+ hasFrames = window.top.frames.main ? true : false;
21
+ relpath = '../../';
22
+ framesUrl = "../../frames.html#!requirements/tags/header.S1.html";
23
+ </script>
24
+
25
+
26
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
27
+
28
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
29
+
30
+ <script type="text/javascript" charset="utf-8" src="../../js/cucumber.js"></script>
31
+
32
+
33
+ </head>
34
+ <body>
35
+ <div id="header">
36
+ <div id="menu">
37
+
38
+ <a href="../../_index.html">Index (h)</a> &raquo;
39
+ <span class='title'><span class='object_link'><a href="../../requirements.html" title="requirements (requirements)">requirements</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../tags.html" title="requirements::tags (featuretags)">tags</a></span></span>
40
+ &raquo;
41
+ <span class="title">header.S1</span>
42
+
43
+
44
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
45
+ </div>
46
+
47
+ <div id="search">
48
+
49
+ <a class="full_list_link" id="feature_list_link"
50
+ href="../../feature_list.html">
51
+ Features
52
+ </a>
53
+
54
+ <a class="full_list_link" id="featuredirectories_list_link"
55
+ href="../../featuredirectories_list.html">
56
+ Features by Directory
57
+ </a>
58
+
59
+ <a class="full_list_link" id="tag_list_link"
60
+ href="../../tag_list.html">
61
+ Tags
62
+ </a>
63
+
64
+ <a class="full_list_link" id="step_list_link"
65
+ href="../../step_list.html">
66
+ Steps
67
+ </a>
68
+
69
+ <a class="full_list_link" id="stepdefinition_list_link"
70
+ href="../../stepdefinition_list.html">
71
+ Step Defs
72
+ </a>
73
+
74
+ <a class="full_list_link" id="class_list_link"
75
+ href="../../class_list.html">
76
+ Class List
77
+ </a>
78
+
79
+ <a class="full_list_link" id="method_list_link"
80
+ href="../../method_list.html">
81
+ Method List
82
+ </a>
83
+
84
+ <a class="full_list_link" id="file_list_link"
85
+ href="../../file_list.html">
86
+ File List
87
+ </a>
88
+
89
+ </div>
90
+ <div class="clear"></div>
91
+ </div>
92
+
93
+ <iframe id="search_frame"></iframe>
94
+
95
+ <div id="content"><div class="tag">
96
+ <div class="title">
97
+ <span class="pre">Tag:</span>
98
+ <span class="name">@header.S1</span>
99
+
100
+ </div>
101
+
102
+ <div class="meta">
103
+ <div class="file">
104
+
105
+
106
+ 1 scenario
107
+ </div>
108
+ </div>
109
+
110
+ <div style="margin-top: 20px;">&nbsp;</div>
111
+
112
+
113
+
114
+
115
+ <div id="features" style="margin-left: 40px;">
116
+ <div class="title"><span class="name">Scenarios</span></div>
117
+ </div>
118
+
119
+
120
+ <table style="margin-left: 10px; width: 100%;">
121
+ <tr>
122
+ <td valign='top' width="50%">
123
+
124
+
125
+ <ul id="alpha_C" class="alpha">
126
+ <li class="letter">C</li>
127
+ <ul>
128
+
129
+ <li>
130
+
131
+ <a href="../features/header_options.html#scenario_1">
132
+ client uses an Accept header for a GET
133
+ </a>
134
+
135
+ <small>(features/header_options.feature)</small>
136
+ </li>
137
+
138
+ </ul>
139
+ </ul>
140
+
141
+ </td>
142
+ </tr>
143
+ </table>
144
+
145
+
146
+
147
+
148
+
149
+
150
+ </div>
151
+ </div>
152
+
153
+ <div id="footer">
154
+ Generated on Fri Jul 17 23:52:38 2015 by
155
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
156
+ 0.8.7.6 (ruby-2.0.0).
157
+ </div>
158
+
159
+ </body>
160
+ </html>
@@ -0,0 +1,160 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Tag: @header.S2
8
+
9
+ &mdash; Documentation by YARD 0.8.7.6
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <link rel="stylesheet" href="../../css/cucumber.css" type="text/css" charset="utf-8" />
18
+
19
+ <script type="text/javascript" charset="utf-8">
20
+ hasFrames = window.top.frames.main ? true : false;
21
+ relpath = '../../';
22
+ framesUrl = "../../frames.html#!requirements/tags/header.S2.html";
23
+ </script>
24
+
25
+
26
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
27
+
28
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
29
+
30
+ <script type="text/javascript" charset="utf-8" src="../../js/cucumber.js"></script>
31
+
32
+
33
+ </head>
34
+ <body>
35
+ <div id="header">
36
+ <div id="menu">
37
+
38
+ <a href="../../_index.html">Index (h)</a> &raquo;
39
+ <span class='title'><span class='object_link'><a href="../../requirements.html" title="requirements (requirements)">requirements</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../tags.html" title="requirements::tags (featuretags)">tags</a></span></span>
40
+ &raquo;
41
+ <span class="title">header.S2</span>
42
+
43
+
44
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
45
+ </div>
46
+
47
+ <div id="search">
48
+
49
+ <a class="full_list_link" id="feature_list_link"
50
+ href="../../feature_list.html">
51
+ Features
52
+ </a>
53
+
54
+ <a class="full_list_link" id="featuredirectories_list_link"
55
+ href="../../featuredirectories_list.html">
56
+ Features by Directory
57
+ </a>
58
+
59
+ <a class="full_list_link" id="tag_list_link"
60
+ href="../../tag_list.html">
61
+ Tags
62
+ </a>
63
+
64
+ <a class="full_list_link" id="step_list_link"
65
+ href="../../step_list.html">
66
+ Steps
67
+ </a>
68
+
69
+ <a class="full_list_link" id="stepdefinition_list_link"
70
+ href="../../stepdefinition_list.html">
71
+ Step Defs
72
+ </a>
73
+
74
+ <a class="full_list_link" id="class_list_link"
75
+ href="../../class_list.html">
76
+ Class List
77
+ </a>
78
+
79
+ <a class="full_list_link" id="method_list_link"
80
+ href="../../method_list.html">
81
+ Method List
82
+ </a>
83
+
84
+ <a class="full_list_link" id="file_list_link"
85
+ href="../../file_list.html">
86
+ File List
87
+ </a>
88
+
89
+ </div>
90
+ <div class="clear"></div>
91
+ </div>
92
+
93
+ <iframe id="search_frame"></iframe>
94
+
95
+ <div id="content"><div class="tag">
96
+ <div class="title">
97
+ <span class="pre">Tag:</span>
98
+ <span class="name">@header.S2</span>
99
+
100
+ </div>
101
+
102
+ <div class="meta">
103
+ <div class="file">
104
+
105
+
106
+ 1 scenario
107
+ </div>
108
+ </div>
109
+
110
+ <div style="margin-top: 20px;">&nbsp;</div>
111
+
112
+
113
+
114
+
115
+ <div id="features" style="margin-left: 40px;">
116
+ <div class="title"><span class="name">Scenarios</span></div>
117
+ </div>
118
+
119
+
120
+ <table style="margin-left: 10px; width: 100%;">
121
+ <tr>
122
+ <td valign='top' width="50%">
123
+
124
+
125
+ <ul id="alpha_C" class="alpha">
126
+ <li class="letter">C</li>
127
+ <ul>
128
+
129
+ <li>
130
+
131
+ <a href="../features/header_options.html#scenario_2">
132
+ client uses an Accept and a Content-Type header for a POST
133
+ </a>
134
+
135
+ <small>(features/header_options.feature)</small>
136
+ </li>
137
+
138
+ </ul>
139
+ </ul>
140
+
141
+ </td>
142
+ </tr>
143
+ </table>
144
+
145
+
146
+
147
+
148
+
149
+
150
+ </div>
151
+ </div>
152
+
153
+ <div id="footer">
154
+ Generated on Fri Jul 17 23:52:38 2015 by
155
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
156
+ 0.8.7.6 (ruby-2.0.0).
157
+ </div>
158
+
159
+ </body>
160
+ </html>