interpol 0.10.5 → 0.10.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/interpol/endpoint.rb +1 -1
- data/lib/interpol/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
Mjg2YTlmNDQ1ZDI2YzIyMjQzNTE3NTNmYTk5ZTJiYWQ2YzJhZGFjYw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YTMxMGU2YjUyYzAwYTQ0MzI3ZWExMTJjOTM2NGJiZmJlMTE0YWE2Zg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MjIzMDljZjgxNDBiMWYxYWZkMzZiZGRkZmUwNjk5YjNiY2E0ODA5MTE1NmE4
|
10
|
+
MDU5ZmM2ZTA3MmFlYzMyNmYwNTJmNDkwZTY1ZWRkNDExMGYzMTExNzhhNGU3
|
11
|
+
N2RlNDNjZjkzNmEzYWM3ZDUxMzI4ZjNjMmY1MjdlZTQzMmUyNWI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NjgwNmUyNDVlYTI2N2YzZDI3Y2IwMWNhMjg0MDJjZmRiNTBlNmVmODFjYzNl
|
14
|
+
YTQyOTA3YjRhYTAzNWJkY2ExMTkyMGYwNjdhYTAwNTc1NjQ0MWIxNDUwMjI3
|
15
|
+
OWQ4YmE5NDQ4YTFhNDk2ZDYxMTRhZTBkYjczZTM5NmRiY2MwN2Y=
|
data/lib/interpol/endpoint.rb
CHANGED
@@ -282,7 +282,7 @@ module Interpol
|
|
282
282
|
# Mark as non-nullable so it doesn't try to recurse down into it
|
283
283
|
# and make it nullable at that level (since we are taking care of it at this level)
|
284
284
|
sub_schema = raw_schema.merge('nullable' => false)
|
285
|
-
raw_schema.replace('type' => ['null', sub_schema])
|
285
|
+
raw_schema.replace('type' => ['null', sub_schema], 'optional' => sub_schema['optional'])
|
286
286
|
end
|
287
287
|
|
288
288
|
def should_be_nullable?(raw_schema)
|
data/lib/interpol/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: interpol
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Myron Marston
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-12-
|
11
|
+
date: 2013-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|