Adds a development dependency named gem
with requirements
to this gem.
Usage:
spec.add_development_dependency 'example', '~> 1.1', '>= 1.1.4'
Development dependencies aren’t installed by default and aren’t activated when a gem is required.
Adds a runtime dependency named gem
with requirements
to this gem.
Usage:
spec.add_runtime_dependency 'example', '~> 1.1', '>= 1.1.4'
Specification
attributes that must be non-nil
Make sure the YAML specification is properly formatted with dashes
Finds all gems that satisfy dep
Ask for a password. Does not echo response to terminal.
Parses the cookie in str
Parses the cookies in str
Set
header fields and a body from HTML form data. params
should be an Array of Arrays or a Hash
containing HTML form data. Optional argument sep
means data record separator.
Values are URL encoded as necessary and the content-type is set to application/x-www-form-urlencoded
Example:
http.form_data = {"q" => "ruby", "lang" => "en"} http.form_data = {"q" => ["ruby", "perl"], "lang" => "en"} http.set_form_data({"q" => "ruby", "lang" => "en"}, ';')
Set
Proxy-Authorization: header for “Basic” authorization.
Returns the position that self
holds in its parent’s array, indexed from 1.
Set
the entity expansion limit. By default the limit is set to 10000.
Get the entity expansion limit. By default the limit is set to 10000.
Extract the first name=“value” pair from content. Works with single quotes according to the constant CONTENT_PATTERN
. Return a Hash
.