dynarex 1.1.12 → 1.1.13
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.
- data/lib/dynarex.rb +1 -1
- metadata +1 -1
data/lib/dynarex.rb
CHANGED
|
@@ -371,10 +371,10 @@ EOF
|
|
|
371
371
|
end
|
|
372
372
|
|
|
373
373
|
raw_summary = schema[/\[([^\]]+)/,1]
|
|
374
|
+
raw_lines = buffer.strip.split(/\r?\n|\r(?!\n)/)
|
|
374
375
|
|
|
375
376
|
if raw_summary then
|
|
376
377
|
a_summary = raw_summary.split(',').map(&:strip)
|
|
377
|
-
raw_lines = buffer.strip.split(/\r?\n|\r(?!\n)/)
|
|
378
378
|
|
|
379
379
|
@summary = {}
|
|
380
380
|
while raw_lines.first[/#{a_summary.join('|')}:\s+\w+/] do
|