zero-rails_openapi 2.0.1 → 2.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d3c5097304de83d6bf030739ecaa8286afa404cb
4
- data.tar.gz: 5eb1fdb277d987bea4f7248e1ca5a8b4eb19936a
3
+ metadata.gz: 406f69d0bc9ba791d43c9989267f43d1b8d49f50
4
+ data.tar.gz: 81938569b866c04e5c9e61f5dc3feb6b6d523108
5
5
  SHA512:
6
- metadata.gz: 95628e9b15a0f30adfc229625c6d5813778dc5b6d13959c515e8afbeddc00ae8d35a635caf93c4328773ce2aaff6a859f78276c70af582fd797acdba6842462a
7
- data.tar.gz: 32891874cebfc0c4977d0ef550cf24a874493a184d554282cce16a2795079cf68c645ac78039ef9124745293d14914c2b43a6a472621a4187c8ab066a878dc17
6
+ metadata.gz: f78ea71f4788e0f89745fd36c265a61a1a6e6bbf6d969e604b6b043b82937253a75fba6f37b8bc33ae616d757c26cecbbd952be48c7778c7cc6d9e407cdd3f60
7
+ data.tar.gz: c3ff2a18f99422385a340068ef38a6e86a6b89979e2bf986a84a88536adc82750b9112a461e56bcb71a075ae59be83d60b64e1c080e7efdc202cf8fff01b6f46
@@ -7,12 +7,12 @@ module OpenApi
7
7
  module Config
8
8
  include ConfigDSL
9
9
 
10
- cattr_accessor :default_run_dry, default: false
10
+ cattr_accessor(:default_run_dry) { false }
11
11
 
12
12
  # [REQUIRED] The location where .json doc file will be output.
13
- cattr_accessor :file_output_path, default: 'public/open_api'
13
+ cattr_accessor(:file_output_path) { 'public/open_api' }
14
14
 
15
- cattr_accessor :doc_location, default: ['./app/**/*_doc.rb']
15
+ cattr_accessor(:doc_location) { ['./app/**/*_doc.rb'] }
16
16
 
17
17
  cattr_accessor :rails_routes_file
18
18
 
@@ -20,9 +20,9 @@ module OpenApi
20
20
 
21
21
  # Everything about OAS3 is on https://github.com/OAI/OpenAPI-Specification/blob/OpenAPI.next/versions/3.0.0.md
22
22
  # Getting started: https://swagger.io/docs/specification/basic-structure/
23
- cattr_accessor :open_api_docs, default: { }
23
+ cattr_accessor(:open_api_docs) { { } }
24
24
 
25
- cattr_accessor :file_format, default: 'binary'
25
+ cattr_accessor(:file_format) { 'binary' }
26
26
 
27
27
  def self.docs
28
28
  open_api_docs
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OpenApi
4
- VERSION = '2.0.1'
4
+ VERSION = '2.0.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zero-rails_openapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - zhandao