<feed xmlns='http://www.w3.org/2005/Atom'>
<title>brew/Library/Homebrew/test/test_comparableset.rb, branch 1.2.4</title>
<subtitle>🍺 The missing package manager for macOS</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/'/>
<entry>
<title>Replace ComparableSet with a Requirements collection</title>
<updated>2014-07-03T19:50:57+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2014-07-03T19:50:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=618b894c3e9cf6b0bdb2f46fd258b27d863d1373'/>
<id>618b894c3e9cf6b0bdb2f46fd258b27d863d1373</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/brew/commit/?id=982e9239b8ba2c2a49ccedec2a108a4580047bcb'/>
<id>982e9239b8ba2c2a49ccedec2a108a4580047bcb</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/brew/commit/?id=b32202033881d93849f4c44a837389e8a9d450ef'/>
<id>b32202033881d93849f4c44a837389e8a9d450ef</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>Fix argument order in test_comparableset</title>
<updated>2013-04-08T23:34:55+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2013-04-08T23:34:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=646102c31118144545127b7ed70512de753d1d40'/>
<id>646102c31118144545127b7ed70512de753d1d40</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow specifying a name attribute for X11Dependency</title>
<updated>2013-01-28T16:35:14+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2013-01-27T21:41:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=210401654bd7f22edc843164a7fea28f85b0b219'/>
<id>210401654bd7f22edc843164a7fea28f85b0b219</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update require</title>
<updated>2013-01-27T22:29:19+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2013-01-27T20:37:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=871f3a091accaa6828f8536da416bf4f13317d7d'/>
<id>871f3a091accaa6828f8536da416bf4f13317d7d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ComparableSet#merge returns self</title>
<updated>2012-10-25T20:54:55+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2012-10-25T20:45:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=762c355b30798237c9f5dade43a0d8a9523bcfef'/>
<id>762c355b30798237c9f5dade43a0d8a9523bcfef</id>
<content type='text'>
Set#merge is supposed to return self, and Formula#recursive_requirements
depended on this being true.

Signed-off-by: Jack Nagel &lt;jacknagel@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Set#merge is supposed to return self, and Formula#recursive_requirements
depended on this being true.

Signed-off-by: Jack Nagel &lt;jacknagel@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow requirements to record tags</title>
<updated>2012-10-25T19:28:53+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2012-10-24T23:17:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=d1f754c02e5ef36de70ac3cb7ad7669a90ec9295'/>
<id>d1f754c02e5ef36de70ac3cb7ad7669a90ec9295</id>
<content type='text'>
To allow

  depends_on :x11 =&gt; :optional

and friends to work as expected, make requirements record any tags and
add special handling to the X11Dependency to record both a minimum
version and additional tags.

Signed-off-by: Jack Nagel &lt;jacknagel@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To allow

  depends_on :x11 =&gt; :optional

and friends to work as expected, make requirements record any tags and
add special handling to the X11Dependency to record both a minimum
version and additional tags.

Signed-off-by: Jack Nagel &lt;jacknagel@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Manage Requirements using ComparableSet</title>
<updated>2012-10-15T14:46:29+00:00</updated>
<author>
<name>Misty De Meo</name>
</author>
<published>2012-10-02T18:21:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=bbfb6400c77aeaaf88216263d86491d85a40f8a9'/>
<id>bbfb6400c77aeaaf88216263d86491d85a40f8a9</id>
<content type='text'>
ComparableSet only allows a single object of a given class,
choosing the object with the greatest value. This was mainly created
for Requirements, so that, e.g., two X11Dependencies of differing
strictness don't both end up in the same requirement set.

Fixes Homebrew/homebrew#15240.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ComparableSet only allows a single object of a given class,
choosing the object with the greatest value. This was mainly created
for Requirements, so that, e.g., two X11Dependencies of differing
strictness don't both end up in the same requirement set.

Fixes Homebrew/homebrew#15240.</pre>
</div>
</content>
</entry>
</feed>
