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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a2417a5e7ce48344b60bee72939286960a0649c4
4
- data.tar.gz: 0f6a77d7e017242b668bd6c8afe4f5c9c6ff731d
3
+ metadata.gz: af729fe4758d51c75c7c37108de7f9376fa015ce
4
+ data.tar.gz: abb8b069b9fce12330b212d3741f1a08aa583146
5
5
  SHA512:
6
- metadata.gz: bab5d7ebd45a37d38006766307a0a48952cefcc29182106c6a043ea9162cd5b408d44eae4fdc1af3934688e3ee74b6d7b8e6e8a6cd299a0d54bf2428385f8bd8
7
- data.tar.gz: 4c376a70b43ac83e55fcfe92474267f0f40bf6ef697685a5703308cd69a838d162416007a0fd9f7502d6d4b4c50f9689be3b28c084ec9610e1d9f41b0511acef
6
+ metadata.gz: 704878c6592abd0ba51582933a72b5f1d67fbeba317e540aabb5faecc74e2cbd624752e53df83161ee0b597881fe5ab353c76596c16a142d4e8d343175e365c7
7
+ data.tar.gz: e267a8ae7a0eae0e28d1bf439eb93315fd7382ca3b1aea04d5f1190bb6ee951ba440a2bd58d071b8c95867038ae06c40b091a226533e939eb9e63156012561bc
data/ChangeLog CHANGED
@@ -16,3 +16,6 @@
16
16
  * Updated to use markdown for comments
17
17
  * Revised authentication
18
18
  * Added output optional using HTTP_DEBUG=TRUE or FALSE
19
+ === Version 0.4 / 2014-06-11
20
+ * Downgraded the version of rspec used due to compatibility issues
21
+ * Fixed bug in lib/rest_baby.rb:177 that incorrectly referenced 'body' instead of 'response.body'
data/Gemfile CHANGED
@@ -1,10 +1,8 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'cucumber'
4
- gem 'fig_newton'
5
- gem 'json'
6
- gem 'nokogiri'
7
- gem 'rspec'
8
- gem 'webmock'
9
- gem 'yard'
10
- gem 'yard-cucumber'
3
+ gem 'cucumber', '>=1.3.5'
4
+ gem 'fig_newton', '>=0.10'
5
+ gem 'json', '>=1.8.1'
6
+ gem 'nokogiri', '1.6.2.1'
7
+ gem 'rspec', '>=2.8.0'
8
+ gem 'webmock', '>=1.18.0'
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: MockRestService
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
 
@@ -303,7 +303,11 @@
303
303
  30
304
304
  31
305
305
  32
306
- 33</pre>
306
+ 33
307
+ 34
308
+ 35
309
+ 36
310
+ 37</pre>
307
311
  </td>
308
312
  <td>
309
313
  <pre class="code"><span class="info file"># File 'features/support/mock_rest_service.rb', line 18</span>
@@ -313,9 +317,13 @@
313
317
  <span class='id identifier rubyid_auth_string'>auth_string</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_user'>user</span><span class='embexpr_end'>}</span><span class='tstring_content'>:</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_password'>password</span><span class='embexpr_end'>}</span><span class='tstring_content'>@</span><span class='tstring_end'>&quot;</span></span> <span class='kw'>unless</span> <span class='lparen'>(</span><span class='id identifier rubyid_user'>user</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>||</span> <span class='id identifier rubyid_password'>password</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span><span class='rparen'>)</span>
314
318
  <span class='kw'>case</span> <span class='id identifier rubyid_type'>type</span><span class='period'>.</span><span class='id identifier rubyid_downcase'>downcase</span>
315
319
  <span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>get</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>delete</span><span class='tstring_end'>&quot;</span></span>
316
- <span class='const'>WebMock</span><span class='period'>.</span><span class='id identifier rubyid_stub_request'>stub_request</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='period'>.</span><span class='id identifier rubyid_downcase'>downcase</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='ivar'>@protocol</span><span class='embexpr_end'>}</span><span class='tstring_content'>://</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_auth_string'>auth_string</span><span class='embexpr_end'>}</span><span class='embexpr_beg'>#{</span><span class='ivar'>@host</span><span class='embexpr_end'>}</span><span class='tstring_content'>:</span><span class='embexpr_beg'>#{</span><span class='ivar'>@port</span><span class='embexpr_end'>}</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_path'>path</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='period'>.</span>
320
+ <span class='comment'># WebMock.stub_request(type.downcase.to_sym, &quot;#{@protocol}://#{auth_string}#{@host}:#{@port}#{path}&quot;).
321
+ </span> <span class='comment'># with(:headers =&gt; new_headers).
322
+ </span> <span class='comment'># to_return({:body =&gt; &quot;#{message}&quot;, :status =&gt; 200}, :headers =&gt; {})
323
+ </span> <span class='id identifier rubyid_stub_request'>stub_request</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='period'>.</span><span class='id identifier rubyid_downcase'>downcase</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='ivar'>@protocol</span><span class='embexpr_end'>}</span><span class='tstring_content'>://</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_auth_string'>auth_string</span><span class='embexpr_end'>}</span><span class='embexpr_beg'>#{</span><span class='ivar'>@host</span><span class='embexpr_end'>}</span><span class='tstring_content'>:</span><span class='embexpr_beg'>#{</span><span class='ivar'>@port</span><span class='embexpr_end'>}</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_path'>path</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='period'>.</span>
317
324
  <span class='id identifier rubyid_with'>with</span><span class='lparen'>(</span><span class='symbol'>:headers</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_new_headers'>new_headers</span><span class='rparen'>)</span><span class='period'>.</span>
318
325
  <span class='id identifier rubyid_to_return'>to_return</span><span class='lparen'>(</span><span class='lbrace'>{</span><span class='symbol'>:body</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_message'>message</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='symbol'>:status</span> <span class='op'>=&gt;</span> <span class='int'>200</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='symbol'>:headers</span> <span class='op'>=&gt;</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
326
+
319
327
  <span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>post</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>put</span><span class='tstring_end'>&quot;</span></span>
320
328
  <span class='const'>WebMock</span><span class='period'>.</span><span class='id identifier rubyid_stub_request'>stub_request</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='period'>.</span><span class='id identifier rubyid_downcase'>downcase</span><span class='period'>.</span><span class='id identifier rubyid_to_sym'>to_sym</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='ivar'>@protocol</span><span class='embexpr_end'>}</span><span class='tstring_content'>://</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_auth_string'>auth_string</span><span class='embexpr_end'>}</span><span class='embexpr_beg'>#{</span><span class='ivar'>@host</span><span class='embexpr_end'>}</span><span class='tstring_content'>:</span><span class='embexpr_beg'>#{</span><span class='ivar'>@port</span><span class='embexpr_end'>}</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_path'>path</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='period'>.</span>
321
329
  <span class='id identifier rubyid_with'>with</span><span class='lparen'>(</span><span class='symbol'>:headers</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_new_headers'>new_headers</span><span class='rparen'>)</span><span class='period'>.</span>
@@ -334,9 +342,9 @@
334
342
  </div>
335
343
 
336
344
  <div id="footer">
337
- Generated on Thu Feb 13 23:38:39 2014 by
345
+ Generated on Sat Aug 10 17:19:41 2013 by
338
346
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
339
- 0.8.7.3 (ruby-2.0.0).
347
+ 0.8.7 (ruby-2.0.0).
340
348
  </div>
341
349
 
342
350
  </body>
data/doc/_index.html CHANGED
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
6
  <title>
7
- Documentation by YARD 0.8.7.3
7
+ Documentation by YARD 0.8.7
8
8
 
9
9
  </title>
10
10
 
@@ -85,7 +85,7 @@
85
85
 
86
86
  <iframe id="search_frame"></iframe>
87
87
 
88
- <div id="content"><h1 class="noborder title">Documentation by YARD 0.8.7.3</h1>
88
+ <div id="content"><h1 class="noborder title">Documentation by YARD 0.8.7</h1>
89
89
  <div id="listing">
90
90
  <h1 class="alphaindex">Alphabetic Index</h1>
91
91
 
@@ -111,6 +111,21 @@
111
111
  <td valign='top' width="33%">
112
112
 
113
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
+
114
129
  <ul id="alpha_M" class="alpha">
115
130
  <li class="letter">M</li>
116
131
  <ul>
@@ -123,6 +138,32 @@
123
138
  </ul>
124
139
  </ul>
125
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
+
126
167
  </td>
127
168
  </tr>
128
169
  </table>
@@ -132,9 +173,9 @@
132
173
  </div>
133
174
 
134
175
  <div id="footer">
135
- Generated on Thu Feb 13 23:38:38 2014 by
176
+ Generated on Sat Aug 10 17:19:40 2013 by
136
177
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
137
- 0.8.7.3 (ruby-2.0.0).
178
+ 0.8.7 (ruby-2.0.0).
138
179
  </div>
139
180
 
140
181
  </body>
data/doc/class_list.html CHANGED
@@ -66,7 +66,7 @@
66
66
 
67
67
  <ul id="full_list" class="class">
68
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>
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
70
 
71
71
  </ul>
72
72
  </div>
data/doc/css/style.css CHANGED
@@ -324,9 +324,9 @@ pre.code .dot + pre.code .id,
324
324
  pre.code .rubyid_to_i pre.code .rubyid_each { color: #0085FF; }
325
325
  pre.code .comment { color: #0066FF; }
326
326
  pre.code .const, pre.code .constant { color: #585CF6; }
327
- pre.code .label,
328
327
  pre.code .symbol { color: #C5060B; }
329
328
  pre.code .kw,
329
+ pre.code .label,
330
330
  pre.code .rubyid_require,
331
331
  pre.code .rubyid_extend,
332
332
  pre.code .rubyid_include { color: #0000FF; }
@@ -73,8 +73,8 @@
73
73
 
74
74
  <li class="r2">
75
75
  <a class='toggle'></a>
76
- <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>
77
- <small>features/rest_client.feature:1</small>
76
+ <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>
77
+ <small>features/headers/header_options.feature:1</small>
78
78
  </li>
79
79
 
80
80
 
@@ -82,45 +82,45 @@
82
82
 
83
83
  <li class="r1">
84
84
  <span class='object_link'>
85
- <a href="requirements/features/rest_client.html#scenario_0"
86
- title="client rest GET">
87
- client rest GET
85
+ <a href="requirements/features/headers/header_options.html#scenario_0"
86
+ title="client uses an Accept header for a GET">
87
+ client uses an Accept header for a GET
88
88
  </a>
89
89
  </span>
90
- <small>features/rest_client.feature:4</small>
90
+ <small>features/headers/header_options.feature:4</small>
91
91
  </li>
92
92
 
93
93
 
94
94
  <li class="r2">
95
95
  <span class='object_link'>
96
- <a href="requirements/features/rest_client.html#scenario_1"
97
- title="client rest PUT">
98
- client rest PUT
96
+ <a href="requirements/features/headers/header_options.html#scenario_1"
97
+ title="client uses an Accept and a Content-Type header for a POST">
98
+ client uses an Accept and a Content-Type header for a POST
99
99
  </a>
100
100
  </span>
101
- <small>features/rest_client.feature:12</small>
101
+ <small>features/headers/header_options.feature:15</small>
102
102
  </li>
103
103
 
104
104
 
105
105
  <li class="r1">
106
106
  <span class='object_link'>
107
- <a href="requirements/features/rest_client.html#scenario_2"
108
- title="client rest POST">
109
- client rest POST
107
+ <a href="requirements/features/headers/header_options.html#scenario_2"
108
+ title="client uses basic authentication">
109
+ client uses basic authentication
110
110
  </a>
111
111
  </span>
112
- <small>features/rest_client.feature:23</small>
112
+ <small>features/headers/header_options.feature:31</small>
113
113
  </li>
114
114
 
115
115
 
116
116
  <li class="r2">
117
117
  <span class='object_link'>
118
- <a href="requirements/features/rest_client.html#scenario_3"
119
- title="client rest DELETE">
120
- client rest DELETE
118
+ <a href="requirements/features/headers/header_options.html#scenario_3"
119
+ title="client uses a secure web server">
120
+ client uses a secure web server
121
121
  </a>
122
122
  </span>
123
- <small>features/rest_client.feature:34</small>
123
+ <small>features/headers/header_options.feature:40</small>
124
124
  </li>
125
125
 
126
126
 
@@ -154,7 +154,7 @@
154
154
  client rest Put
155
155
  </a>
156
156
  </span>
157
- <small>features/print_response.feature:16</small>
157
+ <small>features/print_response.feature:23</small>
158
158
  </li>
159
159
 
160
160
 
@@ -165,7 +165,7 @@
165
165
  client rest Post
166
166
  </a>
167
167
  </span>
168
- <small>features/print_response.feature:30</small>
168
+ <small>features/print_response.feature:43</small>
169
169
  </li>
170
170
 
171
171
 
@@ -176,7 +176,7 @@
176
176
  client rest Delete
177
177
  </a>
178
178
  </span>
179
- <small>features/print_response.feature:44</small>
179
+ <small>features/print_response.feature:63</small>
180
180
  </li>
181
181
 
182
182
 
@@ -185,8 +185,8 @@
185
185
 
186
186
  <li class="r2">
187
187
  <a class='toggle'></a>
188
- <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>
189
- <small>features/headers/header_options.feature:1</small>
188
+ <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>
189
+ <small>features/rest_client.feature:1</small>
190
190
  </li>
191
191
 
192
192
 
@@ -194,45 +194,45 @@
194
194
 
195
195
  <li class="r1">
196
196
  <span class='object_link'>
197
- <a href="requirements/features/headers/header_options.html#scenario_0"
198
- title="client uses an Accept header for a GET">
199
- client uses an Accept header for a GET
197
+ <a href="requirements/features/rest_client.html#scenario_0"
198
+ title="client rest GET">
199
+ client rest GET
200
200
  </a>
201
201
  </span>
202
- <small>features/headers/header_options.feature:4</small>
202
+ <small>features/rest_client.feature:4</small>
203
203
  </li>
204
204
 
205
205
 
206
206
  <li class="r2">
207
207
  <span class='object_link'>
208
- <a href="requirements/features/headers/header_options.html#scenario_1"
209
- title="client uses an Accept and a Content-Type header for a POST">
210
- client uses an Accept and a Content-Type header for a POST
208
+ <a href="requirements/features/rest_client.html#scenario_1"
209
+ title="client rest PUT">
210
+ client rest PUT
211
211
  </a>
212
212
  </span>
213
- <small>features/headers/header_options.feature:15</small>
213
+ <small>features/rest_client.feature:12</small>
214
214
  </li>
215
215
 
216
216
 
217
217
  <li class="r1">
218
218
  <span class='object_link'>
219
- <a href="requirements/features/headers/header_options.html#scenario_2"
220
- title="client uses basic authentication">
221
- client uses basic authentication
219
+ <a href="requirements/features/rest_client.html#scenario_2"
220
+ title="client rest POST">
221
+ client rest POST
222
222
  </a>
223
223
  </span>
224
- <small>features/headers/header_options.feature:31</small>
224
+ <small>features/rest_client.feature:23</small>
225
225
  </li>
226
226
 
227
227
 
228
228
  <li class="r2">
229
229
  <span class='object_link'>
230
- <a href="requirements/features/headers/header_options.html#scenario_3"
231
- title="client uses a secure web server">
232
- client uses a secure web server
230
+ <a href="requirements/features/rest_client.html#scenario_3"
231
+ title="client rest DELETE">
232
+ client rest DELETE
233
233
  </a>
234
234
  </span>
235
- <small>features/headers/header_options.feature:40</small>
235
+ <small>features/rest_client.feature:34</small>
236
236
  </li>
237
237
 
238
238
 
data/doc/file.README.html CHANGED
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  File: README
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
 
@@ -103,11 +103,11 @@
103
103
 
104
104
  <p>And then execute:</p>
105
105
 
106
- <pre class="code ruby"><code class="ruby">$ bundle</code></pre>
106
+ <pre class="code ruby"><code class="ruby"></code></pre>
107
107
 
108
108
  <p>Or install it yourself as:</p>
109
109
 
110
- <pre class="code ruby"><code class="ruby">$ gem install rest_baby</code></pre>
110
+ <pre class="code ruby"><code class="ruby"></code></pre>
111
111
 
112
112
  <h2 id="label-Contributing">Contributing</h2>
113
113
  <ol><li>
@@ -125,9 +125,9 @@ feature&#39;</code>)</p>
125
125
  </div></div>
126
126
 
127
127
  <div id="footer">
128
- Generated on Thu Feb 13 23:38:39 2014 by
128
+ Generated on Sat Aug 10 17:19:40 2013 by
129
129
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
130
- 0.8.7.3 (ruby-2.0.0).
130
+ 0.8.7 (ruby-2.0.0).
131
131
  </div>
132
132
 
133
133
  </body>
data/doc/frames.html CHANGED
@@ -4,16 +4,18 @@
4
4
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
5
  <head>
6
6
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
7
- <title>Documentation by YARD 0.8.7.3</title>
7
+ <title>Documentation by YARD 0.8.7</title>
8
8
  </head>
9
9
  <script type="text/javascript" charset="utf-8">
10
10
  window.onload = function() {
11
- var match = unescape(window.location.hash).match(/^#!(.+)/);
12
- var name = match ? match[1] : 'index.html';
13
- name = name.replace(/^(\w+):\/\//, '').replace(/^\/\//, '');
11
+ var match = window.location.hash.match(/^#!(.+)/);
12
+ var name = 'index.html';
13
+ if (match) {
14
+ name = unescape(match[1]);
15
+ }
14
16
  document.writeln('<frameset cols="20%,*">' +
15
17
  '<frame name="list" src="class_list.html" />' +
16
- '<frame name="main" src="' + escape(name) + '" />' +
18
+ '<frame name="main" src="' + name + '" />' +
17
19
  '</frameset>');
18
20
  }
19
21
  </script>
data/doc/index.html CHANGED
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  File: README
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
 
@@ -103,11 +103,11 @@
103
103
 
104
104
  <p>And then execute:</p>
105
105
 
106
- <pre class="code ruby"><code class="ruby">$ bundle</code></pre>
106
+ <pre class="code ruby"><code class="ruby"></code></pre>
107
107
 
108
108
  <p>Or install it yourself as:</p>
109
109
 
110
- <pre class="code ruby"><code class="ruby">$ gem install rest_baby</code></pre>
110
+ <pre class="code ruby"><code class="ruby"></code></pre>
111
111
 
112
112
  <h2 id="label-Contributing">Contributing</h2>
113
113
  <ol><li>
@@ -125,9 +125,9 @@ feature&#39;</code>)</p>
125
125
  </div></div>
126
126
 
127
127
  <div id="footer">
128
- Generated on Thu Feb 13 23:38:39 2014 by
128
+ Generated on Sat Aug 10 17:19:40 2013 by
129
129
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
130
- 0.8.7.3 (ruby-2.0.0).
130
+ 0.8.7 (ruby-2.0.0).
131
131
  </div>
132
132
 
133
133
  </body>
data/doc/js/app.js CHANGED
@@ -78,12 +78,7 @@ function framesInit() {
78
78
  if (hasFrames) {
79
79
  document.body.className = 'frames';
80
80
  $('#menu .noframes a').attr('href', document.location);
81
- try {
82
- window.top.document.title = $('html head title').text();
83
- } catch(error) {
84
- // some browsers will not allow this when serving from file://
85
- // but we don't want to stop the world.
86
- }
81
+ window.top.document.title = $('html head title').text();
87
82
  }
88
83
  else {
89
84
  $('#menu .noframes a').text('frames').attr('href', framesUrl);
@@ -216,4 +211,4 @@ $(linkSummaries);
216
211
  $(keyboardShortcuts);
217
212
  $(summaryToggle);
218
213
  $(fixOutsideWorldLinks);
219
- $(generateTOC);
214
+ $(generateTOC);
data/doc/method_list.html CHANGED
@@ -68,26 +68,26 @@
68
68
 
69
69
 
70
70
  <li class="r1 ">
71
- <span class='object_link'><a href="RestBaby/Client.html#delete-instance_method" title="RestBaby::Client#delete (method)">#delete</a></span>
72
- <small>RestBaby::Client</small>
71
+ <span class='object_link'><a href="PinchRestService.html#close-instance_method" title="PinchRestService#close (method)">#close</a></span>
72
+ <small>PinchRestService</small>
73
73
  </li>
74
74
 
75
75
 
76
76
  <li class="r2 ">
77
- <span class='object_link'><a href="RestBaby/Client.html#get-instance_method" title="RestBaby::Client#get (method)">#get</a></span>
77
+ <span class='object_link'><a href="RestBaby/Client.html#delete-instance_method" title="RestBaby::Client#delete (method)">#delete</a></span>
78
78
  <small>RestBaby::Client</small>
79
79
  </li>
80
80
 
81
81
 
82
82
  <li class="r1 ">
83
- <span class='object_link'><a href="RestBaby/Client.html#get_code-instance_method" title="RestBaby::Client#get_code (method)">#get_code</a></span>
83
+ <span class='object_link'><a href="RestBaby/Client.html#get-instance_method" title="RestBaby::Client#get (method)">#get</a></span>
84
84
  <small>RestBaby::Client</small>
85
85
  </li>
86
86
 
87
87
 
88
88
  <li class="r2 ">
89
- <span class='object_link'><a href="MockRestService.html#initialize-instance_method" title="MockRestService#initialize (method)">#initialize</a></span>
90
- <small>MockRestService</small>
89
+ <span class='object_link'><a href="RestBaby/Client.html#get_code-instance_method" title="RestBaby::Client#get_code (method)">#get_code</a></span>
90
+ <small>RestBaby::Client</small>
91
91
  </li>
92
92
 
93
93
 
@@ -98,23 +98,35 @@
98
98
 
99
99
 
100
100
  <li class="r2 ">
101
- <span class='object_link'><a href="RestBaby/Client.html#password-instance_method" title="RestBaby::Client#password (method)">#password</a></span>
102
- <small>RestBaby::Client</small>
101
+ <span class='object_link'><a href="MockRestService.html#initialize-instance_method" title="MockRestService#initialize (method)">#initialize</a></span>
102
+ <small>MockRestService</small>
103
103
  </li>
104
104
 
105
105
 
106
106
  <li class="r1 ">
107
+ <span class='object_link'><a href="PinchRestService.html#initialize-instance_method" title="PinchRestService#initialize (method)">#initialize</a></span>
108
+ <small>PinchRestService</small>
109
+ </li>
110
+
111
+
112
+ <li class="r2 ">
107
113
  <span class='object_link'><a href="#pause-instance_method" title="#pause (method)">#pause</a></span>
108
114
  <small>Top Level Namespace</small>
109
115
  </li>
110
116
 
111
117
 
112
- <li class="r2 ">
118
+ <li class="r1 ">
113
119
  <span class='object_link'><a href="RestBaby/Client.html#post-instance_method" title="RestBaby::Client#post (method)">#post</a></span>
114
120
  <small>RestBaby::Client</small>
115
121
  </li>
116
122
 
117
123
 
124
+ <li class="r2 ">
125
+ <span class='object_link'><a href="RestBaby/Client.html#print_last_response-instance_method" title="RestBaby::Client#print_last_response (method)">#print_last_response</a></span>
126
+ <small>RestBaby::Client</small>
127
+ </li>
128
+
129
+
118
130
  <li class="r1 ">
119
131
  <span class='object_link'><a href="RestBaby/Client.html#put-instance_method" title="RestBaby::Client#put (method)">#put</a></span>
120
132
  <small>RestBaby::Client</small>
@@ -122,19 +134,19 @@
122
134
 
123
135
 
124
136
  <li class="r2 ">
125
- <span class='object_link'><a href="RestBaby/Client.html#set_auth-instance_method" title="RestBaby::Client#set_auth (method)">#set_auth</a></span>
137
+ <span class='object_link'><a href="RestBaby/Client.html#request-instance_method" title="RestBaby::Client#request (method)">#request</a></span>
126
138
  <small>RestBaby::Client</small>
127
139
  </li>
128
140
 
129
141
 
130
142
  <li class="r1 ">
131
- <span class='object_link'><a href="RestBaby/Client.html#set_headers-instance_method" title="RestBaby::Client#set_headers (method)">#set_headers</a></span>
143
+ <span class='object_link'><a href="RestBaby/Client.html#set_auth-instance_method" title="RestBaby::Client#set_auth (method)">#set_auth</a></span>
132
144
  <small>RestBaby::Client</small>
133
145
  </li>
134
146
 
135
147
 
136
148
  <li class="r2 ">
137
- <span class='object_link'><a href="RestBaby/Client.html#set_verbose-instance_method" title="RestBaby::Client#set_verbose (method)">#set_verbose</a></span>
149
+ <span class='object_link'><a href="RestBaby/Client.html#set_headers-instance_method" title="RestBaby::Client#set_headers (method)">#set_headers</a></span>
138
150
  <small>RestBaby::Client</small>
139
151
  </li>
140
152
 
@@ -146,14 +158,8 @@
146
158
 
147
159
 
148
160
  <li class="r2 ">
149
- <span class='object_link'><a href="RestBaby/Client.html#user-instance_method" title="RestBaby::Client#user (method)">#user</a></span>
150
- <small>RestBaby::Client</small>
151
- </li>
152
-
153
-
154
- <li class="r1 ">
155
- <span class='object_link'><a href="RestBaby/Client.html#wsresponse-instance_method" title="RestBaby::Client#wsresponse (method)">#wsresponse</a></span>
156
- <small>RestBaby::Client</small>
161
+ <span class='object_link'><a href="PinchRestService.html#store_msg-instance_method" title="PinchRestService#store_msg (method)">#store_msg</a></span>
162
+ <small>PinchRestService</small>
157
163
  </li>
158
164
 
159
165