Return true if this spec can require file
.
The full path to the gem (install path + full name).
Full paths in the gem to add to $LOAD_PATH
when this gem is activated.
Checks the permissions of the credentials file. If they are not 0600 an error message is displayed and RubyGems aborts.
Builds Marshal
quick index gemspecs.
Make sure the YAML specification is properly formatted with dashes
Expire memoized instance variables that can incorrectly generate, replace or miss files due changes in certain attributes used to compute them.
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"}, ';')
This method is used inside of several different objects to determine if special behavior is needed in the constructor.
Special behavior is needed if the array passed in as args
has true
or false
as its value, and if the second element of args
is a hash.
Splits a header value str
according to HTTP specification.
Splits a header value str
according to HTTP specification.
Parses form data in io
with the given boundary
Parses form data in io
with the given boundary