openapi3_parser 0.8.0 → 0.8.1

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: 305a84267a984ae06f488b48ed4d9f385fddfccb
4
- data.tar.gz: 51e8ed34fcc0b665658a4ff08d3ac51c2755f9bd
3
+ metadata.gz: cae3ba3a8fd23755c48f1a3a2e08c1a3b90adc1d
4
+ data.tar.gz: 502417cdf488fcc010a9e06cdc0b19de7f0af924
5
5
  SHA512:
6
- metadata.gz: c77b4149bba7eac8bb043b3c276325a4dc7de5605481e60a63fba01b0476c9f9fcc799ced7eda3bbbdc28cff955a64b578e48633d7f0ba7b0f3cbb659320ce58
7
- data.tar.gz: 3dbe3f4d0235e8308cbf28aa4ce79e725bd6071b28f0e087e222d8f6a91cb618e8ea91c46bde703f393baf5c09e5bb3f7ed23741b3ae07275b6aed7f9a60b655
6
+ metadata.gz: b5a9eeebd914e25368f12de8d04a0326c8eccc07b62fc7dfff0d8f942d244aaa21abfd85e0086ea47cd3930dbba6d8af0f70465629dde544062206e3485b8468
7
+ data.tar.gz: fb4c41adb927328d1969b956b273c1d33aa5d8ed135eb7b04bed1bfd984ff8e5a034a1bae5010855f55a557032581fb1ab33b4cbd622173af3885fd6d9d33966
@@ -1,3 +1,7 @@
1
+ # 0.8.1
2
+
3
+ - Fix incorrectly spelt method name on `Schema` s/disciminator/discriminator/g
4
+
1
5
  # 0.8.0
2
6
 
3
7
  - Resolve deprecation warnings for Ruby 2.7
@@ -207,7 +207,7 @@ module Openapi3Parser
207
207
  end
208
208
 
209
209
  # @return [Discriminator, nil]
210
- def disciminator
210
+ def discriminator
211
211
  self["discriminator"]
212
212
  end
213
213
 
@@ -39,7 +39,7 @@ module Openapi3Parser
39
39
  field "default"
40
40
 
41
41
  field "nullable", input_type: :boolean, default: false
42
- field "discriminator", factory: :disciminator_factory
42
+ field "discriminator", factory: :discriminator_factory
43
43
  field "readOnly", input_type: :boolean, default: false
44
44
  field "writeOnly", input_type: :boolean, default: false
45
45
  field "xml", factory: :xml_factory
@@ -81,7 +81,7 @@ module Openapi3Parser
81
81
  NodeFactory::Array.new(context, default: nil)
82
82
  end
83
83
 
84
- def disciminator_factory(context)
84
+ def discriminator_factory(context)
85
85
  NodeFactory::Discriminator.new(context)
86
86
  end
87
87
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Openapi3Parser
4
- VERSION = "0.8.0"
4
+ VERSION = "0.8.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openapi3_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Dew
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-17 00:00:00.000000000 Z
11
+ date: 2020-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commonmarker