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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MGU3YWY2YWI4ODBjYTc3Y2QyMDY3MzkyNjgxZDU5ZDk5Y2I1OTU5Mg==
4
+ Mjg2YTlmNDQ1ZDI2YzIyMjQzNTE3NTNmYTk5ZTJiYWQ2YzJhZGFjYw==
5
5
  data.tar.gz: !binary |-
6
- OGNkZjU4Y2Y5MzI2YzU3YzFmMDZmYzRhZWE0OWM4YjNmMWMzMmQ0Mw==
6
+ YTMxMGU2YjUyYzAwYTQ0MzI3ZWExMTJjOTM2NGJiZmJlMTE0YWE2Zg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NTc4ZjBlZjdiYjNkZWE4YjEyNTM5YTI3NzAyYjg1MDhkODU5MTVhYmIxYTE4
10
- NGUyYjZmOWI5MWExYWUwZjA5MmM0YTI4NmQ2MmJjMTc3MmMzYmI5NjcyMGQy
11
- NzA4ZjljODRmNGI0NzU5NGMxMTE4MDI5YzAwNmZhZmIxNTQyMmE=
9
+ MjIzMDljZjgxNDBiMWYxYWZkMzZiZGRkZmUwNjk5YjNiY2E0ODA5MTE1NmE4
10
+ MDU5ZmM2ZTA3MmFlYzMyNmYwNTJmNDkwZTY1ZWRkNDExMGYzMTExNzhhNGU3
11
+ N2RlNDNjZjkzNmEzYWM3ZDUxMzI4ZjNjMmY1MjdlZTQzMmUyNWI=
12
12
  data.tar.gz: !binary |-
13
- YWIyYzBiZTkxYjY0ZTg1MWY3ZThmNThmODZlOTExZDk5NzlmZDBjMjg0M2Zj
14
- MzhmNGE1OWQyNTlhNzYzZmY1YzU5OTEzYzczZjFmYjIyYTBlYzI3YjM0MWJm
15
- ZjAzZjhmYzNkODlmM2Y4ODEwYjljYzNjM2FlMDNjMmE1MDJlMjM=
13
+ NjgwNmUyNDVlYTI2N2YzZDI3Y2IwMWNhMjg0MDJjZmRiNTBlNmVmODFjYzNl
14
+ YTQyOTA3YjRhYTAzNWJkY2ExMTkyMGYwNjdhYTAwNTc1NjQ0MWIxNDUwMjI3
15
+ OWQ4YmE5NDQ4YTFhNDk2ZDYxMTRhZTBkYjczZTM5NmRiY2MwN2Y=
@@ -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)
@@ -1,4 +1,4 @@
1
1
  module Interpol
2
- VERSION = "0.10.5"
2
+ VERSION = "0.10.6"
3
3
  end
4
4
 
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.5
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-02 00:00:00.000000000 Z
11
+ date: 2013-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack