Permalink
Commits on Feb 22, 2017
  1. Auto merge of #5460 - bundler:seg-sigint-debug-backtrace, r=indirect

    Print a backtrace on SIGINT in debug mode
    
    I found this helpful when trying to figure out why bundler was going so slowly
    bundlerbot committed Feb 22, 2017
  2. Auto merge of #5461 - bundler:seg-lazy-specification-nil-platform, r=…

    …indirect
    
    [LazySpecification] Handle when platform is nil in __materialize__
    
    Because a nil platform is the same as RUBY
    bundlerbot committed Feb 22, 2017
  3. Merge tag 'v1.14.5'

    Version 1.14.5
    segiddins committed Feb 22, 2017
  4. Auto merge of #5436 - okkez:fix-frozen-string-literal-error-with-ruby…

    …gems-2.6.8, r=segiddins
    
    Use empty array when `spec_settings` returns `nil`
    
    If use bundler 1.14.4 with rubygems 2.6.8 and
    `Bundler.settings["build.#{spec.name}"]` returns `nil` then we get
    error "can't modify frozen literal string" from [rubygems](https://github.com/rubygems/rubygems/blob/v2.6.8/lib/rubygems/ext/rake_builder.rb#L13).
    RubyGems 2.6.8 is the default version for Ruby2.4.0.
    
    See also sickill/rainbow#48
    
    (cherry picked from commit ea4926a)
    bundlerbot committed with segiddins Feb 21, 2017
  5. Auto merge of #5450 - bundler:seg-stub-specification-missing-extensio…

    …ns, r=indirect
    
    [StubSpecification] Avoid loading all installed gemspecs
    
    Call through to the stub instead of materializing the full remote_spec since all gems added to the local index are asked whether they are missing extensions or not
    
    (cherry picked from commit 0351908)
    bundlerbot committed with segiddins Feb 19, 2017
  6. Auto merge of #5448 - bundler:aa-core-team-alumni, r=indirect

    Add core team alumni to the gemspec authors
    
    None
    
    (cherry picked from commit 65719a2)
    bundlerbot committed with segiddins Feb 19, 2017
  7. Auto merge of #5427 - bundler:seg-api-missing-dependencies, r=indirect

    Fail gracefully when installing a spec where the API is missing deps
    
    Fixes #5426
    Closes #5339
    
    (cherry picked from commit 42215fe)
    bundlerbot committed with segiddins Feb 18, 2017
  8. Auto merge of #5443 - bundler:seg-resolver-sorting, r=indirect

    [Resolver] Improve sorting of deps with 0 or 1 possibility
    
    As the added comment says, this will force all dependencies where there are only 0 or 1 total specs with that name to be resolved first. Right now, they sort ~last, which leads to poor performance.
    
    (This was one way of fixing some recent resolver issues, even though we've done the proper fixes in Molinillo for them)
    
    (cherry picked from commit cc4414c)
    bundlerbot committed with segiddins Feb 18, 2017
  9. Auto merge of #5440 - wjordan:fips_enabled_compact_index, r=indirect

    Enable compact index when OpenSSL FIPS mode is enabled but not active
    
    Fixes #5433. Since there is no easy accessor in Ruby to detect whether or not FIPS mode is currently active, the best approach I could come up with is to `fork` a separate process and attempt to generate a build MD5 object as a test of whether MD5 module is currently available.
    
    Because `fork` approach won't work on some platforms (JRuby, Windows etc), `md5_supported?` returns `false` on any platforms where FIPS mode is enabled and `Process.respond_to?(:fork)` is `false`.
    
    I've added a spec that simulates behavior when OpenSSL FIPS mode is active - an error message is output to STDERR and the process is killed with the `ABRT` signal.
    
    (cherry picked from commit 13f4cc1)
    bundlerbot committed with segiddins Feb 18, 2017
  10. Auto merge of #5417 - seban:document-mirror-fallback-timeout-option, …

    …r=segiddins
    
    Add documentation for mirror.fallback_timeout option.
    
    As suggested in #5403 (comment) instead of changing parsing `mirror.fallback_timeout` I added documentation for it.
    Pull request #5403 can be closed.
    
    (cherry picked from commit f23034b)
    bundlerbot committed with segiddins Feb 18, 2017
  11. Auto merge of #5439 - danielpclark:patch_gh_username, r=segiddins

    Fix Github username for README.md contrib URL
    
    This fixes #5438 where the wrong git config variable was being
    retrieved.
    
    This was using `git config user.name` rather than `git config github.user` in URL in `README.md`
    
    (cherry picked from commit 14bfe7a)
    bundlerbot committed with segiddins Feb 17, 2017
  12. Auto merge of #5435 - bundler:aa-rm-post-install, r=indirect

    remove post-install on account of confusion
    
    as demonstrated on twitter[1], this message was unfortunately convincing people that Ruby Together pays for the rubygems.org servers. let's remove it and come up with something clearer later.
    
    [1]: https://twitter.com/MelissaKaulfuss/status/829504864229023744
    
    (cherry picked from commit 713ea10)
    bundlerbot committed with segiddins Feb 16, 2017
  13. Auto merge of #5388 - rhenium:topic/defer-requiring-rubygems-spec_fet…

    …cher, r=segiddins
    
    Defer requiring rubygems/spec_fetcher until it becomes necessary
    
    Avoid conflict between two versions of openssl gem on 'bundle exec' if
    a newer and non-default version of openssl gem is installed to the
    system. rubygems/spec_fetcher loads openssl through resolv and
    securerandom when running with Ruby <= 2.4.
    
    This is not a proper fix for #5235 as other standard libraries that
    Bundler currently loads will be gemified as well in Ruby >= 2.5,
    however, this will fix openssl's case.
    
    Reference: #5235
    Fixes: ruby/openssl#103
    
    ---
    
    Reproduce:
    
    1. Install Ruby 2.4.0 (comes with openssl 2.0.2)
    2. Run `gem install openssl` to install openssl 2.0.3
    3. Create a Gemfile and run `bundle install`
    4. Run `bundle exec ruby -e'require "openssl"'
    
    (cherry picked from commit c7f3d05)
    bundlerbot committed with segiddins Feb 16, 2017
  14. Auto merge of #5421 - bundler:seg-read-only-fs-no-global-settings, r=…

    …indirect
    
    Don't read global settings on a read-only FS with no $HOME
    
    Closes #5371
    This is an alternative to #5385
    
    (cherry picked from commit 42b1e1b)
    bundlerbot committed with segiddins Feb 15, 2017
  15. Auto merge of #5266 - bundler:seg-install-frozen-gemspec-deps-changed…

    …, r=indirect
    
    [Definition] Fail when installing in frozen mode & gemspec deps have changed
    
    Closes #5264
    
    - [x] Specs
    
    (cherry picked from commit cb73a5c)
    bundlerbot committed with segiddins Feb 12, 2017
  16. [LazySpecification] Handle when platform is nil in __materialize__

    segiddins committed Feb 22, 2017
Commits on Feb 21, 2017
  1. Print a backtrace on SIGINT in debug mode

    segiddins committed Feb 21, 2017
  2. Auto merge of #5459 - bundler:seg-bundler-plugin-source-api-const-und…

    …efined, r=indirect
    
    Avoid undefined Bundler::Plugin::API::Source exception
    
    Fixes #5409, with a test!
    bundlerbot committed Feb 21, 2017
  3. Avoid undefined Bundler::Plugin::API::Source exception

    segiddins committed Feb 21, 2017
  4. Auto merge of #5455 - googya:master, r=colby-swandale

    fix typo
    
    fix typo
    bundlerbot committed Feb 21, 2017
  5. fix typo

    leslie.wen committed Feb 21, 2017
  6. Auto merge of #5374 - colby-swandale:bundle-info, r=indirect

    Bundle info command
    
    This is a continuation of #5093
    
    This PR adds a new command called `info` that is nearly identical to the `show` command, specifically `show <gem> --verbose`.
    
    Example:
    ```
    › dbundler info rack
      * rack (2.0.1)
    	Summary: a modular Ruby webserver interface
    	Homepage: http://rack.github.io/
    	Path: /Users/colby/.gem/ruby/2.4.0/gems/rack-2.0.1
    ```
    
    There is also a option called `--path` that only prints the path to the gem
    ```
    › dbundler info rack --path
    /Users/colby/.gem/ruby/2.4.0/gems/rack-2.0.1
    ```
    
    One noticeable difference between `info` and `show --verbose` is that i have removed the `outdated` functionality. This was made for several reasons:
    * There are currently problems with that functionality which have been raised in #5375
    * We have a dedicated command called `outdated` for the user to get information about the outdated status of gems.
    * The outdated status requires an active internet connection and time to download the necessary information. I think not having to download anything and limiting `info` to just read information it already has would make for a more responsive and better user experience.
    bundlerbot committed Feb 21, 2017
  7. Auto merge of #5436 - okkez:fix-frozen-string-literal-error-with-ruby…

    …gems-2.6.8, r=segiddins
    
    Use empty array when `spec_settings` returns `nil`
    
    If use bundler 1.14.4 with rubygems 2.6.8 and
    `Bundler.settings["build.#{spec.name}"]` returns `nil` then we get
    error "can't modify frozen literal string" from [rubygems](https://github.com/rubygems/rubygems/blob/v2.6.8/lib/rubygems/ext/rake_builder.rb#L13).
    RubyGems 2.6.8 is the default version for Ruby2.4.0.
    
    See also sickill/rainbow#48
    bundlerbot committed Feb 21, 2017
Commits on Feb 20, 2017
  1. Auto merge of #5451 - colby-swandale:update-rubocop, r=segiddins

    [Rubocop] Update Rubocop to 0.47.1
    bundlerbot committed Feb 20, 2017
  2. [Rubocop] Update Rubocop to 0.47.1

    Colby Swandale committed Feb 20, 2017
  3. Auto merge of #5449 - colby-swandale:fix-pr-guide-link, r=indirect

    fix broken link to PULL_REQUESTS.md in BUG_TRIAGE.md
    
    I messed up the path to the PR review guide from an earlier PR. Sorry.
    bundlerbot committed Feb 20, 2017
Commits on Feb 19, 2017
  1. Add limit `:rubygems => ">= 2"`

    Because those specs are failed with old RubyGems.
    okkez committed Feb 19, 2017
  2. Auto merge of #5450 - bundler:seg-stub-specification-missing-extensio…

    …ns, r=indirect
    
    [StubSpecification] Avoid loading all installed gemspecs
    
    Call through to the stub instead of materializing the full remote_spec since all gems added to the local index are asked whether they are missing extensions or not
    bundlerbot committed Feb 19, 2017
  3. skip default gem test for 1.9.3

    Colby Swandale committed Feb 19, 2017
  4. [StubSpecification] Avoid loading all installed gemspecs

    Call through to the stub instead of materializing the full remote_spec since all gems added to the local index are asked whether they are missing extensions or not
    segiddins committed Feb 19, 2017
  5. check if gem_spec responds to default_gem

    Colby Swandale committed Feb 19, 2017
  6. rubocop fixes

    Colby Swandale committed Feb 19, 2017
  7. Auto merge of #5448 - bundler:aa-core-team-alumni, r=indirect

    Add core team alumni to the gemspec authors
    
    None
    bundlerbot committed Feb 19, 2017
  8. fix broken link to PULL_REQUESTS.md in BUG_TRIAGE.md

    Colby Swandale committed Feb 19, 2017