crapi 0.1.3 → 1.0.1

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.
data/docs/CrAPI.html ADDED
@@ -0,0 +1,157 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Module: CrAPI
8
+
9
+ &mdash; Documentation by YARD 0.9.44
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css">
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css">
16
+
17
+ <script type="text/javascript">
18
+ pathId = "CrAPI";
19
+ relpath = '';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div id="main_progress" aria-hidden="true"></div>
31
+
32
+ <div class="nav_wrap">
33
+ <iframe id="nav" src="class_list.html?1"></iframe>
34
+ <div id="resizer"></div>
35
+ </div>
36
+
37
+ <div id="main" tabindex="-1">
38
+ <div id="header">
39
+ <div id="menu">
40
+
41
+ <a href="_index.html">Index (C)</a> &raquo;
42
+
43
+
44
+ <span class="title">CrAPI</span>
45
+
46
+ </div>
47
+
48
+ <div id="search">
49
+
50
+ <a class="full_list_link" id="class_list_link"
51
+ href="class_list.html">
52
+
53
+ <svg width="24" height="24">
54
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
55
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
56
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
57
+ </svg>
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <div id="content"><h1>Module: CrAPI
65
+
66
+
67
+
68
+ </h1>
69
+ <div class="box_info">
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+ <dl>
82
+ <dt>Defined in:</dt>
83
+ <dd>lib/crapi.rb<span class="defines">,<br>
84
+ lib/crapi/proxy.rb,<br> lib/crapi/client.rb,<br> lib/crapi/errors.rb,<br> lib/crapi/version.rb</span>
85
+
86
+ </dd>
87
+ </dl>
88
+
89
+ </div>
90
+
91
+ <h2>Overview</h2><div class="docstring">
92
+ <div class="discussion">
93
+ <p>The CrAPI module houses the <span class='object_link'><a href="CrAPI/Client.html" title="CrAPI::Client (class)">CrAPI::Client</a></span> and <span class='object_link'><a href="CrAPI/Proxy.html" title="CrAPI::Proxy (class)">CrAPI::Proxy</a></span> classes
94
+ in this gem.</p>
95
+
96
+ </div>
97
+ </div>
98
+ <div class="tags">
99
+
100
+
101
+ </div><h2>Defined Under Namespace</h2>
102
+ <p class="children">
103
+
104
+
105
+
106
+
107
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="CrAPI/ArgumentError.html" title="CrAPI::ArgumentError (class)">ArgumentError</a></span>, <span class='object_link'><a href="CrAPI/BadHttpResponseError.html" title="CrAPI::BadHttpResponseError (class)">BadHttpResponseError</a></span>, <span class='object_link'><a href="CrAPI/Client.html" title="CrAPI::Client (class)">Client</a></span>, <span class='object_link'><a href="CrAPI/Error.html" title="CrAPI::Error (class)">Error</a></span>, <span class='object_link'><a href="CrAPI/Proxy.html" title="CrAPI::Proxy (class)">Proxy</a></span>
108
+
109
+
110
+ </p>
111
+
112
+
113
+ <h2>
114
+ Constant Summary
115
+ <small><a href="#" class="constants_summary_toggle">collapse</a></small>
116
+ </h2>
117
+
118
+ <dl class="constants">
119
+
120
+ <dt id="VERSION-constant" class="">VERSION =
121
+ <div class="docstring">
122
+ <div class="discussion">
123
+ <p>The canonical <strong>crapi</strong> gem version.</p>
124
+ <p>This should only ever be updated <em>immediately</em> before a release; the commit that updates this
125
+ value should be pushed <strong>by</strong> the <code>rake release</code> process.</p>
126
+
127
+ </div>
128
+ </div>
129
+ <div class="tags">
130
+
131
+
132
+ </div>
133
+ </dt>
134
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>1.0.1</span><span class='tstring_end'>&#39;</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
135
+
136
+ </dl>
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+ </div>
148
+
149
+ <div id="footer">
150
+ Generated on Sun Jul 5 14:46:38 2026 by
151
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
152
+ 0.9.44 (ruby-3.4.8).
153
+ </div>
154
+
155
+ </div>
156
+ </body>
157
+ </html>
data/docs/Net/HTTP.html CHANGED
@@ -6,15 +6,15 @@
6
6
  <title>
7
7
  Class: Net::HTTP
8
8
 
9
- &mdash; Documentation by YARD 0.9.12
9
+ &mdash; Documentation by YARD 0.9.44
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css">
14
14
 
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css">
16
16
 
17
- <script type="text/javascript" charset="utf-8">
17
+ <script type="text/javascript">
18
18
  pathId = "Net::HTTP";
19
19
  relpath = '../';
20
20
  </script>
@@ -27,6 +27,8 @@
27
27
 
28
28
  </head>
29
29
  <body>
30
+ <div id="main_progress" aria-hidden="true"></div>
31
+
30
32
  <div class="nav_wrap">
31
33
  <iframe id="nav" src="../class_list.html?1"></iframe>
32
34
  <div id="resizer"></div>
@@ -37,7 +39,7 @@
37
39
  <div id="menu">
38
40
 
39
41
  <a href="../_index.html">Index (H)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../Crapi.html" title="Crapi (module)">Crapi</a></span></span> &raquo; <span class='title'>Net</span>
42
+ <span class='title'><span class='object_link'><a href="../CrAPI.html" title="CrAPI (module)">CrAPI</a></span></span> &raquo; <span class='title'>Net</span>
41
43
  &raquo;
42
44
  <span class="title">HTTP</span>
43
45
 
@@ -94,17 +96,15 @@
94
96
 
95
97
  <dl>
96
98
  <dt>Defined in:</dt>
97
- <dd>lib/crapi/client.rb</dd>
99
+ <dd>lib/crapi/client.rb
100
+ </dd>
98
101
  </dl>
99
102
 
100
103
  </div>
101
104
 
102
105
  <h2>Overview</h2><div class="docstring">
103
106
  <div class="discussion">
104
-
105
- <p>Net::HTTP needs a shortcut instance method for PUT calls like it does for
106
- GET/DELETE/PATCH/POST.</p>
107
-
107
+ <p>Net::HTTP needs a shortcut instance method for PUT calls like it does for GET/DELETE/PATCH/POST.</p>
108
108
 
109
109
  </div>
110
110
  </div>
@@ -143,14 +143,13 @@ GET/DELETE/PATCH/POST.</p>
143
143
 
144
144
 
145
145
 
146
- <span class="summary_desc"><div class='inline'>
147
- <p>Convenience PUT method monkey-patched into Net::HTTP.</p>
148
- </div></span>
146
+ <span class="summary_desc"><div class='inline'><p>Convenience PUT method monkey-patched into Net::HTTP.</p></div></span>
149
147
 
150
148
  </li>
151
149
 
152
150
 
153
151
  </ul>
152
+
154
153
 
155
154
 
156
155
 
@@ -170,14 +169,10 @@ GET/DELETE/PATCH/POST.</p>
170
169
 
171
170
  </h3><div class="docstring">
172
171
  <div class="discussion">
173
-
174
- <p>Convenience PUT method monkey-patched into Net::HTTP.</p>
175
-
176
- <p>Net::HTTP provides handy methods for DELETE, GET, HEAD, OPTIONS, PATCH, and
177
- POST, <strong>but not PUT</strong>, so we have to monkey-patch one in. The
178
- parameters listed below were chosen to match those in use for the other
179
- Net::HTTP request methods in both name and meaning.</p>
180
-
172
+ <p>Convenience PUT method monkey-patched into Net::HTTP.</p>
173
+ <p>Net::HTTP provides handy methods for DELETE, GET, HEAD, OPTIONS, PATCH, and POST, <strong>but not
174
+ PUT</strong>, so we have to monkey-patch one in. The parameters listed below were chosen to match
175
+ those in use for the other Net::HTTP request methods in both name and meaning.</p>
181
176
 
182
177
  </div>
183
178
  </div>
@@ -262,12 +257,12 @@ Net::HTTP request methods in both name and meaning.</p>
262
257
  <pre class="lines">
263
258
 
264
259
 
265
- 357
266
- 358
267
- 359</pre>
260
+ 353
261
+ 354
262
+ 355</pre>
268
263
  </td>
269
264
  <td>
270
- <pre class="code"><span class="info file"># File 'lib/crapi/client.rb', line 357</span>
265
+ <pre class="code"><span class="info file"># File 'lib/crapi/client.rb', line 353</span>
271
266
 
272
267
  <span class='kw'>def</span> <span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='comma'>,</span> <span class='id identifier rubyid_data'>data</span><span class='comma'>,</span> <span class='id identifier rubyid_initheader'>initheader</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_dest'>dest</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
273
268
  <span class='id identifier rubyid_send_entity'>send_entity</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='comma'>,</span> <span class='id identifier rubyid_data'>data</span><span class='comma'>,</span> <span class='id identifier rubyid_initheader'>initheader</span><span class='comma'>,</span> <span class='id identifier rubyid_dest'>dest</span><span class='comma'>,</span> <span class='const'>Put</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
@@ -282,11 +277,11 @@ Net::HTTP request methods in both name and meaning.</p>
282
277
  </div>
283
278
 
284
279
  <div id="footer">
285
- Generated on Wed May 30 11:27:03 2018 by
286
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
287
- 0.9.12 (ruby-2.5.1).
280
+ Generated on Sun Jul 5 14:46:38 2026 by
281
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
282
+ 0.9.44 (ruby-3.4.8).
288
283
  </div>
289
284
 
290
285
  </div>
291
286
  </body>
292
- </html>
287
+ </html>
data/docs/_index.html CHANGED
@@ -4,15 +4,15 @@
4
4
  <meta charset="utf-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>
7
- Documentation by YARD 0.9.12
7
+ Documentation by YARD 0.9.44
8
8
 
9
9
  </title>
10
10
 
11
- <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
11
+ <link rel="stylesheet" href="css/style.css" type="text/css">
12
12
 
13
- <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
13
+ <link rel="stylesheet" href="css/common.css" type="text/css">
14
14
 
15
- <script type="text/javascript" charset="utf-8">
15
+ <script type="text/javascript">
16
16
  pathId = null;
17
17
  relpath = '';
18
18
  </script>
@@ -25,6 +25,8 @@
25
25
 
26
26
  </head>
27
27
  <body>
28
+ <div id="main_progress" aria-hidden="true"></div>
29
+
28
30
  <div class="nav_wrap">
29
31
  <iframe id="nav" src="class_list.html?1"></iframe>
30
32
  <div id="resizer"></div>
@@ -52,7 +54,7 @@
52
54
  <div class="clear"></div>
53
55
  </div>
54
56
 
55
- <div id="content"><h1 class="noborder title">Documentation by YARD 0.9.12</h1>
57
+ <div id="content"><h1 class="noborder title">Documentation by YARD 0.9.44</h1>
56
58
  <div id="listing">
57
59
  <h1 class="alphaindex">Alphabetic Index</h1>
58
60
 
@@ -81,9 +83,9 @@
81
83
  <ul>
82
84
 
83
85
  <li>
84
- <span class='object_link'><a href="Crapi/ArgumentError.html" title="Crapi::ArgumentError (class)">ArgumentError</a></span>
86
+ <span class='object_link'><a href="CrAPI/ArgumentError.html" title="CrAPI::ArgumentError (class)">ArgumentError</a></span>
85
87
 
86
- <small>(Crapi)</small>
88
+ <small>(CrAPI)</small>
87
89
 
88
90
  </li>
89
91
 
@@ -96,9 +98,9 @@
96
98
  <ul>
97
99
 
98
100
  <li>
99
- <span class='object_link'><a href="Crapi/BadHttpResponseError.html" title="Crapi::BadHttpResponseError (class)">BadHttpResponseError</a></span>
101
+ <span class='object_link'><a href="CrAPI/BadHttpResponseError.html" title="CrAPI::BadHttpResponseError (class)">BadHttpResponseError</a></span>
100
102
 
101
- <small>(Crapi)</small>
103
+ <small>(CrAPI)</small>
102
104
 
103
105
  </li>
104
106
 
@@ -111,14 +113,14 @@
111
113
  <ul>
112
114
 
113
115
  <li>
114
- <span class='object_link'><a href="Crapi/Client.html" title="Crapi::Client (class)">Client</a></span>
116
+ <span class='object_link'><a href="CrAPI/Client.html" title="CrAPI::Client (class)">Client</a></span>
115
117
 
116
- <small>(Crapi)</small>
118
+ <small>(CrAPI)</small>
117
119
 
118
120
  </li>
119
121
 
120
122
  <li>
121
- <span class='object_link'><a href="Crapi.html" title="Crapi (module)">Crapi</a></span>
123
+ <span class='object_link'><a href="CrAPI.html" title="CrAPI (module)">CrAPI</a></span>
122
124
 
123
125
  </li>
124
126
 
@@ -131,9 +133,9 @@
131
133
  <ul>
132
134
 
133
135
  <li>
134
- <span class='object_link'><a href="Crapi/Error.html" title="Crapi::Error (class)">Error</a></span>
136
+ <span class='object_link'><a href="CrAPI/Error.html" title="CrAPI::Error (class)">Error</a></span>
135
137
 
136
- <small>(Crapi)</small>
138
+ <small>(CrAPI)</small>
137
139
 
138
140
  </li>
139
141
 
@@ -161,9 +163,9 @@
161
163
  <ul>
162
164
 
163
165
  <li>
164
- <span class='object_link'><a href="Crapi/Proxy.html" title="Crapi::Proxy (class)">Proxy</a></span>
166
+ <span class='object_link'><a href="CrAPI/Proxy.html" title="CrAPI::Proxy (class)">Proxy</a></span>
165
167
 
166
- <small>(Crapi)</small>
168
+ <small>(CrAPI)</small>
167
169
 
168
170
  </li>
169
171
 
@@ -179,11 +181,11 @@
179
181
  </div>
180
182
 
181
183
  <div id="footer">
182
- Generated on Wed May 30 11:27:01 2018 by
183
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
184
- 0.9.12 (ruby-2.5.1).
184
+ Generated on Sun Jul 5 14:46:37 2026 by
185
+ <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
186
+ 0.9.44 (ruby-3.4.8).
185
187
  </div>
186
188
 
187
189
  </div>
188
190
  </body>
189
- </html>
191
+ </html>
data/docs/class_list.html CHANGED
@@ -1,12 +1,12 @@
1
1
  <!DOCTYPE html>
2
- <html>
2
+ <html >
3
3
  <head>
4
4
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
5
- <meta charset="utf-8" />
5
+ <meta charset="utf-8">
6
6
 
7
- <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
7
+ <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen">
8
8
 
9
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
9
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen">
10
10
 
11
11
 
12
12
 
@@ -16,7 +16,7 @@
16
16
 
17
17
 
18
18
  <title>Class List</title>
19
- <base id="base_target" target="_parent" />
19
+ <base id="base_target" target="_parent">
20
20
  </head>
21
21
  <body>
22
22
  <div id="content">
@@ -38,12 +38,15 @@
38
38
 
39
39
  </div>
40
40
 
41
- <div id="search">Search: <input type="text" /></div>
41
+ <div id="search">
42
+ <label for="search-class">Search:</label>
43
+ <input id="search-class" type="text">
44
+ </div>
42
45
  </div>
43
46
 
44
47
  <ul id="full_list" class="class">
45
48
  <li id="object_" class="odd"><div class="item" style="padding-left:30px"><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></div></li>
46
- <li id='object_Crapi' class='even'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="Crapi.html" title="Crapi (module)">Crapi</a></span><small class='search_info'>Top Level Namespace</small></div><ul><li id='object_Crapi::ArgumentError' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Crapi/ArgumentError.html" title="Crapi::ArgumentError (class)">ArgumentError</a></span> &lt; Error<small class='search_info'>Crapi</small></div></li><li id='object_Crapi::BadHttpResponseError' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Crapi/BadHttpResponseError.html" title="Crapi::BadHttpResponseError (class)">BadHttpResponseError</a></span> &lt; Error<small class='search_info'>Crapi</small></div></li><li id='object_Crapi::Client' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Crapi/Client.html" title="Crapi::Client (class)">Client</a></span> &lt; Object<small class='search_info'>Crapi</small></div></li><li id='object_Crapi::Error' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Crapi/Error.html" title="Crapi::Error (class)">Error</a></span> &lt; StandardError<small class='search_info'>Crapi</small></div></li><li id='object_Crapi::Proxy' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Crapi/Proxy.html" title="Crapi::Proxy (class)">Proxy</a></span> &lt; Object<small class='search_info'>Crapi</small></div></li></ul></li><li id='object_Net::HTTP' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="Net/HTTP.html" title="Net::HTTP (class)">Net::HTTP</a></span> &lt; Object<small class='search_info'>Net</small></div></li>
49
+ <li id='object_CrAPI' class='even'><div class='item' style='padding-left:30px'><a tabindex='0' class='toggle' role='button' aria-label='CrAPI child nodes' aria-expanded='false' aria-controls='object_CrAPI'></a> <span class='object_link'><a href="CrAPI.html" title="CrAPI (module)">CrAPI</a></span><small class='search_info'>Top Level Namespace</small></div><div aria-labelledby='object_CrAPI'><ul><li id='object_CrAPI::ArgumentError' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="CrAPI/ArgumentError.html" title="CrAPI::ArgumentError (class)">ArgumentError</a></span> &lt; Error<small class='search_info'>CrAPI</small></div></li><li id='object_CrAPI::BadHttpResponseError' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="CrAPI/BadHttpResponseError.html" title="CrAPI::BadHttpResponseError (class)">BadHttpResponseError</a></span> &lt; Error<small class='search_info'>CrAPI</small></div></li><li id='object_CrAPI::Client' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="CrAPI/Client.html" title="CrAPI::Client (class)">Client</a></span> &lt; Object<small class='search_info'>CrAPI</small></div></li><li id='object_CrAPI::Error' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="CrAPI/Error.html" title="CrAPI::Error (class)">Error</a></span> &lt; StandardError<small class='search_info'>CrAPI</small></div></li><li id='object_CrAPI::Proxy' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="CrAPI/Proxy.html" title="CrAPI::Proxy (class)">Proxy</a></span> &lt; Object<small class='search_info'>CrAPI</small></div></li></ul></div></li><li id='object_Net::HTTP' class='even'><div class='item' style='padding-left:30px'><span class='object_link'><a href="Net/HTTP.html" title="Net::HTTP (class)">Net::HTTP</a></span> &lt; Object<small class='search_info'>Net</small></div></li>
47
50
 
48
51
  </ul>
49
52
  </div>
data/docs/css/common.css CHANGED
@@ -1 +1 @@
1
- /* Override this file with custom rules */
1
+ /* Override this file with custom rules */