README.rdoc in libvirt-ruby-0.0.6 vs README.rdoc in libvirt-ruby-1.0.0

- old
+ new

@@ -6,25 +6,19 @@ gem install libvirt-ruby == Dependencies -This gem has as a dependencie the libvirt package. Google it and u will find how to install it on your distro. +This gem has as a dependency the libvirt package. Google it and u will find how to install it on your distro. == Usage -You should use one of the classes defined and call the method directly: - Libvirt::Ruby::Connect.Close([:int]) +You should call the c function directly on the module with the sanem name: + Libvirt::Ruby.virConnectClose([:int]) The parameter of the function should be an array where the last instance is the return of the C function. - -The old method dispatcher still can be called, but is now deprecated. Call dispatcher passing as parameters: - first -> the method just like the one from Libvirt in C as a string except the vir and the name of the Class just like 'Close' from 'virConnectClose' - second -> the args of the function in C in the same order - third -> a symbol of the retun of the function. - == Experimental This Gem still experimental, so if you have some problem, feel free to create a new issue. == Tests @@ -34,13 +28,12 @@ == Future Add Support for a ton of thigs. =D Improve a lot of things: - * Remove all classes and make gem wotk without them. Using Just one class: Libvirt::Ruby - * Create more Exceptions for another type of errors. * Create pages on Wiki teaching how to install libvirt on several distros. ... == Contribute -Fork the project and send me a Pull Request. =D +Fork the project and send me a Pull Request. Your code must be well tested against at least the versions im testing: 1.8.7, 1.9.2 and 1.9.3 +I already have created rake tasks to test on each ruby version. For more info just look inside Rakefile. \ No newline at end of file