Sha256: e9ed31cfda8215d0ce01a8c8066e5bbf1b7760c488217cff0fe566fb3a3174d5

Contents?: true

Size: 1.21 KB

Versions: 3

Compression:

Stored size: 1.21 KB

Contents

= Description
  A Ruby interface for getting operating system information. The name comes
  from the Unix 'uname' command, but this library works on MS Windows as well.

= Prerequisites
  ffi 1.0 or later

= Installation
  gem install sys-uname

  # If that doesn't work and you're on Windows try this:
  gem install sys-uname --platform universal-mingw32
   
= Synopsis
  require 'sys/uname'
  include Sys
   
  p Uname.uname
   
= Solaris Notes
  Users on SunOS get several extra methods: architecture, platform,
  hw_serial, hw_provider, srpc_domain, isa_list, and dhcp_cache.

= BSD flavors, including OS X
  Users on BSD platforms get the extra Uname.model method.

= HP-UX Notes
  HP-UX users get the extra Uname.id_number method. This is actually a
  String, not a Fixnum, because that's how it's defined in the utsname
  struct.

= MS Windows Notes
  The C version for Windows has been completely scrapped in favor of an OLE
  plus WMI approach.  It is pure Ruby.  Please see the MSDN documentation for
  the Win32_OperatingSystem class for a complete list of what each of the
  UnameStruct members mean.

= Documentation
  For more details, see the 'uname.txt' file under the 'doc' directory. 

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sys-uname-0.9.2-universal-mingw32 README
sys-uname-0.9.1-x86-mingw32 README
sys-uname-0.9.0-x86-mingw32 README