mysh 0.1.17 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mysh.rb +28 -25
- data/lib/mysh/expression.rb +1 -9
- data/lib/mysh/external_ruby.rb +1 -1
- data/lib/mysh/internal/action.rb +3 -11
- data/lib/mysh/internal/action_pool.rb +6 -20
- data/lib/mysh/internal/actions/actions_path.rb +2 -2
- data/lib/mysh/internal/actions/cd.rb +14 -23
- data/lib/mysh/internal/actions/exit.rb +10 -7
- data/lib/mysh/internal/actions/gls.rb +63 -8
- data/lib/mysh/internal/actions/help.rb +20 -33
- data/lib/mysh/internal/actions/help/help.txt +4 -4
- data/lib/mysh/internal/actions/help/help_env.txt +14 -0
- data/lib/mysh/internal/actions/help/help_expr.txt +3 -2
- data/lib/mysh/internal/actions/help/help_gls.txt +41 -0
- data/lib/mysh/internal/actions/help/help_help.txt +7 -4
- data/lib/mysh/internal/actions/help/help_math.txt +1 -1
- data/lib/mysh/internal/actions/help/help_ruby.txt +21 -0
- data/lib/mysh/internal/actions/help/help_show.txt +12 -0
- data/lib/mysh/internal/actions/help/history.txt +19 -0
- data/lib/mysh/internal/actions/help/quick.txt +25 -0
- data/lib/mysh/internal/actions/help/sub_help.rb +41 -0
- data/lib/mysh/internal/actions/history.rb +46 -10
- data/lib/mysh/internal/actions/pwd.rb +18 -0
- data/lib/mysh/internal/actions/show.rb +22 -13
- data/lib/mysh/internal/actions/show/env.rb +43 -0
- data/lib/mysh/internal/actions/show/ruby.rb +50 -0
- data/lib/mysh/internal/actions/type.rb +27 -0
- data/lib/mysh/internal/actions/vls.rb +12 -12
- data/lib/mysh/internal/decorate.rb +2 -2
- data/lib/mysh/internal/format.rb +2 -4
- data/lib/mysh/internal/format/array.rb +23 -13
- data/lib/mysh/internal/format/bullets.rb +2 -2
- data/lib/mysh/internal/format/columns.rb +6 -11
- data/lib/mysh/internal/format/nil.rb +13 -0
- data/lib/mysh/internal/format/string.rb +23 -9
- data/lib/mysh/internal/manage.rb +2 -2
- data/lib/mysh/quick.rb +32 -0
- data/lib/mysh/user_input.rb +11 -4
- data/lib/mysh/user_input/parse.rb +1 -1
- data/lib/mysh/user_input/smart_source.rb +1 -1
- data/lib/mysh/version.rb +1 -1
- data/mysh.gemspec +1 -1
- data/samples/show.txt +1 -1
- data/tests/my_shell_tests.rb +25 -18
- metadata +16 -3
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.
|
4
|
+
version: 0.2.0
|
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-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -163,20 +163,33 @@ files:
|
|
163
163
|
- lib/mysh/internal/actions/gls.rb
|
164
164
|
- lib/mysh/internal/actions/help.rb
|
165
165
|
- lib/mysh/internal/actions/help/help.txt
|
166
|
+
- lib/mysh/internal/actions/help/help_env.txt
|
166
167
|
- lib/mysh/internal/actions/help/help_expr.txt
|
168
|
+
- lib/mysh/internal/actions/help/help_gls.txt
|
167
169
|
- lib/mysh/internal/actions/help/help_help.txt
|
168
170
|
- lib/mysh/internal/actions/help/help_math.txt
|
171
|
+
- lib/mysh/internal/actions/help/help_ruby.txt
|
172
|
+
- lib/mysh/internal/actions/help/help_show.txt
|
173
|
+
- lib/mysh/internal/actions/help/history.txt
|
174
|
+
- lib/mysh/internal/actions/help/quick.txt
|
175
|
+
- lib/mysh/internal/actions/help/sub_help.rb
|
169
176
|
- lib/mysh/internal/actions/history.rb
|
177
|
+
- lib/mysh/internal/actions/pwd.rb
|
170
178
|
- lib/mysh/internal/actions/show.rb
|
179
|
+
- lib/mysh/internal/actions/show/env.rb
|
180
|
+
- lib/mysh/internal/actions/show/ruby.rb
|
181
|
+
- lib/mysh/internal/actions/type.rb
|
171
182
|
- lib/mysh/internal/actions/vls.rb
|
172
183
|
- lib/mysh/internal/decorate.rb
|
173
184
|
- lib/mysh/internal/format.rb
|
174
185
|
- lib/mysh/internal/format/array.rb
|
175
186
|
- lib/mysh/internal/format/bullets.rb
|
176
187
|
- lib/mysh/internal/format/columns.rb
|
188
|
+
- lib/mysh/internal/format/nil.rb
|
177
189
|
- lib/mysh/internal/format/object.rb
|
178
190
|
- lib/mysh/internal/format/string.rb
|
179
191
|
- lib/mysh/internal/manage.rb
|
192
|
+
- lib/mysh/quick.rb
|
180
193
|
- lib/mysh/user_input.rb
|
181
194
|
- lib/mysh/user_input/handlebars.rb
|
182
195
|
- lib/mysh/user_input/parse.rb
|
@@ -189,7 +202,7 @@ files:
|
|
189
202
|
- samples/show.txt
|
190
203
|
- samples/test.rb
|
191
204
|
- tests/my_shell_tests.rb
|
192
|
-
homepage:
|
205
|
+
homepage: https://github.com/PeterCamilleri/mysh
|
193
206
|
licenses:
|
194
207
|
- MIT
|
195
208
|
metadata: {}
|