atk_toolbox 0.0.54 → 0.0.55

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ca59a6218dc1bf062a14a3dba75f442d1bab91e59b442c208350c753f9b44a1d
4
- data.tar.gz: a41b76bf09377befeed05c8bfb750dba7661370e16e2b946efb5b6e1d8092a5b
3
+ metadata.gz: fd1611bc9931ce51b707bc1f7124715df6953b51e3b41c525a6f71b96cfee15a
4
+ data.tar.gz: 35f79d1527bd7777f788aff478a692571a4b49728a4eb0367d25bcd0cfccc862
5
5
  SHA512:
6
- metadata.gz: a3669469062407aa15680bc55a7ea6010e449e7c06200d6ba8772d705e6a0832a173a00a657baebf7496a487475187c42b0b28091076857dd34d4916468a3eee
7
- data.tar.gz: 15b81d27fb8fefceada663b008ed11bb3968d8125ab77701b542787a8dbf90878560491d8f1c72addabea23fe942fb345be1af8ae17b75edb6e82a64a300e9c9
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)
@@ -8,6 +8,7 @@ def set_command(name, code)
8
8
  local_place = ATK.temp_path(name)
9
9
  # add the hash bang
10
10
  hash_bang = "#!#{ATK.paths[:ruby]}\n"
11
+ puts "hash_bang is: #{hash_bang} "
11
12
  # create the file
12
13
  FS.write(hash_bang+code, to: local_place)
13
14
  # copy to command folder
@@ -1,3 +1,3 @@
1
1
  module AtkToolbox
2
- VERSION = '0.0.54'
2
+ VERSION = '0.0.55'
3
3
  end
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.54
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
- rubyforge_project:
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