open_api 0.3.2 → 0.3.3

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
  SHA256:
3
- metadata.gz: a1e7c0dc843f00004d257bdd558e5fe8b5ab4f2e85fd0b15133daaf07b07ff90
4
- data.tar.gz: e0aa62be6fa41a03f10c67092f76e490481b17c64efef6edd950515784e9911c
3
+ metadata.gz: 8023c62e89063beaf1e15d0dd54e2c10b166a36ac62e92a8b446d9531da9f03a
4
+ data.tar.gz: 4bca2a69b934bfffe908efea9b4edbea13de9ddb2d52b944260bd84da08bc59d
5
5
  SHA512:
6
- metadata.gz: 8c78429c33e875a7cbee8c4bab9dfd6cb22238f377da6320397e1c25222afbd49153d074c175a0e1e8784a1f16895c1e22f2282fa74c2ed4f8bf904b0c5166f3
7
- data.tar.gz: ed986bc0ad97c65980e1a9ec023c13f0a8862c010e51a5b1d7c0569bca1b3053f33c342e89b54494e851d866c32fe737fd9c9f72dc7c4c849f5d13effe8dc400
6
+ metadata.gz: f865b760b5d1a55cf5db03048c1083a7e4a657d690f2494406da6eb92827364f86a1ecb102951c2bfd22b41b5162e32ea84895d01eb2670936bc5b66b446df86
7
+ data.tar.gz: b3af6e56a5ebf0f1fbacec3865f2b44a09f2669a6edcf3e9dd478d85abcd7f6de269280bd845b1519bc6fad9d104bb4cdd921cbd90c32ee44fa366603aec8060
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## Unreleased
2
+
3
+
4
+ ## 0.3.3
5
+ * Follow nil case of extra fields in Schema
6
+
7
+ ## 0.3.2
8
+ * Fix minor bug
9
+
1
10
  ## 0.3.1
2
11
  * Keep hash keys to be string
3
12
 
@@ -54,7 +54,7 @@ module OpenApi
54
54
  when :items then v.serializable_hash
55
55
  when :properties then v.map { |k, v| [k.to_s, v.serializable_hash] }.to_h
56
56
  else
57
- v.to_s
57
+ v&.to_s
58
58
  end
59
59
  [k.to_s, value]
60
60
  }.to_h
@@ -1,3 +1,3 @@
1
1
  module OpenApi
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: open_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kent Nagata
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-11 00:00:00.000000000 Z
11
+ date: 2018-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport