The date this gem was created. Lazily defaults to the current UTC date.
There is no need to set this in your gem specification.
The date this gem was created
DO NOT set this, it is set automatically when the gem is packaged.
Normalize the list of files so that:
All file lists have redundancies removed.
Files referenced in the extra_rdoc_files
are included in the package file list.
The platform this gem runs on. See Gem::Platform
for details.
A short summary of this gem’s description.
Checks that the specification contains all required fields, and does a very basic sanity check.
Raises InvalidSpecificationException if the spec does not pass the checks..
Normalize the URI
by adding “http://” if it is missing.
See IO.foreach
when path
is a file.
See Dir.foreach
when path
is a directory.
Returns a Echo
object, for the given strings
Returns a Cat
object, for the given filenames
Returns a Concat
object, for the given jobs
Iterates a block for each line.
v
String
public setter for the scheme component v
. (with validation)
see also URI::Generic.check_scheme
require 'uri' uri = URI.parse("http://my.example.com") uri.scheme = "https" # => "https" uri #=> #<URI::HTTP:0x000000008e89e8 URL:https://my.example.com>
v
String
public setter for the path component v
. (with validation)
see also URI::Generic.check_path
require 'uri' uri = URI.parse("http://my.example.com/pub/files") uri.path = "/faq/" # => "/faq/" uri #=> #<URI::HTTP:0x000000008e89e8 URL:http://my.example.com/faq/>