2010-09-25 05:36:30 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
|
|
<head>
|
|
|
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
|
|
|
|
|
|
|
<title>Class: Bundler::GraphNode</title>
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
|
|
|
|
|
|
|
|
<script src="../js/jquery.js" type="text/javascript"
|
|
|
|
charset="utf-8"></script>
|
|
|
|
<script src="../js/thickbox-compressed.js" type="text/javascript"
|
|
|
|
charset="utf-8"></script>
|
|
|
|
<script src="../js/quicksearch.js" type="text/javascript"
|
|
|
|
charset="utf-8"></script>
|
|
|
|
<script src="../js/darkfish.js" type="text/javascript"
|
|
|
|
charset="utf-8"></script>
|
|
|
|
|
|
|
|
</head>
|
|
|
|
<body class="class">
|
|
|
|
|
|
|
|
<div id="metadata">
|
|
|
|
<div id="home-metadata">
|
|
|
|
<div id="home-section" class="section">
|
|
|
|
<h3 class="section-header">
|
|
|
|
<a href="../index.html">Home</a>
|
|
|
|
<a href="../index.html#classes">Classes</a>
|
|
|
|
<a href="../index.html#methods">Methods</a>
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="file-metadata">
|
|
|
|
<div id="file-list-section" class="section">
|
|
|
|
<h3 class="section-header">In Files</h3>
|
|
|
|
<div class="section-body">
|
|
|
|
<ul>
|
|
|
|
|
|
|
|
<li><a href="../lib/bundler/graph_rb.html?TB_iframe=true&height=550&width=785"
|
|
|
|
class="thickbox" title="lib/bundler/graph.rb">lib/bundler/graph.rb</a></li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="class-metadata">
|
|
|
|
|
|
|
|
<!-- Parent Class -->
|
|
|
|
|
|
|
|
<div id="parent-class-section" class="section">
|
|
|
|
<h3 class="section-header">Parent</h3>
|
|
|
|
|
|
|
|
<p class="link">Object</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Namespace Contents -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Method Quickref -->
|
|
|
|
|
|
|
|
<div id="method-list-section" class="section">
|
|
|
|
<h3 class="section-header">Methods</h3>
|
|
|
|
<ul class="link-list">
|
|
|
|
|
|
|
|
<li><a href="#method-c-new">::new</a></li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Included Modules -->
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="project-metadata">
|
|
|
|
|
|
|
|
|
|
|
|
<div id="fileindex-section" class="section project-section">
|
|
|
|
<h3 class="section-header">Files</h3>
|
|
|
|
<ul>
|
|
|
|
|
|
|
|
<li class="file"><a href="../lib/bundler/man/bundle.html">bundle</a></li>
|
|
|
|
|
2011-06-15 07:43:38 +02:00
|
|
|
<li class="file"><a href="../lib/bundler/man/bundle-benchmark.html">bundle-benchmark</a></li>
|
|
|
|
|
|
|
|
<li class="file"><a href="../lib/bundler/man/bundle-benchmark_txt.html">bundle-benchmark.txt</a></li>
|
|
|
|
|
2010-09-25 05:36:30 +02:00
|
|
|
<li class="file"><a href="../lib/bundler/man/bundle-config.html">bundle-config</a></li>
|
|
|
|
|
|
|
|
<li class="file"><a href="../lib/bundler/man/bundle-config_txt.html">bundle-config.txt</a></li>
|
|
|
|
|
|
|
|
<li class="file"><a href="../lib/bundler/man/bundle-exec.html">bundle-exec</a></li>
|
|
|
|
|
|
|
|
<li class="file"><a href="../lib/bundler/man/bundle-exec_txt.html">bundle-exec.txt</a></li>
|
|
|
|
|
|
|
|
<li class="file"><a href="../lib/bundler/man/bundle-install.html">bundle-install</a></li>
|
|
|
|
|
|
|
|
<li class="file"><a href="../lib/bundler/man/bundle-install_txt.html">bundle-install.txt</a></li>
|
|
|
|
|
|
|
|
<li class="file"><a href="../lib/bundler/man/bundle-package.html">bundle-package</a></li>
|
|
|
|
|
|
|
|
<li class="file"><a href="../lib/bundler/man/bundle-package_txt.html">bundle-package.txt</a></li>
|
|
|
|
|
|
|
|
<li class="file"><a href="../lib/bundler/man/bundle-update.html">bundle-update</a></li>
|
|
|
|
|
|
|
|
<li class="file"><a href="../lib/bundler/man/bundle-update_txt.html">bundle-update.txt</a></li>
|
|
|
|
|
|
|
|
<li class="file"><a href="../lib/bundler/man/bundle_txt.html">bundle.txt</a></li>
|
|
|
|
|
|
|
|
<li class="file"><a href="../lib/bundler/man/gemfile_5_txt.html">gemfile.5.txt</a></li>
|
|
|
|
|
|
|
|
<li class="file"><a href="../lib/bundler/templates/Gemfile.html">Gemfile</a></li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div id="classindex-section" class="section project-section">
|
|
|
|
<h3 class="section-header">Class Index
|
|
|
|
<span class="search-toggle"><img src="../images/find.png"
|
|
|
|
height="16" width="16" alt="[+]"
|
|
|
|
title="show/hide quicksearch" /></span></h3>
|
|
|
|
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
|
|
|
<fieldset>
|
|
|
|
<legend>Quicksearch</legend>
|
|
|
|
<input type="text" name="quicksearch" value=""
|
|
|
|
class="quicksearch-field" />
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<ul class="link-list">
|
|
|
|
|
|
|
|
<li><a href="../Bundler.html">Bundler</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/BundlerError.html">Bundler::BundlerError</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/CLI.html">Bundler::CLI</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/Definition.html">Bundler::Definition</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/DepProxy.html">Bundler::DepProxy</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/Dependency.html">Bundler::Dependency</a></li>
|
|
|
|
|
2010-12-07 04:11:19 +01:00
|
|
|
<li><a href="../Bundler/Deployment.html">Bundler::Deployment</a></li>
|
|
|
|
|
2010-09-25 05:36:30 +02:00
|
|
|
<li><a href="../Bundler/DeprecatedError.html">Bundler::DeprecatedError</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/Dsl.html">Bundler::Dsl</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/DslError.html">Bundler::DslError</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/Environment.html">Bundler::Environment</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/GemHelper.html">Bundler::GemHelper</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/GemHelpers.html">Bundler::GemHelpers</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/GemNotFound.html">Bundler::GemNotFound</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/GemfileError.html">Bundler::GemfileError</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/GemfileNotFound.html">Bundler::GemfileNotFound</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/GemspecError.html">Bundler::GemspecError</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/GitError.html">Bundler::GitError</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/Graph.html">Bundler::Graph</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/GraphNode.html">Bundler::GraphNode</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/Index.html">Bundler::Index</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/Installer.html">Bundler::Installer</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/InvalidOption.html">Bundler::InvalidOption</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/InvalidSpecSet.html">Bundler::InvalidSpecSet</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/LazySpecification.html">Bundler::LazySpecification</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/LockfileParser.html">Bundler::LockfileParser</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/MatchPlatform.html">Bundler::MatchPlatform</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/PathError.html">Bundler::PathError</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/ProductionError.html">Bundler::ProductionError</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/RemoteSpecification.html">Bundler::RemoteSpecification</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/Resolver.html">Bundler::Resolver</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/Resolver/SpecGroup.html">Bundler::Resolver::SpecGroup</a></li>
|
|
|
|
|
2011-06-15 07:43:38 +02:00
|
|
|
<li><a href="../Bundler/RubygemsIntegration.html">Bundler::RubygemsIntegration</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/RubygemsIntegration/AlmostModern.html">Bundler::RubygemsIntegration::AlmostModern</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/RubygemsIntegration/Deprecate.html">Bundler::RubygemsIntegration::Deprecate</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/RubygemsIntegration/Gem.html">Bundler::RubygemsIntegration::Gem</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/RubygemsIntegration/Gem/SourceIndex.html">Bundler::RubygemsIntegration::Gem::SourceIndex</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/RubygemsIntegration/Legacy.html">Bundler::RubygemsIntegration::Legacy</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/RubygemsIntegration/Modern.html">Bundler::RubygemsIntegration::Modern</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/RubygemsIntegration/Transitional.html">Bundler::RubygemsIntegration::Transitional</a></li>
|
|
|
|
|
2010-09-25 05:36:30 +02:00
|
|
|
<li><a href="../Bundler/Runtime.html">Bundler::Runtime</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/Settings.html">Bundler::Settings</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/SharedHelpers.html">Bundler::SharedHelpers</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/Source.html">Bundler::Source</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/Source/Git.html">Bundler::Source::Git</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/Source/Path.html">Bundler::Source::Path</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/Source/Path/Installer.html">Bundler::Source::Path::Installer</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/Source/Rubygems.html">Bundler::Source::Rubygems</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/SpecSet.html">Bundler::SpecSet</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/UI.html">Bundler::UI</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/UI/RGProxy.html">Bundler::UI::RGProxy</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/UI/Shell.html">Bundler::UI::Shell</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Bundler/VersionConflict.html">Bundler::VersionConflict</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Thor.html">Thor</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Thor/Actions.html">Thor::Actions</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Thor/Actions/ClassMethods.html">Thor::Actions::ClassMethods</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Thor/Base.html">Thor::Base</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Thor/Base/ClassMethods.html">Thor::Base::ClassMethods</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Thor/DynamicTask.html">Thor::DynamicTask</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Thor/Error.html">Thor::Error</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Thor/HiddenTask.html">Thor::HiddenTask</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Thor/Invocation.html">Thor::Invocation</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Thor/Invocation/ClassMethods.html">Thor::Invocation::ClassMethods</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Thor/InvocationError.html">Thor::InvocationError</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Thor/MalformattedArgumentError.html">Thor::MalformattedArgumentError</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Thor/RequiredArgumentMissingError.html">Thor::RequiredArgumentMissingError</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Thor/Shell.html">Thor::Shell</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Thor/Shell/Basic.html">Thor::Shell::Basic</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Thor/Shell/Color.html">Thor::Shell::Color</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Thor/Shell/HTML.html">Thor::Shell::HTML</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Thor/Task.html">Thor::Task</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Thor/UndefinedTaskError.html">Thor::UndefinedTaskError</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Thor/UnknownArgumentError.html">Thor::UnknownArgumentError</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Thor/Util.html">Thor::Util</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Gem.html">Gem</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Gem/Dependency.html">Gem::Dependency</a></li>
|
|
|
|
|
|
|
|
<li><a href="../Gem/Platform.html">Gem::Platform</a></li>
|
|
|
|
|
2010-12-07 04:11:19 +01:00
|
|
|
<li><a href="../Gem/Requirement.html">Gem::Requirement</a></li>
|
|
|
|
|
2010-09-25 05:36:30 +02:00
|
|
|
<li><a href="../Gem/Specification.html">Gem::Specification</a></li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="documentation">
|
|
|
|
<h1 class="class">Bundler::GraphNode</h1>
|
|
|
|
|
|
|
|
<div id="description">
|
|
|
|
<p>
|
|
|
|
Add version info
|
|
|
|
</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Constants -->
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Attributes -->
|
|
|
|
|
|
|
|
<div id="attribute-method-details" class="method-section section">
|
|
|
|
<h3 class="section-header">Attributes</h3>
|
|
|
|
|
|
|
|
|
|
|
|
<div id="name-attribute-method" class="method-detail">
|
|
|
|
<a name="name"></a>
|
|
|
|
|
|
|
|
<div class="method-heading attribute-method-heading">
|
|
|
|
<span class="method-name">name</span><span
|
|
|
|
class="attribute-access-type">[R]</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="dependencies-attribute-method" class="method-detail">
|
|
|
|
<a name="dependencies"></a>
|
|
|
|
|
|
|
|
<div class="method-heading attribute-method-heading">
|
|
|
|
<span class="method-name">dependencies</span><span
|
|
|
|
class="attribute-access-type">[R]</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="version-attribute-method" class="method-detail">
|
|
|
|
<a name="version"></a>
|
|
|
|
|
|
|
|
<div class="method-heading attribute-method-heading">
|
|
|
|
<span class="method-name">version</span><span
|
|
|
|
class="attribute-access-type">[R]</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="is-user-attribute-method" class="method-detail">
|
|
|
|
<a name="is_user"></a>
|
|
|
|
|
|
|
|
<a name="is_user="></a>
|
|
|
|
|
|
|
|
<div class="method-heading attribute-method-heading">
|
|
|
|
<span class="method-name">is_user</span><span
|
|
|
|
class="attribute-access-type">[RW]</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Methods -->
|
|
|
|
|
|
|
|
<div id="public-class-method-details" class="method-section section">
|
|
|
|
<h3 class="section-header">Public Class Methods</h3>
|
|
|
|
|
|
|
|
|
|
|
|
<div id="new-method" class="method-detail ">
|
|
|
|
<a name="method-c-new"></a>
|
|
|
|
|
|
|
|
<div class="method-heading">
|
|
|
|
|
|
|
|
<span class="method-name">new</span><span
|
|
|
|
class="method-args">(name, version)</span>
|
|
|
|
<span class="method-click-advice">click to toggle source</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="method-description">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="method-source-code"
|
|
|
|
id="new-source">
|
|
|
|
<pre>
|
|
|
|
<span class="ruby-comment cmt"># File lib/bundler/graph.rb, line 119</span>
|
|
|
|
119: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">name</span>, <span class="ruby-identifier">version</span>)
|
|
|
|
120: <span class="ruby-ivar">@name</span> = <span class="ruby-identifier">name</span>
|
|
|
|
121: <span class="ruby-ivar">@version</span> = <span class="ruby-identifier">version</span>
|
|
|
|
122: <span class="ruby-ivar">@is_user</span> = <span class="ruby-keyword kw">false</span>
|
|
|
|
123: <span class="ruby-ivar">@dependencies</span> = []
|
|
|
|
124: <span class="ruby-keyword kw">end</span></pre>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div id="rdoc-debugging-section-dump" class="debugging-section">
|
|
|
|
|
|
|
|
<p>Disabled; run with --debug to generate this.</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="validator-badges">
|
|
|
|
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
|
|
|
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
|
|
|
Rdoc Generator</a> 1.1.6</small>.</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|