linux-tools 0.2.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/.document CHANGED
File without changes
File without changes
File without changes
File without changes
data/Gemfile CHANGED
File without changes
File without changes
File without changes
Binary file
Binary file
@@ -1,7 +1,7 @@
1
1
  = linux-tools
2
2
 
3
- This is a veryy 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. More of the commands will be implemented by the day.
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.2.1
1
+ 0.3.0
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
Binary file
Binary file
@@ -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
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "linux-tools"
8
- s.version = "0.2.1"
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-06-22"
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
Binary file
Binary file
File without changes
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.2.1
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-06-22 00:00:00.000000000 Z
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: