mkalias 0.1.5 → 0.1.6
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/.travis.yml +3 -1
- data/bin/mkalias +5 -3
- data/lib/mkalias/version.rb +1 -1
- data/lib/mkalias.rb +1 -1
- data/mkalias.gemspec +4 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b076cc05bdb07b57e78571bca2ad990aa0f90e3
|
4
|
+
data.tar.gz: 94cd48b2b6bc8e02897eecade063ee8d3a14658b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e11d3031e02fc8676f8233b0db72be75bfaf42cdf42fe28e76e8cad5800e42e5ccecf5a3ca8373d94f7b88516b92908cf2e0520232e5936b6aff010e8442dd37
|
7
|
+
data.tar.gz: 16b089a5b4c12a15922a7e631479684baa0c9039c7c76aa0d570d6773c6ade68b8fe008c95be302d93e1b4c8087509f73bb3c16a057b1af12cb016bb03a65349
|
data/.travis.yml
CHANGED
data/bin/mkalias
CHANGED
@@ -49,11 +49,13 @@ def show_alias
|
|
49
49
|
usage
|
50
50
|
end
|
51
51
|
alias_name = ARGV[1]
|
52
|
-
|
52
|
+
commands = Mkalias.show_alias(alias_name)
|
53
53
|
|
54
|
-
if
|
54
|
+
if commands
|
55
55
|
puts "#{alias_name}:"
|
56
|
-
|
56
|
+
commands.each do |command|
|
57
|
+
puts " #{command}"
|
58
|
+
end
|
57
59
|
else
|
58
60
|
puts "Alias [#{alias_name}] not founded"
|
59
61
|
end
|
data/lib/mkalias/version.rb
CHANGED
data/lib/mkalias.rb
CHANGED
data/mkalias.gemspec
CHANGED
@@ -10,9 +10,10 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ['lucianopcbr@gmail.com']
|
11
11
|
|
12
12
|
spec.summary = 'A program to create bash alias'
|
13
|
-
spec.description = 'MKalias is a alias manage, when you can just
|
14
|
-
' a command and you can add a new alias, list
|
15
|
-
' alias, show the alias command or remove the
|
13
|
+
spec.description = 'MKalias is a bash alias manage, when you can just' \
|
14
|
+
' add a command and you can add a new alias, list' \
|
15
|
+
' the alias, show the alias command or remove the' \
|
16
|
+
' alias.'
|
16
17
|
spec.homepage = 'https://github.com/LucianoPC/mkalias'
|
17
18
|
spec.license = 'GPL-3.0'
|
18
19
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mkalias
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luciano Prestes Cavalcanti
|
@@ -52,8 +52,8 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.0'
|
55
|
-
description: MKalias is a alias manage, when you can just add a command and you
|
56
|
-
add a new alias, list the alias, show the alias command or remove the alias.
|
55
|
+
description: MKalias is a bash alias manage, when you can just add a command and you
|
56
|
+
can add a new alias, list the alias, show the alias command or remove the alias.
|
57
57
|
email:
|
58
58
|
- lucianopcbr@gmail.com
|
59
59
|
executables:
|