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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d5c926c6081e357160f4a5ab1f7301b395356122
4
- data.tar.gz: 18c747c9ae8d89356f6150750d985ffc2d0129f3
3
+ metadata.gz: 7362e0c04d2109b0f576ebd13d4e2fe7f5637a54
4
+ data.tar.gz: 5c58b5c41239e6c6d59fd4e04e8c3a5fb6f85dae
5
5
  SHA512:
6
- metadata.gz: 82cad0c65c255097a905e8ab463f0b2cb2bb81571c435c25272e5952ab674ed62f6d22961573798270c77db0f18a4b464719d95dd4876cf52ff75c00414436ee
7
- data.tar.gz: e702df5a3dac99f3f093e7cf879ffcc0bf759d759a8eedf83c32a949d183d0419f373de48d6c268da5638c8313ddc76c895a387586fc643c0dbb82451f3d388d
6
+ metadata.gz: 8e778ddf0533fd6f8ad6cfad12c0d59474368c3361b81ade03c130b86380a7da79776866081496cc7b3468d3ef187a3dde6b77d2d335aee94adcdb0a38a47379
7
+ data.tar.gz: a9c6cf3ef3dedd82b6d35ab03ecd00423e04c576f31a420fff40974a0a3928246819af6ad2983218c15a04f579ec1d7d92011a289db6f1c5b19fa152ac9370f0
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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.3
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
- MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
14
- YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
15
- 8ixkARkWAmV1MB4XDTE3MDYwNzEyNDgzNloXDTE4MDYwNzEyNDgzNlowSDESMBAG
16
- A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
17
- EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
18
- ggEBAJ5oCXDZ/QVosKbXQ2qizldAC6pWnhEIG9x8sQxtTCFCn0juvRU93G6+cV0W
19
- Si25wlEJmc+JJQptkW9EOCbkoKs9OA/01iFYTtLB0GfcePL1OXMvrLKlm4Yy5aEn
20
- /CcFTSJFZIHtXnOflhQpXSrFbXooado6HQzDzz/u87yQoq2dWjPYsOiIGbCP9g61
21
- +iKkOGpJZfX4VOHiC6A5Xxkww3u1J067dXZ4WrRXTuFn4RSbMaM3kMxEpt0ZYVqo
22
- krdjxstrAnJ/+YWT0wcpAyxn1GzR77Qav4ehfXmLS5Bo2JjE1tOA2VY20kCQhlxO
23
- 0liS01zwDtmlaVgrSNio3KkRj2ECAwEAAaOBijCBhzAJBgNVHRMEAjAAMAsGA1Ud
24
- DwQEAwIEsDAdBgNVHQ4EFgQU4TiZIfJo5m+7J+tLqtHIhfBtObkwJgYDVR0RBB8w
25
- HYEbZ2VtbWFzdGVyQGphbWVzcm9iZXJ0c29uLmV1MCYGA1UdEgQfMB2BG2dlbW1h
26
- c3RlckBqYW1lc3JvYmVydHNvbi5ldTANBgkqhkiG9w0BAQUFAAOCAQEAcAJFDrgT
27
- KsgJVAu522WYDLPmTiHro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YGA1UdEQQfMB2BG2dlbW1h
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: 2017-06-07 00:00:00.000000000 Z
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.2'
41
+ version: '0.7'
43
42
  - - ">="
44
43
  - !ruby/object:Gem::Version
45
- version: 0.2.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.2'
51
+ version: '0.7'
53
52
  - - ">="
54
53
  - !ruby/object:Gem::Version
55
- version: 0.2.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.8
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