r2-oas 0.3.1 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +50 -0
- data/GEMSPEC.md +2 -2
- data/README.ja.md +54 -37
- data/README.md +55 -32
- 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 +56 -0
- data/lib/r2-oas/deploy/client.rb +21 -6
- data/lib/r2-oas/{plugins/schema/v3/object → dynamic/schema/v3/object/from_routes}/hookable_base_object.rb +7 -7
- data/lib/r2-oas/errors.rb +5 -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/pluggable_configuration.rb +8 -5
- 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 +42 -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 +5 -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 +8 -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/{base_object.rb → from_routes/base_object.rb} +11 -1
- data/lib/r2-oas/schema/v3/object/{components → from_routes/components}/request_body_object.rb +23 -19
- data/lib/r2-oas/schema/v3/object/{components → from_routes/components}/schema_object.rb +16 -12
- data/lib/r2-oas/schema/v3/object/{components_object.rb → from_routes/components_object.rb} +11 -11
- data/lib/r2-oas/schema/v3/object/from_routes/external_document_object.rb +28 -0
- data/lib/r2-oas/schema/v3/object/{info_object.rb → from_routes/info_object.rb} +11 -2
- data/lib/r2-oas/schema/v3/object/{openapi_object.rb → from_routes/openapi_object.rb} +12 -11
- data/lib/r2-oas/schema/v3/object/{path_item_object.rb → from_routes/path_item_object.rb} +6 -6
- data/lib/r2-oas/schema/v3/object/{paths_object.rb → from_routes/paths_object.rb} +11 -8
- data/lib/r2-oas/schema/v3/object/{public.rb → from_routes/public.rb} +0 -0
- 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 +60 -9
- data/lib/r2-oas/version.rb +1 -1
- data/r2-oas.gemspec +1 -6
- metadata +51 -110
- data/.github/ISSUE_TEMPLATE.md +0 -12
- data/.github/PULL_REQUEST_TEMPLATE.md +0 -12
- 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/bin/console +0 -12
- data/bin/setup +0 -8
- data/devscript/all_support_ruby.sh +0 -43
- data/devscript/bundle_for_all_support_ruby.sh +0 -31
- data/devscript/rspec_for_all_support_ruby.sh +0 -27
- data/docs/.nojekyll +0 -0
- data/docs/README.md +0 -173
- data/docs/_sidebar.md +0 -25
- data/docs/attention/if_clash.md +0 -17
- data/docs/index.html +0 -29
- data/docs/schema/3.0.0.md +0 -155
- data/docs/setting/COC.md +0 -14
- data/docs/setting/CORS.md +0 -22
- data/docs/setting/configure.md +0 -176
- data/docs/trableshouting/runtime_error.md +0 -44
- data/docs/usage/analyze_docs.md +0 -875
- data/docs/usage/clean_docs.md +0 -19
- data/docs/usage/deploy_docs.md +0 -839
- data/docs/usage/display_paths_list.md +0 -35
- data/docs/usage/display_paths_stats.md +0 -54
- data/docs/usage/edit_docs.md +0 -218
- data/docs/usage/generate_docs.md +0 -412
- data/docs/usage/monitor_docs.md +0 -219
- data/docs/usage/use_hook_methods.md +0 -236
- data/docs/usage/use_hook_to_generate_docs.md +0 -235
- data/docs/usage/use_schema_namespace.md +0 -181
- data/docs/usage/use_tag_namespace.md +0 -180
- data/docs/usage/view_docs.md +0 -262
- data/gemfiles/ruby_2.3.3.gemfile +0 -11
- data/gemfiles/ruby_2.4.2.gemfile +0 -11
- data/gemfiles/ruby_2.5.8.gemfile +0 -11
- data/gemfiles/ruby_2.6.6.gemfile +0 -11
- data/gemfiles/ruby_2.7.1.gemfile +0 -11
- 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/deploy/swagger-ui/dist/favicon-16x16.png +0 -0
- data/lib/r2-oas/deploy/swagger-ui/dist/favicon-32x32.png +0 -0
- data/lib/r2-oas/deploy/swagger-ui/dist/oauth2-redirect.html +0 -68
- data/lib/r2-oas/deploy/swagger-ui/dist/swagger-ui-bundle.js +0 -134
- data/lib/r2-oas/deploy/swagger-ui/dist/swagger-ui-bundle.js.map +0 -1
- data/lib/r2-oas/deploy/swagger-ui/dist/swagger-ui-standalone-preset.js +0 -22
- data/lib/r2-oas/deploy/swagger-ui/dist/swagger-ui-standalone-preset.js.map +0 -1
- data/lib/r2-oas/deploy/swagger-ui/dist/swagger-ui.css +0 -4
- data/lib/r2-oas/deploy/swagger-ui/dist/swagger-ui.css.map +0 -1
- data/lib/r2-oas/deploy/swagger-ui/dist/swagger-ui.js +0 -9
- data/lib/r2-oas/deploy/swagger-ui/dist/swagger-ui.js.map +0 -1
- data/lib/r2-oas/schema/v3/object/external_document_object.rb +0 -19
- data/lib/r2-oas/tasks/tool.rake +0 -76
- 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,10 +23,7 @@ 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)/}) }
|
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']
|
@@ -36,9 +33,7 @@ Gem::Specification.new do |spec|
|
|
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.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yukihirop
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-24 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,100 +212,54 @@ 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
|
-
- ".github/ISSUE_TEMPLATE.md"
|
255
|
-
- ".github/PULL_REQUEST_TEMPLATE.md"
|
256
|
-
- ".gitignore"
|
257
|
-
- ".rspec"
|
258
|
-
- ".rubocop.yml"
|
259
|
-
- ".rubocop_todo.yml"
|
260
|
-
- ".travis.yml"
|
261
|
-
- Appraisals
|
262
226
|
- CHANGELOG.md
|
263
|
-
- CODE_OF_CONDUCT.md
|
264
227
|
- GEMSPEC.md
|
265
|
-
- Gemfile
|
266
228
|
- LICENSE.txt
|
267
229
|
- README.ja.md
|
268
230
|
- README.md
|
269
|
-
- Rakefile
|
270
|
-
- bin/console
|
271
|
-
- bin/setup
|
272
|
-
- devscript/all_support_ruby.sh
|
273
|
-
- devscript/bundle_for_all_support_ruby.sh
|
274
|
-
- devscript/rspec_for_all_support_ruby.sh
|
275
|
-
- docs/.nojekyll
|
276
|
-
- docs/README.md
|
277
|
-
- docs/_sidebar.md
|
278
|
-
- docs/attention/if_clash.md
|
279
|
-
- docs/index.html
|
280
|
-
- docs/schema/3.0.0.md
|
281
|
-
- docs/setting/COC.md
|
282
|
-
- docs/setting/CORS.md
|
283
|
-
- docs/setting/configure.md
|
284
|
-
- docs/trableshouting/runtime_error.md
|
285
|
-
- docs/usage/analyze_docs.md
|
286
|
-
- docs/usage/clean_docs.md
|
287
|
-
- docs/usage/deploy_docs.md
|
288
|
-
- docs/usage/display_paths_list.md
|
289
|
-
- docs/usage/display_paths_stats.md
|
290
|
-
- docs/usage/edit_docs.md
|
291
|
-
- docs/usage/generate_docs.md
|
292
|
-
- docs/usage/monitor_docs.md
|
293
|
-
- docs/usage/use_hook_methods.md
|
294
|
-
- docs/usage/use_hook_to_generate_docs.md
|
295
|
-
- docs/usage/use_schema_namespace.md
|
296
|
-
- docs/usage/use_tag_namespace.md
|
297
|
-
- docs/usage/view_docs.md
|
298
|
-
- gemfiles/ruby_2.3.3.gemfile
|
299
|
-
- gemfiles/ruby_2.4.2.gemfile
|
300
|
-
- gemfiles/ruby_2.5.8.gemfile
|
301
|
-
- gemfiles/ruby_2.6.6.gemfile
|
302
|
-
- gemfiles/ruby_2.7.1.gemfile
|
303
231
|
- lib/r2-oas.rb
|
304
232
|
- lib/r2-oas/app_configuration.rb
|
233
|
+
- lib/r2-oas/app_configuration/deprecation.rb
|
305
234
|
- lib/r2-oas/app_configuration/server.rb
|
306
235
|
- lib/r2-oas/app_configuration/swagger.rb
|
307
236
|
- lib/r2-oas/app_configuration/swagger/editor.rb
|
308
237
|
- lib/r2-oas/app_configuration/swagger/ui.rb
|
309
|
-
- lib/r2-oas/app_configuration/tool.rb
|
310
|
-
- lib/r2-oas/app_configuration/tool/paths/stats.rb
|
311
238
|
- lib/r2-oas/base.rb
|
312
239
|
- lib/r2-oas/configuration.rb
|
313
240
|
- lib/r2-oas/configuration/paths_config.rb
|
314
241
|
- lib/r2-oas/deploy/client.rb
|
315
|
-
- lib/r2-oas/deploy/swagger-ui/dist/favicon-16x16.png
|
316
|
-
- lib/r2-oas/deploy/swagger-ui/dist/favicon-32x32.png
|
317
|
-
- lib/r2-oas/deploy/swagger-ui/dist/oauth2-redirect.html
|
318
|
-
- lib/r2-oas/deploy/swagger-ui/dist/swagger-ui-bundle.js
|
319
|
-
- lib/r2-oas/deploy/swagger-ui/dist/swagger-ui-bundle.js.map
|
320
|
-
- lib/r2-oas/deploy/swagger-ui/dist/swagger-ui-standalone-preset.js
|
321
|
-
- lib/r2-oas/deploy/swagger-ui/dist/swagger-ui-standalone-preset.js.map
|
322
|
-
- lib/r2-oas/deploy/swagger-ui/dist/swagger-ui.css
|
323
|
-
- lib/r2-oas/deploy/swagger-ui/dist/swagger-ui.css.map
|
324
|
-
- lib/r2-oas/deploy/swagger-ui/dist/swagger-ui.js
|
325
|
-
- lib/r2-oas/deploy/swagger-ui/dist/swagger-ui.js.map
|
326
242
|
- lib/r2-oas/deploy/swagger-ui/index.html.erb
|
243
|
+
- lib/r2-oas/dynamic/schema/v3/object/from_routes/hookable_base_object.rb
|
327
244
|
- lib/r2-oas/errors.rb
|
328
245
|
- lib/r2-oas/hooks/global_hook.rb
|
329
246
|
- lib/r2-oas/hooks/hook.rb
|
330
247
|
- lib/r2-oas/hooks/repository.rb
|
248
|
+
- lib/r2-oas/lib/core_ext/all.rb
|
331
249
|
- lib/r2-oas/lib/core_ext/hash/deep_merge.rb
|
332
250
|
- lib/r2-oas/lib/core_ext/object/blank.rb
|
251
|
+
- lib/r2-oas/lib/core_ext/string/filters.rb
|
333
252
|
- lib/r2-oas/lib/three-way-merge/twm.rb
|
334
253
|
- lib/r2-oas/logger/stdout_logger.rb
|
335
254
|
- lib/r2-oas/pluggable_configuration.rb
|
336
|
-
- lib/r2-oas/
|
255
|
+
- lib/r2-oas/plugin/base.rb
|
256
|
+
- lib/r2-oas/plugin/executor.rb
|
257
|
+
- lib/r2-oas/plugin/hookable.rb
|
258
|
+
- lib/r2-oas/plugin/public.rb
|
259
|
+
- lib/r2-oas/plugin/transform/transform.rb
|
260
|
+
- lib/r2-oas/plugin/transform/v3/transform.rb
|
261
|
+
- lib/r2-oas/plugin/transform/v3/visitable.rb
|
262
|
+
- lib/r2-oas/public.rb
|
337
263
|
- lib/r2-oas/routing/adjustor.rb
|
338
264
|
- lib/r2-oas/routing/base.rb
|
339
265
|
- lib/r2-oas/routing/components/all.rb
|
@@ -385,32 +311,47 @@ files:
|
|
385
311
|
- lib/r2-oas/schema/v3/manager/file/path_item_file_manager.rb
|
386
312
|
- lib/r2-oas/schema/v3/manager/file_manager.rb
|
387
313
|
- lib/r2-oas/schema/v3/manager/pathname_manager.rb
|
388
|
-
- lib/r2-oas/schema/v3/object/base_object.rb
|
389
|
-
- lib/r2-oas/schema/v3/object/components/request_body_object.rb
|
390
|
-
- lib/r2-oas/schema/v3/object/components/schema_object.rb
|
391
|
-
- lib/r2-oas/schema/v3/object/components_object.rb
|
392
|
-
- lib/r2-oas/schema/v3/object/external_document_object.rb
|
393
|
-
- lib/r2-oas/schema/v3/object/info_object.rb
|
394
|
-
- lib/r2-oas/schema/v3/object/openapi_object.rb
|
395
|
-
- lib/r2-oas/schema/v3/object/path_item_object.rb
|
396
|
-
- lib/r2-oas/schema/v3/object/paths_object.rb
|
397
|
-
- lib/r2-oas/schema/v3/object/
|
398
|
-
- lib/r2-oas/schema/v3/object/
|
399
|
-
- lib/r2-oas/schema/v3/object/
|
314
|
+
- lib/r2-oas/schema/v3/object/from_files/base_object.rb
|
315
|
+
- lib/r2-oas/schema/v3/object/from_files/components/request_body_object.rb
|
316
|
+
- lib/r2-oas/schema/v3/object/from_files/components/schema_object.rb
|
317
|
+
- lib/r2-oas/schema/v3/object/from_files/components_object.rb
|
318
|
+
- lib/r2-oas/schema/v3/object/from_files/external_document_object.rb
|
319
|
+
- lib/r2-oas/schema/v3/object/from_files/info_object.rb
|
320
|
+
- lib/r2-oas/schema/v3/object/from_files/openapi_object.rb
|
321
|
+
- lib/r2-oas/schema/v3/object/from_files/path_item_object.rb
|
322
|
+
- lib/r2-oas/schema/v3/object/from_files/paths_object.rb
|
323
|
+
- lib/r2-oas/schema/v3/object/from_files/utils/all.rb
|
324
|
+
- lib/r2-oas/schema/v3/object/from_files/utils/deep_methods.rb
|
325
|
+
- lib/r2-oas/schema/v3/object/from_files/utils/refs.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/public.rb
|
336
|
+
- lib/r2-oas/schema/v3/object/from_routes/server_object.rb
|
337
|
+
- lib/r2-oas/schema/v3/object/from_routes/tag_object.rb
|
338
|
+
- lib/r2-oas/schema/v3/object/store.rb
|
400
339
|
- lib/r2-oas/schema/v3/squeezer.rb
|
401
340
|
- lib/r2-oas/schema/v3/squeezer/base_squeezer.rb
|
402
341
|
- lib/r2-oas/schema/v3/squeezer/path_squeezer.rb
|
403
342
|
- lib/r2-oas/schema/v3/squeezer/tag_squeezer.rb
|
404
343
|
- lib/r2-oas/shared/all.rb
|
344
|
+
- lib/r2-oas/shared/callable.rb
|
405
345
|
- lib/r2-oas/shared/sortable.rb
|
406
346
|
- lib/r2-oas/store.rb
|
347
|
+
- lib/r2-oas/support/deprecation.rb
|
348
|
+
- lib/r2-oas/support/deprecation/behavior.rb
|
349
|
+
- lib/r2-oas/support/deprecation/instance_delegator.rb
|
350
|
+
- lib/r2-oas/support/deprecation/reporting.rb
|
407
351
|
- lib/r2-oas/task.rb
|
408
352
|
- lib/r2-oas/task_logging.rb
|
409
353
|
- lib/r2-oas/tasks/common.rake
|
410
354
|
- lib/r2-oas/tasks/main.rake
|
411
|
-
- lib/r2-oas/tasks/tool.rake
|
412
|
-
- lib/r2-oas/tool/paths/ls.rb
|
413
|
-
- lib/r2-oas/tool/paths/stats.rb
|
414
355
|
- lib/r2-oas/version.rb
|
415
356
|
- r2-oas.gemspec
|
416
357
|
homepage: https://github.com/yukihirop/r2-oas
|
@@ -418,9 +359,9 @@ licenses:
|
|
418
359
|
- MIT
|
419
360
|
metadata:
|
420
361
|
bug_tracker_uri: https://github.com/yukihirop/r2-oas/issues
|
421
|
-
changelog_uri: https://github.com/yukihirop/r2-oas/blob/v0.
|
362
|
+
changelog_uri: https://github.com/yukihirop/r2-oas/blob/v0.4.1/CHANGELOG.md
|
422
363
|
documentation_uri: https://yukihirop.github.io/r2-oas
|
423
|
-
source_code_uri: https://github.com/yukihirop/r2-oas/tree/v0.
|
364
|
+
source_code_uri: https://github.com/yukihirop/r2-oas/tree/v0.4.1
|
424
365
|
post_install_message:
|
425
366
|
rdoc_options: []
|
426
367
|
require_paths:
|
data/.github/ISSUE_TEMPLATE.md
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
### Summary
|
2
|
-
|
3
|
-
### Other Information
|
4
|
-
|
5
|
-
If there's anything else that's important and relevant to your pull
|
6
|
-
request, mention that information here. This could include
|
7
|
-
benchmarks, or other information.
|
8
|
-
|
9
|
-
If you are updating any of the CHANGELOG files or are asked to update the
|
10
|
-
CHANGELOG files by reviewers, please add the CHANGELOG entry at the top of the file.
|
11
|
-
|
12
|
-
Thanks for contributing to r2-oas!
|
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
|