lacerda 0.14.3 → 0.14.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.markdown +3 -0
- data/lib/lacerda/compare/json_schema.rb +4 -0
- data/lib/lacerda/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b0dba276ebefe21f102870b1921d0f4e3d69c47
|
4
|
+
data.tar.gz: 1907a3b8c378c8e316f9c6a9d2b840e989ed9d9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 435b5e0263c1beee9d4d272c06cfd935e255b8c794620b16d241e847e4dc72049092c5ff99205df04c9a7b51a73263abc3479fffb9de0e69da671ec5f212ea20
|
7
|
+
data.tar.gz: ac3dbd9bbca84a199c83ce29911ba6f7d1f6c47d52d536450813b8963f3b783ec44daa83e197c764effd5f227ac56faf6be75e22a5ba26fa7fd9589a317037c6
|
data/CHANGELOG.markdown
CHANGED
@@ -248,6 +248,10 @@ module Lacerda
|
|
248
248
|
def resolve_pointer(pointer, schema)
|
249
249
|
type = pointer[/\#\/definitions\/([^\/]+)$/, 1]
|
250
250
|
return false unless type
|
251
|
+
# TODO: Not so sure if we should raise an error
|
252
|
+
# when schema['definitions'] is missing?
|
253
|
+
return false unless schema
|
254
|
+
return false unless schema['definitions']
|
251
255
|
schema['definitions'][type]
|
252
256
|
end
|
253
257
|
|
data/lib/lacerda/version.rb
CHANGED
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.14.
|
4
|
+
version: 0.14.4
|
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-
|
11
|
+
date: 2016-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|