Used to raise parsing and loading errors
Potentially raised when a specification is validated.
Top level class for building the gem repository index.
The installer installs the files contained in the .gem into the Gem.home.
Gem::Installer
does the work of putting files in all the right places on the filesystem including unpacking the gem into its gem dir, installing the gemspec in the specifications dir, storing the cached gem in the cache dir, and installing either wrappers or symlinks for executables.
The installer invokes pre and post install hooks. Hooks can be added either through a rubygems_plugin.rb file in an installed gem or via a rubygems/defaults/#{RUBY_ENGINE}.rb or rubygems/defaults/operating_system.rb file. See Gem.pre_install
and Gem.post_install
for details.
A test case for Gem::Installer
.
An Uninstaller
.
The uninstaller fires pre and post uninstall hooks. Hooks can be added either through a rubygems_plugin.rb file in an installed gem or via a rubygems/defaults/#{RUBY_ENGINE}.rb or rubygems/defaults/operating_system.rb file. See Gem.pre_uninstall
and Gem.post_uninstall
for details.
The UriFormatter
handles URIs from user-input and escaping.
uf = Gem::UriFormatter.new 'example.com' p uf.normalize #=> 'http://example.com'
In order to execute a command on your OS, you need to define it as a Shell
method.
Alternatively, you can execute any command via Shell::CommandProcessor#system
even if it is not defined.
Not a URI
.
Not a URI
component.
RFC6068, The mailto URL scheme
Raised by Encoding
and String methods when a transcoding operation fails.
Raised by Encoding
and String methods when the string being transcoded contains a byte invalid for the either the source or target encoding.
This module provides instance methods for a digest implementation object to calculate message digest values.
Adds Windows type aliases to the including class for use with Fiddle::Importer
.
The aliases added are:
ATOM
BOOL
BYTE
DWORD
DWORD32
DWORD64
HANDLE
HDC
HINSTANCE
HWND
LPCSTR
LPSTR
PBYTE
PDWORD
PHANDLE
PVOID
PWORD
UCHAR
UINT
ULONG
WORD
OpenSSL
IO
buffering mix-in module.
This module allows an OpenSSL::SSL::SSLSocket
to behave like an IO
.
You typically won’t use this module directly, you can see it implemented in OpenSSL::SSL::SSLSocket
.