simple-config 0.6.3 → 0.6.4
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/simple-config.rb +4 -2
- metadata +26 -27
- 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: 7362e0c04d2109b0f576ebd13d4e2fe7f5637a54
|
4
|
+
data.tar.gz: 5c58b5c41239e6c6d59fd4e04e8c3a5fb6f85dae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e778ddf0533fd6f8ad6cfad12c0d59474368c3361b81ade03c130b86380a7da79776866081496cc7b3468d3ef187a3dde6b77d2d335aee94adcdb0a38a47379
|
7
|
+
data.tar.gz: a9c6cf3ef3dedd82b6d35ab03ecd00423e04c576f31a420fff40974a0a3928246819af6ad2983218c15a04f579ec1d7d92011a289db6f1c5b19fa152ac9370f0
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/simple-config.rb
CHANGED
@@ -8,12 +8,14 @@ require 'kvx'
|
|
8
8
|
class SimpleConfig < Kvx
|
9
9
|
|
10
10
|
|
11
|
-
def initialize(x, attributes: {})
|
11
|
+
def initialize(x, attributes: {}, debug: false)
|
12
12
|
|
13
|
+
@ignore_blank_lines = true
|
14
|
+
|
13
15
|
if x.is_a? SimpleConfig then
|
14
16
|
@to_h = x.to_h
|
15
17
|
elsif x
|
16
|
-
super(x, attributes: attributes)
|
18
|
+
super(x, attributes: attributes, debug: debug)
|
17
19
|
end
|
18
20
|
|
19
21
|
@identifier = 'simple-config'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple-config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.4
|
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
|
-
YeGb65Rm/HHB7A==
|
13
|
+
MIIDXjCCAkagAwIBAgIBATANBgkqhkiG9w0BAQUFADAsMSowKAYDVQQDDCFnZW1t
|
14
|
+
YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMTgwNDA2MjIxMDA4WhcN
|
15
|
+
MTkwNDA2MjIxMDA4WjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
|
16
|
+
cnRzb24vREM9ZXUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDajYa8
|
17
|
+
4GOU0da4gKMdFzvJTEYDzZiKwQYiI7FedKYaqvr8rQwb9eUXeyIR8Ib7pA1139x3
|
18
|
+
+KO/V56PnCjK17qQZYn87nlPpghd65cmiTlHUamAeAj1j1Mzj50XYwKD9fwVQn/h
|
19
|
+
uKS6dfEfxrCBqJaS2CzS3UzCN+TZ/7cBZkC7XPQqoGKR2iCmcOroTPn8cAG3Q3Hd
|
20
|
+
3Ng2NVydaD7KEVsNZqbFAn5FLx7URoci97T0Prpp6C30dSwVCamgC/XKaD/BYCKN
|
21
|
+
SWgMTj+4Pfs0+3Zwu5VtUc0PkzVKFCL7WQpm0Q2iAC2c30QAbbJuklZ6jM/jLoIH
|
22
|
+
bp9TwGCJTWjLPZyfAgMBAAGjgYowgYcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
|
23
|
+
HQYDVR0OBBYEFIwfhpKPdaQ4L22PYNmx5zcnGaBDMCYGA1UdEQQfMB2BG2dlbW1h
|
24
|
+
c3RlckBqYW1lc3JvYmVydHNvbi5ldTAmBgNVHRIEHzAdgRtnZW1tYXN0ZXJAamFt
|
25
|
+
ZXNyb2JlcnRzb24uZXUwDQYJKoZIhvcNAQEFBQADggEBADhNFLchDpCorfnUsAda
|
26
|
+
ELMx3AwfWQt9Q7fTKrJdJLDuFSRejR6yxPE0/Idto6f+C1Bg0xa0FJXvbezK1WN4
|
27
|
+
/bAe3nDdW1poB0gNaF3qwroH6LHQwp48QnDXtX/0JN1EwbCJMEnrNPdb+6S+NV/M
|
28
|
+
/s9mdlNDmuIiy2L9RYj88kkkPwQl5YB7nVsv9VAAl+AZa6jRpiRFxOG+oosQWp3v
|
29
|
+
j8W4YFFRhER81IjTTgjx888Hfo0yV2Z2C9Vkb0qgNzSmdF9j2aHXt/Do2yNqW60Q
|
30
|
+
rEmNMDsrnO4bmus+H6M8cOKW+ybooQQtOJa4x00WUmwRxzpBJJOvs3pYhhjmNH07
|
31
|
+
Awc=
|
33
32
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
33
|
+
date: 2018-04-06 00:00:00.000000000 Z
|
35
34
|
dependencies:
|
36
35
|
- !ruby/object:Gem::Dependency
|
37
36
|
name: kvx
|
@@ -39,20 +38,20 @@ dependencies:
|
|
39
38
|
requirements:
|
40
39
|
- - "~>"
|
41
40
|
- !ruby/object:Gem::Version
|
42
|
-
version: '0.
|
41
|
+
version: '0.7'
|
43
42
|
- - ">="
|
44
43
|
- !ruby/object:Gem::Version
|
45
|
-
version: 0.
|
44
|
+
version: 0.7.0
|
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.7'
|
53
52
|
- - ">="
|
54
53
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.
|
54
|
+
version: 0.7.0
|
56
55
|
description:
|
57
56
|
email: james@jamesrobertson.eu
|
58
57
|
executables: []
|
@@ -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: Simple-config makes it convenient to read or write a config file as simple
|
metadata.gz.sig
CHANGED
Binary file
|