crapi 0.1.3 → 1.0.0
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 +63 -0
- data/.rubocop.yml +53 -70
- data/.ruby-version +1 -1
- data/Gemfile.lock +66 -42
- data/README.md +29 -27
- data/crapi.gemspec +15 -15
- data/docs/{Crapi → CrAPI}/ArgumentError.html +15 -16
- data/docs/{Crapi → CrAPI}/BadHttpResponseError.html +15 -16
- data/docs/{Crapi → CrAPI}/Client.html +144 -174
- data/docs/{Crapi → CrAPI}/Error.html +14 -15
- data/docs/{Crapi → CrAPI}/Proxy.html +65 -89
- data/docs/CrAPI.html +157 -0
- data/docs/Net/HTTP.html +18 -23
- data/docs/_index.html +19 -19
- data/docs/class_list.html +3 -3
- data/docs/css/style.css +7 -9
- data/docs/file.README.html +68 -87
- data/docs/file_list.html +2 -2
- data/docs/frames.html +2 -2
- data/docs/index.html +68 -87
- data/docs/js/app.js +69 -3
- data/docs/method_list.html +34 -34
- data/docs/top-level-namespace.html +8 -8
- 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
- data/spec/crapi_client_spec.rb +121 -0
- data/spec/crapi_errors_spec.rb +17 -0
- data/spec/crapi_proxy_spec.rb +121 -0
- data/spec/crapi_spec.rb +5 -0
- data/spec/spec_helper.rb +19 -0
- metadata +66 -52
- data/.travis.yml +0 -5
- data/docs/Crapi.html +0 -153
data/docs/method_list.html
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
5
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
|
|
@@ -46,128 +46,128 @@
|
|
46
46
|
|
47
47
|
<li class="odd ">
|
48
48
|
<div class="item">
|
49
|
-
<span class='object_link'><a href="
|
50
|
-
<small>
|
49
|
+
<span class='object_link'><a href="CrAPI/Proxy.html#default_headers-instance_method" title="CrAPI::Proxy#default_headers (method)">#default_headers</a></span>
|
50
|
+
<small>CrAPI::Proxy</small>
|
51
51
|
</div>
|
52
52
|
</li>
|
53
53
|
|
54
54
|
|
55
55
|
<li class="even ">
|
56
56
|
<div class="item">
|
57
|
-
<span class='object_link'><a href="
|
58
|
-
<small>
|
57
|
+
<span class='object_link'><a href="CrAPI/Client.html#default_headers-instance_method" title="CrAPI::Client#default_headers (method)">#default_headers</a></span>
|
58
|
+
<small>CrAPI::Client</small>
|
59
59
|
</div>
|
60
60
|
</li>
|
61
61
|
|
62
62
|
|
63
63
|
<li class="odd ">
|
64
64
|
<div class="item">
|
65
|
-
<span class='object_link'><a href="
|
66
|
-
<small>
|
65
|
+
<span class='object_link'><a href="CrAPI/Proxy.html#delete-instance_method" title="CrAPI::Proxy#delete (method)">#delete</a></span>
|
66
|
+
<small>CrAPI::Proxy</small>
|
67
67
|
</div>
|
68
68
|
</li>
|
69
69
|
|
70
70
|
|
71
71
|
<li class="even ">
|
72
72
|
<div class="item">
|
73
|
-
<span class='object_link'><a href="
|
74
|
-
<small>
|
73
|
+
<span class='object_link'><a href="CrAPI/Client.html#delete-instance_method" title="CrAPI::Client#delete (method)">#delete</a></span>
|
74
|
+
<small>CrAPI::Client</small>
|
75
75
|
</div>
|
76
76
|
</li>
|
77
77
|
|
78
78
|
|
79
79
|
<li class="odd ">
|
80
80
|
<div class="item">
|
81
|
-
<span class='object_link'><a href="
|
82
|
-
<small>
|
81
|
+
<span class='object_link'><a href="CrAPI/Proxy.html#get-instance_method" title="CrAPI::Proxy#get (method)">#get</a></span>
|
82
|
+
<small>CrAPI::Proxy</small>
|
83
83
|
</div>
|
84
84
|
</li>
|
85
85
|
|
86
86
|
|
87
87
|
<li class="even ">
|
88
88
|
<div class="item">
|
89
|
-
<span class='object_link'><a href="
|
90
|
-
<small>
|
89
|
+
<span class='object_link'><a href="CrAPI/Client.html#get-instance_method" title="CrAPI::Client#get (method)">#get</a></span>
|
90
|
+
<small>CrAPI::Client</small>
|
91
91
|
</div>
|
92
92
|
</li>
|
93
93
|
|
94
94
|
|
95
95
|
<li class="odd ">
|
96
96
|
<div class="item">
|
97
|
-
<span class='object_link'><a href="
|
98
|
-
<small>
|
97
|
+
<span class='object_link'><a href="CrAPI/Proxy.html#initialize-instance_method" title="CrAPI::Proxy#initialize (method)">#initialize</a></span>
|
98
|
+
<small>CrAPI::Proxy</small>
|
99
99
|
</div>
|
100
100
|
</li>
|
101
101
|
|
102
102
|
|
103
103
|
<li class="even ">
|
104
104
|
<div class="item">
|
105
|
-
<span class='object_link'><a href="
|
106
|
-
<small>
|
105
|
+
<span class='object_link'><a href="CrAPI/Client.html#initialize-instance_method" title="CrAPI::Client#initialize (method)">#initialize</a></span>
|
106
|
+
<small>CrAPI::Client</small>
|
107
107
|
</div>
|
108
108
|
</li>
|
109
109
|
|
110
110
|
|
111
111
|
<li class="odd ">
|
112
112
|
<div class="item">
|
113
|
-
<span class='object_link'><a href="
|
114
|
-
<small>
|
113
|
+
<span class='object_link'><a href="CrAPI/Proxy.html#new_proxy-instance_method" title="CrAPI::Proxy#new_proxy (method)">#new_proxy</a></span>
|
114
|
+
<small>CrAPI::Proxy</small>
|
115
115
|
</div>
|
116
116
|
</li>
|
117
117
|
|
118
118
|
|
119
119
|
<li class="even ">
|
120
120
|
<div class="item">
|
121
|
-
<span class='object_link'><a href="
|
122
|
-
<small>
|
121
|
+
<span class='object_link'><a href="CrAPI/Client.html#new_proxy-instance_method" title="CrAPI::Client#new_proxy (method)">#new_proxy</a></span>
|
122
|
+
<small>CrAPI::Client</small>
|
123
123
|
</div>
|
124
124
|
</li>
|
125
125
|
|
126
126
|
|
127
127
|
<li class="odd ">
|
128
128
|
<div class="item">
|
129
|
-
<span class='object_link'><a href="
|
130
|
-
<small>
|
129
|
+
<span class='object_link'><a href="CrAPI/Proxy.html#patch-instance_method" title="CrAPI::Proxy#patch (method)">#patch</a></span>
|
130
|
+
<small>CrAPI::Proxy</small>
|
131
131
|
</div>
|
132
132
|
</li>
|
133
133
|
|
134
134
|
|
135
135
|
<li class="even ">
|
136
136
|
<div class="item">
|
137
|
-
<span class='object_link'><a href="
|
138
|
-
<small>
|
137
|
+
<span class='object_link'><a href="CrAPI/Client.html#patch-instance_method" title="CrAPI::Client#patch (method)">#patch</a></span>
|
138
|
+
<small>CrAPI::Client</small>
|
139
139
|
</div>
|
140
140
|
</li>
|
141
141
|
|
142
142
|
|
143
143
|
<li class="odd ">
|
144
144
|
<div class="item">
|
145
|
-
<span class='object_link'><a href="
|
146
|
-
<small>
|
145
|
+
<span class='object_link'><a href="CrAPI/Proxy.html#post-instance_method" title="CrAPI::Proxy#post (method)">#post</a></span>
|
146
|
+
<small>CrAPI::Proxy</small>
|
147
147
|
</div>
|
148
148
|
</li>
|
149
149
|
|
150
150
|
|
151
151
|
<li class="even ">
|
152
152
|
<div class="item">
|
153
|
-
<span class='object_link'><a href="
|
154
|
-
<small>
|
153
|
+
<span class='object_link'><a href="CrAPI/Client.html#post-instance_method" title="CrAPI::Client#post (method)">#post</a></span>
|
154
|
+
<small>CrAPI::Client</small>
|
155
155
|
</div>
|
156
156
|
</li>
|
157
157
|
|
158
158
|
|
159
159
|
<li class="odd ">
|
160
160
|
<div class="item">
|
161
|
-
<span class='object_link'><a href="
|
162
|
-
<small>
|
161
|
+
<span class='object_link'><a href="CrAPI/Proxy.html#put-instance_method" title="CrAPI::Proxy#put (method)">#put</a></span>
|
162
|
+
<small>CrAPI::Proxy</small>
|
163
163
|
</div>
|
164
164
|
</li>
|
165
165
|
|
166
166
|
|
167
167
|
<li class="even ">
|
168
168
|
<div class="item">
|
169
|
-
<span class='object_link'><a href="
|
170
|
-
<small>
|
169
|
+
<span class='object_link'><a href="CrAPI/Client.html#put-instance_method" title="CrAPI::Client#put (method)">#put</a></span>
|
170
|
+
<small>CrAPI::Client</small>
|
171
171
|
</div>
|
172
172
|
</li>
|
173
173
|
|
@@ -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.28
|
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>
|
@@ -82,7 +82,7 @@
|
|
82
82
|
<p class="children">
|
83
83
|
|
84
84
|
|
85
|
-
<strong class="modules">Modules:</strong> <span class='object_link'><a href="
|
85
|
+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="CrAPI.html" title="CrAPI (module)">CrAPI</a></span>
|
86
86
|
|
87
87
|
|
88
88
|
|
@@ -100,9 +100,9 @@
|
|
100
100
|
</div>
|
101
101
|
|
102
102
|
<div id="footer">
|
103
|
-
Generated on
|
104
|
-
<a href="
|
105
|
-
0.9.
|
103
|
+
Generated on Mon Jan 2 15:16:45 2023 by
|
104
|
+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
105
|
+
0.9.28 (ruby-3.0.4).
|
106
106
|
</div>
|
107
107
|
|
108
108
|
</div>
|