lacerda 0.12.3 → 0.12.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/publish_specification.rb +8 -3
- 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: 588430006c27bd1ea88993283adbc0eb49be000b
|
4
|
+
data.tar.gz: cc255e3eecb951c9037b35b10aea65cd7b7560b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd0795617cd98d03414c77d6c5ad3b17293003fc953ccd87dd036c6617b04b3b44c92334747140cc8ccef7e5ec731fecff98ebf0cd6fe19548560647efa84a90
|
7
|
+
data.tar.gz: 5c7ca3268b8abcf1643df2cc04deff7903b44d63c14e79a6265f45f5fb881e9350e05d56534554ff508149e2722e578bf061984050a3ddd5e875a30bfd0cf024
|
data/CHANGELOG.markdown
CHANGED
@@ -27,9 +27,14 @@ module Lacerda
|
|
27
27
|
|
28
28
|
def object(name)
|
29
29
|
scoped_name = scopify_name(name)
|
30
|
-
|
31
|
-
raise Lacerda::Service::InvalidObjectTypeError.new(scoped_name) unless
|
32
|
-
|
30
|
+
object_schema = @schema[:definitions][scoped_name]
|
31
|
+
raise Lacerda::Service::InvalidObjectTypeError.new(scoped_name) unless object_schema
|
32
|
+
|
33
|
+
# Copy the definitions of our schema into the schema for the
|
34
|
+
# object in case its properties include json pointers
|
35
|
+
object_schema[:definitions] = Lacerda.deep_copy(@schema[:definitions])
|
36
|
+
|
37
|
+
Lacerda::PublishedObject.new(service, scoped_name, object_schema)
|
33
38
|
end
|
34
39
|
|
35
40
|
private
|
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.12.
|
4
|
+
version: 0.12.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: 2015-
|
11
|
+
date: 2015-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|