pxindex 0.1.5 → 0.1.6

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: 0b34bf0b175a8b4cb95208c4c24b8615a9aed40c
4
- data.tar.gz: 3f4549f119fd31fa145dc6650133599ccb98ae08
3
+ metadata.gz: 18376538812d5683a94b7c731aa1ddb65b1a43ab
4
+ data.tar.gz: 1ca021e792789d8392ce19d933796c3f4abc4903
5
5
  SHA512:
6
- metadata.gz: 8b12644b4df55c7df9987f4b2cb90ac22e6374b686efbabb0afd28fbaf7b11190c3b2b4a274da0201fe8d421b394cefd8dd0ed805f451bf45a38f75e2f24bf20
7
- data.tar.gz: 904d998fd6a740e957582e3d63b9bbf4ec4d42ea8766ff0a0dda15cc0fd159e379274004e5fe79a660d238982d162367c2d862d74993abf982b22a60893bd469
6
+ metadata.gz: 4333b7f85887ae277f49a422b5f9a482440c8d966fe7db59f23d908e39a6c8cf1904a0268be88a097694cffec28d427421bb6bc8d95283e8c0cf99ed04ea9850
7
+ data.tar.gz: bd597f64135de19380d0020c23b28e8036bc46187d8dcf088f145001644876bd5bbc3f7982635dc623788beef7045fa56f7a11fd1a135e82ac8dcfdaa489071b
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/pxindex.rb CHANGED
@@ -20,7 +20,7 @@ class PxIndex
20
20
  header << lines.shift until lines[0].strip.empty?
21
21
 
22
22
  a = LineTree.new(lines.join.gsub(/^# [a-z]\n/,'')).to_a
23
- a2 = a.group_by {|x| x.first[0] }.to_a
23
+ a2 = a.group_by {|x| x.first[0] }.sort.to_a
24
24
 
25
25
  s2 = a2.map do |x|
26
26
  '# ' + x[0] + "\n\n" + \
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pxindex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file