mysh 0.1.2 → 0.1.3
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/mysh.rb +1 -0
- data/lib/mysh/commands/help.rb +1 -5
- data/lib/mysh/commands/help_ruby.txt +4 -3
- data/lib/mysh/expression.rb +2 -1
- data/lib/mysh/version.rb +1 -1
- data/mysh.gemspec +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee8e1d97aa7b9d782e704bf95e171fd5f5c0a0f8
|
4
|
+
data.tar.gz: 8d6e20a8673f1801b5557ac7ffa8487e90f7a778
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0311532fd1e3fe7b15ad394cade305e0144d1aa999abb991c1a5a79f832d2e16b019f6eade646b526556aade570dc4684fe90daa330d1df3ffea390752f8a55
|
7
|
+
data.tar.gz: dd3496581c50a907d0f7b9118f173cd7bd90976348672af854d8631b1ba95faa9dfc9b6a8a05c8ac5a93792c60c607c736c2ce144ad1df1d5a0fc714a9b1c9d1
|
data/lib/mysh.rb
CHANGED
data/lib/mysh/commands/help.rb
CHANGED
@@ -5,9 +5,6 @@ module Mysh
|
|
5
5
|
|
6
6
|
#* exit.rb -- The mysh internal exit command.
|
7
7
|
class InternalCommand
|
8
|
-
#The tag used for default external help.
|
9
|
-
EXT_TAG = '-'
|
10
|
-
|
11
8
|
#Add the exit command to the library.
|
12
9
|
add(self.new('help', 'Display help information for mysh.') do |args|
|
13
10
|
puts "mysh (MY ruby SHell) version: #{Mysh::VERSION}"
|
@@ -33,8 +30,7 @@ module Mysh
|
|
33
30
|
elsif args[0] == 'ruby'
|
34
31
|
puts IO.read(File.dirname(__FILE__) + '/help_ruby.txt')
|
35
32
|
else
|
36
|
-
|
37
|
-
system("help " + args.join)
|
33
|
+
puts "help #{args[0]} ???"
|
38
34
|
end
|
39
35
|
|
40
36
|
end)
|
@@ -10,6 +10,7 @@ mysh Ruby expression support summary
|
|
10
10
|
|
11
11
|
A few noteworthy methods exist that facilitate use of Ruby expressions:
|
12
12
|
|
13
|
-
reset
|
14
|
-
result
|
15
|
-
|
13
|
+
reset Reset the execution environment to the default state.
|
14
|
+
result Returns the result of the previous expression.
|
15
|
+
vls <mask> List modules with version info. The optional mask string value
|
16
|
+
is used to filter for modules containing that string.
|
data/lib/mysh/expression.rb
CHANGED
data/lib/mysh/version.rb
CHANGED
data/mysh.gemspec
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.1.
|
4
|
+
version: 0.1.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-08-
|
11
|
+
date: 2016-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -108,6 +108,20 @@ dependencies:
|
|
108
108
|
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 0.6.0
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: vls
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 0.3.9
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 0.3.9
|
111
125
|
description: mysh -- a Ruby inspired command shell for CLI and application use.
|
112
126
|
email:
|
113
127
|
- peter.c.camilleri@gmail.com
|