rowx 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/rowx.rb +4 -3
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1105fda5cd1829ebba2275b56a3b04937d5e4c0db109f113a40c2162e106a1e1
|
4
|
+
data.tar.gz: 72874acc3709cd44d95a43078fbc93db94934ba876fd9376aced5b3124fa7e55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bedd7f84e21df706e34a2da9c14bdc8f098930d9f00fa8355390111b76d7a26ea232bfdb036646e6e049ce05c6e972ea97a821be05e60b881b56230e2b7b456
|
7
|
+
data.tar.gz: 1e64d2a2d93cfb5976abdacbea272cb3cc7c52110d2a56a7fcad488a7ad818a8120fba021cae272d06185722d68202f928e5dafa7338fd089941d97046b14121
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/rowx.rb
CHANGED
@@ -101,12 +101,13 @@ class RowX
|
|
101
101
|
def scan_a(row)
|
102
102
|
|
103
103
|
a = row.map do |field|
|
104
|
-
|
104
|
+
|
105
|
+
puts 'field: ' + field.inspect if @debug
|
105
106
|
s = field.is_a?(Array) ? field[0] : field
|
106
107
|
|
107
108
|
return if s.empty?
|
108
|
-
|
109
|
-
found = s.match(/^(\w+)
|
109
|
+
puts 's: ' + s.inspect if @debug
|
110
|
+
found = s.match(/^(\w+)(?:\:$|\:\s+)(.*)/m)
|
110
111
|
|
111
112
|
value, name = found ? found.captures.reverse : s
|
112
113
|
name ||= 'description'
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|