dynarex 1.2.4 → 1.2.5

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.
Files changed (2) hide show
  1. data/lib/dynarex.rb +2 -1
  2. metadata +1 -1
@@ -434,7 +434,8 @@ EOF
434
434
 
435
435
  @summary = {}
436
436
 
437
- while raw_lines.first[/#{a_summary.join('|')}:\s+\w+/] do
437
+ while not raw_lines.empty? and \
438
+ raw_lines.first[/#{a_summary.join('|')}:\s+[\w\*\-\+]+/] do
438
439
  label, val = raw_lines.shift.match(/(\w+):\s+([^$]+)$/).captures
439
440
  @summary[label] = val
440
441
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: dynarex
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.2.4
5
+ version: 1.2.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - James Robertson