diff options
author | The Bundler Bot <bot@bundler.io> | 2017-10-26 03:31:03 +0000 |
---|---|---|
committer | The Bundler Bot <bot@bundler.io> | 2017-10-26 03:31:03 +0000 |
commit | ebeb787c63e08e15fa8802f8e9752f5b400a404f (patch) | |
tree | 41dff89d1cfb38985fa3ed2c03aac477a38a60a2 /lib/bundler/templates | |
parent | 2ae308600772ca69267ea0945f465b4de7fcadba (diff) | |
parent | 055cf917d17b6abae19ac6fb2ab0ea70acb87a19 (diff) | |
download | bundler-ebeb787c63e08e15fa8802f8e9752f5b400a404f.tar.gz |
Auto merge of #6125 - meganemura:fix-failing-spec, r=colby-swandale
Fix failing spec for `bundle plugin list`
### What was the end-user problem that led to this PR?
The problem was failure of Travis CI build. (refs: [build for #6123](https://travis-ci.org/bundler/bundler/builds/292436821?utm_source=github_status&utm_medium=notification))
### What was your diagnosis of the problem?
Bundler::Plugin::Index#installed_plugins is keys of Hash,
and Hash is not ordered in prior to Ruby 1.9.
`foo` and `bar` plugins defined in spec are not always listed in specified order.
### What is your fix for the problem, implemented in this PR?
My fix is to separate tests into for Ruby < 1.9 or not.
### Why did you choose this fix out of the possible options?
I chose this fix because this makes code easy to remove if we stop building Ruby < 1.9 in Travis CI.
Diffstat (limited to 'lib/bundler/templates')
0 files changed, 0 insertions, 0 deletions