prmd 0.11.7 → 0.11.8

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: f9ac27c6129dfe2b17ef92cd44264f14feb0d126
4
- data.tar.gz: 0ffd8b40bb43dc5749cd1e9649abca412e95210a
3
+ metadata.gz: 6c5a43e87c68edb39932a083514d8b290b9f3c8d
4
+ data.tar.gz: c4e2c06acd91e495f500140c272484ca695ed491
5
5
  SHA512:
6
- metadata.gz: 5ef3d4c09e8b5d2828557a038f6c5f5a96209f7ad19029324398978c5b83ef8eb4aa95c688222b43290f26fe8f59bb86fe90b49dadd55b355fe5bdbd8299cce6
7
- data.tar.gz: 63cdeffd4bb5cf29d718e9d771af3b29bdc30646b20630fa38c3edc1f933f93a6db5ae997d0d6c3277cc871069169502e2f60418a4b3a9c120fa9729dfa972f8
6
+ metadata.gz: 50f38fb5cf87a2a6ee71f356a76424351e736c99cb6020da1c58867903e5cc714a210a366fe6a59bfe08d0c9c0457665c8e8dbdbef0905ac8144e9b889dd2408
7
+ data.tar.gz: b7d61deb6b518be274ff5d955712ac928c9b97932876db39721dd7738ad6b02f81f4d8d67bdb990fd9ea429b98eaa0cc7c2542ee1e71379228752e3d76d2b581
@@ -32,7 +32,8 @@ module Prmd
32
32
  end
33
33
  files.flatten!
34
34
  files.delete(options[:meta])
35
- files
35
+ # sort by name without extension for stable order
36
+ files.sort_by {|file| file.split('.', 2).first}
36
37
  end
37
38
 
38
39
  # @api private
@@ -63,7 +64,6 @@ module Prmd
63
64
  # @return (see .load_files)
64
65
  def self.load_schemas(paths, options = {})
65
66
  files = crawl_map(paths, options)
66
- # sort for stable loading on any platform
67
67
  schemata = load_files(files.sort, options)
68
68
  handle_faulty_load(schemata, files) unless options[:faulty_load]
69
69
  schemata
@@ -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, 7, nil
5
+ MAJOR, MINOR, TEENY, PATCH = 0, 11, 8, nil
6
6
  # version string
7
7
  # @return [String]
8
8
  STRING = [MAJOR, MINOR, TEENY, PATCH].compact.join('.').freeze
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prmd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.7
4
+ version: 0.11.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - geemus
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-18 00:00:00.000000000 Z
11
+ date: 2016-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: erubis