# <!-- rdoc-file=lib/rubygems/request_set.rb -->
# A RequestSet groups a request to activate a set of dependencies.
#
#     nokogiri = Gem::Dependency.new 'nokogiri', '~> 1.6'
#     pg = Gem::Dependency.new 'pg', '~> 0.14'
#
#     set = Gem::RequestSet.new nokogiri, pg
#
#     requests = set.resolve
#
#     p requests.map { |r| r.full_name }
#     #=> ["nokogiri-1.6.0", "mini_portile-0.5.1", "pg-0.17.0"]
#
class Gem::RequestSet
end

# <!-- rdoc-file=lib/rubygems/request_set/gem_dependency_api.rb -->
# 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.
#
class Gem::RequestSet::GemDependencyAPI
end
