Skip to content
This repository has been archived by the owner on Aug 14, 2020. It is now read-only.

Commit

Permalink
s/rbsigar/sigar/g
Browse files Browse the repository at this point in the history
  • Loading branch information
dougm committed Jan 18, 2010
1 parent 57513b2 commit fd82741
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion bindings/ruby/examples/cpu_info.rb
@@ -1,4 +1,4 @@
require 'rbsigar'
require 'sigar'

sigar = Sigar.new

Expand Down
2 changes: 1 addition & 1 deletion bindings/ruby/examples/df.rb
@@ -1,4 +1,4 @@
require 'rbsigar'
require 'sigar'

def format_size(size)
return Sigar.format_size(size * 1024)
Expand Down
2 changes: 1 addition & 1 deletion bindings/ruby/examples/free.rb
@@ -1,4 +1,4 @@
require 'rbsigar'
require 'sigar'

sigar = Sigar.new
mem = sigar.mem
Expand Down
2 changes: 1 addition & 1 deletion bindings/ruby/examples/ifconfig.rb
@@ -1,4 +1,4 @@
require 'rbsigar'
require 'sigar'

sigar = Sigar.new
iflist = sigar.net_interface_list
Expand Down
2 changes: 1 addition & 1 deletion bindings/ruby/examples/logging.rb
@@ -1,6 +1,6 @@
# Example illustrating the use of the optional logger.

require 'rbsigar'
require 'sigar'
require 'logger'

sigar = Sigar.new
Expand Down
2 changes: 1 addition & 1 deletion bindings/ruby/examples/net_info.rb
@@ -1,6 +1,6 @@
# Example illustrating the collecting of network information.

require 'rbsigar'
require 'sigar'

sigar = Sigar.new

Expand Down
2 changes: 1 addition & 1 deletion bindings/ruby/examples/netstat.rb
@@ -1,4 +1,4 @@
require 'rbsigar'
require 'sigar'
require 'socket'

#XXX this example is incomplete wrt:
Expand Down
2 changes: 1 addition & 1 deletion bindings/ruby/examples/pargs.rb
@@ -1,4 +1,4 @@
require 'rbsigar'
require 'sigar'

def output(sigar, pid)
args = sigar.proc_args(pid)
Expand Down
2 changes: 1 addition & 1 deletion bindings/ruby/examples/penv.rb
@@ -1,4 +1,4 @@
require 'rbsigar'
require 'sigar'

def output(sigar, pid)
env = sigar.proc_env(pid)
Expand Down
2 changes: 1 addition & 1 deletion bindings/ruby/examples/route.rb
@@ -1,4 +1,4 @@
require 'rbsigar'
require 'sigar'

def flags(flags)
f = ""
Expand Down
2 changes: 1 addition & 1 deletion bindings/ruby/examples/version.rb
@@ -1,4 +1,4 @@
require 'rbsigar'
require 'sigar'
require 'rbconfig'

puts "Sigar version......." + Sigar::VERSION
Expand Down
2 changes: 1 addition & 1 deletion bindings/ruby/examples/who.rb
@@ -1,4 +1,4 @@
require 'rbsigar'
require 'sigar'

def format_time(who)
return Time.at(who.time).strftime("%b %e %H:%M")
Expand Down
2 changes: 1 addition & 1 deletion bindings/ruby/extconf.rb
@@ -1,7 +1,7 @@
require 'mkmf'
require 'rbconfig'

extension_name = 'rbsigar'
extension_name = 'sigar'

print 'Ruby platform=' + RUBY_PLATFORM + "\n"

Expand Down
2 changes: 1 addition & 1 deletion bindings/ruby/rbsigar.c
Expand Up @@ -815,7 +815,7 @@ static void Init_rbsigar_version(VALUE rclass)
RB_SIGAR_DEFINE_CONST_STR("VERSION", sv->version);
}

void Init_rbsigar(void)
void Init_sigar(void)
{
VALUE rclass = rb_define_class("Sigar", rb_cObject);

Expand Down
2 changes: 1 addition & 1 deletion bindings/ruby/test/helper.rb
@@ -1,5 +1,5 @@
require 'test/unit'
require 'rbsigar'
require 'sigar'

module Test::Unit::Assertions
def assert_gt_eq_zero(value, message)
Expand Down

0 comments on commit fd82741

Please sign in to comment.