Information about the package, rubygem-mocha, which is shipped with common Linux distributions. The rubygem-mocha package is designed for, Mocking and stubbing library.
Package Name:
rubygem-mocha
Summary:
Mocking and stubbing library
Description:
Mocking and stubbing library with JMock/SchMock syntax, which allows mocking and stubbing of methods on real (non-mock) classes.
Architecture:
noarch
Version:
0.9.8
Release:
1.el6
Size:
100 k
Repository:
epel
From Repository:
Licence:
MIT and Ruby
Control the rubygem-mocha package with the following handy commands outlined below.
yum install rubygem-mocha
This command will install rubygem-mocha on the server.
yum remove rubygem-mocha
This command will un-install rubygem-mocha on the server. When you run this command, you will be asked if you are sure that you want to remove rubygem-mocha, so you have to manually confirm that you want to do this.
yum -y remove rubygem-mocha
This command will un-install rubygem-mocha on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove rubygem-mocha when using the -y flag.
yum update rubygem-mocha
This command will update rubygem-mocha to the latest version. When you run this command, you will be asked if you are sure that you want to remove rubygem-mocha, so you have to manually confirm that you want to do this.
yum -y update rubygem-mocha
This command will update rubygem-mocha to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove rubygem-mocha when using the -y flag.
yum info rubygem-mocha
This command will show you core information about the rubygem-mocha package.
yum deplist rubygem-mocha
This command will show you the dependencies for rubygem-mocha. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.
yum check-update rubygem-mocha
This command will check if there is an update waiting on rubygem-mocha. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.