atk_toolbox 0.0.54 → 0.0.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/atk/atk_info.rb +6 -0
- data/lib/atk/set_command.rb +1 -0
- data/lib/atk_toolbox/version.rb +1 -1
- metadata +10 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fd1611bc9931ce51b707bc1f7124715df6953b51e3b41c525a6f71b96cfee15a
|
|
4
|
+
data.tar.gz: 35f79d1527bd7777f788aff478a692571a4b49728a4eb0367d25bcd0cfccc862
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a558b6a6156771724d1189f51c0f9fc5600b88db4624b6bec7c389c95a3b69bbee41a60382397e5995ef75c59616b79925925cf800d35c4d4d99d851205194f8
|
|
7
|
+
data.tar.gz: 5043d3fe0cfaab3eb5ae200680d3ff181d7e35a91c945c0b18b71c8c8ae323b3573f059ca21934ea9c522be67a029f50d68c1a2ff8aeb534aa6cca8e4735d7ef
|
data/lib/atk/atk_info.rb
CHANGED
|
@@ -36,10 +36,12 @@ end
|
|
|
36
36
|
|
|
37
37
|
module ATK
|
|
38
38
|
def self.paths
|
|
39
|
+
puts "ATK:: self.paths"
|
|
39
40
|
return AtkPaths
|
|
40
41
|
end
|
|
41
42
|
|
|
42
43
|
def self.temp_path(filename)
|
|
44
|
+
puts "ATK:: self.temp_path"
|
|
43
45
|
new_path = ATK.paths[:temp]/filename
|
|
44
46
|
# make sure the path is empty
|
|
45
47
|
FS.write("", to: new_path)
|
|
@@ -48,13 +50,17 @@ module ATK
|
|
|
48
50
|
end
|
|
49
51
|
|
|
50
52
|
def self.info
|
|
53
|
+
puts "ATK:: self.info"
|
|
51
54
|
settings_path = ATK.paths[:info]
|
|
52
55
|
atk_settings_key = "atk_settings"
|
|
53
56
|
# if it doesn't exist then create it
|
|
54
57
|
if not FS.exist?(settings_path)
|
|
58
|
+
puts "ATK:: self.info -- no settings_path"
|
|
59
|
+
puts "self.info"
|
|
55
60
|
FS.write("#{atk_settings_key}: {}", to: settings_path)
|
|
56
61
|
return {}
|
|
57
62
|
else
|
|
63
|
+
puts "ATK:: self.info -- there is settings_path"
|
|
58
64
|
data = YAML.load_file(settings_path)
|
|
59
65
|
if data.is_a?(Hash)
|
|
60
66
|
if data[atk_settings_key].is_a?(Hash)
|
data/lib/atk/set_command.rb
CHANGED
data/lib/atk_toolbox/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: atk_toolbox
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.55
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jeff Hykin
|
|
@@ -34,40 +34,40 @@ dependencies:
|
|
|
34
34
|
name: git
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
|
-
- - "
|
|
37
|
+
- - ">="
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
39
|
version: 1.5.0
|
|
40
|
-
- - "
|
|
40
|
+
- - "~>"
|
|
41
41
|
- !ruby/object:Gem::Version
|
|
42
42
|
version: 1.5.0
|
|
43
43
|
type: :runtime
|
|
44
44
|
prerelease: false
|
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
|
46
46
|
requirements:
|
|
47
|
-
- - "
|
|
47
|
+
- - ">="
|
|
48
48
|
- !ruby/object:Gem::Version
|
|
49
49
|
version: 1.5.0
|
|
50
|
-
- - "
|
|
50
|
+
- - "~>"
|
|
51
51
|
- !ruby/object:Gem::Version
|
|
52
52
|
version: 1.5.0
|
|
53
53
|
- !ruby/object:Gem::Dependency
|
|
54
54
|
name: tty-prompt
|
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
|
56
56
|
requirements:
|
|
57
|
-
- - "
|
|
57
|
+
- - ">="
|
|
58
58
|
- !ruby/object:Gem::Version
|
|
59
59
|
version: 0.19.0
|
|
60
|
-
- - "
|
|
60
|
+
- - "~>"
|
|
61
61
|
- !ruby/object:Gem::Version
|
|
62
62
|
version: 0.19.0
|
|
63
63
|
type: :runtime
|
|
64
64
|
prerelease: false
|
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements:
|
|
67
|
-
- - "
|
|
67
|
+
- - ">="
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
69
|
version: 0.19.0
|
|
70
|
-
- - "
|
|
70
|
+
- - "~>"
|
|
71
71
|
- !ruby/object:Gem::Version
|
|
72
72
|
version: 0.19.0
|
|
73
73
|
description: ''
|
|
@@ -114,8 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
114
114
|
- !ruby/object:Gem::Version
|
|
115
115
|
version: '0'
|
|
116
116
|
requirements: []
|
|
117
|
-
|
|
118
|
-
rubygems_version: 2.7.6.2
|
|
117
|
+
rubygems_version: 3.0.4
|
|
119
118
|
signing_key:
|
|
120
119
|
specification_version: 4
|
|
121
120
|
summary: The Ruby gem for all the standard tools ATK uses internally
|