<feed xmlns='http://www.w3.org/2005/Atom'>
<title>homebrew/Library/Homebrew/test/test_dependency.rb, branch ranger-1.7.0</title>
<subtitle>:beer: The missing package manager for OS X.</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/homebrew/'/>
<entry>
<title>Fix dependency equality</title>
<updated>2014-11-21T23:03:58+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2014-11-21T22:08:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/homebrew/commit/?id=5cee60344b8290470d407f4b78dae209df99a46d'/>
<id>5cee60344b8290470d407f4b78dae209df99a46d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add assert_eql to provide better failure messages for eql? tests</title>
<updated>2014-07-03T21:55:13+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2014-07-03T21:54:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/homebrew/commit/?id=e5023ccf1fafbfb2ed9ea892234e97a2a5d1cd0b'/>
<id>e5023ccf1fafbfb2ed9ea892234e97a2a5d1cd0b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use assert_predicate</title>
<updated>2014-06-19T01:34:09+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2014-06-11T17:21:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/homebrew/commit/?id=07535c52e7a314a880933e489ea80fd3ccc43af2'/>
<id>07535c52e7a314a880933e489ea80fd3ccc43af2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch to Minitest</title>
<updated>2014-06-19T01:34:09+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2014-06-11T03:43:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/homebrew/commit/?id=16884ea08e115723ca595bf29389cddef54f9c63'/>
<id>16884ea08e115723ca595bf29389cddef54f9c63</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use a custom test class so we can avoid monkeypatching</title>
<updated>2014-06-19T01:32:51+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2014-06-19T01:32:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/homebrew/commit/?id=be6c29846b51b91254a86117e904747b2fe2a4d8'/>
<id>be6c29846b51b91254a86117e904747b2fe2a4d8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reduce allocations in dependency construction</title>
<updated>2013-05-06T21:08:50+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2013-05-06T21:08:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/homebrew/commit/?id=62389cc27456151b8f3be1d064e14412cb907066'/>
<id>62389cc27456151b8f3be1d064e14412cb907066</id>
<content type='text'>
By always passing around a single, unnested array rather than splatting
and then defensively flattening and compacting things, we can avoid
allocating a bunch of unnecessary arrays. This gives a performance boost
of roughly 4% when enumerating 2500 formulae, and has the side effect of
cleaning up the dependency API.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By always passing around a single, unnested array rather than splatting
and then defensively flattening and compacting things, we can avoid
allocating a bunch of unnecessary arrays. This gives a performance boost
of roughly 4% when enumerating 2500 formulae, and has the side effect of
cleaning up the dependency API.
</pre>
</div>
</content>
</entry>
<entry>
<title>Split dependency classes into separate files</title>
<updated>2013-01-27T02:30:05+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2013-01-27T02:05:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/homebrew/commit/?id=bf1ce533665932aeb24308830f022eb22c3d60fa'/>
<id>bf1ce533665932aeb24308830f022eb22c3d60fa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>FormulaInstaller: allow formulae to pass options to deps</title>
<updated>2013-01-26T18:14:46+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2013-01-23T06:26:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/homebrew/commit/?id=7a8935455b43273291b37d2e2f62757bb8fa705e'/>
<id>7a8935455b43273291b37d2e2f62757bb8fa705e</id>
<content type='text'>
Formulae can now pass build options to dependencies. The following
syntax is supported:

  depends_on 'foo' =&gt; 'with-bar'
  depends_on 'foo' =&gt; ['with-bar', 'with-baz']

If a dependency is already installed but lacks the required build
options, an exception is raised. Eventually we may be able to just stash
the existing keg and reinstall it with the combined set of used_options
and passed options, but enabling that is left for another day.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Formulae can now pass build options to dependencies. The following
syntax is supported:

  depends_on 'foo' =&gt; 'with-bar'
  depends_on 'foo' =&gt; ['with-bar', 'with-baz']

If a dependency is already installed but lacks the required build
options, an exception is raised. Eventually we may be able to just stash
the existing keg and reinstall it with the combined set of used_options
and passed options, but enabling that is left for another day.
</pre>
</div>
</content>
</entry>
<entry>
<title>Split up dependency test coverage</title>
<updated>2013-01-14T03:01:15+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2013-01-14T02:05:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/homebrew/commit/?id=693e9e706a5dee074ba9f40dada24d30817f50b2'/>
<id>693e9e706a5dee074ba9f40dada24d30817f50b2</id>
<content type='text'>
The DependencyCollector tests are really integration tests, while the
rest are closer to real unit tests. Split them up so that the tests can
be run in isolation on a per-class basis.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The DependencyCollector tests are really integration tests, while the
rest are closer to real unit tests. Split them up so that the tests can
be run in isolation on a per-class basis.
</pre>
</div>
</content>
</entry>
</feed>
