rest_baby 0.1 → 0.2

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 (55) hide show
  1. checksums.yaml +4 -4
  2. data/ChangeLog +13 -0
  3. data/README.md +2 -2
  4. data/Rakefile +8 -1
  5. data/doc/MockRestService.html +351 -0
  6. data/doc/PinchRestService.html +349 -0
  7. data/doc/RestBaby/Client.html +936 -0
  8. data/doc/RestBaby.html +170 -0
  9. data/doc/_index.html +182 -0
  10. data/doc/class_list.html +74 -0
  11. data/doc/css/common.css +1 -0
  12. data/doc/css/cucumber.css +227 -0
  13. data/doc/css/full_list.css +57 -0
  14. data/doc/css/style.css +338 -0
  15. data/doc/feature_list.html +245 -0
  16. data/doc/featuredirectories_list.html +179 -0
  17. data/doc/file.README.html +134 -0
  18. data/doc/file_list.html +76 -0
  19. data/doc/frames.html +28 -0
  20. data/doc/index.html +134 -0
  21. data/doc/js/app.js +214 -0
  22. data/doc/js/cucumber.js +305 -0
  23. data/doc/js/full_list.js +178 -0
  24. data/doc/js/jquery.js +4 -0
  25. data/doc/method_list.html +169 -0
  26. data/doc/requirements/features/header_options.html +1020 -0
  27. data/doc/requirements/features/headers/header_options.html +1020 -0
  28. data/doc/requirements/features/headers.html +157 -0
  29. data/doc/requirements/features/print_response.html +969 -0
  30. data/doc/requirements/features/rest_client.html +835 -0
  31. data/doc/requirements/features.html +199 -0
  32. data/doc/requirements/step_transformers.html +1508 -0
  33. data/doc/requirements/tags/authentication.html +169 -0
  34. data/doc/requirements/tags/core.html +187 -0
  35. data/doc/requirements/tags/delete.html +169 -0
  36. data/doc/requirements/tags/extended.html +223 -0
  37. data/doc/requirements/tags/get.html +178 -0
  38. data/doc/requirements/tags/headers.html +169 -0
  39. data/doc/requirements/tags/post.html +196 -0
  40. data/doc/requirements/tags/print.html +187 -0
  41. data/doc/requirements/tags/put.html +169 -0
  42. data/doc/requirements/tags.html +408 -0
  43. data/doc/requirements.html +213 -0
  44. data/doc/step_list.html +825 -0
  45. data/doc/stepdefinition_list.html +230 -0
  46. data/doc/tag_list.html +131 -0
  47. data/doc/top-level-namespace.html +244 -0
  48. data/features/{header_options.feature → headers/header_options.feature} +0 -0
  49. data/features/step_definitions/rest_client_steps.rb +5 -4
  50. data/features/support/env.rb +1 -18
  51. data/features/support/mock_rest_service.rb +1 -1
  52. data/lib/rest_baby/version.rb +1 -1
  53. data/lib/rest_baby.rb +62 -35
  54. metadata +49 -5
  55. data/LICENSE +0 -24
data/doc/RestBaby.html ADDED
@@ -0,0 +1,170 @@
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
+ Module: RestBaby
8
+
9
+ &mdash; Documentation by YARD 0.8.7
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#!" + escape(window.location.href);
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 (R)</a> &raquo;
39
+
40
+
41
+ <span class="title">RestBaby</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"><h1>Module: RestBaby
96
+
97
+
98
+
99
+ </h1>
100
+
101
+ <dl class="box">
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+ <dt class="r1 last">Defined in:</dt>
111
+ <dd class="r1 last">lib/rest_baby.rb<span class="defines">,<br />
112
+ lib/rest_baby/version.rb</span>
113
+ </dd>
114
+
115
+ </dl>
116
+ <div class="clear"></div>
117
+
118
+ <h2>Overview</h2><div class="docstring">
119
+ <div class="discussion">
120
+
121
+ <p>RestBaby is a small rest client. It encapsulates some of the details for
122
+ creating and using the rest service.</p>
123
+
124
+
125
+ </div>
126
+ </div>
127
+ <div class="tags">
128
+
129
+
130
+ </div><h2>Defined Under Namespace</h2>
131
+ <p class="children">
132
+
133
+
134
+
135
+
136
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="RestBaby/Client.html" title="RestBaby::Client (class)">Client</a></span>
137
+
138
+
139
+ </p>
140
+
141
+ <h2>Constant Summary</h2>
142
+
143
+ <dl class="constants">
144
+
145
+ <dt id="VERSION-constant" class="">VERSION =
146
+
147
+ </dt>
148
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>0.2</span><span class='tstring_end'>&quot;</span></span></pre></dd>
149
+
150
+ </dl>
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+ </div>
162
+
163
+ <div id="footer">
164
+ Generated on Tue Aug 6 23:42:42 2013 by
165
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
166
+ 0.8.7 (ruby-2.0.0).
167
+ </div>
168
+
169
+ </body>
170
+ </html>
data/doc/_index.html ADDED
@@ -0,0 +1,182 @@
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
+ Documentation by YARD 0.8.7
8
+
9
+ </title>
10
+
11
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
12
+
13
+ <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/cucumber.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '';
20
+ framesUrl = "frames.html#!" + escape(window.location.href);
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
27
+
28
+ <script type="text/javascript" charset="utf-8" src="js/cucumber.js"></script>
29
+
30
+
31
+ </head>
32
+ <body>
33
+ <div id="header">
34
+ <div id="menu">
35
+
36
+
37
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
38
+ </div>
39
+
40
+ <div id="search">
41
+
42
+ <a class="full_list_link" id="feature_list_link"
43
+ href="feature_list.html">
44
+ Features
45
+ </a>
46
+
47
+ <a class="full_list_link" id="featuredirectories_list_link"
48
+ href="featuredirectories_list.html">
49
+ Features by Directory
50
+ </a>
51
+
52
+ <a class="full_list_link" id="tag_list_link"
53
+ href="tag_list.html">
54
+ Tags
55
+ </a>
56
+
57
+ <a class="full_list_link" id="step_list_link"
58
+ href="step_list.html">
59
+ Steps
60
+ </a>
61
+
62
+ <a class="full_list_link" id="stepdefinition_list_link"
63
+ href="stepdefinition_list.html">
64
+ Step Defs
65
+ </a>
66
+
67
+ <a class="full_list_link" id="class_list_link"
68
+ href="class_list.html">
69
+ Class List
70
+ </a>
71
+
72
+ <a class="full_list_link" id="method_list_link"
73
+ href="method_list.html">
74
+ Method List
75
+ </a>
76
+
77
+ <a class="full_list_link" id="file_list_link"
78
+ href="file_list.html">
79
+ File List
80
+ </a>
81
+
82
+ </div>
83
+ <div class="clear"></div>
84
+ </div>
85
+
86
+ <iframe id="search_frame"></iframe>
87
+
88
+ <div id="content"><h1 class="noborder title">Documentation by YARD 0.8.7</h1>
89
+ <div id="listing">
90
+ <h1 class="alphaindex">Alphabetic Index</h1>
91
+
92
+ <h2>File Listing</h2>
93
+ <ul id="files" class="index_inline_list">
94
+
95
+
96
+ <li class="r1"><a href="index.html" title="README">README</a></li>
97
+
98
+
99
+ </ul>
100
+
101
+ <div class="clear"></div>
102
+ <h2>Namespace Listing A-Z</h2>
103
+
104
+
105
+ <ul class="toplevel"><li><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)"></a></span></li></ul>
106
+
107
+
108
+
109
+ <table>
110
+ <tr>
111
+ <td valign='top' width="33%">
112
+
113
+
114
+ <ul id="alpha_C" class="alpha">
115
+ <li class="letter">C</li>
116
+ <ul>
117
+
118
+ <li>
119
+ <span class='object_link'><a href="RestBaby/Client.html" title="RestBaby::Client (class)">Client</a></span>
120
+
121
+ <small>(RestBaby)</small>
122
+
123
+ </li>
124
+
125
+ </ul>
126
+ </ul>
127
+
128
+
129
+ <ul id="alpha_M" class="alpha">
130
+ <li class="letter">M</li>
131
+ <ul>
132
+
133
+ <li>
134
+ <span class='object_link'><a href="MockRestService.html" title="MockRestService (class)">MockRestService</a></span>
135
+
136
+ </li>
137
+
138
+ </ul>
139
+ </ul>
140
+
141
+
142
+ <ul id="alpha_P" class="alpha">
143
+ <li class="letter">P</li>
144
+ <ul>
145
+
146
+ <li>
147
+ <span class='object_link'><a href="PinchRestService.html" title="PinchRestService (class)">PinchRestService</a></span>
148
+
149
+ </li>
150
+
151
+ </ul>
152
+ </ul>
153
+
154
+
155
+ <ul id="alpha_R" class="alpha">
156
+ <li class="letter">R</li>
157
+ <ul>
158
+
159
+ <li>
160
+ <span class='object_link'><a href="RestBaby.html" title="RestBaby (module)">RestBaby</a></span>
161
+
162
+ </li>
163
+
164
+ </ul>
165
+ </ul>
166
+
167
+ </td>
168
+ </tr>
169
+ </table>
170
+
171
+ </div>
172
+
173
+ </div>
174
+
175
+ <div id="footer">
176
+ Generated on Tue Aug 6 23:42:41 2013 by
177
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
178
+ 0.8.7 (ruby-2.0.0).
179
+ </div>
180
+
181
+ </body>
182
+ </html>
@@ -0,0 +1,74 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html>
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+
7
+ <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
8
+
9
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
10
+
11
+
12
+
13
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
16
+
17
+
18
+ <title>Class List</title>
19
+ <base id="base_target" target="_parent" />
20
+ </head>
21
+ <body>
22
+ <script type="text/javascript" charset="utf-8">
23
+ if (window.top.frames.main) {
24
+ document.getElementById('base_target').target = 'main';
25
+ document.body.className = 'frames';
26
+ }
27
+ </script>
28
+ <div id="content">
29
+ <h1 id="full_list_header">Class List</h1>
30
+ <div id="nav">
31
+
32
+ <span><a target="_self" href="feature_list.html">
33
+ Features
34
+ </a></span>
35
+
36
+ <span><a target="_self" href="featuredirectories_list.html">
37
+ Features by Directory
38
+ </a></span>
39
+
40
+ <span><a target="_self" href="tag_list.html">
41
+ Tags
42
+ </a></span>
43
+
44
+ <span><a target="_self" href="step_list.html">
45
+ Steps
46
+ </a></span>
47
+
48
+ <span><a target="_self" href="stepdefinition_list.html">
49
+ Step Definitions
50
+ </a></span>
51
+
52
+ <span><a target="_self" href="class_list.html">
53
+ Classes
54
+ </a></span>
55
+
56
+ <span><a target="_self" href="method_list.html">
57
+ Methods
58
+ </a></span>
59
+
60
+ <span><a target="_self" href="file_list.html">
61
+ Files
62
+ </a></span>
63
+
64
+ </div>
65
+ <div id="search">Search: <input type="text" /></div>
66
+
67
+ <ul id="full_list" class="class">
68
+ <li><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></li>
69
+ <li><span class='object_link'><a href="MockRestService.html" title="MockRestService (class)">MockRestService</a></span> &lt; Object<small class='search_info'>Top Level Namespace</small></li><li><span class='object_link'><a href="PinchRestService.html" title="PinchRestService (class)">PinchRestService</a></span> &lt; Object<small class='search_info'>Top Level Namespace</small></li><li><a class='toggle'></a> <span class='object_link'><a href="RestBaby.html" title="RestBaby (module)">RestBaby</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="RestBaby/Client.html" title="RestBaby::Client (class)">Client</a></span> &lt; Object<small class='search_info'>RestBaby</small></li></ul>
70
+
71
+ </ul>
72
+ </div>
73
+ </body>
74
+ </html>
@@ -0,0 +1 @@
1
+ /* Override this file with custom rules */