rxraw-lineparser 0.1.10 → 0.1.11

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/rxraw-lineparser.rb +3 -1
  2. metadata +2 -2
@@ -35,7 +35,9 @@ class RXRawLineParser
35
35
 
36
36
  patterns = possible_patterns(@format_mask)
37
37
  #patterns.each{|x| puts x.inspect}
38
- if field_names.map{|x| "[!%s]" % x}.join(' ') == @format_mask then
38
+
39
+ if field_names.map{|x| "[!%s]" % x}.join(' ') == @format_mask \
40
+ and field_names.length > 1 then
39
41
  insert2space_patterns(field_names.length, patterns)
40
42
  end
41
43
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rxraw-lineparser
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.10
5
+ version: 0.1.11
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-15 00:00:00 Z
13
+ date: 2012-11-16 00:00:00 Z
14
14
  dependencies: []
15
15
 
16
16
  description: