mysh 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mysh/internal/actions/vls.rb +8 -1
- data/lib/mysh/internal/format/array.rb +2 -0
- data/lib/mysh/version.rb +1 -1
- data/tests/my_shell_tests.rb +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a2f391f973abe84f8adec12bfd66acaf7860fcb
|
4
|
+
data.tar.gz: 94ef4e4c08bbe29cb870b3003ebcdf253c61ab8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b98fa2677aae7e6d4b8606c11799c754b21bce4c2f34a6984db67fce2da34f43b49432d3bb95b9c14fc155f86478d501f329a8bd7f4b7f7798a847fe6ac2dbb
|
7
|
+
data.tar.gz: 945346347932b2a097fd5a09d8c203b1c080f376bb1e1ed705f536a40d24f83ca0976e23cfd8435172911a8d2139058344d1e658c044af9d5f28c15656458b12
|
@@ -10,7 +10,14 @@ module Mysh
|
|
10
10
|
|
11
11
|
#Execute the vls command.
|
12
12
|
def call(args)
|
13
|
-
|
13
|
+
filter = args[0] || /./
|
14
|
+
results = VersionLS.vls(filter)
|
15
|
+
|
16
|
+
if results.empty?
|
17
|
+
puts "No modules found for filter #{filter.inspect}.", ""
|
18
|
+
else
|
19
|
+
puts results.mysh_bulletize, ""
|
20
|
+
end
|
14
21
|
end
|
15
22
|
|
16
23
|
end
|
data/lib/mysh/version.rb
CHANGED
data/tests/my_shell_tests.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mysh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Camilleri
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|