rest_baby 0.2 → 0.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.
- checksums.yaml +4 -4
- data/ChangeLog +6 -1
- data/Gemfile +3 -1
- data/cucumber.yml +1 -1
- data/doc/MockRestService.html +5 -13
- data/doc/RestBaby/Client.html +13 -13
- data/doc/RestBaby.html +1 -1
- data/doc/_index.html +4 -45
- data/doc/class_list.html +1 -1
- data/doc/css/style.css +1 -1
- data/doc/feature_list.html +39 -39
- data/doc/file.README.html +5 -5
- data/doc/frames.html +5 -7
- data/doc/index.html +5 -5
- data/doc/js/app.js +7 -2
- data/doc/method_list.html +20 -26
- data/doc/requirements/features/headers/header_options.html +45 -33
- data/doc/requirements/features/headers.html +5 -4
- data/doc/requirements/features/print_response.html +26 -138
- data/doc/requirements/features/rest_client.html +23 -23
- data/doc/requirements/features.html +9 -8
- data/doc/requirements/step_transformers.html +206 -222
- data/doc/requirements/tags/authentication.html +3 -3
- data/doc/requirements/tags/core.html +3 -3
- data/doc/requirements/tags/delete.html +3 -3
- data/doc/requirements/tags/extended.html +3 -3
- data/doc/requirements/tags/get.html +3 -3
- data/doc/requirements/tags/headers.html +3 -3
- data/doc/requirements/tags/post.html +3 -3
- data/doc/requirements/tags/print.html +3 -3
- data/doc/requirements/tags/put.html +3 -3
- data/doc/requirements/tags/wip.html +187 -0
- data/doc/requirements/tags.html +40 -39
- data/doc/requirements.html +10 -9
- data/doc/step_list.html +166 -210
- data/doc/stepdefinition_list.html +36 -36
- data/doc/tag_list.html +12 -6
- data/doc/top-level-namespace.html +5 -14
- data/features/headers/header_options.feature +9 -9
- data/features/print_response.feature +0 -25
- data/features/step_definitions/header_steps.rb +8 -3
- data/features/step_definitions/rest_client_steps.rb +1 -6
- data/features/support/env.rb +0 -1
- data/features/support/mock_rest_service.rb +1 -5
- data/lib/rest_baby/version.rb +1 -1
- data/lib/rest_baby.rb +143 -88
- data/rest_baby.gemspec +2 -2
- metadata +28 -30
- data/doc/PinchRestService.html +0 -349
- data/features/support/pinch_rest_service.rb +0 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2417a5e7ce48344b60bee72939286960a0649c4
|
4
|
+
data.tar.gz: 0f6a77d7e017242b668bd6c8afe4f5c9c6ff731d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bab5d7ebd45a37d38006766307a0a48952cefcc29182106c6a043ea9162cd5b408d44eae4fdc1af3934688e3ee74b6d7b8e6e8a6cd299a0d54bf2428385f8bd8
|
7
|
+
data.tar.gz: 4c376a70b43ac83e55fcfe92474267f0f40bf6ef697685a5703308cd69a838d162416007a0fd9f7502d6d4b4c50f9689be3b28c084ec9610e1d9f41b0511acef
|
data/ChangeLog
CHANGED
@@ -10,4 +10,9 @@
|
|
10
10
|
* Add generated rdoc
|
11
11
|
* Fixed some README comments
|
12
12
|
* Removed duplicate license file
|
13
|
-
* Removed unnecessary attr_accessor entries from rest_baby.rb
|
13
|
+
* Removed unnecessary attr_accessor entries from rest_baby.rb
|
14
|
+
* Removed unused parameter from rest_baby client calls to rest services.
|
15
|
+
=== Version 0.3 / 2013-02-13
|
16
|
+
* Updated to use markdown for comments
|
17
|
+
* Revised authentication
|
18
|
+
* Added output optional using HTTP_DEBUG=TRUE or FALSE
|
data/Gemfile
CHANGED
data/cucumber.yml
CHANGED
@@ -1,4 +1,4 @@
|
|
1
1
|
default: FIG_NEWTON_FILE=mock.yml --tags ~@wip --no-source --color --format pretty
|
2
|
-
report: FIG_NEWTON_FILE=mock.yml --no-source --color --format progress --format html --out=
|
2
|
+
report: FIG_NEWTON_FILE=mock.yml --no-source --color --format progress --format html --out='features_<%= Time.new.strftime('%Y-%m-%d_%H_%M_%S') %>.html'
|
3
3
|
wip: FIG_NEWTON_FILE=mock.yml --tags @wip --color --format pretty
|
4
4
|
core: FIG_NEWTON_FILE=mock.yml --tags @core --no-source --color --format pretty
|
data/doc/MockRestService.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: MockRestService
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7
|
9
|
+
— Documentation by YARD 0.8.7.3
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -303,11 +303,7 @@
|
|
303
303
|
30
|
304
304
|
31
|
305
305
|
32
|
306
|
-
33
|
307
|
-
34
|
308
|
-
35
|
309
|
-
36
|
310
|
-
37</pre>
|
306
|
+
33</pre>
|
311
307
|
</td>
|
312
308
|
<td>
|
313
309
|
<pre class="code"><span class="info file"># File 'features/support/mock_rest_service.rb', line 18</span>
|
@@ -317,13 +313,9 @@
|
|
317
313
|
<span class='id identifier rubyid_auth_string'>auth_string</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</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'>"</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>
|
318
314
|
<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>
|
319
315
|
<span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>get</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>delete</span><span class='tstring_end'>"</span></span>
|
320
|
-
<span class='
|
321
|
-
</span> <span class='comment'># with(:headers => new_headers).
|
322
|
-
</span> <span class='comment'># to_return({:body => "#{message}", :status => 200}, :headers => {})
|
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'>"</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'>"</span></span><span class='rparen'>)</span><span class='period'>.</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'>"</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'>"</span></span><span class='rparen'>)</span><span class='period'>.</span>
|
324
317
|
<span class='id identifier rubyid_with'>with</span><span class='lparen'>(</span><span class='symbol'>:headers</span> <span class='op'>=></span> <span class='id identifier rubyid_new_headers'>new_headers</span><span class='rparen'>)</span><span class='period'>.</span>
|
325
318
|
<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'>=></span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_message'>message</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='symbol'>:status</span> <span class='op'>=></span> <span class='int'>200</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='symbol'>:headers</span> <span class='op'>=></span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
326
|
-
|
327
319
|
<span class='kw'>when</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>post</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>put</span><span class='tstring_end'>"</span></span>
|
328
320
|
<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'>"</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'>"</span></span><span class='rparen'>)</span><span class='period'>.</span>
|
329
321
|
<span class='id identifier rubyid_with'>with</span><span class='lparen'>(</span><span class='symbol'>:headers</span> <span class='op'>=></span> <span class='id identifier rubyid_new_headers'>new_headers</span><span class='rparen'>)</span><span class='period'>.</span>
|
@@ -342,9 +334,9 @@
|
|
342
334
|
</div>
|
343
335
|
|
344
336
|
<div id="footer">
|
345
|
-
Generated on
|
337
|
+
Generated on Thu Feb 13 23:38:39 2014 by
|
346
338
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
347
|
-
0.8.7 (ruby-2.0.0).
|
339
|
+
0.8.7.3 (ruby-2.0.0).
|
348
340
|
</div>
|
349
341
|
|
350
342
|
</body>
|
data/doc/RestBaby/Client.html
CHANGED
@@ -157,7 +157,7 @@
|
|
157
157
|
<li class="public ">
|
158
158
|
<span class="summary_signature">
|
159
159
|
|
160
|
-
<a href="#delete-instance_method" title="#delete (instance method)">- (Object) <strong>delete</strong>(
|
160
|
+
<a href="#delete-instance_method" title="#delete (instance method)">- (Object) <strong>delete</strong>(headers = {}) </a>
|
161
161
|
|
162
162
|
|
163
163
|
|
@@ -181,7 +181,7 @@
|
|
181
181
|
<li class="public ">
|
182
182
|
<span class="summary_signature">
|
183
183
|
|
184
|
-
<a href="#get-instance_method" title="#get (instance method)">- (Object) <strong>get</strong>(
|
184
|
+
<a href="#get-instance_method" title="#get (instance method)">- (Object) <strong>get</strong>(headers = {}) </a>
|
185
185
|
|
186
186
|
|
187
187
|
|
@@ -253,7 +253,7 @@
|
|
253
253
|
<li class="public ">
|
254
254
|
<span class="summary_signature">
|
255
255
|
|
256
|
-
<a href="#post-instance_method" title="#post (instance method)">- (Object) <strong>post</strong>(
|
256
|
+
<a href="#post-instance_method" title="#post (instance method)">- (Object) <strong>post</strong>(body = nil, headers = {}) </a>
|
257
257
|
|
258
258
|
|
259
259
|
|
@@ -301,7 +301,7 @@
|
|
301
301
|
<li class="public ">
|
302
302
|
<span class="summary_signature">
|
303
303
|
|
304
|
-
<a href="#put-instance_method" title="#put (instance method)">- (Object) <strong>put</strong>(
|
304
|
+
<a href="#put-instance_method" title="#put (instance method)">- (Object) <strong>put</strong>(body = nil, headers = {}) </a>
|
305
305
|
|
306
306
|
|
307
307
|
|
@@ -469,7 +469,7 @@ href="http://myrestservice.com:80/time">myrestservice.com:80/time</a></p>
|
|
469
469
|
<div class="method_details first">
|
470
470
|
<h3 class="signature first" id="delete-instance_method">
|
471
471
|
|
472
|
-
- (<tt>Object</tt>) <strong>delete</strong>(
|
472
|
+
- (<tt>Object</tt>) <strong>delete</strong>(headers = {})
|
473
473
|
|
474
474
|
|
475
475
|
|
@@ -507,7 +507,7 @@ Content-Type</p>
|
|
507
507
|
<td>
|
508
508
|
<pre class="code"><span class="info file"># File 'lib/rest_baby.rb', line 79</span>
|
509
509
|
|
510
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='id identifier
|
510
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
511
511
|
<span class='kw'>return</span> <span class='id identifier rubyid_request'>request</span><span class='lparen'>(</span><span class='ivar'>@uri</span><span class='comma'>,</span> <span class='const'>Net</span><span class='op'>::</span><span class='const'>HTTP</span><span class='op'>::</span><span class='const'>Delete</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='ivar'>@uri</span><span class='period'>.</span><span class='id identifier rubyid_request_uri'>request_uri</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
512
512
|
<span class='kw'>end</span></pre>
|
513
513
|
</td>
|
@@ -518,7 +518,7 @@ Content-Type</p>
|
|
518
518
|
<div class="method_details ">
|
519
519
|
<h3 class="signature " id="get-instance_method">
|
520
520
|
|
521
|
-
- (<tt>Object</tt>) <strong>get</strong>(
|
521
|
+
- (<tt>Object</tt>) <strong>get</strong>(headers = {})
|
522
522
|
|
523
523
|
|
524
524
|
|
@@ -556,7 +556,7 @@ Content-Type</p>
|
|
556
556
|
<td>
|
557
557
|
<pre class="code"><span class="info file"># File 'lib/rest_baby.rb', line 58</span>
|
558
558
|
|
559
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier
|
559
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
560
560
|
<span class='kw'>return</span> <span class='id identifier rubyid_request'>request</span><span class='lparen'>(</span><span class='ivar'>@uri</span><span class='comma'>,</span> <span class='const'>Net</span><span class='op'>::</span><span class='const'>HTTP</span><span class='op'>::</span><span class='const'>Get</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='ivar'>@uri</span><span class='period'>.</span><span class='id identifier rubyid_request_uri'>request_uri</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
561
561
|
<span class='kw'>end</span></pre>
|
562
562
|
</td>
|
@@ -597,7 +597,7 @@ Content-Type</p>
|
|
597
597
|
<div class="method_details ">
|
598
598
|
<h3 class="signature " id="post-instance_method">
|
599
599
|
|
600
|
-
- (<tt>Object</tt>) <strong>post</strong>(
|
600
|
+
- (<tt>Object</tt>) <strong>post</strong>(body = nil, headers = {})
|
601
601
|
|
602
602
|
|
603
603
|
|
@@ -637,7 +637,7 @@ Content-Type</p>
|
|
637
637
|
<td>
|
638
638
|
<pre class="code"><span class="info file"># File 'lib/rest_baby.rb', line 69</span>
|
639
639
|
|
640
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_post'>post</span><span class='lparen'>(</span><span class='id identifier
|
640
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_post'>post</span><span class='lparen'>(</span><span class='id identifier rubyid_body'>body</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
641
641
|
<span class='kw'>return</span> <span class='id identifier rubyid_request'>request</span><span class='lparen'>(</span><span class='ivar'>@uri</span><span class='comma'>,</span> <span class='const'>Net</span><span class='op'>::</span><span class='const'>HTTP</span><span class='op'>::</span><span class='const'>Post</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='ivar'>@uri</span><span class='period'>.</span><span class='id identifier rubyid_request_uri'>request_uri</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_body'>body</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
642
642
|
<span class='kw'>end</span></pre>
|
643
643
|
</td>
|
@@ -709,7 +709,7 @@ Content-Type</p>
|
|
709
709
|
<div class="method_details ">
|
710
710
|
<h3 class="signature " id="put-instance_method">
|
711
711
|
|
712
|
-
- (<tt>Object</tt>) <strong>put</strong>(
|
712
|
+
- (<tt>Object</tt>) <strong>put</strong>(body = nil, headers = {})
|
713
713
|
|
714
714
|
|
715
715
|
|
@@ -749,7 +749,7 @@ Content-Type</p>
|
|
749
749
|
<td>
|
750
750
|
<pre class="code"><span class="info file"># File 'lib/rest_baby.rb', line 90</span>
|
751
751
|
|
752
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='id identifier
|
752
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='id identifier rubyid_body'>body</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
753
753
|
<span class='kw'>return</span> <span class='id identifier rubyid_request'>request</span><span class='lparen'>(</span><span class='ivar'>@uri</span><span class='comma'>,</span> <span class='const'>Net</span><span class='op'>::</span><span class='const'>HTTP</span><span class='op'>::</span><span class='const'>Put</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='ivar'>@uri</span><span class='period'>.</span><span class='id identifier rubyid_request_uri'>request_uri</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_body'>body</span><span class='comma'>,</span> <span class='id identifier rubyid_headers'>headers</span><span class='rparen'>)</span>
|
754
754
|
<span class='kw'>end</span></pre>
|
755
755
|
</td>
|
@@ -927,7 +927,7 @@ Content-Type</p>
|
|
927
927
|
</div>
|
928
928
|
|
929
929
|
<div id="footer">
|
930
|
-
Generated on
|
930
|
+
Generated on Sat Aug 10 17:19:41 2013 by
|
931
931
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
932
932
|
0.8.7 (ruby-2.0.0).
|
933
933
|
</div>
|
data/doc/RestBaby.html
CHANGED
@@ -161,7 +161,7 @@ creating and using the rest service.</p>
|
|
161
161
|
</div>
|
162
162
|
|
163
163
|
<div id="footer">
|
164
|
-
Generated on
|
164
|
+
Generated on Sat Aug 10 17:19:41 2013 by
|
165
165
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
166
166
|
0.8.7 (ruby-2.0.0).
|
167
167
|
</div>
|
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
|
7
|
+
Documentation by YARD 0.8.7.3
|
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</h1>
|
88
|
+
<div id="content"><h1 class="noborder title">Documentation by YARD 0.8.7.3</h1>
|
89
89
|
<div id="listing">
|
90
90
|
<h1 class="alphaindex">Alphabetic Index</h1>
|
91
91
|
|
@@ -111,21 +111,6 @@
|
|
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
|
-
|
129
114
|
<ul id="alpha_M" class="alpha">
|
130
115
|
<li class="letter">M</li>
|
131
116
|
<ul>
|
@@ -138,32 +123,6 @@
|
|
138
123
|
</ul>
|
139
124
|
</ul>
|
140
125
|
|
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
126
|
</td>
|
168
127
|
</tr>
|
169
128
|
</table>
|
@@ -173,9 +132,9 @@
|
|
173
132
|
</div>
|
174
133
|
|
175
134
|
<div id="footer">
|
176
|
-
Generated on
|
135
|
+
Generated on Thu Feb 13 23:38:38 2014 by
|
177
136
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
178
|
-
0.8.7 (ruby-2.0.0).
|
137
|
+
0.8.7.3 (ruby-2.0.0).
|
179
138
|
</div>
|
180
139
|
|
181
140
|
</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> < 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> < Object<small class='search_info'>Top Level Namespace</small></li>
|
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,
|
327
328
|
pre.code .symbol { color: #C5060B; }
|
328
329
|
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; }
|
data/doc/feature_list.html
CHANGED
@@ -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/
|
77
|
-
<small>features/
|
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>
|
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/
|
86
|
-
title="client
|
87
|
-
client
|
85
|
+
<a href="requirements/features/rest_client.html#scenario_0"
|
86
|
+
title="client rest GET">
|
87
|
+
client rest GET
|
88
88
|
</a>
|
89
89
|
</span>
|
90
|
-
<small>features/
|
90
|
+
<small>features/rest_client.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/
|
97
|
-
title="client
|
98
|
-
client
|
96
|
+
<a href="requirements/features/rest_client.html#scenario_1"
|
97
|
+
title="client rest PUT">
|
98
|
+
client rest PUT
|
99
99
|
</a>
|
100
100
|
</span>
|
101
|
-
<small>features/
|
101
|
+
<small>features/rest_client.feature:12</small>
|
102
102
|
</li>
|
103
103
|
|
104
104
|
|
105
105
|
<li class="r1">
|
106
106
|
<span class='object_link'>
|
107
|
-
<a href="requirements/features/
|
108
|
-
title="client
|
109
|
-
client
|
107
|
+
<a href="requirements/features/rest_client.html#scenario_2"
|
108
|
+
title="client rest POST">
|
109
|
+
client rest POST
|
110
110
|
</a>
|
111
111
|
</span>
|
112
|
-
<small>features/
|
112
|
+
<small>features/rest_client.feature:23</small>
|
113
113
|
</li>
|
114
114
|
|
115
115
|
|
116
116
|
<li class="r2">
|
117
117
|
<span class='object_link'>
|
118
|
-
<a href="requirements/features/
|
119
|
-
title="client
|
120
|
-
client
|
118
|
+
<a href="requirements/features/rest_client.html#scenario_3"
|
119
|
+
title="client rest DELETE">
|
120
|
+
client rest DELETE
|
121
121
|
</a>
|
122
122
|
</span>
|
123
|
-
<small>features/
|
123
|
+
<small>features/rest_client.feature:34</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:
|
157
|
+
<small>features/print_response.feature:16</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:
|
168
|
+
<small>features/print_response.feature:30</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:
|
179
|
+
<small>features/print_response.feature:44</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/
|
189
|
-
<small>features/
|
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>
|
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/
|
198
|
-
title="client
|
199
|
-
client
|
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
|
200
200
|
</a>
|
201
201
|
</span>
|
202
|
-
<small>features/
|
202
|
+
<small>features/headers/header_options.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/
|
209
|
-
title="client
|
210
|
-
client
|
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
|
211
211
|
</a>
|
212
212
|
</span>
|
213
|
-
<small>features/
|
213
|
+
<small>features/headers/header_options.feature:15</small>
|
214
214
|
</li>
|
215
215
|
|
216
216
|
|
217
217
|
<li class="r1">
|
218
218
|
<span class='object_link'>
|
219
|
-
<a href="requirements/features/
|
220
|
-
title="client
|
221
|
-
client
|
219
|
+
<a href="requirements/features/headers/header_options.html#scenario_2"
|
220
|
+
title="client uses basic authentication">
|
221
|
+
client uses basic authentication
|
222
222
|
</a>
|
223
223
|
</span>
|
224
|
-
<small>features/
|
224
|
+
<small>features/headers/header_options.feature:31</small>
|
225
225
|
</li>
|
226
226
|
|
227
227
|
|
228
228
|
<li class="r2">
|
229
229
|
<span class='object_link'>
|
230
|
-
<a href="requirements/features/
|
231
|
-
title="client
|
232
|
-
client
|
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
|
233
233
|
</a>
|
234
234
|
</span>
|
235
|
-
<small>features/
|
235
|
+
<small>features/headers/header_options.feature:40</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
|
-
— Documentation by YARD 0.8.7
|
9
|
+
— Documentation by YARD 0.8.7.3
|
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"
|
106
|
+
<pre class="code ruby"><code class="ruby">$ bundle</code></pre>
|
107
107
|
|
108
108
|
<p>Or install it yourself as:</p>
|
109
109
|
|
110
|
-
<pre class="code ruby"><code class="ruby"
|
110
|
+
<pre class="code ruby"><code class="ruby">$ gem install rest_baby</code></pre>
|
111
111
|
|
112
112
|
<h2 id="label-Contributing">Contributing</h2>
|
113
113
|
<ol><li>
|
@@ -125,9 +125,9 @@ feature'</code>)</p>
|
|
125
125
|
</div></div>
|
126
126
|
|
127
127
|
<div id="footer">
|
128
|
-
Generated on
|
128
|
+
Generated on Thu Feb 13 23:38:39 2014 by
|
129
129
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
130
|
-
0.8.7 (ruby-2.0.0).
|
130
|
+
0.8.7.3 (ruby-2.0.0).
|
131
131
|
</div>
|
132
132
|
|
133
133
|
</body>
|
data/doc/frames.html
CHANGED
@@ -4,18 +4,16 @@
|
|
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</title>
|
7
|
+
<title>Documentation by YARD 0.8.7.3</title>
|
8
8
|
</head>
|
9
9
|
<script type="text/javascript" charset="utf-8">
|
10
10
|
window.onload = function() {
|
11
|
-
var match = window.location.hash.match(/^#!(.+)/);
|
12
|
-
var name = 'index.html';
|
13
|
-
|
14
|
-
name = unescape(match[1]);
|
15
|
-
}
|
11
|
+
var match = unescape(window.location.hash).match(/^#!(.+)/);
|
12
|
+
var name = match ? match[1] : 'index.html';
|
13
|
+
name = name.replace(/^(\w+):\/\//, '').replace(/^\/\//, '');
|
16
14
|
document.writeln('<frameset cols="20%,*">' +
|
17
15
|
'<frame name="list" src="class_list.html" />' +
|
18
|
-
'<frame name="main" src="' + name + '" />' +
|
16
|
+
'<frame name="main" src="' + escape(name) + '" />' +
|
19
17
|
'</frameset>');
|
20
18
|
}
|
21
19
|
</script>
|
data/doc/index.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
File: README
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7
|
9
|
+
— Documentation by YARD 0.8.7.3
|
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"
|
106
|
+
<pre class="code ruby"><code class="ruby">$ bundle</code></pre>
|
107
107
|
|
108
108
|
<p>Or install it yourself as:</p>
|
109
109
|
|
110
|
-
<pre class="code ruby"><code class="ruby"
|
110
|
+
<pre class="code ruby"><code class="ruby">$ gem install rest_baby</code></pre>
|
111
111
|
|
112
112
|
<h2 id="label-Contributing">Contributing</h2>
|
113
113
|
<ol><li>
|
@@ -125,9 +125,9 @@ feature'</code>)</p>
|
|
125
125
|
</div></div>
|
126
126
|
|
127
127
|
<div id="footer">
|
128
|
-
Generated on
|
128
|
+
Generated on Thu Feb 13 23:38:39 2014 by
|
129
129
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
130
|
-
0.8.7 (ruby-2.0.0).
|
130
|
+
0.8.7.3 (ruby-2.0.0).
|
131
131
|
</div>
|
132
132
|
|
133
133
|
</body>
|