r2-oas 0.3.2 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +55 -1
- data/GEMSPEC.md +2 -2
- data/README.ja.md +73 -43
- data/README.md +75 -39
- data/lib/r2-oas.rb +4 -5
- data/lib/r2-oas/app_configuration.rb +17 -5
- data/lib/r2-oas/app_configuration/deprecation.rb +28 -0
- data/lib/r2-oas/configuration.rb +57 -11
- data/lib/r2-oas/configuration/paths_config.rb +6 -3
- data/lib/r2-oas/deploy/client.rb +1 -1
- data/lib/r2-oas/errors.rb +5 -0
- data/lib/r2-oas/helpers/file_helper.rb +68 -0
- data/lib/r2-oas/hooks/hook.rb +7 -5
- data/lib/r2-oas/lib/core_ext/all.rb +5 -0
- data/lib/r2-oas/lib/core_ext/string/filters.rb +29 -0
- data/lib/r2-oas/plugin/base.rb +44 -0
- data/lib/r2-oas/plugin/executor.rb +148 -0
- data/lib/r2-oas/plugin/hookable.rb +47 -0
- data/lib/r2-oas/plugin/public.rb +3 -0
- data/lib/r2-oas/plugin/transform/transform.rb +10 -0
- data/lib/r2-oas/plugin/transform/v3/transform.rb +20 -0
- data/lib/r2-oas/plugin/transform/v3/visitable.rb +37 -0
- data/lib/r2-oas/public.rb +3 -0
- data/lib/r2-oas/schema/base.rb +1 -1
- data/lib/r2-oas/schema/builder.rb +1 -1
- data/lib/r2-oas/schema/editor.rb +9 -2
- data/lib/r2-oas/schema/monitor.rb +1 -1
- data/lib/r2-oas/schema/ui.rb +1 -1
- data/lib/r2-oas/schema/v3/analyzer/path_analyzer.rb +1 -1
- data/lib/r2-oas/schema/v3/builder.rb +1 -1
- data/lib/r2-oas/schema/v3/builder/base_builder.rb +14 -2
- data/lib/r2-oas/schema/v3/builder/doc_builder.rb +10 -2
- data/lib/r2-oas/schema/v3/generator/base_generator.rb +7 -2
- data/lib/r2-oas/schema/v3/generator/doc_generator.rb +1 -1
- data/lib/r2-oas/schema/v3/manager/file/include_ref_base_file_manager.rb +3 -2
- data/lib/r2-oas/schema/v3/object/from_files/base_object.rb +62 -0
- data/lib/r2-oas/schema/v3/object/from_files/components/request_body_object.rb +103 -0
- data/lib/r2-oas/schema/v3/object/from_files/components/schema_object.rb +102 -0
- data/lib/r2-oas/schema/v3/object/from_files/components_object.rb +46 -0
- data/lib/r2-oas/schema/v3/object/from_files/external_document_object.rb +23 -0
- data/lib/r2-oas/schema/v3/object/from_files/info_object.rb +23 -0
- data/lib/r2-oas/schema/v3/object/from_files/openapi_object.rb +61 -0
- data/lib/r2-oas/schema/v3/object/from_files/path_item_object.rb +110 -0
- data/lib/r2-oas/schema/v3/object/from_files/paths_object.rb +33 -0
- data/lib/r2-oas/schema/v3/object/from_files/utils/all.rb +4 -0
- data/lib/r2-oas/schema/v3/object/from_files/utils/deep_methods.rb +27 -0
- data/lib/r2-oas/schema/v3/object/from_files/utils/refs.rb +151 -0
- data/lib/r2-oas/schema/v3/object/{public.rb → from_routes/all.rb} +0 -0
- data/lib/r2-oas/schema/v3/object/from_routes/base_object.rb +41 -0
- data/lib/r2-oas/schema/v3/object/{components → from_routes/components}/request_body_object.rb +19 -28
- data/lib/r2-oas/schema/v3/object/{components → from_routes/components}/schema_object.rb +12 -16
- data/lib/r2-oas/schema/v3/object/{components_object.rb → from_routes/components_object.rb} +19 -13
- data/lib/r2-oas/schema/v3/object/{external_document_object.rb → from_routes/external_document_object.rb} +9 -2
- data/lib/r2-oas/schema/v3/object/{info_object.rb → from_routes/info_object.rb} +9 -2
- data/lib/r2-oas/schema/v3/object/{openapi_object.rb → from_routes/openapi_object.rb} +16 -11
- data/lib/r2-oas/schema/v3/object/{path_item_object.rb → from_routes/path_item_object.rb} +8 -8
- data/lib/r2-oas/schema/v3/object/{paths_object.rb → from_routes/paths_object.rb} +13 -30
- data/lib/r2-oas/schema/v3/object/{server_object.rb → from_routes/server_object.rb} +0 -0
- data/lib/r2-oas/schema/v3/object/{tag_object.rb → from_routes/tag_object.rb} +2 -1
- data/lib/r2-oas/schema/v3/object/store.rb +54 -0
- data/lib/r2-oas/shared/all.rb +1 -0
- data/lib/r2-oas/shared/callable.rb +17 -0
- data/lib/r2-oas/store.rb +20 -16
- data/lib/r2-oas/support/deprecation.rb +26 -0
- data/lib/r2-oas/support/deprecation/behavior.rb +21 -0
- data/lib/r2-oas/support/deprecation/instance_delegator.rb +42 -0
- data/lib/r2-oas/support/deprecation/reporting.rb +91 -0
- data/lib/r2-oas/task.rb +1 -2
- data/lib/r2-oas/task_logging.rb +3 -7
- data/lib/r2-oas/tasks/common.rake +1 -2
- data/lib/r2-oas/tasks/main.rake +59 -9
- data/lib/r2-oas/version.rb +1 -1
- data/r2-oas.gemspec +2 -7
- metadata +55 -69
- data/.gitignore +0 -16
- data/.rspec +0 -3
- data/.rubocop.yml +0 -10
- data/.rubocop_todo.yml +0 -291
- data/.travis.yml +0 -26
- data/Appraisals +0 -13
- data/CODE_OF_CONDUCT.md +0 -74
- data/Gemfile +0 -12
- data/Rakefile +0 -8
- data/lib/r2-oas/app_configuration/tool.rb +0 -31
- data/lib/r2-oas/app_configuration/tool/paths/stats.rb +0 -43
- data/lib/r2-oas/pluggable_configuration.rb +0 -33
- data/lib/r2-oas/plugins/schema/v3/object/hookable_base_object.rb +0 -100
- data/lib/r2-oas/schema/v3/object/base_object.rb +0 -65
- data/lib/r2-oas/tasks/tool.rake +0 -83
- data/lib/r2-oas/tool/paths/ls.rb +0 -15
- data/lib/r2-oas/tool/paths/stats.rb +0 -84
data/lib/r2-oas/version.rb
CHANGED
data/r2-oas.gemspec
CHANGED
@@ -23,22 +23,17 @@ Gem::Specification.new do |spec|
|
|
23
23
|
}
|
24
24
|
|
25
25
|
# Specify which files should be added to the gem when it is released.
|
26
|
-
|
27
|
-
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
28
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|bin|.github|devscript|docs|gemfiles)/}) }
|
29
|
-
end
|
26
|
+
spec.files = Dir["CHANGELOG.md", "GEMSPEC.md", "README.md", "README.ja.md", "LICENSE.txt", "lib/**/*", "r2-oas.gemspec"]
|
30
27
|
spec.bindir = 'exe'
|
31
28
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
32
29
|
spec.require_paths = ['lib']
|
33
|
-
spec.required_ruby_version = Gem::Requirement.new('>= 2.
|
30
|
+
spec.required_ruby_version = Gem::Requirement.new('>= 2.5.0')
|
34
31
|
|
35
32
|
spec.add_runtime_dependency 'docker-api', '>= 1.34.2'
|
36
33
|
spec.add_runtime_dependency 'easy_diff', '>= 1.0.0'
|
37
34
|
spec.add_runtime_dependency 'eventmachine', '>= 1.2.0'
|
38
35
|
spec.add_runtime_dependency 'key_flatten', '>= 1.0.0'
|
39
|
-
spec.add_runtime_dependency 'paint'
|
40
36
|
spec.add_runtime_dependency 'railties', '>= 4.2.5'
|
41
|
-
spec.add_runtime_dependency 'terminal-table', '>= 1.6.0'
|
42
37
|
spec.add_runtime_dependency 'watir', '>= 6.16.5'
|
43
38
|
spec.add_development_dependency 'bundler', '>= 1.17'
|
44
39
|
spec.add_development_dependency 'coveralls'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: r2-oas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yukihirop
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: docker-api
|
@@ -66,20 +66,6 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 1.0.0
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: paint
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :runtime
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: railties
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,20 +80,6 @@ dependencies:
|
|
94
80
|
- - ">="
|
95
81
|
- !ruby/object:Gem::Version
|
96
82
|
version: 4.2.5
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: terminal-table
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: 1.6.0
|
104
|
-
type: :runtime
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: 1.6.0
|
111
83
|
- !ruby/object:Gem::Dependency
|
112
84
|
name: watir
|
113
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -240,54 +212,53 @@ description: "== Let's intuitively write API documentation with Swagger Editor i
|
|
240
212
|
to your Rails project. \U0001F44D \nSo if you want to use another tool, you can
|
241
213
|
port it right away. \U0001F622 \nGenerate api docment(OpenAPI) side only from `Rails`
|
242
214
|
routing. \n \nProvide rake tasks to management API Docment (OpenAPI) \U0001F389
|
243
|
-
\ \n \n
|
244
|
-
\ $ bundle exec rake routes:oas:
|
245
|
-
\ $ bundle exec rake routes:oas:
|
246
|
-
\ $ bundle exec rake routes:oas:
|
247
|
-
\ \nHappy Coding ❗️\n"
|
215
|
+
\ \n \n $ bundle exec rake routes:oas:init\n $ bundle exec rake routes:oas:docs\n
|
216
|
+
\ $ bundle exec rake routes:oas:ui\n $ bundle exec rake routes:oas:editor\n
|
217
|
+
\ $ bundle exec rake routes:oas:monitor\n $ bundle exec rake routes:oas:build\n
|
218
|
+
\ $ bundle exec rake routes:oas:clean\n $ bundle exec rake routes:oas:analyze\n
|
219
|
+
\ $ bundle exec rake routes:oas:deploy\n\n \nHappy Coding ❗️\n"
|
248
220
|
email:
|
249
221
|
- te108186@gmail.com
|
250
222
|
executables: []
|
251
223
|
extensions: []
|
252
224
|
extra_rdoc_files: []
|
253
225
|
files:
|
254
|
-
- ".gitignore"
|
255
|
-
- ".rspec"
|
256
|
-
- ".rubocop.yml"
|
257
|
-
- ".rubocop_todo.yml"
|
258
|
-
- ".travis.yml"
|
259
|
-
- Appraisals
|
260
226
|
- CHANGELOG.md
|
261
|
-
- CODE_OF_CONDUCT.md
|
262
227
|
- GEMSPEC.md
|
263
|
-
- Gemfile
|
264
228
|
- LICENSE.txt
|
265
229
|
- README.ja.md
|
266
230
|
- README.md
|
267
|
-
- Rakefile
|
268
231
|
- lib/r2-oas.rb
|
269
232
|
- lib/r2-oas/app_configuration.rb
|
233
|
+
- lib/r2-oas/app_configuration/deprecation.rb
|
270
234
|
- lib/r2-oas/app_configuration/server.rb
|
271
235
|
- lib/r2-oas/app_configuration/swagger.rb
|
272
236
|
- lib/r2-oas/app_configuration/swagger/editor.rb
|
273
237
|
- lib/r2-oas/app_configuration/swagger/ui.rb
|
274
|
-
- lib/r2-oas/app_configuration/tool.rb
|
275
|
-
- lib/r2-oas/app_configuration/tool/paths/stats.rb
|
276
238
|
- lib/r2-oas/base.rb
|
277
239
|
- lib/r2-oas/configuration.rb
|
278
240
|
- lib/r2-oas/configuration/paths_config.rb
|
279
241
|
- lib/r2-oas/deploy/client.rb
|
280
242
|
- lib/r2-oas/deploy/swagger-ui/index.html.erb
|
281
243
|
- lib/r2-oas/errors.rb
|
244
|
+
- lib/r2-oas/helpers/file_helper.rb
|
282
245
|
- lib/r2-oas/hooks/global_hook.rb
|
283
246
|
- lib/r2-oas/hooks/hook.rb
|
284
247
|
- lib/r2-oas/hooks/repository.rb
|
248
|
+
- lib/r2-oas/lib/core_ext/all.rb
|
285
249
|
- lib/r2-oas/lib/core_ext/hash/deep_merge.rb
|
286
250
|
- lib/r2-oas/lib/core_ext/object/blank.rb
|
251
|
+
- lib/r2-oas/lib/core_ext/string/filters.rb
|
287
252
|
- lib/r2-oas/lib/three-way-merge/twm.rb
|
288
253
|
- lib/r2-oas/logger/stdout_logger.rb
|
289
|
-
- lib/r2-oas/
|
290
|
-
- lib/r2-oas/
|
254
|
+
- lib/r2-oas/plugin/base.rb
|
255
|
+
- lib/r2-oas/plugin/executor.rb
|
256
|
+
- lib/r2-oas/plugin/hookable.rb
|
257
|
+
- lib/r2-oas/plugin/public.rb
|
258
|
+
- lib/r2-oas/plugin/transform/transform.rb
|
259
|
+
- lib/r2-oas/plugin/transform/v3/transform.rb
|
260
|
+
- lib/r2-oas/plugin/transform/v3/visitable.rb
|
261
|
+
- lib/r2-oas/public.rb
|
291
262
|
- lib/r2-oas/routing/adjustor.rb
|
292
263
|
- lib/r2-oas/routing/base.rb
|
293
264
|
- lib/r2-oas/routing/components/all.rb
|
@@ -339,32 +310,47 @@ files:
|
|
339
310
|
- lib/r2-oas/schema/v3/manager/file/path_item_file_manager.rb
|
340
311
|
- lib/r2-oas/schema/v3/manager/file_manager.rb
|
341
312
|
- lib/r2-oas/schema/v3/manager/pathname_manager.rb
|
342
|
-
- lib/r2-oas/schema/v3/object/base_object.rb
|
343
|
-
- lib/r2-oas/schema/v3/object/components/request_body_object.rb
|
344
|
-
- lib/r2-oas/schema/v3/object/components/schema_object.rb
|
345
|
-
- lib/r2-oas/schema/v3/object/components_object.rb
|
346
|
-
- lib/r2-oas/schema/v3/object/external_document_object.rb
|
347
|
-
- lib/r2-oas/schema/v3/object/info_object.rb
|
348
|
-
- lib/r2-oas/schema/v3/object/openapi_object.rb
|
349
|
-
- lib/r2-oas/schema/v3/object/path_item_object.rb
|
350
|
-
- lib/r2-oas/schema/v3/object/paths_object.rb
|
351
|
-
- lib/r2-oas/schema/v3/object/
|
352
|
-
- lib/r2-oas/schema/v3/object/
|
353
|
-
- lib/r2-oas/schema/v3/object/
|
313
|
+
- lib/r2-oas/schema/v3/object/from_files/base_object.rb
|
314
|
+
- lib/r2-oas/schema/v3/object/from_files/components/request_body_object.rb
|
315
|
+
- lib/r2-oas/schema/v3/object/from_files/components/schema_object.rb
|
316
|
+
- lib/r2-oas/schema/v3/object/from_files/components_object.rb
|
317
|
+
- lib/r2-oas/schema/v3/object/from_files/external_document_object.rb
|
318
|
+
- lib/r2-oas/schema/v3/object/from_files/info_object.rb
|
319
|
+
- lib/r2-oas/schema/v3/object/from_files/openapi_object.rb
|
320
|
+
- lib/r2-oas/schema/v3/object/from_files/path_item_object.rb
|
321
|
+
- lib/r2-oas/schema/v3/object/from_files/paths_object.rb
|
322
|
+
- lib/r2-oas/schema/v3/object/from_files/utils/all.rb
|
323
|
+
- lib/r2-oas/schema/v3/object/from_files/utils/deep_methods.rb
|
324
|
+
- lib/r2-oas/schema/v3/object/from_files/utils/refs.rb
|
325
|
+
- lib/r2-oas/schema/v3/object/from_routes/all.rb
|
326
|
+
- lib/r2-oas/schema/v3/object/from_routes/base_object.rb
|
327
|
+
- lib/r2-oas/schema/v3/object/from_routes/components/request_body_object.rb
|
328
|
+
- lib/r2-oas/schema/v3/object/from_routes/components/schema_object.rb
|
329
|
+
- lib/r2-oas/schema/v3/object/from_routes/components_object.rb
|
330
|
+
- lib/r2-oas/schema/v3/object/from_routes/external_document_object.rb
|
331
|
+
- lib/r2-oas/schema/v3/object/from_routes/info_object.rb
|
332
|
+
- lib/r2-oas/schema/v3/object/from_routes/openapi_object.rb
|
333
|
+
- lib/r2-oas/schema/v3/object/from_routes/path_item_object.rb
|
334
|
+
- lib/r2-oas/schema/v3/object/from_routes/paths_object.rb
|
335
|
+
- lib/r2-oas/schema/v3/object/from_routes/server_object.rb
|
336
|
+
- lib/r2-oas/schema/v3/object/from_routes/tag_object.rb
|
337
|
+
- lib/r2-oas/schema/v3/object/store.rb
|
354
338
|
- lib/r2-oas/schema/v3/squeezer.rb
|
355
339
|
- lib/r2-oas/schema/v3/squeezer/base_squeezer.rb
|
356
340
|
- lib/r2-oas/schema/v3/squeezer/path_squeezer.rb
|
357
341
|
- lib/r2-oas/schema/v3/squeezer/tag_squeezer.rb
|
358
342
|
- lib/r2-oas/shared/all.rb
|
343
|
+
- lib/r2-oas/shared/callable.rb
|
359
344
|
- lib/r2-oas/shared/sortable.rb
|
360
345
|
- lib/r2-oas/store.rb
|
346
|
+
- lib/r2-oas/support/deprecation.rb
|
347
|
+
- lib/r2-oas/support/deprecation/behavior.rb
|
348
|
+
- lib/r2-oas/support/deprecation/instance_delegator.rb
|
349
|
+
- lib/r2-oas/support/deprecation/reporting.rb
|
361
350
|
- lib/r2-oas/task.rb
|
362
351
|
- lib/r2-oas/task_logging.rb
|
363
352
|
- lib/r2-oas/tasks/common.rake
|
364
353
|
- lib/r2-oas/tasks/main.rake
|
365
|
-
- lib/r2-oas/tasks/tool.rake
|
366
|
-
- lib/r2-oas/tool/paths/ls.rb
|
367
|
-
- lib/r2-oas/tool/paths/stats.rb
|
368
354
|
- lib/r2-oas/version.rb
|
369
355
|
- r2-oas.gemspec
|
370
356
|
homepage: https://github.com/yukihirop/r2-oas
|
@@ -372,10 +358,10 @@ licenses:
|
|
372
358
|
- MIT
|
373
359
|
metadata:
|
374
360
|
bug_tracker_uri: https://github.com/yukihirop/r2-oas/issues
|
375
|
-
changelog_uri: https://github.com/yukihirop/r2-oas/blob/v0.
|
361
|
+
changelog_uri: https://github.com/yukihirop/r2-oas/blob/v0.5.0/CHANGELOG.md
|
376
362
|
documentation_uri: https://yukihirop.github.io/r2-oas
|
377
|
-
source_code_uri: https://github.com/yukihirop/r2-oas/tree/v0.
|
378
|
-
post_install_message:
|
363
|
+
source_code_uri: https://github.com/yukihirop/r2-oas/tree/v0.5.0
|
364
|
+
post_install_message:
|
379
365
|
rdoc_options: []
|
380
366
|
require_paths:
|
381
367
|
- lib
|
@@ -383,7 +369,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
383
369
|
requirements:
|
384
370
|
- - ">="
|
385
371
|
- !ruby/object:Gem::Version
|
386
|
-
version: 2.
|
372
|
+
version: 2.5.0
|
387
373
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
388
374
|
requirements:
|
389
375
|
- - ">="
|
@@ -391,7 +377,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
391
377
|
version: '0'
|
392
378
|
requirements: []
|
393
379
|
rubygems_version: 3.1.2
|
394
|
-
signing_key:
|
380
|
+
signing_key:
|
395
381
|
specification_version: 4
|
396
382
|
summary: Provide rake tasks to management API Docment (OpenAPI)
|
397
383
|
test_files: []
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/.rubocop.yml
DELETED
data/.rubocop_todo.yml
DELETED
@@ -1,291 +0,0 @@
|
|
1
|
-
# This configuration was generated by
|
2
|
-
# `rubocop --auto-gen-config`
|
3
|
-
# on 2019-06-29 18:42:52 +0900 using RuboCop version 0.72.0.
|
4
|
-
# The point is for the user to remove these configuration records
|
5
|
-
# one by one as the offenses are removed from the code base.
|
6
|
-
# Note that changes in the inspected code, or installation of new
|
7
|
-
# versions of RuboCop, may require this file to be generated again.
|
8
|
-
|
9
|
-
# Offense count: 6135
|
10
|
-
# Cop supports --auto-correct.
|
11
|
-
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
12
|
-
# URISchemes: http, https
|
13
|
-
Layout/LineLength:
|
14
|
-
Max: 2088
|
15
|
-
|
16
|
-
Metrics/AbcSize:
|
17
|
-
# The ABC size is a calculated magnitude, so this number can be a Fixnum or
|
18
|
-
# a Float.
|
19
|
-
Max: 20
|
20
|
-
Exclude:
|
21
|
-
- "lib/r2-oas/schema/v3/generator/schema_generator.rb"
|
22
|
-
- "lib/r2-oas/schema/v3/analyzer.rb"
|
23
|
-
- "lib/r2-oas/schema/v3/generator/components/request_body_generator.rb"
|
24
|
-
- "lib/r2-oas/schema/v3/manager/pathname_manager.rb"
|
25
|
-
- "lib/r2-oas/schema/v3/manager/diff/base_hash_diff_manager.rb"
|
26
|
-
- "lib/r2-oas/routing/components/request_component.rb"
|
27
|
-
- "spec/r2-oas/schema/v3/object/components/schema_object_spec.rb"
|
28
|
-
- "spec/support/helpers/config_helper.rb"
|
29
|
-
- "lib/r2-oas/schema/v3/generator/doc_generator.rb"
|
30
|
-
|
31
|
-
Style/Documentation:
|
32
|
-
Enabled: false
|
33
|
-
|
34
|
-
Style/GuardClause:
|
35
|
-
Enabled: false
|
36
|
-
|
37
|
-
Metrics/BlockLength:
|
38
|
-
Exclude:
|
39
|
-
- "r2-oas.gemspec"
|
40
|
-
- "lib/r2-oas/tasks/main.rake"
|
41
|
-
- "lib/r2-oas/tasks/tool.rake"
|
42
|
-
- "spec/r2-oas/routing/adjustor_spec.rb"
|
43
|
-
- "spec/r2-oas/routing/components/request_component_spec.rb"
|
44
|
-
- "spec/r2-oas/schema/v3/object/paths_object_spec.rb"
|
45
|
-
- "spec/r2-oas/schema/v3/object/external_document_object_spec.rb"
|
46
|
-
- "spec/r2-oas/schema/v3/manager/pathname_manager_spec.rb"
|
47
|
-
- "spec/r2-oas/schema/v3/manager/diff/base_hash_diff_manager_spec.rb"
|
48
|
-
- "spec/r2-oas/schema/v3/manager/file/base_file_manager_spec.rb"
|
49
|
-
- "spec/r2-oas/routing/parser_spec.rb"
|
50
|
-
- "spec/r2-oas/routing/components/path_component_spec.rb"
|
51
|
-
- "spec/r2-oas/schema/v3/object/components/request_body_object_spec.rb"
|
52
|
-
- "spec/r2-oas/schema/v3/object/components/schema_object_spec.rb"
|
53
|
-
- "spec/r2-oas/schema/v3/object/path_item_object_spec.rb"
|
54
|
-
- "spec/r2-oas/configuration/paths_config_spec.rb"
|
55
|
-
- "spec/r2-oas/tasks/main_spec.rb"
|
56
|
-
- "spec/r2-oas/tasks/tool_spec.rb"
|
57
|
-
- "spec/r2-oas/configuration_spec.rb"
|
58
|
-
- "spec/r2-oas/schema/v3/generator_spec.rb"
|
59
|
-
- "spec/r2-oas/schema/v3/builder_spec.rb"
|
60
|
-
- "spec/r2-oas/schema/v3/analyzer_spec.rb"
|
61
|
-
- "spec/support/helpers/config_helper.rb"
|
62
|
-
- "spec/r2-oas/schema/v3/object/components_object_spec.rb"
|
63
|
-
- "spec/r2-oas/schema/v3/object/base_object_spec.rb"
|
64
|
-
- "spec/r2-oas/schema/v3/manager/diff/base_array_diff_manager_spec.rb"
|
65
|
-
- "spec/r2-oas/schema/v3/manager/file/include_ref_base_file_manager_spec.rb"
|
66
|
-
- "spec/r2-oas/schema/v3/generator/base_generator_spec.rb"
|
67
|
-
- "spec/r2-oas/schema/v3/builder/base_builder_spec.rb"
|
68
|
-
- "spec/r2-oas/schema/v3/object/openapi_object_spec.rb"
|
69
|
-
- "spec/r2-oas/schema/v3/object/info_object_spec.rb"
|
70
|
-
|
71
|
-
Lint/AmbiguousOperator:
|
72
|
-
Exclude:
|
73
|
-
- "lib/r2-oas/app_configuration/swagger.rb"
|
74
|
-
- "lib/r2-oas/app_configuration/tool/paths/stats.rb"
|
75
|
-
- "lib/r2-oas/app_configuration/swagger/ui.rb"
|
76
|
-
- "lib/r2-oas/app_configuration/swagger/editor.rb"
|
77
|
-
- "lib/r2-oas/app_configuration/tool.rb"
|
78
|
-
- "lib/r2-oas/configuration.rb"
|
79
|
-
- "lib/r2-oas/app_configuration/server.rb"
|
80
|
-
- "lib/r2-oas/schema/v3/object/base_object.rb"
|
81
|
-
- "lib/r2-oas/base.rb"
|
82
|
-
- "lib/r2-oas/routing/parser.rb"
|
83
|
-
- "lib/r2-oas/app_configuration.rb"
|
84
|
-
- "lib/r2-oas/pluggable_configuration.rb"
|
85
|
-
|
86
|
-
Metrics/MethodLength:
|
87
|
-
Exclude:
|
88
|
-
- "lib/r2-oas/logger/stdout_logger.rb"
|
89
|
-
- "lib/r2-oas/routing/adjustor.rb"
|
90
|
-
- "lib/r2-oas/routing/parser.rb"
|
91
|
-
- "lib/r2-oas/hooks/hook.rb"
|
92
|
-
- "lib/r2-oas/task_logging.rb"
|
93
|
-
- "lib/r2-oas/schema/ui.rb"
|
94
|
-
- "lib/r2-oas/schema/editor.rb"
|
95
|
-
- "lib/r2-oas/shared/sortable.rb"
|
96
|
-
- "lib/r2-oas/app_configuration.rb"
|
97
|
-
- "lib/r2-oas/schema/v3/analyzer/path_analyzer.rb"
|
98
|
-
- "lib/r2-oas/schema/v3/analyzer/base_analyzer.rb"
|
99
|
-
- "lib/r2-oas/schema/v3/analyzer/components/request_bodies_analyzer.rb"
|
100
|
-
- "lib/r2-oas/schema/v3/analyzer/components/schemas_analyzer.rb"
|
101
|
-
- "lib/r2-oas/schema/v3/analyzer/tag_analyzer.rb"
|
102
|
-
- "lib/r2-oas/schema/v3/analyzer.rb"
|
103
|
-
- "lib/r2-oas/schema/v3/object/paths_object.rb"
|
104
|
-
- "lib/r2-oas/schema/v3/object/components_object.rb"
|
105
|
-
- "lib/r2-oas/schema/v3/object/path_item_object.rb"
|
106
|
-
- "lib/r2-oas/schema/v3/object/info_object.rb"
|
107
|
-
- "lib/r2-oas/schema/v3/manager/diff/base_array_diff_manager.rb"
|
108
|
-
- "lib/r2-oas/schema/v3/manager/diff/base_hash_diff_manager.rb"
|
109
|
-
- "lib/r2-oas/schema/v3/manager/file/components/request_body_file_manager.rb"
|
110
|
-
- "lib/r2-oas/schema/v3/manager/file/path_item_file_manager.rb"
|
111
|
-
- "lib/r2-oas/schema/v3/manager/file/include_ref_base_file_manager.rb"
|
112
|
-
- "lib/r2-oas/schema/v3/manager/pathname_manager.rb"
|
113
|
-
- "lib/r2-oas/schema/v3/generator/path_generator.rb"
|
114
|
-
- "lib/r2-oas/schema/v3/generator/components/request_body_generator.rb"
|
115
|
-
- "lib/r2-oas/schema/v3/generator/schema_generator.rb"
|
116
|
-
- "lib/r2-oas/schema/v3/generator/components/schema_generator.rb"
|
117
|
-
- "lib/r2-oas/schema/v3/generator/doc_generator.rb"
|
118
|
-
- "lib/r2-oas/schema/v3/builder/doc_builder.rb"
|
119
|
-
- "lib/r2-oas/schema/v3/object/components/request_body_object.rb"
|
120
|
-
- "lib/r2-oas/schema/v3/squeezer/path_squeezer.rb"
|
121
|
-
- "lib/r2-oas/schema/v3/generator/components/object_generator.rb"
|
122
|
-
- "lib/r2-oas/routing/components/request_component.rb"
|
123
|
-
- "spec/support/helpers/config_helper.rb"
|
124
|
-
- "lib/r2-oas/schema/v3/analyzer/components/object_analyzer.rb"
|
125
|
-
- "lib/r2-oas/store.rb"
|
126
|
-
|
127
|
-
Metrics/CyclomaticComplexity:
|
128
|
-
Exclude:
|
129
|
-
- "lib/r2-oas/logger/stdout_logger.rb"
|
130
|
-
- "lib/r2-oas/schema/v3/manager/pathname_manager.rb"
|
131
|
-
- "lib/r2-oas/schema/v3/generator/doc_generator.rb"
|
132
|
-
|
133
|
-
Naming/ConstantName:
|
134
|
-
Exclude:
|
135
|
-
- "lib/r2-oas/logger/stdout_logger.rb"
|
136
|
-
|
137
|
-
Naming/PredicateName:
|
138
|
-
Exclude:
|
139
|
-
- "lib/r2-oas/hooks/hook.rb"
|
140
|
-
- "lib/r2-oas/plugins/schema/v3/object/hookable_base_object.rb"
|
141
|
-
|
142
|
-
Style/DoubleNegation:
|
143
|
-
Exclude:
|
144
|
-
- "lib/r2-oas/hooks/hook.rb"
|
145
|
-
|
146
|
-
Style/MultilineBlockChain:
|
147
|
-
Exclude:
|
148
|
-
- "lib/r2-oas/routing/parser.rb"
|
149
|
-
|
150
|
-
Naming/MemoizedInstanceVariableName:
|
151
|
-
Exclude:
|
152
|
-
- "lib/r2-oas/configuration.rb"
|
153
|
-
|
154
|
-
Naming/AccessorMethodName:
|
155
|
-
Exclude:
|
156
|
-
- "lib/r2-oas/configuration.rb"
|
157
|
-
- "lib/r2-oas/app_configuration.rb"
|
158
|
-
- "lib/r2-oas/pluggable_configuration.rb"
|
159
|
-
|
160
|
-
Style/AsciiComments:
|
161
|
-
Exclude:
|
162
|
-
- "lib/r2-oas/logger/stdout_logger.rb"
|
163
|
-
- "lib/r2-oas/schema/v3/analyzer/path_analyzer.rb"
|
164
|
-
|
165
|
-
Lint/UnderscorePrefixedVariableName:
|
166
|
-
Exclude:
|
167
|
-
- "lib/r2-oas/logger/stdout_logger.rb"
|
168
|
-
- "lib/r2-oas/schema/v3/object/components/request_body_object.rb"
|
169
|
-
|
170
|
-
Lint/UselessAccessModifier:
|
171
|
-
Exclude:
|
172
|
-
- "lib/r2-oas/pluggable_configuration.rb"
|
173
|
-
|
174
|
-
Style/IdenticalConditionalBranches:
|
175
|
-
Exclude:
|
176
|
-
- "lib/r2-oas/schema/editor.rb"
|
177
|
-
|
178
|
-
Style/ClassVars:
|
179
|
-
Exclude:
|
180
|
-
- "lib/r2-oas/plugins/schema/v3/object/hookable_base_object.rb"
|
181
|
-
|
182
|
-
Style/AccessModifierDeclarations:
|
183
|
-
Exclude:
|
184
|
-
- "lib/r2-oas/app_configuration.rb"
|
185
|
-
|
186
|
-
Style/NumericPredicate:
|
187
|
-
Exclude:
|
188
|
-
- "lib/r2-oas/schema/v3/generator/base_generator.rb"
|
189
|
-
- "lib/r2-oas/schema/v3/builder/base_builder.rb"
|
190
|
-
|
191
|
-
Metrics/ClassLength:
|
192
|
-
Exclude:
|
193
|
-
- "lib/r2-oas/schema/v3/object/path_item_object.rb"
|
194
|
-
|
195
|
-
Metrics/ParameterLists:
|
196
|
-
Exclude:
|
197
|
-
- "lib/r2-oas/schema/v3/object/path_item_object.rb"
|
198
|
-
- "lib/r2-oas/schema/v3/object/components/schema_object.rb"
|
199
|
-
- "spec/r2-oas/schema/v3/object/components/schema_object_spec.rb"
|
200
|
-
|
201
|
-
Layout/EndAlignment:
|
202
|
-
Exclude:
|
203
|
-
- "lib/r2-oas/shared/sortable.rb"
|
204
|
-
- "lib/r2-oas/schema/v3/generator/doc_generator.rb"
|
205
|
-
- "lib/r2-oas/schema/v3/builder/doc_builder.rb"
|
206
|
-
|
207
|
-
Security/YAMLLoad:
|
208
|
-
Exclude:
|
209
|
-
- "lib/r2-oas/schema/editor.rb"
|
210
|
-
|
211
|
-
Naming/FileName:
|
212
|
-
Exclude:
|
213
|
-
- "spec/r2-oas_spec.rb"
|
214
|
-
- "lib/r2-oas.rb"
|
215
|
-
|
216
|
-
Naming/MethodName:
|
217
|
-
Exclude:
|
218
|
-
- "spec/support/helpers/create_helper.rb"
|
219
|
-
- "spec/support/helpers/path_helper.rb"
|
220
|
-
|
221
|
-
Naming/HeredocDelimiterNaming:
|
222
|
-
Exclude:
|
223
|
-
- "spec/r2-oas/configuration/paths_config_spec.rb"
|
224
|
-
- "r2-oas.gemspec"
|
225
|
-
|
226
|
-
Style/ClassAndModuleChildren:
|
227
|
-
Exclude:
|
228
|
-
- "spec/dummy_app/controllers/api/v1/tasks_controller.rb"
|
229
|
-
|
230
|
-
Lint/RequireParentheses:
|
231
|
-
Exclude:
|
232
|
-
- "spec/r2-oas/schema/v3/object/components/schema_object_spec.rb"
|
233
|
-
|
234
|
-
Style/IfUnlessModifier:
|
235
|
-
Exclude:
|
236
|
-
- "lib/r2-oas/schema/editor.rb"
|
237
|
-
|
238
|
-
Security/MarshalLoad:
|
239
|
-
Enabled: false
|
240
|
-
|
241
|
-
Metrics/PerceivedComplexity:
|
242
|
-
Exclude:
|
243
|
-
- "lib/r2-oas/schema/v3/generator/doc_generator.rb"
|
244
|
-
|
245
|
-
Lint/UselessAssignment:
|
246
|
-
Enabled: false
|
247
|
-
|
248
|
-
Style/NestedParenthesizedCalls:
|
249
|
-
Enabled: false
|
250
|
-
|
251
|
-
Layout/EmptyLinesAroundAttributeAccessor:
|
252
|
-
Enabled: false
|
253
|
-
|
254
|
-
Layout/SpaceAroundMethodCallOperator:
|
255
|
-
Enabled: false
|
256
|
-
|
257
|
-
Lint/DeprecatedOpenSSLConstant:
|
258
|
-
Enabled: false
|
259
|
-
|
260
|
-
Lint/RaiseException:
|
261
|
-
Enabled: false
|
262
|
-
|
263
|
-
Lint/StructNewOverride:
|
264
|
-
Enabled: false
|
265
|
-
|
266
|
-
Style/ExponentialNotation:
|
267
|
-
Enabled: false
|
268
|
-
|
269
|
-
Style/HashEachMethods:
|
270
|
-
Enabled: false
|
271
|
-
Style/HashTransformKeys:
|
272
|
-
Enabled: false
|
273
|
-
|
274
|
-
Style/HashTransformValues:
|
275
|
-
Enabled: false
|
276
|
-
|
277
|
-
Style/SlicingWithRange:
|
278
|
-
Enabled: false
|
279
|
-
|
280
|
-
Lint/NonDeterministicRequireOrder:
|
281
|
-
Exclude:
|
282
|
-
- "spec/spec_helper.rb"
|
283
|
-
|
284
|
-
Lint/MixedRegexpCaptureTypes:
|
285
|
-
Enabled: false
|
286
|
-
|
287
|
-
Style/RedundantRegexpCharacterClass:
|
288
|
-
Enabled: false
|
289
|
-
|
290
|
-
Style/RedundantRegexpEscape:
|
291
|
-
Enabled: false
|