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.
- checksums.yaml +4 -4
- data/.circleci/config.yml +64 -0
- data/.gitignore +3 -0
- data/.rubocop.yml +53 -70
- data/.ruby-version +1 -1
- data/Gemfile.lock +138 -43
- data/README.md +29 -27
- data/crapi.gemspec +17 -17
- data/docs/{Crapi → CrAPI}/ArgumentError.html +21 -19
- data/docs/{Crapi → CrAPI}/BadHttpResponseError.html +21 -19
- data/docs/{Crapi → CrAPI}/Client.html +150 -222
- data/docs/{Crapi → CrAPI}/Error.html +19 -18
- data/docs/{Crapi → CrAPI}/Proxy.html +71 -114
- data/docs/CrAPI.html +157 -0
- data/docs/Net/HTTP.html +24 -29
- data/docs/_index.html +22 -20
- data/docs/class_list.html +10 -7
- data/docs/css/common.css +1 -1
- data/docs/css/full_list.css +201 -53
- data/docs/css/style.css +991 -401
- data/docs/file.README.html +51 -94
- data/docs/file_list.html +9 -6
- data/docs/frames.html +11 -6
- data/docs/index.html +51 -94
- data/docs/js/app.js +799 -246
- data/docs/js/full_list.js +332 -214
- data/docs/method_list.html +41 -38
- data/docs/top-level-namespace.html +11 -9
- data/lib/crapi/client.rb +224 -228
- data/lib/crapi/errors.rb +7 -7
- data/lib/crapi/proxy.rb +82 -82
- data/lib/crapi/version.rb +10 -10
- data/lib/crapi.rb +3 -1
- metadata +56 -55
- data/.travis.yml +0 -5
- data/docs/Crapi.html +0 -153
data/docs/method_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"
|
|
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"
|
|
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>Method 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,7 +38,10 @@
|
|
|
38
38
|
|
|
39
39
|
</div>
|
|
40
40
|
|
|
41
|
-
<div id="search">
|
|
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="method">
|
|
@@ -46,128 +49,128 @@
|
|
|
46
49
|
|
|
47
50
|
<li class="odd ">
|
|
48
51
|
<div class="item">
|
|
49
|
-
<span class='object_link'><a href="
|
|
50
|
-
<small>
|
|
52
|
+
<span class='object_link'><a href="CrAPI/Proxy.html#default_headers-instance_method" title="CrAPI::Proxy#default_headers (method)">#default_headers</a></span>
|
|
53
|
+
<small>CrAPI::Proxy</small>
|
|
51
54
|
</div>
|
|
52
55
|
</li>
|
|
53
56
|
|
|
54
57
|
|
|
55
58
|
<li class="even ">
|
|
56
59
|
<div class="item">
|
|
57
|
-
<span class='object_link'><a href="
|
|
58
|
-
<small>
|
|
60
|
+
<span class='object_link'><a href="CrAPI/Client.html#default_headers-instance_method" title="CrAPI::Client#default_headers (method)">#default_headers</a></span>
|
|
61
|
+
<small>CrAPI::Client</small>
|
|
59
62
|
</div>
|
|
60
63
|
</li>
|
|
61
64
|
|
|
62
65
|
|
|
63
66
|
<li class="odd ">
|
|
64
67
|
<div class="item">
|
|
65
|
-
<span class='object_link'><a href="
|
|
66
|
-
<small>
|
|
68
|
+
<span class='object_link'><a href="CrAPI/Proxy.html#delete-instance_method" title="CrAPI::Proxy#delete (method)">#delete</a></span>
|
|
69
|
+
<small>CrAPI::Proxy</small>
|
|
67
70
|
</div>
|
|
68
71
|
</li>
|
|
69
72
|
|
|
70
73
|
|
|
71
74
|
<li class="even ">
|
|
72
75
|
<div class="item">
|
|
73
|
-
<span class='object_link'><a href="
|
|
74
|
-
<small>
|
|
76
|
+
<span class='object_link'><a href="CrAPI/Client.html#delete-instance_method" title="CrAPI::Client#delete (method)">#delete</a></span>
|
|
77
|
+
<small>CrAPI::Client</small>
|
|
75
78
|
</div>
|
|
76
79
|
</li>
|
|
77
80
|
|
|
78
81
|
|
|
79
82
|
<li class="odd ">
|
|
80
83
|
<div class="item">
|
|
81
|
-
<span class='object_link'><a href="
|
|
82
|
-
<small>
|
|
84
|
+
<span class='object_link'><a href="CrAPI/Proxy.html#get-instance_method" title="CrAPI::Proxy#get (method)">#get</a></span>
|
|
85
|
+
<small>CrAPI::Proxy</small>
|
|
83
86
|
</div>
|
|
84
87
|
</li>
|
|
85
88
|
|
|
86
89
|
|
|
87
90
|
<li class="even ">
|
|
88
91
|
<div class="item">
|
|
89
|
-
<span class='object_link'><a href="
|
|
90
|
-
<small>
|
|
92
|
+
<span class='object_link'><a href="CrAPI/Client.html#get-instance_method" title="CrAPI::Client#get (method)">#get</a></span>
|
|
93
|
+
<small>CrAPI::Client</small>
|
|
91
94
|
</div>
|
|
92
95
|
</li>
|
|
93
96
|
|
|
94
97
|
|
|
95
98
|
<li class="odd ">
|
|
96
99
|
<div class="item">
|
|
97
|
-
<span class='object_link'><a href="
|
|
98
|
-
<small>
|
|
100
|
+
<span class='object_link'><a href="CrAPI/Proxy.html#initialize-instance_method" title="CrAPI::Proxy#initialize (method)">#initialize</a></span>
|
|
101
|
+
<small>CrAPI::Proxy</small>
|
|
99
102
|
</div>
|
|
100
103
|
</li>
|
|
101
104
|
|
|
102
105
|
|
|
103
106
|
<li class="even ">
|
|
104
107
|
<div class="item">
|
|
105
|
-
<span class='object_link'><a href="
|
|
106
|
-
<small>
|
|
108
|
+
<span class='object_link'><a href="CrAPI/Client.html#initialize-instance_method" title="CrAPI::Client#initialize (method)">#initialize</a></span>
|
|
109
|
+
<small>CrAPI::Client</small>
|
|
107
110
|
</div>
|
|
108
111
|
</li>
|
|
109
112
|
|
|
110
113
|
|
|
111
114
|
<li class="odd ">
|
|
112
115
|
<div class="item">
|
|
113
|
-
<span class='object_link'><a href="
|
|
114
|
-
<small>
|
|
116
|
+
<span class='object_link'><a href="CrAPI/Proxy.html#new_proxy-instance_method" title="CrAPI::Proxy#new_proxy (method)">#new_proxy</a></span>
|
|
117
|
+
<small>CrAPI::Proxy</small>
|
|
115
118
|
</div>
|
|
116
119
|
</li>
|
|
117
120
|
|
|
118
121
|
|
|
119
122
|
<li class="even ">
|
|
120
123
|
<div class="item">
|
|
121
|
-
<span class='object_link'><a href="
|
|
122
|
-
<small>
|
|
124
|
+
<span class='object_link'><a href="CrAPI/Client.html#new_proxy-instance_method" title="CrAPI::Client#new_proxy (method)">#new_proxy</a></span>
|
|
125
|
+
<small>CrAPI::Client</small>
|
|
123
126
|
</div>
|
|
124
127
|
</li>
|
|
125
128
|
|
|
126
129
|
|
|
127
130
|
<li class="odd ">
|
|
128
131
|
<div class="item">
|
|
129
|
-
<span class='object_link'><a href="
|
|
130
|
-
<small>
|
|
132
|
+
<span class='object_link'><a href="CrAPI/Proxy.html#patch-instance_method" title="CrAPI::Proxy#patch (method)">#patch</a></span>
|
|
133
|
+
<small>CrAPI::Proxy</small>
|
|
131
134
|
</div>
|
|
132
135
|
</li>
|
|
133
136
|
|
|
134
137
|
|
|
135
138
|
<li class="even ">
|
|
136
139
|
<div class="item">
|
|
137
|
-
<span class='object_link'><a href="
|
|
138
|
-
<small>
|
|
140
|
+
<span class='object_link'><a href="CrAPI/Client.html#patch-instance_method" title="CrAPI::Client#patch (method)">#patch</a></span>
|
|
141
|
+
<small>CrAPI::Client</small>
|
|
139
142
|
</div>
|
|
140
143
|
</li>
|
|
141
144
|
|
|
142
145
|
|
|
143
146
|
<li class="odd ">
|
|
144
147
|
<div class="item">
|
|
145
|
-
<span class='object_link'><a href="
|
|
146
|
-
<small>
|
|
148
|
+
<span class='object_link'><a href="CrAPI/Proxy.html#post-instance_method" title="CrAPI::Proxy#post (method)">#post</a></span>
|
|
149
|
+
<small>CrAPI::Proxy</small>
|
|
147
150
|
</div>
|
|
148
151
|
</li>
|
|
149
152
|
|
|
150
153
|
|
|
151
154
|
<li class="even ">
|
|
152
155
|
<div class="item">
|
|
153
|
-
<span class='object_link'><a href="
|
|
154
|
-
<small>
|
|
156
|
+
<span class='object_link'><a href="CrAPI/Client.html#post-instance_method" title="CrAPI::Client#post (method)">#post</a></span>
|
|
157
|
+
<small>CrAPI::Client</small>
|
|
155
158
|
</div>
|
|
156
159
|
</li>
|
|
157
160
|
|
|
158
161
|
|
|
159
162
|
<li class="odd ">
|
|
160
163
|
<div class="item">
|
|
161
|
-
<span class='object_link'><a href="
|
|
162
|
-
<small>
|
|
164
|
+
<span class='object_link'><a href="CrAPI/Proxy.html#put-instance_method" title="CrAPI::Proxy#put (method)">#put</a></span>
|
|
165
|
+
<small>CrAPI::Proxy</small>
|
|
163
166
|
</div>
|
|
164
167
|
</li>
|
|
165
168
|
|
|
166
169
|
|
|
167
170
|
<li class="even ">
|
|
168
171
|
<div class="item">
|
|
169
|
-
<span class='object_link'><a href="
|
|
170
|
-
<small>
|
|
172
|
+
<span class='object_link'><a href="CrAPI/Client.html#put-instance_method" title="CrAPI::Client#put (method)">#put</a></span>
|
|
173
|
+
<small>CrAPI::Client</small>
|
|
171
174
|
</div>
|
|
172
175
|
</li>
|
|
173
176
|
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Top Level Namespace
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.9.
|
|
9
|
+
— Documentation by YARD 0.9.44
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="css/style.css" type="text/css"
|
|
13
|
+
<link rel="stylesheet" href="css/style.css" type="text/css">
|
|
14
14
|
|
|
15
|
-
<link rel="stylesheet" href="css/common.css" type="text/css"
|
|
15
|
+
<link rel="stylesheet" href="css/common.css" type="text/css">
|
|
16
16
|
|
|
17
|
-
<script type="text/javascript"
|
|
17
|
+
<script type="text/javascript">
|
|
18
18
|
pathId = "";
|
|
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>
|
|
@@ -82,7 +84,7 @@
|
|
|
82
84
|
<p class="children">
|
|
83
85
|
|
|
84
86
|
|
|
85
|
-
<strong class="modules">Modules:</strong> <span class='object_link'><a href="
|
|
87
|
+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="CrAPI.html" title="CrAPI (module)">CrAPI</a></span>
|
|
86
88
|
|
|
87
89
|
|
|
88
90
|
|
|
@@ -100,11 +102,11 @@
|
|
|
100
102
|
</div>
|
|
101
103
|
|
|
102
104
|
<div id="footer">
|
|
103
|
-
Generated on
|
|
104
|
-
<a href="
|
|
105
|
-
0.9.
|
|
105
|
+
Generated on Sun Jul 5 14:46:38 2026 by
|
|
106
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
107
|
+
0.9.44 (ruby-3.4.8).
|
|
106
108
|
</div>
|
|
107
109
|
|
|
108
110
|
</div>
|
|
109
111
|
</body>
|
|
110
|
-
</html>
|
|
112
|
+
</html>
|