<feed xmlns='http://www.w3.org/2005/Atom'>
<title>brew/Library/Homebrew/test/test_pkg_version.rb, branch 1.1.2</title>
<subtitle>🍺 The missing package manager for macOS</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/'/>
<entry>
<title>Reorder and rename test files.</title>
<updated>2016-11-16T22:52:37+00:00</updated>
<author>
<name>Markus Reiter</name>
</author>
<published>2016-10-21T06:57:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=6b6b27126d7ecc1dde9a6bc166a7e1daa3af35d2'/>
<id>6b6b27126d7ecc1dde9a6bc166a7e1daa3af35d2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Unify Version.create usage</title>
<updated>2016-07-16T12:39:13+00:00</updated>
<author>
<name>Vlad Shablinsky</name>
</author>
<published>2016-07-11T13:09:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=3fb5d70a729472a7d7f2a5d0d7b84248921fb583'/>
<id>3fb5d70a729472a7d7f2a5d0d7b84248921fb583</id>
<content type='text'>
Substitue each Version.new and HeadVersion.new with Version.create
to unify Version and HeadVersion instantiation among core code.

Note that this does not relate to Mac::OS::Version class.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Substitue each Version.new and HeadVersion.new with Version.create
to unify Version and HeadVersion instantiation among core code.

Note that this does not relate to Mac::OS::Version class.
</pre>
</div>
</content>
</entry>
<entry>
<title>Apply tests to new HEAD format</title>
<updated>2016-07-16T12:39:13+00:00</updated>
<author>
<name>Vlad Shablinsky</name>
</author>
<published>2016-06-22T07:41:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=458f9a008cc5316de9ec18ebae3b0f3990583540'/>
<id>458f9a008cc5316de9ec18ebae3b0f3990583540</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>more core unit tests</title>
<updated>2015-12-20T11:11:40+00:00</updated>
<author>
<name>Baptiste Fontaine</name>
</author>
<published>2015-12-19T10:54:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=a6d2723ef532dc576968f6f9e155c165e47f26b2'/>
<id>a6d2723ef532dc576968f6f9e155c165e47f26b2</id>
<content type='text'>
Closes Homebrew/homebrew#47182.

Signed-off-by: Baptiste Fontaine &lt;batifon@yahoo.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes Homebrew/homebrew#47182.

Signed-off-by: Baptiste Fontaine &lt;batifon@yahoo.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Core files style updates.</title>
<updated>2015-08-03T12:22:35+00:00</updated>
<author>
<name>BrewTestBot</name>
</author>
<published>2015-08-03T12:09:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=13d544e11e92ba8ea3788723432046f8dfe4adf9'/>
<id>13d544e11e92ba8ea3788723432046f8dfe4adf9</id>
<content type='text'>
Closes Homebrew/homebrew#42354.

Signed-off-by: Mike McQuaid &lt;mike@mikemcquaid.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes Homebrew/homebrew#42354.

Signed-off-by: Mike McQuaid &lt;mike@mikemcquaid.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>test_pkg_version: remove illegal testcase</title>
<updated>2015-04-23T04:25:08+00:00</updated>
<author>
<name>Xu Cheng</name>
</author>
<published>2015-04-19T12:36:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=4db3e51c8ec307ba0d068e4403f7a66805b3c3ff'/>
<id>4db3e51c8ec307ba0d068e4403f7a66805b3c3ff</id>
<content type='text'>
`Version` will not end with /_\d+/.

Closes Homebrew/homebrew#38822.

Signed-off-by: Xu Cheng &lt;xucheng@me.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`Version` will not end with /_\d+/.

Closes Homebrew/homebrew#38822.

Signed-off-by: Xu Cheng &lt;xucheng@me.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch PkgVersion to use composition</title>
<updated>2015-04-03T00:22:12+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2015-04-03T00:22:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=27092cabc4bda0904e1616bb2e5d4d949dbd3178'/>
<id>27092cabc4bda0904e1616bb2e5d4d949dbd3178</id>
<content type='text'>
Comparing PkgVersion and Version objects can produce nonsensical
results. For example, equality is not symmetric:

irb(main):002:0&gt; PkgVersion.new("1.0", 0) == Version.new("1.0")
=&gt; false
irb(main):003:0&gt; Version.new("1.0") == PkgVersion.new("1.0", 0)
=&gt; true

Rather than attempt to deal with subclass-superclass equality, let's use
composition and punt on the problem altogether.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Comparing PkgVersion and Version objects can produce nonsensical
results. For example, equality is not symmetric:

irb(main):002:0&gt; PkgVersion.new("1.0", 0) == Version.new("1.0")
=&gt; false
irb(main):003:0&gt; Version.new("1.0") == PkgVersion.new("1.0", 0)
=&gt; true

Rather than attempt to deal with subclass-superclass equality, let's use
composition and punt on the problem altogether.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix PkgVersion#&lt;=&gt;</title>
<updated>2014-07-03T21:37:43+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2014-07-03T21:32:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=1ee4cd94ba5d9e7f89bc572a737ff03f3fff2a20'/>
<id>1ee4cd94ba5d9e7f89bc572a737ff03f3fff2a20</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>Encode formula revision in installation prefix</title>
<updated>2014-03-06T02:12:51+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2014-03-06T02:12:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=6008187d5f54c5cb60a407155b73888ac6d521df'/>
<id>6008187d5f54c5cb60a407155b73888ac6d521df</id>
<content type='text'>
In order to allow kegs built with the same version but differing formula
revisions to coexist, we must encode the revision as part of the keg's
name. This is necessary to actually perform an upgrade, as we cannot
upgrade a keg in-place, and temporarily moving it pending the result of
the upgrade is error-prone and potentially slow.

To accomplish this, we introduce a new Formula#pkg_version method that
concatenates the active_spec version with the formula revision. An
exception is made for a formula that has no revision: the tag is
omitted. This preserves compatibility with existing installations.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to allow kegs built with the same version but differing formula
revisions to coexist, we must encode the revision as part of the keg's
name. This is necessary to actually perform an upgrade, as we cannot
upgrade a keg in-place, and temporarily moving it pending the result of
the upgrade is error-prone and potentially slow.

To accomplish this, we introduce a new Formula#pkg_version method that
concatenates the active_spec version with the formula revision. An
exception is made for a formula that has no revision: the tag is
omitted. This preserves compatibility with existing installations.
</pre>
</div>
</content>
</entry>
</feed>
