jah 0.0.5 → 0.0.6
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/VERSION +1 -1
- data/jah.gemspec +2 -2
- data/lib/jah.rb +5 -11
- data/lib/jah/opt.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.6
|
data/jah.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{jah}
|
|
8
|
-
s.version = "0.0.
|
|
8
|
+
s.version = "0.0.6"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Marcos Piccinini"]
|
|
12
|
-
s.date = %q{
|
|
12
|
+
s.date = %q{2010-01-11}
|
|
13
13
|
s.default_executable = %q{jah}
|
|
14
14
|
s.description = %q{Talk to your machines. Like a God.}
|
|
15
15
|
s.email = %q{x@nofxx.com}
|
data/lib/jah.rb
CHANGED
|
@@ -3,7 +3,8 @@ require 'optparse'
|
|
|
3
3
|
begin
|
|
4
4
|
require 'i18n'
|
|
5
5
|
rescue LoadError
|
|
6
|
-
puts "Gem i18n not found
|
|
6
|
+
puts "Gem 'i18n' not found, try `gem install i18n`"
|
|
7
|
+
exit
|
|
7
8
|
end
|
|
8
9
|
#autoload :Drb, 'drb'
|
|
9
10
|
require 'jah/opt'
|
|
@@ -14,16 +15,9 @@ require 'jah/history'
|
|
|
14
15
|
autoload :God, 'god'
|
|
15
16
|
autoload :Prayer, "jah/prayer"
|
|
16
17
|
require 'jah/command'
|
|
17
|
-
|
|
18
|
-
require "jah/commands
|
|
19
|
-
|
|
20
|
-
require "jah/commands/disk"
|
|
21
|
-
require "jah/commands/prok"
|
|
22
|
-
require "jah/commands/netstat"
|
|
23
|
-
require "jah/commands/admin"
|
|
24
|
-
require "jah/commands/status"
|
|
25
|
-
require "jah/commands/extra"
|
|
26
|
-
require "jah/commands/packages"
|
|
18
|
+
%w{mem cpu who disk prok netstat admin status extra packages}.each do |inc|
|
|
19
|
+
require "jah/commands/#{inc}"
|
|
20
|
+
end
|
|
27
21
|
require "jah/act_pkg"
|
|
28
22
|
require "jah/act_pkg/base"
|
|
29
23
|
require "jah/act_pkg/pkg"
|
data/lib/jah/opt.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jah
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marcos Piccinini
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date:
|
|
12
|
+
date: 2010-01-11 00:00:00 -02:00
|
|
13
13
|
default_executable: jah
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|