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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 36618a2497f361cd82979268be66d90bd7fd7a4d
4
- data.tar.gz: 6c812c38a238e1e5a9a029e7d63a07589566dbeb
3
+ metadata.gz: 613cc4058c86e91936d4ad425af5f517494ec2cf
4
+ data.tar.gz: 6ac0c0dab3403d6c1e1865649063443dab955b3d
5
5
  SHA512:
6
- metadata.gz: 21fb292a232081b1353d9b7b81ab5d56722368425f9b95a00ebe15643915d13aaddea7dd727ba3f2d73e04e93d1dae3b3d7449347acf9ab725739054f99344da
7
- data.tar.gz: 5e0565bda2265ecbcf978b84fe61089948846c6236f65a02b9bf8603bd2ba00ec1c30449fcf23e7898e8c20c69ced504ca1681dd3a2ae0d022dd7ab31af28873
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, value|
7
+ properties.keys.sort.each do |key|
8
8
  # found a reference to another element:
9
- _, value = schema.dereference(value)
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, 2, nil
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.2
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: