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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a33a15f527a6b9c0b3351182fd47786a8d7b9bd8fd3a9361be0050d3d4bf92ff
4
- data.tar.gz: e1ebcf399f166e9287a516d0c2fc481c5d168bd9033af80e947ca8becdb824f8
3
+ metadata.gz: 0e1eafcb46a849dfb08b5fda2638ee4a5576ce6c70a464b8c147f832acfb906a
4
+ data.tar.gz: af8c4c7a090fb7993abb1abe25ad39b21fab1eef0fd6b3fb210e74e043e942b9
5
5
  SHA512:
6
- metadata.gz: 9ae4053c9b18c5e3fc236d4291be9de534734a41dd44f7a8a1708cfb8102407607ad71891b594b3167e333c147b1c71f74087adb387aa6bf9a086bfeba029619
7
- data.tar.gz: 238d52f7490b57143e880b7f8fc21941f985da05b98083cbaeb19490215a2ba2ca84b384db605fa468fb92d981c76f25ef73c4a3ae38f73ddbcbd25a60436911
6
+ metadata.gz: b847d6862176923b517233c61124bb0434af41dba4b5c92a37404691f3837062aa81fdd8e4e656e05af183712cc6c1d9fe38ff832976c11a065f3a3c8aadf958
7
+ data.tar.gz: 72cc4296e09cb9e79a81f3bc118135d4cf0da08c11342ae7409314aa1b482bd07b8016bb853a58ea805291c70f26d08917b53f36c594a6df0bedf083f2f8d14f
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -272,12 +272,9 @@ class LineTree
272
272
 
273
273
  def get_attributes(s)
274
274
 
275
- a = s.scan(/\w+: ["'][^"']+["']/).map do |attr|
276
-
277
- name, val = attr.match(/\s*([^:=]+)[:=]\s*['"]*\
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.0
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
- YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMTkwNjA5MTcxMDE4WhcN
15
- MjAwNjA4MTcxMDE4WjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
16
- cnRzb24vREM9ZXUwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQC4AxCY
17
- XGf1ySV1wgjBLFG175tA+FRxhRXXGUv+pLAlzuW+JdCAS2/7mftnxDhsSWDOdbcL
18
- /NkJ6l4mpt7pPbDmRbPySbnsocyC/EXXrI6zK845Yz2iEwU55hBt6Io66KKQljMD
19
- B0dMK32UAIYrpMDISLiCCsbiHt2JeGoGao2V4oFK0JEv1SP2SRhQJwOSW3XYVibW
20
- alLzxQnRRurAmPvLb/OxdXEosgy9W8nJu4+saG0qkV5Jb0uffMBMTTyfoxMreQVq
21
- bOAYpcDZb2z6EFg5eirPCCBUaicen86xbV83ervKySxcmAAPm4hmk/QTLKEQWQIK
22
- E5jxkZpXyggQnLRow8pfs6ZrbrRuyB2jkvyccNRjU7AE+8mQcGEKI2Fh1OUvBJV1
23
- ZC7Nl2lzEa6TqumzvvTVjHXJspBzpWCYq7f0J65xgAvGdmuGKDf9m3mrkGK9w6dt
24
- DomRFb8uzN694FDw2IkUNKlocglN4DAUzvaTqmi5/ItQdPJfpTszWfdv+LMCAwEA
25
- AaOBijCBhzAJBgNVHRMEAjAAMAsGA1Ud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4ILlu3I+eftJ4QWM2f5lx0ZsEAgVLvw36qPDrdyX8EZf7jWgEBa1DGyDULuKoXbg
36
+ mL1f4imWp1K3Hh2L8I7XFMbY
37
37
  -----END CERTIFICATE-----
38
- date: 2019-09-15 00:00:00.000000000 Z
38
+ 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