mysh 0.2.3 → 0.2.4
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/show/env.rb +11 -9
- data/lib/mysh/internal/actions/show/ruby.rb +1 -0
- data/lib/mysh/version.rb +1 -1
- data/mysh.gemspec +4 -4
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c8cc767a514a9a668026f2f0006b505b04a385c
|
4
|
+
data.tar.gz: 5b7e0582cb48cafca86b8c12f054678b7077122b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b52c0e5e4bf9925bc25f7529f5506c6c788222a0e1a0d51cf6e1adc72b72ca24c6e5c88eb19b478a4135be71f6e7eea03620c21bde4f1464a51fb6192eaf921
|
7
|
+
data.tar.gz: c9f0dbc3e0b07dfde1234817b6aaecc8f6a81736572eb14a5868f6fa85c31aab26f17c7ed3b655777eb8b69eee981e0058d89db46b6c44cfe04a52ee581ed4a8
|
@@ -17,15 +17,17 @@ module Mysh
|
|
17
17
|
|
18
18
|
#Get the info
|
19
19
|
def info
|
20
|
-
[["user",
|
21
|
-
["home",
|
22
|
-
["name",
|
23
|
-
["shell",
|
24
|
-
["host",
|
25
|
-
["os",
|
26
|
-
["
|
27
|
-
["
|
28
|
-
["
|
20
|
+
[["user", ENV['USER']],
|
21
|
+
["home", ENV['HOME']],
|
22
|
+
["name", decorate($PROGRAM_NAME)],
|
23
|
+
["shell", ENV['SHELL'] || ENV['ComSpec']],
|
24
|
+
["host", ENV['HOSTNAME'] || ENV['COMPUTERNAME']],
|
25
|
+
["os", ENV['OS']],
|
26
|
+
["platform", MiniReadline::TERM_PLATFORM],
|
27
|
+
["java", MiniReadline::TERM_JAVA != nil],
|
28
|
+
["term", ENV['TERM']],
|
29
|
+
["disp", ENV['DISPLAY']],
|
30
|
+
["edit", ENV['EDITOR']]]
|
29
31
|
end
|
30
32
|
|
31
33
|
#Get the path.
|
@@ -22,6 +22,7 @@ module Mysh
|
|
22
22
|
[["location", decorate(RbConfig.ruby)],
|
23
23
|
["description", RUBY_DESCRIPTION],
|
24
24
|
["version", RUBY_VERSION],
|
25
|
+
["jversion", (JRUBY_VERSION rescue nil)],
|
25
26
|
["patch", RUBY_PATCHLEVEL],
|
26
27
|
["revision", RUBY_REVISION],
|
27
28
|
["date", RUBY_RELEASE_DATE],
|
data/lib/mysh/version.rb
CHANGED
data/mysh.gemspec
CHANGED
@@ -27,10 +27,10 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.add_development_dependency "rake", "~> 10.0"
|
28
28
|
spec.add_development_dependency 'reek', "~> 3.0"
|
29
29
|
spec.add_development_dependency 'minitest', "~> 5.7"
|
30
|
-
spec.add_development_dependency 'minitest_visible', ">= 0.1.
|
30
|
+
spec.add_development_dependency 'minitest_visible', ">= 0.1.2"
|
31
31
|
spec.add_development_dependency 'rdoc', "~> 4.0.1"
|
32
32
|
|
33
|
-
spec.add_runtime_dependency 'mini_readline', ">= 0.6.
|
34
|
-
spec.add_runtime_dependency 'vls', ">= 0.
|
35
|
-
spec.add_runtime_dependency 'in_array'
|
33
|
+
spec.add_runtime_dependency 'mini_readline', ">= 0.6.11"
|
34
|
+
spec.add_runtime_dependency 'vls', ">= 0.4.1"
|
35
|
+
spec.add_runtime_dependency 'in_array', ">= 0.1.7"
|
36
36
|
end
|
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.4
|
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-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.1.
|
75
|
+
version: 0.1.2
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.1.
|
82
|
+
version: 0.1.2
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rdoc
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,42 +100,42 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0.6.
|
103
|
+
version: 0.6.11
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0.6.
|
110
|
+
version: 0.6.11
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: vls
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0.
|
117
|
+
version: 0.4.1
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 0.
|
124
|
+
version: 0.4.1
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: in_array
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - ">="
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
131
|
+
version: 0.1.7
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
138
|
+
version: 0.1.7
|
139
139
|
description: mysh -- a Ruby inspired command shell for CLI and application use.
|
140
140
|
email:
|
141
141
|
- peter.c.camilleri@gmail.com
|