<feed xmlns='http://www.w3.org/2005/Atom'>
<title>brew/Library/Homebrew/extend, branch 0.9.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>Move option comparison into BuildOptions</title>
<updated>2013-01-26T17:37:00+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2013-01-23T06:26:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=f3d3bc436829b5e9212e052cec50cded80cea2df'/>
<id>f3d3bc436829b5e9212e052cec50cded80cea2df</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Object#instance_exec for Ruby 1.8.6</title>
<updated>2013-01-21T23:24:11+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2013-01-20T02:45:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=2503cedf2c9ebb7e15029f126518f42ff0e5ee1c'/>
<id>2503cedf2c9ebb7e15029f126518f42ff0e5ee1c</id>
<content type='text'>
Not thread safe! But I don't think we care.

We want to evaluate the env DSL block in the context of ENV for asthetic
reasons, but we also want access to methods on the requirement instance.
We can use #instance_exec to pass the requirement itself into the block:

  class Foo &lt; Requirement
    env do |req|
      append 'PATH', req.some_path
    end

    def some_path
      which 'something'
    end
  end

Also add a simplified version of Object#instance_exec for Ruby 1.8.6.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Not thread safe! But I don't think we care.

We want to evaluate the env DSL block in the context of ENV for asthetic
reasons, but we also want access to methods on the requirement instance.
We can use #instance_exec to pass the requirement itself into the block:

  class Foo &lt; Requirement
    env do |req|
      append 'PATH', req.some_path
    end

    def some_path
      which 'something'
    end
  end

Also add a simplified version of Object#instance_exec for Ruby 1.8.6.
</pre>
</div>
</content>
</entry>
<entry>
<title>ENV.with_build_environment</title>
<updated>2013-01-21T23:24:10+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2013-01-20T02:45:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=d06824c357a43cc2ecb5229784285cb30b037354'/>
<id>d06824c357a43cc2ecb5229784285cb30b037354</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Restore ARGV even if an exception is raised</title>
<updated>2013-01-10T21:57:21+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2013-01-10T21:57:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=951620f146fde045f106093fcd510a345a6fddd1'/>
<id>951620f146fde045f106093fcd510a345a6fddd1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Define Symbol#to_proc for Ruby 1.8.6</title>
<updated>2013-01-09T23:36:17+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2013-01-09T23:36:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=0949d952dc1a0eda002108b35c7fda38df7448fc'/>
<id>0949d952dc1a0eda002108b35c7fda38df7448fc</id>
<content type='text'>
Ruby 1.8.6 doesn't have Symbol#to_proc, which allows things like
map(&amp;:to_s) rather than map { |o| o.to_s }. 1.8.7 does, though, and
since it is used in a bunch of the superenv code we should attempt to
keep it compatible with 1.8.6.

Closes Homebrew/homebrew#16046.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ruby 1.8.6 doesn't have Symbol#to_proc, which allows things like
map(&amp;:to_s) rather than map { |o| o.to_s }. 1.8.7 does, though, and
since it is used in a bunch of the superenv code we should attempt to
keep it compatible with 1.8.6.

Closes Homebrew/homebrew#16046.
</pre>
</div>
</content>
</entry>
<entry>
<title>Only add -F if the frameworks folder exists</title>
<updated>2013-01-05T05:30:10+00:00</updated>
<author>
<name>Adam Vandenberg</name>
</author>
<published>2013-01-05T05:30:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=2a40ff08a251063f649e4f73275f5994449ee432'/>
<id>2a40ff08a251063f649e4f73275f5994449ee432</id>
<content type='text'>
Closes Homebrew/homebrew#16901.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes Homebrew/homebrew#16901.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add --homebrew-developer flag</title>
<updated>2013-01-01T16:39:06+00:00</updated>
<author>
<name>Mike McQuaid</name>
</author>
<published>2012-12-31T17:51:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=f25e7de43b9e83e42f8ced152d4f75897b44a05b'/>
<id>f25e7de43b9e83e42f8ced152d4f75897b44a05b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow requirements to specify env options</title>
<updated>2012-12-26T20:37:03+00:00</updated>
<author>
<name>Jack Nagel</name>
</author>
<published>2012-12-24T01:44:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=9c8a73cf417a009e0bfa957ae942193febae14bf'/>
<id>9c8a73cf417a009e0bfa957ae942193febae14bf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>pathname.rb: Pass -s to du instead of -d0</title>
<updated>2012-12-11T17:32:16+00:00</updated>
<author>
<name>Shaun Jackman</name>
</author>
<published>2012-12-11T16:29:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=9a4567c2f971320fa63cef3b5e31638a0177aae6'/>
<id>9a4567c2f971320fa63cef3b5e31638a0177aae6</id>
<content type='text'>
The option `du -s` is equivalent to `du -d0`. The former is a POSIX standard
(IEEE Std 1003.1-2008), whereas the latter is a BSD extension.

From the BSD man page:
`-s Display an entry for each specified file. (Equivalent to -d 0)`

From SUSv4:
`-s Instead of the default output, report only the total sum for each of the specified files.`
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/du.html

Closes Homebrew/homebrew#16516.

Signed-off-by: Charlie Sharpsteen &lt;source@sharpsteen.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The option `du -s` is equivalent to `du -d0`. The former is a POSIX standard
(IEEE Std 1003.1-2008), whereas the latter is a BSD extension.

From the BSD man page:
`-s Display an entry for each specified file. (Equivalent to -d 0)`

From SUSv4:
`-s Instead of the default output, report only the total sum for each of the specified files.`
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/du.html

Closes Homebrew/homebrew#16516.

Signed-off-by: Charlie Sharpsteen &lt;source@sharpsteen.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve bottle error messages.</title>
<updated>2012-12-04T12:06:02+00:00</updated>
<author>
<name>Mike McQuaid</name>
</author>
<published>2012-12-04T12:06:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/brew/commit/?id=4b0e663c2c36db0870688e99fc8a28a758968021'/>
<id>4b0e663c2c36db0870688e99fc8a28a758968021</id>
<content type='text'>
On installation or creation of a bottle error out of the current
machine does not support bottles.

References Homebrew/homebrew#16291.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On installation or creation of a bottle error out of the current
machine does not support bottles.

References Homebrew/homebrew#16291.
</pre>
</div>
</content>
</entry>
</feed>
