dynarex 1.2.35 → 1.2.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/dynarex.rb +5 -2
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a544de845606f73e26b23d80afeeec5663ea8896
|
|
4
|
+
data.tar.gz: 1227acac815d668dd9952cf7a6b3c2ae9ca0152a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dc0b7baacb46aaccf0bea8325730cb4ec515104347618677870755d0ac4e610d479c92b7f0c5102cecedcf27ea6e8c02e50e4545b5ee6cdc2e2a7dd85c157de3
|
|
7
|
+
data.tar.gz: c13bbb0dda568fec8feafa64844a333f6e1a4780e28d23db956f985dd1ce909393d94684dd10f58b6f81b5dcfe7d6354a5ee0436eb7e7c2d0e11681706f01190
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/dynarex.rb
CHANGED
|
@@ -510,7 +510,8 @@ EOF
|
|
|
510
510
|
a_summary = raw_summary.split(',').map(&:strip)
|
|
511
511
|
|
|
512
512
|
@summary = {}
|
|
513
|
-
|
|
513
|
+
raw_lines.shift while raw_lines.first.strip.empty?
|
|
514
|
+
|
|
514
515
|
# fetch any summary lines
|
|
515
516
|
while not raw_lines.empty? and \
|
|
516
517
|
raw_lines.first[/#{a_summary.join('|')}:\s+[\w\*\-\+]+/] do
|
|
@@ -618,8 +619,10 @@ EOF
|
|
|
618
619
|
field_values
|
|
619
620
|
end
|
|
620
621
|
|
|
621
|
-
|
|
622
|
+
a2.compact!
|
|
623
|
+
a3 = a2.compact.map(&:first)
|
|
622
624
|
add_id(a2) if a3 != a3.uniq
|
|
625
|
+
|
|
623
626
|
a2
|
|
624
627
|
end
|
|
625
628
|
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|