rodolfo 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rodolfo/meta.rb +1 -1
- data/lib/rodolfo/renderer.rb +4 -2
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1432f90d4285ab20f6b56078e242ce3fb836167
|
4
|
+
data.tar.gz: 1cb0eca8a66215acee927604483803fe4e4747c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93a7a8585b5e1098f27f0472354c951d8fccfc97eb40c2e3f767244676ff2950776af7bbb6d1d0143ab5fd9e58bdcbca4cd1a53b5db049ad149ca44bdf2654ea
|
7
|
+
data.tar.gz: e9c8e240a2fbaf179a3a278a6e1edf508e8f18b04524edf30fc6334be659cc76ff6a2761163eb8d687f935badde21ab6172ba95237f6c3e57998c38ee83bad39
|
data/lib/rodolfo/meta.rb
CHANGED
data/lib/rodolfo/renderer.rb
CHANGED
@@ -40,12 +40,14 @@ module Rodolfo
|
|
40
40
|
schema_meta = @schema.to_h
|
41
41
|
|
42
42
|
{ CreationDate: Time.now.iso8601,
|
43
|
-
Renderer: "Rodolfo v#{VERSION}",
|
44
43
|
JsonSchema: {
|
45
44
|
description: schema_meta['description'],
|
46
45
|
id: schema_meta['id'],
|
47
46
|
schema: schema_meta['$schema']
|
48
|
-
}
|
47
|
+
},
|
48
|
+
Payload: validated_data,
|
49
|
+
Renderer: "Rodolfo v#{VERSION}"
|
50
|
+
}
|
49
51
|
end
|
50
52
|
|
51
53
|
# Render the template
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rodolfo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Initios
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json-schema
|
@@ -274,3 +274,4 @@ signing_key:
|
|
274
274
|
specification_version: 4
|
275
275
|
summary: rodolfo
|
276
276
|
test_files: []
|
277
|
+
has_rdoc:
|