dynarex 1.1.23 → 1.1.24

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
data/lib/dynarex.rb CHANGED
@@ -358,7 +358,8 @@ EOF
358
358
  i = @doc.root.xpath('max(records/*/attribute::id)').to_i
359
359
 
360
360
  raw_summary = schema[/\[([^\]]+)/,1]
361
- raw_lines = buffer.strip.split(/\r?\n|\r(?!\n)/)
361
+ raw_lines = buffer.gsub(/^\s*#[^\n]+/,'').gsub(/\n\n/,"\n")\
362
+ .strip.split(/\r?\n|\r(?!\n)/)
362
363
 
363
364
  if raw_summary then
364
365
  a_summary = raw_summary.split(',').map(&:strip)
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: dynarex
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.1.23
5
+ version: 1.1.24
6
6
  platform: ruby
7
7
  authors:
8
8
  - James Robertson