line-tree 0.3.19 → 0.3.20
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 -3
- metadata +2 -2
- 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: 5f6d4363976249484b4d2fdddcf1f8c92d978d7f
|
4
|
+
data.tar.gz: 034eac4fb19446dd9b90fbc559b0b7cf50cf4ba6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dea6c1b438feb80df48db8ae157d763d0f47bcf8cdfc0379c608adbbb1caa96ed47a08f91361eeb829b77e5d9fdb097a6e83daab3ccd2e7f20dab69deb528867
|
7
|
+
data.tar.gz: 48b6fd50fef030e0b94a41fb6f6df243280387f3198f1c528e8a4719920313f7e468ba26c6b9b7e8cd21dd776e6975127bad199935e3f0058b0c2cfe95656009
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/line-tree.rb
CHANGED
@@ -59,9 +59,9 @@ class LineTree
|
|
59
59
|
end
|
60
60
|
|
61
61
|
def get_attributes(s)
|
62
|
-
|
63
|
-
a = s
|
64
|
-
name, val = attr.match(/\s*([^:=]+)[:=]\s*['"]*([a-zA-Z0-9\(\)
|
62
|
+
|
63
|
+
a = s.scan(/\w+: ["'][^"']+["']/).map do |attr|
|
64
|
+
name, val = attr.match(/\s*([^:=]+)[:=]\s*['"]*([a-zA-Z0-9\(\);\-\/:\.,\s"'_]*)/).captures
|
65
65
|
[name, val.sub(/['"]$/,'')]
|
66
66
|
end
|
67
67
|
|
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.3.
|
4
|
+
version: 0.3.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
ErtlSTAImlBCK8q5BS4jBBt8VAEpNdkWpWbtDtLPA639pW2QWIcPx13ObWJh7Ejk
|
32
32
|
THoVqqsHTfeg3g==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2014-10-
|
34
|
+
date: 2014-10-25 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rexle
|
metadata.gz.sig
CHANGED
Binary file
|