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.
Files changed (2) hide show
  1. data/lib/dynarex.rb +1 -1
  2. metadata +1 -1
@@ -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
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: dynarex
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.1.12
5
+ version: 1.1.13
6
6
  platform: ruby
7
7
  authors:
8
8
  - James Robertson