simple-config 0.7.2 → 0.7.3
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/lib/simple-config.rb +3 -2
- data.tar.gz.sig +0 -0
- metadata +7 -8
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d132c138bd6a68e1eab2f6326908e740a39c34c9c21077aeb8e2a8a7075960b0
|
4
|
+
data.tar.gz: 7577d85d6ab7746f74403b7ca0278db28c660c6d83e0569bdf810cc52c3de524
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78c26a0fa99dedfca6ecadfa7e9640d16de6fb2798188b7949dc346adad8382a81fc72740dcbb973b456ba38609ae47c3c473b6f16e378f7f2272f259e9733d9
|
7
|
+
data.tar.gz: dd58e9c5f0d6073cfa47f08d92a1068715c02e0b7f7584ec5553db7b6a9fa610355d9c32fb0471ffba198ebe3c96c2ebd5ffd3e24d7859f7a6ce49b902a757b9
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/simple-config.rb
CHANGED
@@ -8,7 +8,8 @@ require 'kvx'
|
|
8
8
|
class SimpleConfig < Kvx
|
9
9
|
|
10
10
|
|
11
|
-
def initialize(x, attributes: {}, auto_detect_type: true,
|
11
|
+
def initialize(x, attributes: {}, auto_detect_type: true, comment_char: '#',
|
12
|
+
debug: false)
|
12
13
|
|
13
14
|
@ignore_blank_lines = true
|
14
15
|
@auto_detect_type = auto_detect_type
|
@@ -16,7 +17,7 @@ class SimpleConfig < Kvx
|
|
16
17
|
if x.is_a? SimpleConfig then
|
17
18
|
@to_h = x.to_h
|
18
19
|
elsif x
|
19
|
-
super(x, attributes: attributes, debug: debug)
|
20
|
+
super(x, attributes: attributes, comment_char: comment_char, debug: debug)
|
20
21
|
end
|
21
22
|
|
22
23
|
@identifier = 'simple-config'
|
data.tar.gz.sig
CHANGED
Binary file
|
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.7.
|
4
|
+
version: 0.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
7fTseCWoJ+htGaGmF2XGa4vzno4Hrx46xtH5bMZXjJrZI5kAQ3q/rrwGTRAlhKXN
|
36
36
|
ohnGnEdpQlxOgeVD510QNHR5
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2022-
|
38
|
+
date: 2022-09-27 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: kvx
|
@@ -43,20 +43,20 @@ dependencies:
|
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '1.
|
46
|
+
version: '1.1'
|
47
47
|
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 1.
|
49
|
+
version: 1.1.3
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - "~>"
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: '1.
|
56
|
+
version: '1.1'
|
57
57
|
- - ">="
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
version: 1.
|
59
|
+
version: 1.1.3
|
60
60
|
description:
|
61
61
|
email: digital.robertson@gmail.com
|
62
62
|
executables: []
|
@@ -83,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
|
-
|
87
|
-
rubygems_version: 2.7.10
|
86
|
+
rubygems_version: 3.3.7
|
88
87
|
signing_key:
|
89
88
|
specification_version: 4
|
90
89
|
summary: Simple-config makes it convenient to read or write a config file as simple
|
metadata.gz.sig
CHANGED
Binary file
|