zero-rails_openapi 2.1.3 → 2.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6afe25b368bda3ef415c01c9fbd8c22c8cb2d544
4
- data.tar.gz: 666ae607f905146f90ecc86b399a0af08edbfff4
3
+ metadata.gz: ad9300ef0863756dc8921326f0878ca8afa58e92
4
+ data.tar.gz: f242c0646c62e952844c8f11410654e8fcef8e2d
5
5
  SHA512:
6
- metadata.gz: c87f34bdc7df1ceb1b7c2e81f825151776a45d36a98f9eb410182250adcd4ea1ca72afb1127c5c1f290a98e14730a750733e2c57cbf1ba892ebb1d7969a03097
7
- data.tar.gz: fbf997a1b3f2d603405664e86bcbac793ae58b0067504af01af21179b2600b46761917b3932e216bd96ce56631d249aa7b43b599c4585dc55d643d21935906a5
6
+ metadata.gz: 599d4cb3b53dd2af8d913b5ae5f174961e018cf198cf1c7693da52ee879d9514c9a701bf6bebd6e9185df9c1f9a966d4fec29e8a3c732ad81e88390117e6cedb
7
+ data.tar.gz: 4af5ee7a39d25bff3e30e7e44687c152817de79982b698211da87eab78ec2dc2e3df315d94f8f20f2da8d2aa94fe5c48e7b2cd289a135624d9740ecbe0a02b41
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
- ## [2.1.3] - 2020/2/8 - [view diff](https://github.com/zhandao/zero-rails_openapi/compare/v2.1.2...v2.1.3)
5
+ ## [2.1.3 - 2.1.4] - 2020/2/10 - [view diff](https://github.com/zhandao/zero-rails_openapi/compare/v2.1.2...v2.1.4)
6
6
 
7
7
  ### Fixed
8
8
 
@@ -103,7 +103,7 @@ module OpenApi
103
103
  alias_method :error, :response
104
104
 
105
105
  def response_ref code_and_compkey # = { }
106
- code_and_compkey.each { |code, component_key| self[:responses][code] = RefObj.new(:response, component_key) }
106
+ code_and_compkey.each { |code, component_key| self[:responses][code.to_s] = RefObj.new(:response, component_key) }
107
107
  end
108
108
 
109
109
  def security_require scheme_name, scopes: [ ]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OpenApi
4
- VERSION = '2.1.3'
4
+ VERSION = '2.1.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zero-rails_openapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - zhandao
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-02-08 00:00:00.000000000 Z
11
+ date: 2020-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler