mysh 0.1.17 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mysh.rb +28 -25
  3. data/lib/mysh/expression.rb +1 -9
  4. data/lib/mysh/external_ruby.rb +1 -1
  5. data/lib/mysh/internal/action.rb +3 -11
  6. data/lib/mysh/internal/action_pool.rb +6 -20
  7. data/lib/mysh/internal/actions/actions_path.rb +2 -2
  8. data/lib/mysh/internal/actions/cd.rb +14 -23
  9. data/lib/mysh/internal/actions/exit.rb +10 -7
  10. data/lib/mysh/internal/actions/gls.rb +63 -8
  11. data/lib/mysh/internal/actions/help.rb +20 -33
  12. data/lib/mysh/internal/actions/help/help.txt +4 -4
  13. data/lib/mysh/internal/actions/help/help_env.txt +14 -0
  14. data/lib/mysh/internal/actions/help/help_expr.txt +3 -2
  15. data/lib/mysh/internal/actions/help/help_gls.txt +41 -0
  16. data/lib/mysh/internal/actions/help/help_help.txt +7 -4
  17. data/lib/mysh/internal/actions/help/help_math.txt +1 -1
  18. data/lib/mysh/internal/actions/help/help_ruby.txt +21 -0
  19. data/lib/mysh/internal/actions/help/help_show.txt +12 -0
  20. data/lib/mysh/internal/actions/help/history.txt +19 -0
  21. data/lib/mysh/internal/actions/help/quick.txt +25 -0
  22. data/lib/mysh/internal/actions/help/sub_help.rb +41 -0
  23. data/lib/mysh/internal/actions/history.rb +46 -10
  24. data/lib/mysh/internal/actions/pwd.rb +18 -0
  25. data/lib/mysh/internal/actions/show.rb +22 -13
  26. data/lib/mysh/internal/actions/show/env.rb +43 -0
  27. data/lib/mysh/internal/actions/show/ruby.rb +50 -0
  28. data/lib/mysh/internal/actions/type.rb +27 -0
  29. data/lib/mysh/internal/actions/vls.rb +12 -12
  30. data/lib/mysh/internal/decorate.rb +2 -2
  31. data/lib/mysh/internal/format.rb +2 -4
  32. data/lib/mysh/internal/format/array.rb +23 -13
  33. data/lib/mysh/internal/format/bullets.rb +2 -2
  34. data/lib/mysh/internal/format/columns.rb +6 -11
  35. data/lib/mysh/internal/format/nil.rb +13 -0
  36. data/lib/mysh/internal/format/string.rb +23 -9
  37. data/lib/mysh/internal/manage.rb +2 -2
  38. data/lib/mysh/quick.rb +32 -0
  39. data/lib/mysh/user_input.rb +11 -4
  40. data/lib/mysh/user_input/parse.rb +1 -1
  41. data/lib/mysh/user_input/smart_source.rb +1 -1
  42. data/lib/mysh/version.rb +1 -1
  43. data/mysh.gemspec +1 -1
  44. data/samples/show.txt +1 -1
  45. data/tests/my_shell_tests.rb +25 -18
  46. 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.1.17
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-12 00:00:00.000000000 Z
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: http://teuthida-technologies.com/
205
+ homepage: https://github.com/PeterCamilleri/mysh
193
206
  licenses:
194
207
  - MIT
195
208
  metadata: {}