dynarex 1.2.3 → 1.2.4

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 -2
  2. metadata +2 -2
@@ -41,7 +41,7 @@ class Dynarex
41
41
  end
42
42
 
43
43
  def delimiter=(separator)
44
- @format_mask = @format_mask.to_s.gsub(/\s/, separator)
44
+ @format_mask = @format_mask.to_s.gsub(/\s{2}/, separator)
45
45
  @summary[:format_mask] = @format_mask
46
46
  end
47
47
 
@@ -538,7 +538,7 @@ EOF
538
538
 
539
539
  end
540
540
 
541
- format_mask = fields ? fields.map {|x| "[!%s]" % x}.join(' ') : ''
541
+ format_mask = fields ? fields.map {|x| "[!%s]" % x}.join(' ') : ''
542
542
 
543
543
  @summary = Hash[summary.zip([''] * summary.length).flatten.each_slice(2)\
544
544
  .map{|x1,x2| [x1.to_sym,x2]}]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: dynarex
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.2.3
5
+ version: 1.2.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - James Robertson
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-11-01 00:00:00 Z
13
+ date: 2012-11-03 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rexle