lacerda 0.13.1 → 0.13.2

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: 80b98ebf42e7ed35930cb10db57a3881d5e981cd
4
- data.tar.gz: 3928dcda4bc9ed3e7acd49859cb581f2a8d01a3d
3
+ metadata.gz: 9e1b8aebb10149b3485dfc1ad6346f244d741152
4
+ data.tar.gz: f6e2768f844519bc0a3a25d560ae7ede128b893f
5
5
  SHA512:
6
- metadata.gz: 65f3a0acecd4291f21c0304ff95053d94b0a3fbc35d072b6255681c5b7271457f73fcc2a7be0c99dd8245d1f186f4691430b60b726f1e8edc3bcb43faa71d4eb
7
- data.tar.gz: 09067d6844600f0aee410e6f6c69f7a420e4ed47eef0c0b91cead42cd609f498e712f0792194f06e25215e82ccee56d2afcf3f2b4a014433aa38ad1010d8317e
6
+ metadata.gz: c453a2af7d5fd37035ffeba7ff87aa9b6c02324427a68a9762c1b8dc23fda6bb115e151ee51a866462a3e6de79c341ad0de82642e6440872eda1d2235557b062
7
+ data.tar.gz: f9c0d1a30e79eac870d879b4808ada927848dace4bea3198c032b4dbf4ccc93228d0cbfde7ef2e45e3112e8474c67ae73ca68da739cdc8f53c3127a11be32ddf
data/CHANGELOG.markdown CHANGED
@@ -1,3 +1,6 @@
1
+ # 0.13.1
2
+ - don't choke on schemas without local definitions
3
+
1
4
  # 0.13.1
2
5
  - don't set type and oneOf in json schema, just oneOf
3
6
  - update blumquist from ~> 0.3 to ~> 0.4
@@ -45,6 +45,7 @@ module Lacerda
45
45
 
46
46
  def object?(name)
47
47
  underscored_name = Lacerda.underscore(name)
48
+ return false unless @schema[:definitions]
48
49
  !!@schema[:definitions][underscored_name]
49
50
  end
50
51
 
@@ -1,3 +1,3 @@
1
1
  module Lacerda
2
- VERSION = '0.13.1'
2
+ VERSION = '0.13.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lacerda
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.1
4
+ version: 0.13.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jannis Hermanns
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-28 00:00:00.000000000 Z
11
+ date: 2016-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport