rowx 0.6.0 → 0.6.1
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 +7 -3
- metadata +27 -28
- metadata.gz.sig +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6559de84d94fde4feb2822a5a105dec56fadb50
|
4
|
+
data.tar.gz: f2cb9d31779c117cd31531b87cc14155b04152cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5ae79e85b8563c27029fd29db84fde20eb93dda5c1afa3cd287e9a3605a4f90413beb1f64e8c19885a0dd800d3eb8d9999fc2a94b7f5a0fa190d570174a764b
|
7
|
+
data.tar.gz: 37203ff377d20ecfa77eab61b4e86585d2a2f1cf063f2cf258bd430400086df63a4f406d4196cdea9fc444ff0b4ea9ab35a7b718c9b9362290107c9b5a3f5832
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/rowx.rb
CHANGED
@@ -35,7 +35,9 @@ class RowX
|
|
35
35
|
attr_reader :to_a, :to_xml, :to_lines
|
36
36
|
|
37
37
|
def initialize(txt, level: nil, ignore_blank_lines: false,
|
38
|
-
abort_1_row: false)
|
38
|
+
abort_1_row: false, debug: true)
|
39
|
+
|
40
|
+
@debug = debug
|
39
41
|
|
40
42
|
# auto indent any multiline values
|
41
43
|
|
@@ -51,10 +53,12 @@ class RowX
|
|
51
53
|
end
|
52
54
|
|
53
55
|
end
|
56
|
+
|
57
|
+
puts 'lines: ' + lines.inspect if @debug
|
54
58
|
|
55
59
|
a = LineTree.new(lines.join, level: level,
|
56
|
-
ignore_blank_lines: ignore_blank_lines).to_a
|
57
|
-
|
60
|
+
ignore_blank_lines: ignore_blank_lines, debug: debug).to_a
|
61
|
+
puts 'a: ' + a.inspect if @debug
|
58
62
|
|
59
63
|
keyfield = a[0][0][/\w+:/]; i = 0
|
60
64
|
|
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.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -10,28 +10,27 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
VqXQja9F+5d+OA==
|
13
|
+
MIIDXjCCAkagAwIBAgIBATANBgkqhkiG9w0BAQUFADAsMSowKAYDVQQDDCFnZW1t
|
14
|
+
YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMTgwODAxMTk0NTAzWhcN
|
15
|
+
MTkwODAxMTk0NTAzWjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
|
16
|
+
cnRzb24vREM9ZXUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDQZ1fv
|
17
|
+
UYGzw3Of4/QX27BNJ3jayY5CMqoR+UyYKFyfqVTmRxHFJ3g2npuJkqcLvSWGpQSB
|
18
|
+
dkbOuUZHb7wsxa/HRC3UoX9nNQ8V5GtoVkMLtyriBRbCQkx8n4ShbbB+Fh0sbO5r
|
19
|
+
+SbGABrrzQcMuiazmoAPqEp0MsUrK7OcVc3wDJCIw4Hx1TSU5AiFg5jaVcLdN5fo
|
20
|
+
OG/eS+c4qelHDJJ9YnHVNTtUNmRkdepoDfyaSbpdG8Lm4WIf5s7ifnA3KXRhppeg
|
21
|
+
Z4WTad5AFx/u2A5e8/gCuXuNItqM6K6XCAcsMDVdKWkEAIv8Ywl+hmBe5cH2vfBI
|
22
|
+
psJBpE9DeIlzhLxpAgMBAAGjgYowgYcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
|
23
|
+
HQYDVR0OBBYEFANcDiEA6+Q+A4X6HmY2LIdpcjxQMCYGA1UdEQQfMB2BG2dlbW1h
|
24
|
+
c3RlckBqYW1lc3JvYmVydHNvbi5ldTAmBgNVHRIEHzAdgRtnZW1tYXN0ZXJAamFt
|
25
|
+
ZXNyb2JlcnRzb24uZXUwDQYJKoZIhvcNAQEFBQADggEBAMQxDkQ6jxIqRtxwxdHH
|
26
|
+
/YYlw3idGHDtCYKWtHXa7rcQum878vbzLSYOX30n8XQnXWhR0z0gos09D9s5YqzH
|
27
|
+
hsPTHAwupPDaC9rv+M+5b2M1oqswuJtDRVF4wCi6OzJ9jvjnrUYzS9/oUD28HYrq
|
28
|
+
b+Qt8NAeuKThCfC0MprgdeahK2/FUBmTlGBv5i+kiFTn/iqtK+tfvWZ0ewwKDTPp
|
29
|
+
HJxqAvTNo5/ZGfOw9reqPsH0WWgbOJBXW5nNTgvRAGGq7qFNdUOpEzOGqp/lSquN
|
30
|
+
NVzuRR3ZpJv0oB5erN7dQnmpAOXibr8YefToNKbiZyALjt0Xij7mUEEG0xypyYrY
|
31
|
+
hR8=
|
33
32
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
33
|
+
date: 2018-08-01 00:00:00.000000000 Z
|
35
34
|
dependencies:
|
36
35
|
- !ruby/object:Gem::Dependency
|
37
36
|
name: line-tree
|
@@ -39,21 +38,21 @@ dependencies:
|
|
39
38
|
requirements:
|
40
39
|
- - "~>"
|
41
40
|
- !ruby/object:Gem::Version
|
42
|
-
version: '0.
|
41
|
+
version: '0.6'
|
43
42
|
- - ">="
|
44
43
|
- !ruby/object:Gem::Version
|
45
|
-
version: 0.
|
44
|
+
version: 0.6.10
|
46
45
|
type: :runtime
|
47
46
|
prerelease: false
|
48
47
|
version_requirements: !ruby/object:Gem::Requirement
|
49
48
|
requirements:
|
50
49
|
- - "~>"
|
51
50
|
- !ruby/object:Gem::Version
|
52
|
-
version: '0.
|
51
|
+
version: '0.6'
|
53
52
|
- - ">="
|
54
53
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.
|
56
|
-
description: Generates XML from rows of labelled text, nested text,
|
54
|
+
version: 0.6.10
|
55
|
+
description: Generates XML from rows of labelled text, nested text, and plain text
|
57
56
|
email: james@jamesrobertson.eu
|
58
57
|
executables: []
|
59
58
|
extensions: []
|
@@ -80,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
79
|
version: '0'
|
81
80
|
requirements: []
|
82
81
|
rubyforge_project:
|
83
|
-
rubygems_version: 2.6.
|
82
|
+
rubygems_version: 2.6.13
|
84
83
|
signing_key:
|
85
84
|
specification_version: 4
|
86
85
|
summary: rowx
|
metadata.gz.sig
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
�RѨ��qN�k8�����@�@�O�3�g��Fd���s]�L��wI$4)?�-Iɓ�6�N4��Q|:�a9G���5|6�x���o�Ż��&����٫c��1Lc��c>����v����sV�Ȩ�(�
|
2
|
+
� h80�诐�>�<,�J��%�U�������h?�[*&��;(��2�9:�Սt�<�vb3{�kj,hMۘV�\&�'�����x� BS���Ǩ�Æ���5�D��ɐ�~�+���<X��#�
|