testdata_text 0.2.1 → 0.2.2
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/testdata_text.rb +3 -1
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 877aa349dfbd2891aef5ffe2f406d747edaa43a3
|
4
|
+
data.tar.gz: a1a1ee30e933ce57268c29fa799f0675a8407862
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98352c7f40510b92d7bd2ffac3058992b070a36bdd89e27ee2f0887f0d9f07d91054365376ab6644571edda7d3e92ac9e792d0b0fed1cf0ce6d3fb394d26fa65
|
7
|
+
data.tar.gz: e80f28300a3456395af62e58421617d037343e052cf01f35e3b5ebc7dabd6e59d5d6a376224a9b1a6211ae73f35568fc470a69dbebad80100822a6528f27b38b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/testdata_text.rb
CHANGED
@@ -17,7 +17,9 @@ class TestdataText
|
|
17
17
|
|
18
18
|
txt = raw_txt.split(/(?=\n=begin)/m)\
|
19
19
|
.map {|x| x.sub(/\n=begin.*=end/m,'')}.join
|
20
|
-
|
20
|
+
|
21
|
+
rowx = RowX.new(txt, level: 1, ignore_blank_lines: false, abort_1_row: true)
|
22
|
+
|
21
23
|
xml = rowx.to_xml
|
22
24
|
|
23
25
|
lib = File.dirname(__FILE__)
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|