summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update vendored Molinillo to 0.5.7seg-molinillo-0.5.7Samuel Giddins2017-03-034-18/+28
|
* Auto merge of #5462 - bundler:seg-rubygems-source-print-fetching, r=indirectThe Bundler Bot2017-03-022-1/+2
|\ | | | | | | | | | | [Source::RubyGems] Print that we are fetching a gem This is super helpful when you're on slow cafe wifi and downloading an 8MB gem such as nokogiri
| * [Source::RubyGems] Print that we are fetching a gemseg-rubygems-source-print-fetchingSamuel Giddins2017-02-222-1/+2
| |
* | Auto merge of #5481 - bundler:seg-error-template-gemfile, r=indirectThe Bundler Bot2017-03-021-1/+1
|\ \ | | | | | | | | | | | | | | | [FriendlyErrors] Include Gemfile in error report This way, we don't continuously have to ask for them
| * | [FriendlyErrors] Include Gemfile in error reportseg-error-template-gemfileSamuel Giddins2017-02-271-1/+1
| | |
* | | Auto merge of #5464 - olleolleolle:patch-3, r=segiddinsThe Bundler Bot2017-03-012-1/+31
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updater.rb: Avoid using String method on nil This code in Compact Index Client expected there to _be_ an ETag header in the response: ```ruby response_etag = response["ETag"].gsub(%r{\AW/}, "") ``` This PR handles that case when an ETag header may not be available in the `response`. If so, we won't try to update any cache. ~**Questions**: Would it be better with a non-empty string default? Something along the lines of "No ETag header found in response"?~ Closes #5463 --- Continuation of this work: Use artifice to imitate Net::HTTP interactions - see https://github.com/bundler/bundler/commit/fb8d40c3462751e5853f76e2cd342b8b9a4b4430 for details
| * | | Spec: Regression test for https://github.com/bundler/bundler/issues/5463Olle Jonsson2017-02-251-0/+30
| | | |
| * | | Updater.rb: Avoid using String method on nilOlle Jonsson2017-02-221-1/+1
| |/ / | | | | | | - the ETag header may not be available in the response, if so, we ignore that
* | | Auto merge of #5479 - myersjustinc:man-source-refs, r=segiddinsThe Bundler Bot2017-03-011-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update `Gemfile` docs' link targets for `:source` These two links don't go anywhere in the browser, most likely because 01fc34bebd128d758733261f16d9e9a8523d81d4 changed the text of those (and other) headers. As far as I know (based on a quick search with `/\w+-)/`), these are the only two links with this problem.
| * | | Update `Gemfile` docs' link targets for `:source`Justin Myers2017-02-271-2/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | These two links don't go anywhere in the browser, most likely because 01fc34bebd128d758733261f16d9e9a8523d81d4 changed the text of those (and other) headers. As far as I know (from a quick search with `/\w+-)/`), these are the only two links with this problem.
* | | Auto merge of #5483 - denniss:5430-fix-bundle-outdated-local, r=segiddinsThe Bundler Bot2017-02-282-2/+16
|\ \ \ | | | | | | | | | | | | | | | | | | | | Fix bundle outdated --local. It's supposed to use local cache to dete… Fixes https://github.com/bundler/bundler/issues/5430
| * | | Fix failing spec. Use double quotesDennis Suratna2017-02-271-1/+1
| | | |
| * | | Fix `bundle outdated --local`. It's supposed to use local cache to determine ↵Dennis Suratna2017-02-272-2/+16
| |/ / | | | | | | | | | outdated gems
* | | Auto merge of #5482 - ↵The Bundler Bot2017-02-282-2/+2
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | denniss:5369-fix-disable-checksum-validation-setting-name, r=segiddins Fix disable.checksum_validation to disable_checksum_validation Fix https://github.com/bundler/bundler/issues/5369
| * | Fix disable.checksum_validation to disable_checksum_validationDennis Suratna2017-02-272-2/+2
|/ /
* | Auto merge of #5460 - bundler:seg-sigint-debug-backtrace, r=indirectThe Bundler Bot2017-02-222-1/+5
|\ \ | | | | | | | | | | | | | | | Print a backtrace on SIGINT in debug mode I found this helpful when trying to figure out why bundler was going so slowly
| * | Print a backtrace on SIGINT in debug modeseg-sigint-debug-backtraceSamuel Giddins2017-02-222-1/+5
| |/
* | Auto merge of #5461 - bundler:seg-lazy-specification-nil-platform, r=indirectThe Bundler Bot2017-02-221-1/+1
|\ \ | | | | | | | | | | | | | | | [LazySpecification] Handle when platform is nil in __materialize__ Because a nil platform is the same as RUBY
| * | [LazySpecification] Handle when platform is nil in __materialize__seg-lazy-specification-nil-platformSamuel Giddins2017-02-221-1/+1
| |/
* | Merge tag 'v1.14.5'Samuel Giddins2017-02-222-1/+16
|\ \ | | | | | | | | | Version 1.14.5
| * | Version 1.14.5 with changelogv1.14.5Samuel Giddins2017-02-222-1/+16
| | |
| * | Auto merge of #5436 - ↵The Bundler Bot2017-02-222-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | okkez:fix-frozen-string-literal-error-with-rubygems-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 https://github.com/sickill/rainbow/issues/48 (cherry picked from commit ea4926a54030871cf1b5af15e05043f837f2e7fd)
| * | Auto merge of #5450 - bundler:seg-stub-specification-missing-extensions, ↵The Bundler Bot2017-02-222-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 03519085bd3962dabca67038168e67fb7a0fe6b1)
| * | Auto merge of #5448 - bundler:aa-core-team-alumni, r=indirectThe Bundler Bot2017-02-221-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | Add core team alumni to the gemspec authors None (cherry picked from commit 65719a228a70dd1aa2233cbc4efe40a75e2bff12)
| * | Auto merge of #5427 - bundler:seg-api-missing-dependencies, r=indirectThe Bundler Bot2017-02-2211-4/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fail gracefully when installing a spec where the API is missing deps Fixes https://github.com/bundler/bundler/issues/5426 Closes https://github.com/bundler/bundler/issues/5339 (cherry picked from commit 42215fe7279bd90d48f2d4e09227d327e007b5bc)
| * | Auto merge of #5443 - bundler:seg-resolver-sorting, r=indirectThe Bundler Bot2017-02-222-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [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 cc4414ca7cfe76989ecbefec8408e2c26cdaf71d)
| * | Auto merge of #5440 - wjordan:fips_enabled_compact_index, r=indirectThe Bundler Bot2017-02-222-15/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 13f4cc1a8d8aea5c97f9197f8aa192d68a1f03fa)
| * | Auto merge of #5417 - seban:document-mirror-fallback-timeout-option, r=segiddinsThe Bundler Bot2017-02-221-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add documentation for mirror.fallback_timeout option. As suggested in https://github.com/bundler/bundler/pull/5403#issuecomment-278384552 instead of changing parsing `mirror.fallback_timeout` I added documentation for it. Pull request https://github.com/bundler/bundler/pull/5403 can be closed. (cherry picked from commit f23034bf4c48a69fd2250cd7717eeedb4ac85216)
| * | Auto merge of #5439 - danielpclark:patch_gh_username, r=segiddinsThe Bundler Bot2017-02-223-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 14bfe7a9321b319abd24bfe6dfbb128d71e26e79)
| * | Auto merge of #5435 - bundler:aa-rm-post-install, r=indirectThe Bundler Bot2017-02-221-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 713ea1086efe9545a1c473a6d59ec6a0f6e1b97a)
| * | Auto merge of #5388 - rhenium:topic/defer-requiring-rubygems-spec_fetcher, ↵The Bundler Bot2017-02-225-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: https://github.com/bundler/bundler/issues/5235 Fixes: https://github.com/ruby/openssl/issues/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 c7f3d05ec03326d4c6bac6b26ba41f06f0236e66)
| * | Auto merge of #5421 - bundler:seg-read-only-fs-no-global-settings, r=indirectThe Bundler Bot2017-02-226-3/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | Don't read global settings on a read-only FS with no $HOME Closes https://github.com/bundler/bundler/issues/5371 This is an alternative to https://github.com/bundler/bundler/pull/5385 (cherry picked from commit 42b1e1b9c3f4b3a45cd27214ef656911951b4d94)
| * | Auto merge of #5266 - bundler:seg-install-frozen-gemspec-deps-changed, ↵The Bundler Bot2017-02-228-20/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r=indirect [Definition] Fail when installing in frozen mode & gemspec deps have changed Closes #5264 - [x] Specs (cherry picked from commit cb73a5c08b413d5aedf3e05c7dfd30b2c010342b)
* | | Auto merge of #5459 - bundler:seg-bundler-plugin-source-api-const-undefined, ↵The Bundler Bot2017-02-213-1/+31
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | r=indirect Avoid undefined Bundler::Plugin::API::Source exception Fixes #5409, with a test!
| * | Avoid undefined Bundler::Plugin::API::Source exceptionseg-bundler-plugin-source-api-const-undefinedSamuel Giddins2017-02-223-1/+31
| | |
* | | Auto merge of #5455 - googya:master, r=colby-swandaleThe Bundler Bot2017-02-218-17/+17
|\ \ \ | | | | | | | | | | | | | | | | | | | | fix typo fix typo
| * | | fix typoleslie.wen2017-02-218-17/+17
| |/ /
* | | Auto merge of #5374 - colby-swandale:bundle-info, r=indirectThe Bundler Bot2017-02-216-2/+135
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | skip default gem test for 1.9.3Colby Swandale2017-02-191-1/+1
| | | |
| * | | check if gem_spec responds to default_gemColby Swandale2017-02-191-2/+2
| | | |
| * | | rubocop fixesColby Swandale2017-02-191-2/+2
| | | |
| * | | fix info documentation that was referencing showColby Swandale2017-02-191-1/+1
| | | |
| * | | cleanup and add output for default gemColby Swandale2017-02-192-11/+21
| | | |
| * | | remove version strings in rdoc specColby Swandale2017-02-131-2/+2
| | | |
| * | | fix breaking test with missing `RSpec.`Colby Swandale2017-02-131-1/+1
| | | |
| * | | rubocop fixesColby Swandale2017-01-271-0/+1
| | | |
| * | | add bundle-info man pageColby Swandale2017-01-271-0/+17
| | | |
| * | | allow info for default gemsColby Swandale2017-01-272-1/+16
| | | |
| * | | fix rubocop issuesColby Swandale2017-01-272-6/+6
| | | |
| * | | removed deprecation warning from bundle showColby Swandale2017-01-271-4/+0
| | | |