<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/bundler.git, branch seg-parallel-extensions</title>
<subtitle>github.com: bundler/bundler.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/bundler.git/'/>
<entry>
<title>[GemInstaller] Allow installing extensions in parallel</title>
<updated>2016-12-25T20:58:59+00:00</updated>
<author>
<name>Samuel Giddins</name>
<email>segiddins@segiddins.me</email>
</author>
<published>2016-12-24T18:53:47+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/bundler.git/commit/?id=743f5d6b35ae0d316d4f41a67b98af595da3d3fb'/>
<id>743f5d6b35ae0d316d4f41a67b98af595da3d3fb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'v1.13.7'</title>
<updated>2016-12-25T15:12:20+00:00</updated>
<author>
<name>Samuel Giddins</name>
<email>segiddins@segiddins.me</email>
</author>
<published>2016-12-25T15:12:20+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/bundler.git/commit/?id=8b5bf94f2f7666d4547b7fbe4719f2e840df4914'/>
<id>8b5bf94f2f7666d4547b7fbe4719f2e840df4914</id>
<content type='text'>
Version 1.13.7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Version 1.13.7
</pre>
</div>
</content>
</entry>
<entry>
<title>Version 1.13.7 with changelog</title>
<updated>2016-12-25T14:42:46+00:00</updated>
<author>
<name>Samuel Giddins</name>
<email>segiddins@segiddins.me</email>
</author>
<published>2016-12-25T14:42:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/bundler.git/commit/?id=018f9b81948a99bead40a0f91d8384b9dd4a80f2'/>
<id>018f9b81948a99bead40a0f91d8384b9dd4a80f2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Auto merge of #5175 - biow0lf:biow0lf-fix-typo, r=segiddins</title>
<updated>2016-12-25T14:41:12+00:00</updated>
<author>
<name>Homu</name>
<email>homu@barosl.com</email>
</author>
<published>2016-11-16T18:42:12+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/bundler.git/commit/?id=489fc359462929ec6bd793f0e71fc4883dd5ad94'/>
<id>489fc359462929ec6bd793f0e71fc4883dd5ad94</id>
<content type='text'>
Fix x64_mingw_24. Typo in PR #5170

(cherry picked from commit 6e0dcf48ee70314e42a65dcfd1f81c1494646d91)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix x64_mingw_24. Typo in PR #5170

(cherry picked from commit 6e0dcf48ee70314e42a65dcfd1f81c1494646d91)
</pre>
</div>
</content>
</entry>
<entry>
<title>Auto merge of #5170 - amatsuda:mri_24, r=segiddins</title>
<updated>2016-12-25T14:40:59+00:00</updated>
<author>
<name>Homu</name>
<email>homu@barosl.com</email>
</author>
<published>2016-11-15T00:39:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/bundler.git/commit/?id=67eedfb2f330c259cb82e79bc9e4ab7d9cdcad09'/>
<id>67eedfb2f330c259cb82e79bc9e4ab7d9cdcad09</id>
<content type='text'>
Support :mri_24 platform

Current ruby trunk is versioned as "2.4.0".

% ruby -ve 'p RUBY_VERSION'
ruby 2.4.0dev (2016-11-15 trunk 56792) [x86_64-darwin15]
"2.4.0"

We'd like to run tests on some gems against ruby-trunk or 2.4 pre-releases, so here's a support for MRI 2.4.

(This is Ruby 2.4 version of #3865)

(cherry picked from commit aa9414e78f527ee2066d21783abb7d52a55f68a9)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Support :mri_24 platform

Current ruby trunk is versioned as "2.4.0".

% ruby -ve 'p RUBY_VERSION'
ruby 2.4.0dev (2016-11-15 trunk 56792) [x86_64-darwin15]
"2.4.0"

We'd like to run tests on some gems against ruby-trunk or 2.4 pre-releases, so here's a support for MRI 2.4.

(This is Ruby 2.4 version of #3865)

(cherry picked from commit aa9414e78f527ee2066d21783abb7d52a55f68a9)
</pre>
</div>
</content>
</entry>
<entry>
<title>Auto merge of #5023 - renuo:4854-gemnotfound-error, r=segiddins</title>
<updated>2016-12-24T20:30:09+00:00</updated>
<author>
<name>The Bundler Bot</name>
<email>bot@bundler.io</email>
</author>
<published>2016-12-24T20:30:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/bundler.git/commit/?id=44dc252655d89f8ac601a4758f0571a3629bbfe0'/>
<id>44dc252655d89f8ac601a4758f0571a3629bbfe0</id>
<content type='text'>
4854 gemnotfound error

Fixes broken test

Wanting to help out, I was on the outlook for something easy to fix in bundler. I stumbled upon this issue #4854, which was already tackled by @b-ggs but somehow not merged yet. I went on to check whether I could do something. Here's what I've come up with:

@b-ggs' PR included everything to solve the issue, but introduced the use of `Bundler.app_cache` in the resolver. This works out just fine until you run `bundle plugin install`, which does not seem to require a Gemfile. `Bundler.app_cache` however calls `root`,  which then again tries to find a Gemfile. This obviously fails and raises a `GemfileNotFound` exception. The error message  "Could not locate Gemfile or .bundle/ directory" starts very similar to the one expected in the failing test ("Could not find"). This however, is a completely different error.

The solution is now is to rescue the GemfileNotFound error when it comes up to here.

All credit for solving the issue goes to @b-ggs and his PR here: https://github.com/bundler/bundler/pull/4865
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
4854 gemnotfound error

Fixes broken test

Wanting to help out, I was on the outlook for something easy to fix in bundler. I stumbled upon this issue #4854, which was already tackled by @b-ggs but somehow not merged yet. I went on to check whether I could do something. Here's what I've come up with:

@b-ggs' PR included everything to solve the issue, but introduced the use of `Bundler.app_cache` in the resolver. This works out just fine until you run `bundle plugin install`, which does not seem to require a Gemfile. `Bundler.app_cache` however calls `root`,  which then again tries to find a Gemfile. This obviously fails and raises a `GemfileNotFound` exception. The error message  "Could not locate Gemfile or .bundle/ directory" starts very similar to the one expected in the failing test ("Could not find"). This however, is a completely different error.

The solution is now is to rescue the GemfileNotFound error when it comes up to here.

All credit for solving the issue goes to @b-ggs and his PR here: https://github.com/bundler/bundler/pull/4865
</pre>
</div>
</content>
</entry>
<entry>
<title>Auto merge of #5270 - pixeltrix:fix-hook-name, r=segiddins</title>
<updated>2016-12-24T02:46:38+00:00</updated>
<author>
<name>The Bundler Bot</name>
<email>bot@bundler.io</email>
</author>
<published>2016-12-24T02:46:38+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/bundler.git/commit/?id=857168ed707027c8c4eb913c25425dad8a4b0e11'/>
<id>857168ed707027c8c4eb913c25425dad8a4b0e11</id>
<content type='text'>
Use correct hook name in comment

I checked `Bundler::Source::Path::Installer#post_install` - it's definitely `pre_install` and not `post_install` twice though I wasn't sure given the method name 😄
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use correct hook name in comment

I checked `Bundler::Source::Path::Installer#post_install` - it's definitely `pre_install` and not `post_install` twice though I wasn't sure given the method name 😄
</pre>
</div>
</content>
</entry>
<entry>
<title>Auto merge of #5273 - chrismo:new-pr-4734, r=segiddins</title>
<updated>2016-12-23T14:35:29+00:00</updated>
<author>
<name>The Bundler Bot</name>
<email>bot@bundler.io</email>
</author>
<published>2016-12-23T14:35:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/bundler.git/commit/?id=9728f84509378de7df5d628896be5b95680f65d2'/>
<id>9728f84509378de7df5d628896be5b95680f65d2</id>
<content type='text'>
Specs for multiple platform bug fix in outdated.

This supersedes PR #4734, which fixed a bug but didn't have proper spec
coverage. Since that PR was submitted, a different commit (291a807c in
PR #5176) fixed a similar bug at the same time. That caused a merge
conflict in #4734. It was unknown if the same fix fixed both bugs,
since there were no successfully implemented specs. These specs show
that the bug was properly fixed.

These specs were mostly already implemented by @b-ggs, just needed a
little additional guidance.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Specs for multiple platform bug fix in outdated.

This supersedes PR #4734, which fixed a bug but didn't have proper spec
coverage. Since that PR was submitted, a different commit (291a807c in
PR #5176) fixed a similar bug at the same time. That caused a merge
conflict in #4734. It was unknown if the same fix fixed both bugs,
since there were no successfully implemented specs. These specs show
that the bug was properly fixed.

These specs were mostly already implemented by @b-ggs, just needed a
little additional guidance.
</pre>
</div>
</content>
</entry>
<entry>
<title>Specs for multiple platform bug fix in outdated.</title>
<updated>2016-12-23T06:02:05+00:00</updated>
<author>
<name>chrismo</name>
<email>chrismo@clabs.org</email>
</author>
<published>2016-12-23T05:53:31+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/bundler.git/commit/?id=bec3336952e885126362cd93b378ae98240338d5'/>
<id>bec3336952e885126362cd93b378ae98240338d5</id>
<content type='text'>
This supersedes PR #4734, which fixed a bug but didn't have proper spec
coverage. Since that PR was submitted, a different commit (291a807c in
PR #5176) fixed a similar bug at the same time. That caused a merge
conflict in #4734. It was unknown if the same fix fixed both bugs,
since there were no successfully implemented specs. These specs show
that the bug was properly fixed.

These specs were mostly already implemented by @b-ggs, just needed a
little additional guidance.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This supersedes PR #4734, which fixed a bug but didn't have proper spec
coverage. Since that PR was submitted, a different commit (291a807c in
PR #5176) fixed a similar bug at the same time. That caused a merge
conflict in #4734. It was unknown if the same fix fixed both bugs,
since there were no successfully implemented specs. These specs show
that the bug was properly fixed.

These specs were mostly already implemented by @b-ggs, just needed a
little additional guidance.
</pre>
</div>
</content>
</entry>
<entry>
<title>Auto merge of #5260 - bundler:seg-require-speed, r=indirect</title>
<updated>2016-12-22T13:56:19+00:00</updated>
<author>
<name>The Bundler Bot</name>
<email>bot@bundler.io</email>
</author>
<published>2016-12-22T13:56:19+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/bundler.git/commit/?id=e236c063b801c55ba9db9b64f95b2bbce709d4ad'/>
<id>e236c063b801c55ba9db9b64f95b2bbce709d4ad</id>
<content type='text'>
Improve -rbundler performance

Along with https://github.com/rubygems/rubygems/pull/1801, speeds up `-rbundler` by ~5x

Profiled via

```ruby
# frozen_string_literal: true

REQUIRE_TIMES = {} # rubocop:disable Style/MutableConstant
module Kernel
  require "benchmark"
  alias_method :require_before_req, :require
  def require(path)
    ret = nil
    Benchmark.realtime do
      ret = require_before_req(path)
    end.tap do |t|
      if ret
        from = begin
                 caller[2]
               rescue
                 nil
               end
        ::REQUIRE_TIMES["#{path} : #{from}"] ||= t
      end
    end
    ret
  end
end

at_exit { puts REQUIRE_TIMES.to_a.sort_by(&amp;:last).reverse.map {|k, v| "#{k} =&gt;\n\t#{v}" } }
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Improve -rbundler performance

Along with https://github.com/rubygems/rubygems/pull/1801, speeds up `-rbundler` by ~5x

Profiled via

```ruby
# frozen_string_literal: true

REQUIRE_TIMES = {} # rubocop:disable Style/MutableConstant
module Kernel
  require "benchmark"
  alias_method :require_before_req, :require
  def require(path)
    ret = nil
    Benchmark.realtime do
      ret = require_before_req(path)
    end.tap do |t|
      if ret
        from = begin
                 caller[2]
               rescue
                 nil
               end
        ::REQUIRE_TIMES["#{path} : #{from}"] ||= t
      end
    end
    ret
  end
end

at_exit { puts REQUIRE_TIMES.to_a.sort_by(&amp;:last).reverse.map {|k, v| "#{k} =&gt;\n\t#{v}" } }
```
</pre>
</div>
</content>
</entry>
</feed>
