atk_toolbox 0.0.55 → 0.0.56
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/atk/atk_info.rb +0 -6
- data/lib/atk_toolbox/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: 8ba3f6bb1b01979b10d598484f2f565c200722f57a92f7aa524ad37c09375ff8
|
4
|
+
data.tar.gz: 6c269c3af7965cd6e88100f900dfea0f85fb4a0ad22bbd410321e73a32ad986f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6bf4159faac71eb395e96dea950f6587bd3b2810d905c075c0fabf4fdb3bae3a3694442ef7348e185ab7e688f2300eba7943bc23d8dd360718f3d93d5bcbe96d
|
7
|
+
data.tar.gz: 18720a9fd52238eb126b3aa1e41a16fddb1df3f4b49ede2089f686e4855ce8adae680782b69a6c09f0f0c78628fbd00c26b80f75176112f248a563694b1e7321
|
data/lib/atk/atk_info.rb
CHANGED
@@ -36,12 +36,10 @@ end
|
|
36
36
|
|
37
37
|
module ATK
|
38
38
|
def self.paths
|
39
|
-
puts "ATK:: self.paths"
|
40
39
|
return AtkPaths
|
41
40
|
end
|
42
41
|
|
43
42
|
def self.temp_path(filename)
|
44
|
-
puts "ATK:: self.temp_path"
|
45
43
|
new_path = ATK.paths[:temp]/filename
|
46
44
|
# make sure the path is empty
|
47
45
|
FS.write("", to: new_path)
|
@@ -50,17 +48,13 @@ module ATK
|
|
50
48
|
end
|
51
49
|
|
52
50
|
def self.info
|
53
|
-
puts "ATK:: self.info"
|
54
51
|
settings_path = ATK.paths[:info]
|
55
52
|
atk_settings_key = "atk_settings"
|
56
53
|
# if it doesn't exist then create it
|
57
54
|
if not FS.exist?(settings_path)
|
58
|
-
puts "ATK:: self.info -- no settings_path"
|
59
|
-
puts "self.info"
|
60
55
|
FS.write("#{atk_settings_key}: {}", to: settings_path)
|
61
56
|
return {}
|
62
57
|
else
|
63
|
-
puts "ATK:: self.info -- there is settings_path"
|
64
58
|
data = YAML.load_file(settings_path)
|
65
59
|
if data.is_a?(Hash)
|
66
60
|
if data[atk_settings_key].is_a?(Hash)
|
data/lib/atk_toolbox/version.rb
CHANGED