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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1517ea490ea6a6051ccd5bc0cecf01b07bfd0d20fbc5656f566bdaf7ef8005aa
4
- data.tar.gz: bab6c43c96dd8baf5d28c941827eb68f65f850dee95143276d8eaddc1b63cb39
3
+ metadata.gz: 1105fda5cd1829ebba2275b56a3b04937d5e4c0db109f113a40c2162e106a1e1
4
+ data.tar.gz: 72874acc3709cd44d95a43078fbc93db94934ba876fd9376aced5b3124fa7e55
5
5
  SHA512:
6
- metadata.gz: 2098a609dc4edd3dbb7a0f234bd8cb0a93b75848545b53e587d1e7ede4940b3b72aff3d9215becbc4b83658652f1210c649167fe3534d963ed9da8811b741979
7
- data.tar.gz: 5c5fb7a7d562c9c90ce6062eb411599e694193d8e3a231d142561912fdebebf92963192a9a3d1fd16d38311d87d4e114e5378786ef8f7abb3da2a33c5a3718b6
6
+ metadata.gz: 1bedd7f84e21df706e34a2da9c14bdc8f098930d9f00fa8355390111b76d7a26ea232bfdb036646e6e049ce05c6e972ea97a821be05e60b881b56230e2b7b456
7
+ data.tar.gz: 1e64d2a2d93cfb5976abdacbea272cb3cc7c52110d2a56a7fcad488a7ad818a8120fba021cae272d06185722d68202f928e5dafa7338fd089941d97046b14121
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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+):(?:\s*|\n)(.*)/m)
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
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rowx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file