prmd 0.11.2 → 0.11.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/prmd/templates/schemata/helper.erb +2 -2
- data/lib/prmd/version.rb +1 -1
- metadata +1 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 613cc4058c86e91936d4ad425af5f517494ec2cf
|
4
|
+
data.tar.gz: 6ac0c0dab3403d6c1e1865649063443dab955b3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c4c962353c534980da52b68ee6a4b452ff529875d2abd479b3445672273d8cba5cf6233c275cc0dcd6ccce7b5b969d9358e233e01a391b3e6a037766843cfdf
|
7
|
+
data.tar.gz: 1defbb1aec93e7be70f4c68ed65ebae2120c45195d49a97f61f83d5c8eb5c93919f0b93d2296a53dd8c0352711589ccf250d987346dcfab9a9fb5d950f41dfa6
|
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
_, properties = schema.dereference(properties)
|
6
6
|
|
7
|
-
properties.each do |key
|
7
|
+
properties.keys.sort.each do |key|
|
8
8
|
# found a reference to another element:
|
9
|
-
_, value = schema.dereference(
|
9
|
+
_, value = schema.dereference(properties[key])
|
10
10
|
|
11
11
|
# include top level reference to nested things, when top level is nullable
|
12
12
|
if value.has_key?('type') && value['type'].include?('null') && (value.has_key?('items') || value.has_key?('properties'))
|
data/lib/prmd/version.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
module Prmd
|
3
3
|
# Well, duh, its a Version module, what did you expect?
|
4
4
|
module Version
|
5
|
-
MAJOR, MINOR, TEENY, PATCH = 0, 11,
|
5
|
+
MAJOR, MINOR, TEENY, PATCH = 0, 11, 3, nil
|
6
6
|
# version string
|
7
7
|
# @return [String]
|
8
8
|
STRING = [MAJOR, MINOR, TEENY, PATCH].compact.join('.').freeze
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prmd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- geemus
|
@@ -244,4 +244,3 @@ test_files:
|
|
244
244
|
- test/schemata/input/rake_doc.json
|
245
245
|
- test/schemata/input/rake_verify.json
|
246
246
|
- test/schemata/input/user.json
|
247
|
-
has_rdoc:
|