This class represents a YAML sequence.
A YAML
sequence is basically a list, and looks like this:
%YAML 1.1 --- - I am - a Sequence
A YAML
sequence may have an anchor like this:
%YAML 1.1 --- &A [ "This sequence", "has an anchor" ]
A YAML
sequence may also have a tag like this:
%YAML 1.1 --- !!seq [ "This sequence", "has a tag" ]
This class represents a sequence in a YAML
document. A Psych::Nodes::Sequence
node may have 0 or more children. Valid children for this node are:
TimeStamp
struct
SEC_WINNT_AUTH_IDENTITY structure
Handles “Negotiate” type authentication. Geared towards authenticating with a proxy server over HTTP
Class for representing WebDAV method UNLOCK:
require 'net/http' uri = URI('http://example.com') hostname = uri.hostname # => "example.com" req = Net::HTTP::Unlock.new(uri) # => #<Net::HTTP::Unlock UNLOCK> res = Net::HTTP.start(hostname) do |http| http.request(req) end
See Request Headers.
Related:
Net::HTTP#unlock
: sends UNLOCK
request, returns response object.
Ripper
doesn’t include the rest of the token in the event, so we need to trim it down to just the content on the first line when comparing.
A FetchError
that indicates that the reason for not being able to fetch data was that the host could not be contacted
A semi-compatible DSL for the Bundler
Gemfile and Isolate gem dependencies files.
To work with both the Bundler
Gemfile and Isolate formats this implementation takes some liberties to allow compatibility with each, most notably in source
.
A basic gem dependencies file will look like the following:
source 'https://rubygems.org' gem 'rails', '3.2.14a gem 'devise', '~> 2.1', '>= 2.1.3' gem 'cancan' gem 'airbrake' gem 'pg'
RubyGems recommends saving this as gem.deps.rb over Gemfile or Isolate.
To install the gems in this Gemfile use ‘gem install -g` to install it and create a lockfile. The lockfile will ensure that when you make changes to your gem dependencies file a minimum amount of change is made to the dependencies of your gems.
RubyGems can activate all the gems in your dependencies file at startup using the RUBYGEMS_GEMDEPS environment variable or through Gem.use_gemdeps
. See Gem.use_gemdeps
for details and warnings.
See ‘gem help install` and `gem help gem_dependencies` for further details.
Used Internally. Wraps a Dependency object to also track which spec contained the Dependency.