gitcloudcli 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/gitcloudcli/command/config.rb +5 -1
- data/lib/gitcloudcli/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: 98c24cb8684d3f03c0e300e0f303341b19f8cab462f94fec9cf46a62f079e883
|
4
|
+
data.tar.gz: e5ace3274c6ab5a87fe8134fbeea7072cd11eb939f56d4547cbcc351e08eb64e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 651850d6b629622dedaee8c898394391c6054ea355ddd1969c3279338e2a095adffefb930b64787f8146613923f2d4e4c9d30afa6465e56cc4e55a69dd12e92a
|
7
|
+
data.tar.gz: 75b476f3a99a72db44d23d0b2e274368e957d65d79947cb86ca2141a4310404f52c866cf84e8e684cdae89bbbf3473450975d0f87b2fa2d5efef00cd86cb2988
|
data/Gemfile.lock
CHANGED
@@ -5,10 +5,14 @@ module Gitcloudcli
|
|
5
5
|
def configFile(model="r")
|
6
6
|
yaml_dir = Dir.home + "/.gitcloud"
|
7
7
|
yaml_name = "gitcloud.yaml"
|
8
|
+
yaml_path = yaml_dir + "/#{yaml_name}"
|
8
9
|
if !Dir.exist?(yaml_dir)
|
9
10
|
Dir.mkdir(yaml_dir)
|
10
11
|
end
|
11
|
-
|
12
|
+
if !File.exist? yaml_path
|
13
|
+
File.open(yaml_path, 'w').close
|
14
|
+
end
|
15
|
+
file = File.open(yaml_path, model)
|
12
16
|
end
|
13
17
|
|
14
18
|
def configHash
|
data/lib/gitcloudcli/version.rb
CHANGED