dynarex 1.1.23 → 1.1.24

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
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