lineparser 0.1.15 → 0.1.16

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
  SHA1:
3
- metadata.gz: fbaa04ee1873fa49ae03df2a7bc95c9884963abc
4
- data.tar.gz: 6b5617d478478ec1caef1eb74be16925d8e80a88
3
+ metadata.gz: 28d3eefa7cd6ef96db0e76506712da6ed70b6e03
4
+ data.tar.gz: 9afbfc0f86842b714a6f066394efd551e6449ca1
5
5
  SHA512:
6
- metadata.gz: b1946c7cec2d57fc347180b9dbbf7500ff1ae4f24a7813fe736c79ac3c067c5a57c6ed4e84565eb0fbec3e7436236f4451b0014b8823a7f752f995f0e23fdd74
7
- data.tar.gz: da3de64e96337a37fc443ea18f5c96ac88b4456c5c921cee1dd0bcfe8ddc2b4708a378011ebe8ce8fa078a74ea9b7e298148d2bdb14db17b00af76e8b6bed563
6
+ metadata.gz: 6e1c2ebf332cea5a86be5f92824ec6d8385bd7cc64896e812d65d06c7a63bdce6d0ca1682dd30ea352f5ae73ed6807474d5973629854c1677f6e8e01fb4857e7
7
+ data.tar.gz: e51187dd8b5bbf6cbad06db2f2e3afffabccf80b24e780749f56ceedce8706583f85f77a1a712b0f7c07e1cc204a0efff1453f6e0f1eb136ecfaa4cc5dd0465c
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -17,7 +17,7 @@ class LineParser
17
17
  labels = []
18
18
 
19
19
  pattern.gsub!('+',"\\\\+")
20
- r = s.match(/#{pattern.gsub(/:\w+/) {|x| labels << x; '(\\S+)'}}/)
20
+ r = s.match(/#{pattern.gsub(/:\w+/) {|x| labels << x; '([^\\n]*)'}}/)
21
21
 
22
22
  if r then
23
23
  params = Hash[*labels.zip(r.captures).flatten(1)]
@@ -187,4 +187,4 @@ r = lp.parse lines
187
187
  [:app_path, {":app_path"=>"/tmp"}, ["app_path: /tmp"], nil],
188
188
  [:app, {":app"=>"blog"}, ["app: blog"], nil],
189
189
  [:resources, {":resources"=>"posts"}, ["resources: posts"], ...
190
- =end
190
+ =end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lineparser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
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
- MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
14
- YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
15
- 8ixkARkWAmV1MB4XDTE1MDcwOTIyMTk1OFoXDTE2MDcwODIyMTk1OFowSDESMBAG
16
- A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
17
- EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
18
- ggEBAJ4i0fv1FiTLo/nP6kFVtXNB0rYEcqrynSgTgsz7DtXAxJSWOB7fcyFG/Sfg
19
- 9sXRsoiqnf4JR1ipnnB6FPiikzSTkxTrkiyJcS/wryNWBhoghUlXRl43pBi6jVDe
20
- LRz1xGYZJYephGGzpaHpNBxjFNxoiBWAWlJIyLIkj6n7Bn7S7JjLRwuC7NuvKuyA
21
- /TSOe+ONQ7monyzRf388vwN3IFVXEnwRbGyywfaKZENtrY9haRECqObouTXm2FO3
22
- XvUYSONPV+ujqxpIKjzepJLwsP/hvy0uaLqGOFP1S1SV7E7i3x/oemMS717ddBbV
23
- SfzmXWratsDvWPkYS0M9e5bqzasCAwEAAaOBijCBhzAJBgNVHRMEAjAAMAsGA1Ud
24
- DwQEAwIEsDAdBgNVHQ4EFgQUb/1jXj2E9ch7RD60+RMZMA3BLaIwJgYDVR0RBB8w
25
- HYEbZ2VtbWFz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987YKbMDgx6SACeYc
22
+ vRR+2ItRBmfl7fEvAgMBAAGjgYowgYcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
23
+ HQYDVR0OBBYEFBtVTxKjkkaD2AolTTEI29VnoOr4MCYGA1UdEQQfMB2BG2dlbW1h
24
+ c3RlckBqYW1lc3JvYmVydHNvbi5ldTAmBgNVHRIEHzAdgRtnZW1tYXN0ZXJAamFt
25
+ ZXNyb2JlcnRzb24uZXUwDQYJKoZIhvcNAQEFBQADggEBALWXE5uRjPHi1XeGPmD/
26
+ 7aGPjfUxg+hl/zMyVNPWi3ym84j76oynLTM0C7AgDVqXl8H8NPPiawQu8zLc6UWV
27
+ PoZn4dtN8TBrOg9JT+P1+WHU4QidJ7PDTK4+HXaHxcEpglXQ/2V2wa+TjSq5cPws
28
+ kxxS5qQrFKvqW3SuhXuO1wYC42OiPYu6KDjbq9ZnGEXKHg2+/XzkGJgnANzu58BR
29
+ +jtnooTZ6Wn+nPMDihov717g1HIEFpQOyDvLPtnDyaCKkKbHn7FgS7a8wr12OGHj
30
+ 7CkP6/pzsGLnyfCNF6rkXny4G0mjMmALczbazUUCil4IJNYfvW28Nlm2cD1N6Y/t
31
+ Uck=
33
32
  -----END CERTIFICATE-----
34
- date: 2015-07-09 00:00:00.000000000 Z
33
+ date: 2018-06-18 00:00:00.000000000 Z
35
34
  dependencies:
36
35
  - !ruby/object:Gem::Dependency
37
36
  name: line-tree
@@ -54,7 +53,7 @@ dependencies:
54
53
  - !ruby/object:Gem::Version
55
54
  version: 0.3.17
56
55
  description:
57
- email: james@r0bertson.co.uk
56
+ email: james@jamesrobertson.eu
58
57
  executables: []
59
58
  extensions: []
60
59
  extra_rdoc_files: []
@@ -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.4.6
82
+ rubygems_version: 2.6.13
84
83
  signing_key:
85
84
  specification_version: 4
86
85
  summary: Lineparser is suited to parsing configuration files, however it can parse
metadata.gz.sig CHANGED
Binary file