idata 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/iload +8 -0
- data/lib/idata/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79ed8b5197ad7ba0a4bbb0906b3317c194d631b0
|
4
|
+
data.tar.gz: a6c339fe9f9814e22cc93b496f58e2f865f56e5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd3a547f42022ec3ab9f986952a71c090aea052a5247e36bf4e52788f7ad10e403dce2880b73efee57c66d841aea1e14cad80dc9e1eb3987646243873a635b0d
|
7
|
+
data.tar.gz: 24703e1ed62d85b53f7dd017f08814952a1239f23b138ecafc1cf059a98837e7afd82a67d0f0efd6ab186300355fc4a508d654a6a78fe14c40e13d621ffeea64
|
data/bin/iload
CHANGED
@@ -314,7 +314,15 @@ class MyParser
|
|
314
314
|
# Such char usually exists in .RPT file
|
315
315
|
data.gsub!(["feff".hex].pack('U*'), '')
|
316
316
|
data = data.split(/[\r\n]+/)
|
317
|
+
|
318
|
+
# Note: shift must be made in order
|
317
319
|
header = data.shift
|
320
|
+
|
321
|
+
# in case of RPT, remove the first line if it only contains the dash (-) char
|
322
|
+
if $options[:format] == 'RPT'
|
323
|
+
data.shift if data[0] =~ /^[\-\s]*$/
|
324
|
+
end
|
325
|
+
|
318
326
|
headers = header.scan(/[^\s]+\s+/)
|
319
327
|
|
320
328
|
# Parse
|
data/lib/idata/version.rb
CHANGED