rest-man 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/multi-matrix-test.yml +35 -0
- data/.github/workflows/single-matrix-test.yml +27 -0
- data/.gitignore +13 -0
- data/.mailmap +10 -0
- data/.rspec +2 -0
- data/.rubocop +2 -0
- data/.rubocop-disables.yml +386 -0
- data/.rubocop.yml +8 -0
- data/AUTHORS +106 -0
- data/CHANGELOG.md +7 -0
- data/Gemfile +11 -0
- data/LICENSE +21 -0
- data/README.md +843 -0
- data/Rakefile +140 -0
- data/exe/restman +92 -0
- data/lib/rest-man.rb +2 -0
- data/lib/rest_man.rb +2 -0
- data/lib/restman/abstract_response.rb +252 -0
- data/lib/restman/exceptions.rb +238 -0
- data/lib/restman/params_array.rb +72 -0
- data/lib/restman/payload.rb +234 -0
- data/lib/restman/platform.rb +49 -0
- data/lib/restman/raw_response.rb +49 -0
- data/lib/restman/request.rb +859 -0
- data/lib/restman/resource.rb +178 -0
- data/lib/restman/response.rb +90 -0
- data/lib/restman/utils.rb +274 -0
- data/lib/restman/version.rb +8 -0
- data/lib/restman/windows/root_certs.rb +105 -0
- data/lib/restman/windows.rb +8 -0
- data/lib/restman.rb +183 -0
- data/matrixeval.yml +73 -0
- data/rest-man.gemspec +41 -0
- data/spec/ISS.jpg +0 -0
- data/spec/cassettes/request_httpbin_with_basic_auth.yml +83 -0
- data/spec/cassettes/request_httpbin_with_cookies.yml +49 -0
- data/spec/cassettes/request_httpbin_with_cookies_2.yml +94 -0
- data/spec/cassettes/request_httpbin_with_cookies_3.yml +49 -0
- data/spec/cassettes/request_httpbin_with_encoding_deflate.yml +45 -0
- data/spec/cassettes/request_httpbin_with_encoding_deflate_and_accept_headers.yml +44 -0
- data/spec/cassettes/request_httpbin_with_encoding_gzip.yml +45 -0
- data/spec/cassettes/request_httpbin_with_encoding_gzip_and_accept_headers.yml +44 -0
- data/spec/cassettes/request_httpbin_with_user_agent.yml +44 -0
- data/spec/cassettes/request_mozilla_org.yml +151 -0
- data/spec/cassettes/request_mozilla_org_callback_returns_true.yml +178 -0
- data/spec/cassettes/request_mozilla_org_with_system_cert.yml +152 -0
- data/spec/cassettes/request_mozilla_org_with_system_cert_and_callback.yml +151 -0
- data/spec/helpers.rb +54 -0
- data/spec/integration/_lib.rb +1 -0
- data/spec/integration/capath_digicert/README +8 -0
- data/spec/integration/capath_digicert/ce5e74ef.0 +1 -0
- data/spec/integration/capath_digicert/digicert.crt +20 -0
- data/spec/integration/capath_digicert/update +1 -0
- data/spec/integration/capath_verisign/415660c1.0 +14 -0
- data/spec/integration/capath_verisign/7651b327.0 +14 -0
- data/spec/integration/capath_verisign/README +8 -0
- data/spec/integration/capath_verisign/verisign.crt +14 -0
- data/spec/integration/certs/digicert.crt +20 -0
- data/spec/integration/certs/verisign.crt +14 -0
- data/spec/integration/httpbin_spec.rb +137 -0
- data/spec/integration/integration_spec.rb +118 -0
- data/spec/integration/request_spec.rb +134 -0
- data/spec/spec_helper.rb +40 -0
- data/spec/unit/_lib.rb +1 -0
- data/spec/unit/abstract_response_spec.rb +145 -0
- data/spec/unit/exceptions_spec.rb +108 -0
- data/spec/unit/params_array_spec.rb +36 -0
- data/spec/unit/payload_spec.rb +295 -0
- data/spec/unit/raw_response_spec.rb +22 -0
- data/spec/unit/request2_spec.rb +54 -0
- data/spec/unit/request_spec.rb +1205 -0
- data/spec/unit/resource_spec.rb +134 -0
- data/spec/unit/response_spec.rb +252 -0
- data/spec/unit/restclient_spec.rb +80 -0
- data/spec/unit/utils_spec.rb +147 -0
- data/spec/unit/windows/root_certs_spec.rb +22 -0
- metadata +336 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 2274a801fef783f90e351212a49c396e9206f39b6216a29c1cdc0b6995b0a8fc
|
4
|
+
data.tar.gz: 5007d4e83636368725a1e4a3d69d7a844a05d0d5407bd2853d200b15ca4e4105
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 674b7bd8deef3107f3a3bd41412de34e67116902e946842951487833e47ed772856df64a56b46e2082c04735cdc3a0b79f14236bb6ef501d26f6faf1fb072999
|
7
|
+
data.tar.gz: 8d299a22870e2010f56e4ddb3c04b42d3e2959651438edb2f03ec22cc3af09e63b894d287e513e6e99bdceb5f535dbd443527858b7a67d53e9b0ab2f1329ccd2
|
@@ -0,0 +1,35 @@
|
|
1
|
+
name: Run tests against all matrix
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- main
|
7
|
+
|
8
|
+
pull_request:
|
9
|
+
branches:
|
10
|
+
- main
|
11
|
+
|
12
|
+
workflow_dispatch:
|
13
|
+
|
14
|
+
jobs:
|
15
|
+
build:
|
16
|
+
runs-on: ubuntu-latest
|
17
|
+
|
18
|
+
strategy:
|
19
|
+
matrix:
|
20
|
+
ruby:
|
21
|
+
- 2.7
|
22
|
+
- 3.0
|
23
|
+
- 3.1
|
24
|
+
- jruby-9.3.7
|
25
|
+
|
26
|
+
|
27
|
+
steps:
|
28
|
+
- uses: actions/checkout@v2
|
29
|
+
- name: Set up Ruby
|
30
|
+
uses: ruby/setup-ruby@v1
|
31
|
+
with:
|
32
|
+
ruby-version: ${{ matrix.ruby }}
|
33
|
+
bundler-cache: true
|
34
|
+
- name: Run all tests with RSpec
|
35
|
+
run: bundle exec rspec
|
@@ -0,0 +1,27 @@
|
|
1
|
+
name: Single Matrix Test
|
2
|
+
|
3
|
+
on:
|
4
|
+
workflow_dispatch:
|
5
|
+
inputs:
|
6
|
+
ruby_version:
|
7
|
+
required: true
|
8
|
+
type: choice
|
9
|
+
options:
|
10
|
+
- ruby-2.7
|
11
|
+
- ruby-3.0
|
12
|
+
- ruby-3.1
|
13
|
+
- jruby-9.3.7
|
14
|
+
|
15
|
+
jobs:
|
16
|
+
build:
|
17
|
+
runs-on: ubuntu-latest
|
18
|
+
|
19
|
+
steps:
|
20
|
+
- uses: actions/checkout@v2
|
21
|
+
- name: Set up Ruby
|
22
|
+
uses: ruby/setup-ruby@v1
|
23
|
+
with:
|
24
|
+
ruby-version: ${{ inputs.ruby_version }}
|
25
|
+
bundler-cache: true
|
26
|
+
- name: Run all tests with RSpec
|
27
|
+
run: bundle exec rspec
|
data/.gitignore
ADDED
data/.mailmap
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
Blake Mizerany <blake.mizerany@gmail.com>
|
2
|
+
Lawrence Leonard Gilbert <larry@l2g.to>
|
3
|
+
<larry@l2g.to> <larry@L2G.to>
|
4
|
+
Marc-André Cournoyer <macournoyer@gmail.com>
|
5
|
+
Matthew Manning <matt.manning@gmail.com>
|
6
|
+
Nicholas Wieland <nicholas.wieland@gmail.com>
|
7
|
+
Rafael Ssouza <rafael.ssouza@gmail.com>
|
8
|
+
Richard Schneeman <richard.schneeman@gmail.com>
|
9
|
+
Rick Olson <technoweenie@gmail.com>
|
10
|
+
T. Watanabe <wtnabe@wt-srv.watanabe>
|
data/.rspec
ADDED
data/.rubocop
ADDED
@@ -0,0 +1,386 @@
|
|
1
|
+
# This configuration was generated by `rubocop --auto-gen-config`
|
2
|
+
# on 2014-07-08 08:57:44 +0000 using RuboCop version 0.24.1.
|
3
|
+
# The point is for the user to remove these configuration records
|
4
|
+
# one by one as the offenses are removed from the code base.
|
5
|
+
# Note that changes in the inspected code, or installation of new
|
6
|
+
# versions of RuboCop, may require this file to be generated again.
|
7
|
+
|
8
|
+
# TODO
|
9
|
+
# Offense count: 1
|
10
|
+
# Cop supports --auto-correct.
|
11
|
+
Lint/StringConversionInInterpolation:
|
12
|
+
Enabled: false
|
13
|
+
|
14
|
+
# Tests only
|
15
|
+
# Offense count: 16
|
16
|
+
# Cop supports --auto-correct.
|
17
|
+
Lint/UnusedBlockArgument:
|
18
|
+
Enabled: false
|
19
|
+
|
20
|
+
Security/Eval:
|
21
|
+
Exclude:
|
22
|
+
- rest-man.windows.gemspec
|
23
|
+
|
24
|
+
Lint/HandleExceptions:
|
25
|
+
Exclude:
|
26
|
+
- lib/restman/utils.rb
|
27
|
+
|
28
|
+
Lint/UselessAccessModifier:
|
29
|
+
Exclude:
|
30
|
+
- lib/restman/windows/root_certs.rb
|
31
|
+
|
32
|
+
# Offense count: 4
|
33
|
+
# Cop supports --auto-correct.
|
34
|
+
Style/Alias:
|
35
|
+
Enabled: false
|
36
|
+
|
37
|
+
# TODO
|
38
|
+
# Offense count: 3
|
39
|
+
# Cop supports --auto-correct.
|
40
|
+
Style/AndOr:
|
41
|
+
Enabled: false
|
42
|
+
|
43
|
+
# TODO
|
44
|
+
# Offense count: 3
|
45
|
+
# Cop supports --auto-correct.
|
46
|
+
Style/BlockDelimiters:
|
47
|
+
Enabled: false
|
48
|
+
|
49
|
+
# Offense count: 48
|
50
|
+
# Cop supports --auto-correct.
|
51
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
52
|
+
Style/BracesAroundHashParameters:
|
53
|
+
Enabled: false
|
54
|
+
|
55
|
+
# Offense count: 1
|
56
|
+
Naming/ClassAndModuleCamelCase:
|
57
|
+
Exclude:
|
58
|
+
- lib/restman/windows/root_certs.rb
|
59
|
+
|
60
|
+
# Offense count: 2
|
61
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
62
|
+
Style/ClassAndModuleChildren:
|
63
|
+
Enabled: false
|
64
|
+
|
65
|
+
# TODO?
|
66
|
+
# Offense count: 14
|
67
|
+
Metrics/AbcSize:
|
68
|
+
Max: 75
|
69
|
+
|
70
|
+
# TODO?
|
71
|
+
Metrics/MethodLength:
|
72
|
+
Max: 66
|
73
|
+
|
74
|
+
# TODO?
|
75
|
+
# Offense count: 4
|
76
|
+
Metrics/PerceivedComplexity:
|
77
|
+
Max: 24
|
78
|
+
|
79
|
+
# Offense count: 1
|
80
|
+
# Configuration parameters: CountComments.
|
81
|
+
Metrics/ClassLength:
|
82
|
+
Max: 411
|
83
|
+
|
84
|
+
# TODO
|
85
|
+
# Offense count: 5
|
86
|
+
Style/ClassVars:
|
87
|
+
Enabled: false
|
88
|
+
|
89
|
+
# TODO
|
90
|
+
# Offense count: 5
|
91
|
+
# Cop supports --auto-correct.
|
92
|
+
# Configuration parameters: PreferredMethods.
|
93
|
+
Style/CollectionMethods:
|
94
|
+
Enabled: false
|
95
|
+
|
96
|
+
# TODO
|
97
|
+
# Offense count: 4
|
98
|
+
# Cop supports --auto-correct.
|
99
|
+
Style/ColonMethodCall:
|
100
|
+
Enabled: false
|
101
|
+
|
102
|
+
Style/ConditionalAssignment:
|
103
|
+
EnforcedStyle: assign_inside_condition
|
104
|
+
|
105
|
+
# Offense count: 2
|
106
|
+
Naming/ConstantName:
|
107
|
+
Enabled: false
|
108
|
+
|
109
|
+
# TODO: eh?
|
110
|
+
# Offense count: 4
|
111
|
+
Metrics/CyclomaticComplexity:
|
112
|
+
Max: 22
|
113
|
+
|
114
|
+
Style/PreferredHashMethods:
|
115
|
+
EnforcedStyle: verbose
|
116
|
+
|
117
|
+
# TODO: docs
|
118
|
+
# Offense count: 17
|
119
|
+
Style/Documentation:
|
120
|
+
Enabled: false
|
121
|
+
|
122
|
+
# Offense count: 9
|
123
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
124
|
+
Layout/DotPosition:
|
125
|
+
Enabled: false
|
126
|
+
|
127
|
+
# Offense count: 1
|
128
|
+
Style/DoubleNegation:
|
129
|
+
Enabled: false
|
130
|
+
|
131
|
+
# TODO
|
132
|
+
# Offense count: 2
|
133
|
+
Style/EachWithObject:
|
134
|
+
Enabled: false
|
135
|
+
|
136
|
+
# Offense count: 5
|
137
|
+
# Cop supports --auto-correct.
|
138
|
+
Layout/EmptyLines:
|
139
|
+
Enabled: false
|
140
|
+
|
141
|
+
# Offense count: 11
|
142
|
+
# Cop supports --auto-correct.
|
143
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
144
|
+
Layout/EmptyLinesAroundClassBody:
|
145
|
+
Enabled: false
|
146
|
+
|
147
|
+
# Offense count: 1
|
148
|
+
# Cop supports --auto-correct.
|
149
|
+
Layout/EmptyLinesAroundMethodBody:
|
150
|
+
Enabled: false
|
151
|
+
|
152
|
+
# Offense count: 9
|
153
|
+
# Cop supports --auto-correct.
|
154
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
155
|
+
Layout/EmptyLinesAroundModuleBody:
|
156
|
+
Enabled: false
|
157
|
+
|
158
|
+
Layout/EmptyLinesAroundExceptionHandlingKeywords:
|
159
|
+
Enabled: false
|
160
|
+
|
161
|
+
# Offense count: 31
|
162
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
163
|
+
Style/Encoding:
|
164
|
+
Enabled: false
|
165
|
+
|
166
|
+
Naming/FileName:
|
167
|
+
Exclude:
|
168
|
+
- lib/rest-man.rb
|
169
|
+
|
170
|
+
# Offense count: 3
|
171
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
172
|
+
Style/FormatString:
|
173
|
+
Enabled: false
|
174
|
+
|
175
|
+
# TODO: enable
|
176
|
+
# Cop supports --auto-correct.
|
177
|
+
# Configuration parameters: SupportedStyles.
|
178
|
+
Style/HashSyntax:
|
179
|
+
Enabled: false
|
180
|
+
|
181
|
+
# NOTABUG
|
182
|
+
# Offense count: 8
|
183
|
+
# Configuration parameters: MaxLineLength.
|
184
|
+
Style/IfUnlessModifier:
|
185
|
+
Enabled: false
|
186
|
+
|
187
|
+
Layout/IndentFirstHashElement:
|
188
|
+
Exclude:
|
189
|
+
- 'spec/**/*.rb'
|
190
|
+
|
191
|
+
# NOTABUG
|
192
|
+
# Offense count: 19
|
193
|
+
Style/Lambda:
|
194
|
+
Enabled: false
|
195
|
+
|
196
|
+
# TODO
|
197
|
+
# Offense count: 14
|
198
|
+
# Cop supports --auto-correct.
|
199
|
+
Layout/LeadingCommentSpace:
|
200
|
+
Enabled: false
|
201
|
+
|
202
|
+
Metrics/LineLength:
|
203
|
+
Exclude:
|
204
|
+
- 'spec/**/*.rb'
|
205
|
+
- 'Rakefile'
|
206
|
+
|
207
|
+
# TODO
|
208
|
+
# Offense count: 28
|
209
|
+
# Cop supports --auto-correct.
|
210
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
211
|
+
Style/MethodDefParentheses:
|
212
|
+
Enabled: false
|
213
|
+
|
214
|
+
# TODO
|
215
|
+
# Offense count: 1
|
216
|
+
Style/ModuleFunction:
|
217
|
+
Enabled: false
|
218
|
+
|
219
|
+
# Offense count: 4
|
220
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
221
|
+
Style/Next:
|
222
|
+
Enabled: false
|
223
|
+
|
224
|
+
# Offense count: 1
|
225
|
+
# Cop supports --auto-correct.
|
226
|
+
# Configuration parameters: IncludeSemanticChanges.
|
227
|
+
Style/NonNilCheck:
|
228
|
+
Enabled: false
|
229
|
+
|
230
|
+
# TODO: exclude
|
231
|
+
# Offense count: 1
|
232
|
+
# Cop supports --auto-correct.
|
233
|
+
Style/Not:
|
234
|
+
Enabled: false
|
235
|
+
|
236
|
+
# Offense count: 2
|
237
|
+
# Cop supports --auto-correct.
|
238
|
+
Style/NumericLiterals:
|
239
|
+
MinDigits: 11
|
240
|
+
|
241
|
+
# TODO?
|
242
|
+
# Offense count: 1
|
243
|
+
# Cop supports --auto-correct.
|
244
|
+
# Configuration parameters: AllowSafeAssignment.
|
245
|
+
Style/ParenthesesAroundCondition:
|
246
|
+
Enabled: false
|
247
|
+
|
248
|
+
# Offense count: 8
|
249
|
+
# Cop supports --auto-correct.
|
250
|
+
# Configuration parameters: PreferredDelimiters.
|
251
|
+
Style/PercentLiteralDelimiters:
|
252
|
+
PreferredDelimiters:
|
253
|
+
'%w': '{}'
|
254
|
+
'%W': '{}'
|
255
|
+
'%Q': '{}'
|
256
|
+
Exclude:
|
257
|
+
- 'exe/restman'
|
258
|
+
|
259
|
+
# Offense count: 3
|
260
|
+
# Configuration parameters: NamePrefixBlacklist.
|
261
|
+
Naming/PredicateName:
|
262
|
+
Enabled: false
|
263
|
+
|
264
|
+
# TODO: configure
|
265
|
+
# Offense count: 3
|
266
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
267
|
+
Style/RaiseArgs:
|
268
|
+
Enabled: false
|
269
|
+
|
270
|
+
# TODO
|
271
|
+
# Offense count: 1
|
272
|
+
# Cop supports --auto-correct.
|
273
|
+
Style/RedundantBegin:
|
274
|
+
Enabled: false
|
275
|
+
|
276
|
+
# Offense count: 2
|
277
|
+
# Cop supports --auto-correct.
|
278
|
+
Style/RedundantSelf:
|
279
|
+
Enabled: false
|
280
|
+
|
281
|
+
# Offense count: 1
|
282
|
+
Style/RescueModifier:
|
283
|
+
Enabled: false
|
284
|
+
Exclude:
|
285
|
+
- 'exe/restman'
|
286
|
+
|
287
|
+
# TODO: configure
|
288
|
+
# Offense count: 12
|
289
|
+
# Cop supports --auto-correct.
|
290
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
291
|
+
Style/SignalException:
|
292
|
+
Enabled: false
|
293
|
+
|
294
|
+
# TODO
|
295
|
+
# Offense count: 2
|
296
|
+
# Cop supports --auto-correct.
|
297
|
+
Layout/SpaceAfterNot:
|
298
|
+
Enabled: false
|
299
|
+
|
300
|
+
# Offense count: 19
|
301
|
+
# Cop supports --auto-correct.
|
302
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
303
|
+
Layout/SpaceAroundEqualsInParameterDefault:
|
304
|
+
Enabled: false
|
305
|
+
|
306
|
+
# Offense count: 20
|
307
|
+
# Cop supports --auto-correct.
|
308
|
+
Layout/SpaceAroundOperators:
|
309
|
+
Enabled: false
|
310
|
+
|
311
|
+
# Offense count: 9
|
312
|
+
# Cop supports --auto-correct.
|
313
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
314
|
+
Layout/SpaceBeforeBlockBraces:
|
315
|
+
Enabled: false
|
316
|
+
|
317
|
+
Layout/EmptyLinesAroundBlockBody:
|
318
|
+
Enabled: false
|
319
|
+
|
320
|
+
# Offense count: 37
|
321
|
+
# Cop supports --auto-correct.
|
322
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
323
|
+
Layout/SpaceInsideBlockBraces:
|
324
|
+
Enabled: false
|
325
|
+
|
326
|
+
# Offense count: 181
|
327
|
+
# Cop supports --auto-correct.
|
328
|
+
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles.
|
329
|
+
Layout/SpaceInsideHashLiteralBraces:
|
330
|
+
Enabled: false
|
331
|
+
|
332
|
+
# TODO
|
333
|
+
# Offense count: 9
|
334
|
+
# Cop supports --auto-correct.
|
335
|
+
Layout/SpaceInsideParens:
|
336
|
+
Enabled: false
|
337
|
+
|
338
|
+
# Offense count: 414
|
339
|
+
# Cop supports --auto-correct.
|
340
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
341
|
+
Style/StringLiterals:
|
342
|
+
Enabled: false
|
343
|
+
|
344
|
+
Style/TrailingCommaInArrayLiteral:
|
345
|
+
EnforcedStyleForMultiline: consistent_comma
|
346
|
+
Style/TrailingCommaInHashLiteral:
|
347
|
+
EnforcedStyleForMultiline: consistent_comma
|
348
|
+
Style/TrailingCommaInArguments:
|
349
|
+
Enabled: false
|
350
|
+
|
351
|
+
# TODO: configure
|
352
|
+
# Offense count: 1
|
353
|
+
# Cop supports --auto-correct.
|
354
|
+
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, Whitelist.
|
355
|
+
Style/TrivialAccessors:
|
356
|
+
Enabled: false
|
357
|
+
Exclude: ['lib/restman/payload.rb']
|
358
|
+
|
359
|
+
# TODO?
|
360
|
+
# Offense count: 3
|
361
|
+
Style/UnlessElse:
|
362
|
+
Enabled: false
|
363
|
+
|
364
|
+
# TODO?
|
365
|
+
# Offense count: 6
|
366
|
+
# Cop supports --auto-correct.
|
367
|
+
Style/UnneededPercentQ:
|
368
|
+
Enabled: false
|
369
|
+
|
370
|
+
# Offense count: 5
|
371
|
+
# Cop supports --auto-correct.
|
372
|
+
Style/WordArray:
|
373
|
+
MinSize: 4
|
374
|
+
|
375
|
+
# TODO?
|
376
|
+
# Offense count: 5
|
377
|
+
# Cop supports --auto-correct.
|
378
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
379
|
+
Style/BarePercentLiterals:
|
380
|
+
Enabled: false
|
381
|
+
|
382
|
+
|
383
|
+
Style/RescueStandardError:
|
384
|
+
Exclude:
|
385
|
+
- 'exe/restman'
|
386
|
+
- 'lib/restman/windows/root_certs.rb'
|
data/.rubocop.yml
ADDED
data/AUTHORS
ADDED
@@ -0,0 +1,106 @@
|
|
1
|
+
The Ruby REST Client would not be what it is today without the help of
|
2
|
+
the following kind souls:
|
3
|
+
|
4
|
+
Adam Jacob
|
5
|
+
Adam Wiggins
|
6
|
+
Adrian Rangel
|
7
|
+
Alex Tomlins
|
8
|
+
Aman Gupta
|
9
|
+
Andy Brody
|
10
|
+
Avi Deitcher
|
11
|
+
Blake Mizerany
|
12
|
+
Brad Ediger
|
13
|
+
Braintree
|
14
|
+
Brian Donovan
|
15
|
+
Caleb Land
|
16
|
+
Chris Dinn
|
17
|
+
Chris Frohoff
|
18
|
+
Chris Green
|
19
|
+
Coda Hale
|
20
|
+
Crawford
|
21
|
+
Cyril Rohr
|
22
|
+
Dan Mayer
|
23
|
+
Dario Hamidi
|
24
|
+
Darren Coxall
|
25
|
+
David Backeus
|
26
|
+
David Perkowski
|
27
|
+
Dmitri Dolguikh
|
28
|
+
Dusty Doris
|
29
|
+
Dylan Egan
|
30
|
+
El Draper
|
31
|
+
Evan Broder
|
32
|
+
Evan Smith
|
33
|
+
François Beausoleil
|
34
|
+
Gabriele Cirulli
|
35
|
+
Garry Shutler
|
36
|
+
Giovanni Cappellotto
|
37
|
+
Greg Borenstein
|
38
|
+
Harm Aarts
|
39
|
+
Hiro Asari
|
40
|
+
Hugh McGowan
|
41
|
+
Ian Warshak
|
42
|
+
Igor Zubkov
|
43
|
+
Ivan Makfinsky
|
44
|
+
JH. Chabran
|
45
|
+
James Edward Gray II
|
46
|
+
Jari Bakken
|
47
|
+
Jeff Pereira
|
48
|
+
Jeff Remer
|
49
|
+
Jeffrey Hardy
|
50
|
+
Jeremy Kemper
|
51
|
+
Joe Rafaniello
|
52
|
+
John Barnette
|
53
|
+
Jon Rowe
|
54
|
+
Jordi Massaguer Pla
|
55
|
+
Joshua J. Campoverde
|
56
|
+
Juan Alvarez
|
57
|
+
Julien Kirch
|
58
|
+
Jun Aruga
|
59
|
+
Justin Coyne
|
60
|
+
Justin Lambert
|
61
|
+
Keith Rarick
|
62
|
+
Kenichi Kamiya
|
63
|
+
Kevin Read
|
64
|
+
Kosuke Asami
|
65
|
+
Kyle Meyer
|
66
|
+
Kyle VanderBeek
|
67
|
+
Lars Gierth
|
68
|
+
Lawrence Leonard Gilbert
|
69
|
+
Lee Jarvis
|
70
|
+
Lennon Day-Reynolds
|
71
|
+
Lin Jen-Shin
|
72
|
+
Magne Matre Gåsland
|
73
|
+
Marc-André Cournoyer
|
74
|
+
Marius Butuc
|
75
|
+
Matthew Manning
|
76
|
+
Michael Klett
|
77
|
+
Michael Rykov
|
78
|
+
Michael Westbom
|
79
|
+
Mike Fletcher
|
80
|
+
Nelson Elhage
|
81
|
+
Nicholas Wieland
|
82
|
+
Nick Hammond
|
83
|
+
Nick Plante
|
84
|
+
Niko Dittmann
|
85
|
+
Nikolay Shebanov
|
86
|
+
Oscar Del Ben
|
87
|
+
Pablo Astigarraga
|
88
|
+
Paul Dlug
|
89
|
+
Pedro Belo
|
90
|
+
Pedro Chambino
|
91
|
+
Philip Corliss
|
92
|
+
Pierre-Louis Gottfrois
|
93
|
+
Rafael Ssouza
|
94
|
+
Richard Schneeman
|
95
|
+
Rick Olson
|
96
|
+
Robert Eanes
|
97
|
+
Rodrigo Panachi
|
98
|
+
Sam Norbury
|
99
|
+
Samuel Cochran
|
100
|
+
Syl Turner
|
101
|
+
T. Watanabe
|
102
|
+
Tekin
|
103
|
+
W. Andrew Loe III
|
104
|
+
Waynn Lue
|
105
|
+
Xavier Shay
|
106
|
+
tpresa
|
data/CHANGELOG.md
ADDED
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2008-2014 Rest Client Authors
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|