dynarex 1.2.4 → 1.2.5

Sign up to get free protection for your applications and to get access to all the features.
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