gct 0.3.91 → 0.3.92
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gct/file_base.rb +1 -1
- data/lib/gct/gct_version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f56c709eefbd77dd98e8a28edc0843b6aa03b6736a4d5c395b7e5ebbdb788dba
|
4
|
+
data.tar.gz: 53e1af2275b00d0aa11a83199f9d830ac63559f99a9f63fb046f63ca8e5dfb93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 898c5d910ceec03da053813748b246121ff5cc379910f4b86ebf1ef5ab46096a7e86e8c7cf2e9dba381abe29c138dc263be5fd49a54a42b130562bc0ed8ce184
|
7
|
+
data.tar.gz: ec2228784c42ac7bf0ef80e1a7e422e9c1f9f2df630350febf66a04bf49411f3aa8a61f85e453f226ff0cf77160b9d220ad8e2b6382a90243d9eae29649450f0
|
data/lib/gct/file_base.rb
CHANGED
@@ -10,7 +10,7 @@ module Gct
|
|
10
10
|
def yaml_write(key, value)
|
11
11
|
begin
|
12
12
|
config_map = YAML.load(File.open(@path, "r"))
|
13
|
-
config_map = Hash.new() if config_map
|
13
|
+
config_map = Hash.new() if !config_map
|
14
14
|
config_map[key] = value
|
15
15
|
yaml_file = File.open(@path, "w")
|
16
16
|
YAML::dump(config_map, yaml_file)
|
data/lib/gct/gct_version.rb
CHANGED