linux-tools 0.2.1 → 0.3.0
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.
- data/.document +0 -0
- data/.yardoc/checksums +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/.yardoc/proxy_types +0 -0
- data/Gemfile +0 -0
- data/Gemfile.lock +0 -0
- data/LICENSE.txt +0 -0
- data/Marshal.4.8 +0 -0
- data/Marshal.4.8.Z +0 -0
- data/README.rdoc +2 -2
- data/Rakefile +0 -0
- data/VERSION +1 -1
- data/doc/Lt.html +0 -0
- data/doc/_index.html +0 -0
- data/doc/class_list.html +0 -0
- data/doc/css/common.css +0 -0
- data/doc/css/full_list.css +0 -0
- data/doc/css/style.css +0 -0
- data/doc/file.LICENSE.html +0 -0
- data/doc/file.README.html +0 -0
- data/doc/file_list.html +0 -0
- data/doc/frames.html +0 -0
- data/doc/index.html +0 -0
- data/doc/js/app.js +0 -0
- data/doc/js/full_list.js +0 -0
- data/doc/js/jquery.js +0 -0
- data/doc/method_list.html +0 -0
- data/doc/top-level-namespace.html +0 -0
- data/features/linux-tools.feature +0 -0
- data/features/step_definitions/linux-tools_steps.rb +0 -0
- data/features/support/env.rb +0 -0
- data/latest_specs.4.8 +0 -0
- data/latest_specs.4.8.gz +0 -0
- data/lib/linux-tools.rb +11 -1
- data/linux-tools.gemspec +10 -2
- data/prerelease_specs.4.8 +0 -0
- data/prerelease_specs.4.8.gz +0 -0
- data/specs.4.8 +0 -0
- data/specs.4.8.gz +0 -0
- data/tests/linux-tools_tests.rb +0 -0
- data/tests/tests_helper.rb +0 -0
- metadata +10 -5
data/.document
CHANGED
File without changes
|
data/.yardoc/checksums
CHANGED
File without changes
|
data/.yardoc/objects/root.dat
CHANGED
File without changes
|
data/.yardoc/proxy_types
CHANGED
File without changes
|
data/Gemfile
CHANGED
File without changes
|
data/Gemfile.lock
CHANGED
File without changes
|
data/LICENSE.txt
CHANGED
File without changes
|
data/Marshal.4.8
ADDED
Binary file
|
data/Marshal.4.8.Z
ADDED
Binary file
|
data/README.rdoc
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
= linux-tools
|
2
2
|
|
3
|
-
This is a
|
4
|
-
Currently implemented commands are ls,cd,cat,chmod,cp.
|
3
|
+
This is a very basic ruby gem which will allow users to execute common and basic linux commands from 'irb' itself.
|
4
|
+
Currently implemented commands are ls,cd,cat,chmod,cp.
|
5
5
|
|
6
6
|
=Usage
|
7
7
|
ls : Lt.ls
|
data/Rakefile
CHANGED
File without changes
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.3.0
|
data/doc/Lt.html
CHANGED
File without changes
|
data/doc/_index.html
CHANGED
File without changes
|
data/doc/class_list.html
CHANGED
File without changes
|
data/doc/css/common.css
CHANGED
File without changes
|
data/doc/css/full_list.css
CHANGED
File without changes
|
data/doc/css/style.css
CHANGED
File without changes
|
data/doc/file.LICENSE.html
CHANGED
File without changes
|
data/doc/file.README.html
CHANGED
File without changes
|
data/doc/file_list.html
CHANGED
File without changes
|
data/doc/frames.html
CHANGED
File without changes
|
data/doc/index.html
CHANGED
File without changes
|
data/doc/js/app.js
CHANGED
File without changes
|
data/doc/js/full_list.js
CHANGED
File without changes
|
data/doc/js/jquery.js
CHANGED
File without changes
|
data/doc/method_list.html
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/features/support/env.rb
CHANGED
File without changes
|
data/latest_specs.4.8
ADDED
Binary file
|
data/latest_specs.4.8.gz
ADDED
Binary file
|
data/lib/linux-tools.rb
CHANGED
@@ -56,26 +56,36 @@ class Lt
|
|
56
56
|
end
|
57
57
|
|
58
58
|
def self.mv
|
59
|
+
puts"move from source to destination"
|
60
|
+
sdir=gets
|
61
|
+
ddir=gets
|
62
|
+
system("mv "+sdir+" "+ddir)
|
59
63
|
end
|
60
64
|
|
61
65
|
def self.passwd
|
66
|
+
system("passwd "+gets)
|
62
67
|
end
|
63
|
-
|
64
68
|
def self.ps
|
69
|
+
system("ps ")
|
65
70
|
end
|
66
71
|
|
67
72
|
def self.pwd
|
73
|
+
system("pwd")
|
68
74
|
end
|
69
75
|
|
70
76
|
def self.rm
|
77
|
+
system("rm "+gets)
|
71
78
|
end
|
72
79
|
|
73
80
|
def self.rmdir
|
81
|
+
system("rmdir "+gets)
|
74
82
|
end
|
75
83
|
|
76
84
|
def self.who
|
85
|
+
system("who")
|
77
86
|
end
|
78
87
|
|
79
88
|
def self.whoami
|
89
|
+
system("whoami")
|
80
90
|
end
|
81
91
|
end
|
data/linux-tools.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "linux-tools"
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.3.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Mrigesh Pokhrel"]
|
12
|
-
s.date = "2012-
|
12
|
+
s.date = "2012-07-12"
|
13
13
|
s.description = "Common *NIX tools and commands which can be used easily in irb"
|
14
14
|
s.email = "mrigeshpokhrel@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -24,6 +24,8 @@ Gem::Specification.new do |s|
|
|
24
24
|
"Gemfile",
|
25
25
|
"Gemfile.lock",
|
26
26
|
"LICENSE.txt",
|
27
|
+
"Marshal.4.8",
|
28
|
+
"Marshal.4.8.Z",
|
27
29
|
"README.rdoc",
|
28
30
|
"Rakefile",
|
29
31
|
"VERSION",
|
@@ -46,8 +48,14 @@ Gem::Specification.new do |s|
|
|
46
48
|
"features/linux-tools.feature",
|
47
49
|
"features/step_definitions/linux-tools_steps.rb",
|
48
50
|
"features/support/env.rb",
|
51
|
+
"latest_specs.4.8",
|
52
|
+
"latest_specs.4.8.gz",
|
49
53
|
"lib/linux-tools.rb",
|
50
54
|
"linux-tools.gemspec",
|
55
|
+
"prerelease_specs.4.8",
|
56
|
+
"prerelease_specs.4.8.gz",
|
57
|
+
"specs.4.8",
|
58
|
+
"specs.4.8.gz",
|
51
59
|
"tests/linux-tools_tests.rb",
|
52
60
|
"tests/tests_helper.rb"
|
53
61
|
]
|
Binary file
|
Binary file
|
data/specs.4.8
ADDED
Binary file
|
data/specs.4.8.gz
ADDED
Binary file
|
data/tests/linux-tools_tests.rb
CHANGED
File without changes
|
data/tests/tests_helper.rb
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: linux-tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-07-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: shindo
|
@@ -154,6 +154,8 @@ files:
|
|
154
154
|
- Gemfile
|
155
155
|
- Gemfile.lock
|
156
156
|
- LICENSE.txt
|
157
|
+
- Marshal.4.8
|
158
|
+
- Marshal.4.8.Z
|
157
159
|
- README.rdoc
|
158
160
|
- Rakefile
|
159
161
|
- VERSION
|
@@ -176,8 +178,14 @@ files:
|
|
176
178
|
- features/linux-tools.feature
|
177
179
|
- features/step_definitions/linux-tools_steps.rb
|
178
180
|
- features/support/env.rb
|
181
|
+
- latest_specs.4.8
|
182
|
+
- latest_specs.4.8.gz
|
179
183
|
- lib/linux-tools.rb
|
180
184
|
- linux-tools.gemspec
|
185
|
+
- prerelease_specs.4.8
|
186
|
+
- prerelease_specs.4.8.gz
|
187
|
+
- specs.4.8
|
188
|
+
- specs.4.8.gz
|
181
189
|
- tests/linux-tools_tests.rb
|
182
190
|
- tests/tests_helper.rb
|
183
191
|
homepage: http://github.com/mrigesh/linux-tools
|
@@ -193,9 +201,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
193
201
|
- - ! '>='
|
194
202
|
- !ruby/object:Gem::Version
|
195
203
|
version: '0'
|
196
|
-
segments:
|
197
|
-
- 0
|
198
|
-
hash: 2640779157149508263
|
199
204
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
200
205
|
none: false
|
201
206
|
requirements:
|