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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 85162b8281cb4b7648d904c4e611497e33a8e8f6
4
- data.tar.gz: ac2fbfb09fa9ef769c6448a56892a0d263830984
3
+ metadata.gz: a544de845606f73e26b23d80afeeec5663ea8896
4
+ data.tar.gz: 1227acac815d668dd9952cf7a6b3c2ae9ca0152a
5
5
  SHA512:
6
- metadata.gz: 80474a2096e572001c5089b56f8c5889d71d788aaea0bd362eb5fc606779d79118c85717d700d6ea21ad40456736a0d40516a84ad08af4972e25aae9f3c22b76
7
- data.tar.gz: 49a4308803b7b8c46ae45ecf022c4fb411e1075c01e6690dd8491dcf462ae1884f20c0181ece9ea8718851a4e69aeaa2a062b450caecd74f2d329922e0ebd957
6
+ metadata.gz: dc0b7baacb46aaccf0bea8325730cb4ec515104347618677870755d0ac4e610d479c92b7f0c5102cecedcf27ea6e8c02e50e4545b5ee6cdc2e2a7dd85c157de3
7
+ data.tar.gz: c13bbb0dda568fec8feafa64844a333f6e1a4780e28d23db956f985dd1ce909393d94684dd10f58b6f81b5dcfe7d6354a5ee0436eb7e7c2d0e11681706f01190
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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
- a3 = a2.map(&:first)
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
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynarex
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.35
4
+ version: 1.2.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file