line-tree 0.9.0 → 0.9.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/line-tree.rb +3 -6
- metadata +24 -24
- 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: 0e1eafcb46a849dfb08b5fda2638ee4a5576ce6c70a464b8c147f832acfb906a
|
4
|
+
data.tar.gz: af8c4c7a090fb7993abb1abe25ad39b21fab1eef0fd6b3fb210e74e043e942b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b847d6862176923b517233c61124bb0434af41dba4b5c92a37404691f3837062aa81fdd8e4e656e05af183712cc6c1d9fe38ff832976c11a065f3a3c8aadf958
|
7
|
+
data.tar.gz: 72cc4296e09cb9e79a81f3bc118135d4cf0da08c11342ae7409314aa1b482bd07b8016bb853a58ea805291c70f26d08917b53f36c594a6df0bedf083f2f8d14f
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/line-tree.rb
CHANGED
@@ -272,12 +272,9 @@ class LineTree
|
|
272
272
|
|
273
273
|
def get_attributes(s)
|
274
274
|
|
275
|
-
a = s.
|
276
|
-
|
277
|
-
|
278
|
-
([a-zA-Z0-9\(\);\-\/:\.,\s"'_\{\}\$]*)/).captures
|
279
|
-
[name, val.sub(/['"]$/,'')]
|
280
|
-
end
|
275
|
+
a = s[1..-2].split(/(\w+:)/)[1..-1].each_slice(2).map do |label, val|
|
276
|
+
[label[0..-2], val.strip.sub(/^['"]/,'').sub(/['"]$/,'')]
|
277
|
+
end
|
281
278
|
|
282
279
|
Hash[*a.flatten]
|
283
280
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: line-tree
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -11,31 +11,31 @@ cert_chain:
|
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
13
|
MIIEXjCCAsagAwIBAgIBATANBgkqhkiG9w0BAQsFADAsMSowKAYDVQQDDCFnZW1t
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
14
|
+
YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMjAwNTAyMDEyNTIzWhcN
|
15
|
+
MjEwNTAyMDEyNTIzWjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
|
16
|
+
cnRzb24vREM9ZXUwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQDeefOB
|
17
|
+
XvRYlF86o1HH1xFCsA3T3Zw9YRZB2XnefFtfUJzhac7MXgioL88mMWijdsZ+jkbU
|
18
|
+
cChj3JA71hR84u8qMhIU8fBFGZsTdGiK2AR+FbuQGlATdpagyFH6H9qrGneICIjm
|
19
|
+
JEKoJsukwsce+QJBroPzahHjI+RtU9sZ3Fv66FO4+gYvKC+VyqJZMR+VioaZ1UDd
|
20
|
+
GDJ0ryGuJUiRLS377299caPyhRHESz1knlXxTFqgPatOP63henIg9Vcfscdw1sRG
|
21
|
+
umj7CGTB6mRgnBTUrkGQBbh/X1KvVFxy8REfwXHd7XSqxZ5xX+N/hGB2KijeDyGa
|
22
|
+
J8OARoeZIr9ZCWlj+vTbMtediJqghiX3XLh7Z7zDYIFZlCVWCzubLifMi0T46TOM
|
23
|
+
6bKk+DqUiXok8yzpTw/6ejI7wtcCuaR4BM2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+
date: 2020-05-02 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: rexle
|
metadata.gz.sig
CHANGED
Binary file
|