atk_toolbox 0.0.147 → 0.0.148

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: b365ad5c0a3d0e928cc4859c67aad51272421286920ee01f9b4e99bd4580ca68
4
- data.tar.gz: f96b73a2f8ce0d80d1f5939c939276e8917449015401cc8ba235d6b841a1c8e2
3
+ metadata.gz: a2ef80e16df596fae11f5ea313ae4b4afd0285a1bc135658507b938f9d6cc54f
4
+ data.tar.gz: b56eaac7e7a1a68a400d40afe7fde07b539355aa9f98b59c98c920f01994c8ff
5
5
  SHA512:
6
- metadata.gz: 220ed7e0f6b88d723d5fc60ae956c8ff3239bb58b1570869aa1d20727d19d8c606bcaf892da0e719da220bdad4327ce37e23257ba34abd4d49a8a073b1f6247d
7
- data.tar.gz: 1ff31f90673bbf9ee64813c14098b85d017a8d7a9b8307c42d5d15d6bbc2140b8bfbbe8b5840840a00b82012878e3fd1f7a370897d477120c9befa8822a9c697
6
+ metadata.gz: adbca59652831fbeeb6e3a3c0a17886bbe4e301ca93a237788edd86479e7891753c7f935028c1ede02dacf66a0abaa59e0ad5d6d252f0d5001581183750638ad
7
+ data.tar.gz: ee3d50bc9cf2b9270c8ea21833ae7aa7a82fe4b3ba415ff0e9763d67fa9115c907dc524255b990e3633e3f316efc458dabecc0d008ccc1a553445f1221110db0
@@ -33,7 +33,11 @@ class AtkPaths
33
33
  end
34
34
  return ruby_path
35
35
  when 'gem'
36
- # FUTURE: this should eventually link to a specific version of ruby instead of the global version
36
+ gem_path = AtkPaths["ruby"].sub(/\/ruby$/,"\/gem")
37
+ if FS.file?(gem_path)
38
+ return gem_path
39
+ end
40
+ # FUTURE: this should eventually have better error handling
37
41
  return OS.path_for_executable("gem")
38
42
  when 'repos'
39
43
  return HOME/"atk"/"repos"
@@ -3,10 +3,12 @@ require_relative "../console_colors.rb"
3
3
  require_relative "./remove_indent.rb"
4
4
 
5
5
  # easy access to the commandline
6
- class String
7
- # add a - operator to strings that makes it behave like a system() call
8
- def -@
9
- return system(self)
6
+ module Atk
7
+ refine String do
8
+ # add a - operator to strings that makes it behave like a system() call
9
+ def -@
10
+ return system(self)
11
+ end
10
12
  end
11
13
  end
12
14
 
@@ -1,3 +1,3 @@
1
1
  module AtkToolbox
2
- VERSION = '0.0.147'
2
+ VERSION = '0.0.148'
3
3
  end
metadata CHANGED
@@ -1,35 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atk_toolbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.147
4
+ version: 0.0.148
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Hykin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-25 00:00:00.000000000 Z
11
+ date: 2020-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tty-prompt
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.19.0
20
- - - "~>"
20
+ - - ">="
21
21
  - !ruby/object:Gem::Version
22
22
  version: 0.19.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: 0.19.0
27
30
  - - ">="
28
31
  - !ruby/object:Gem::Version
29
32
  version: 0.19.0
33
+ - !ruby/object:Gem::Dependency
34
+ name: ruby2_keywords
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
30
37
  - - "~>"
31
38
  - !ruby/object:Gem::Version
32
- version: 0.19.0
39
+ version: 0.0.2
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 0.0.2
43
+ type: :runtime
44
+ prerelease: false
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: 0.0.2
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 0.0.2
33
53
  description: ''
34
54
  email: jeff.hykin@gmail.com
35
55
  executables: []
@@ -73,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
93
  - !ruby/object:Gem::Version
74
94
  version: '0'
75
95
  requirements: []
76
- rubygems_version: 3.0.3
96
+ rubygems_version: 3.1.2
77
97
  signing_key:
78
98
  specification_version: 4
79
99
  summary: The Ruby gem for all the standard tools ATK uses internally