| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| |
| | |
[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
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | | |
[FriendlyErrors] Include Gemfile in error report
This way, we don't continuously have to ask for them
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | | |
|
| |/ /
| | |
| | | |
- the ETag header may not be available in the response, if so, we ignore that
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
Fix bundle outdated --local. It's supposed to use local cache to dete…
Fixes https://github.com/bundler/bundler/issues/5430
|
| | | | |
|
| |/ /
| | |
| | |
| | | |
outdated gems
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | | |
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
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | |
| | | |
Print a backtrace on SIGINT in debug mode
I found this helpful when trying to figure out why bundler was going so slowly
|
| |/ |
|
|\ \
| | |
| | |
| | |
| | |
| | | |
[LazySpecification] Handle when platform is nil in __materialize__
Because a nil platform is the same as RUBY
|
| |/ |
|
|\ \
| | |
| | |
| | | |
Version 1.14.5
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add core team alumni to the gemspec authors
None
(cherry picked from commit 65719a228a70dd1aa2233cbc4efe40a75e2bff12)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
[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)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
r=indirect
[Definition] Fail when installing in frozen mode & gemspec deps have changed
Closes #5264
- [x] Specs
(cherry picked from commit cb73a5c08b413d5aedf3e05c7dfd30b2c010342b)
|
|\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | | |
r=indirect
Avoid undefined Bundler::Plugin::API::Source exception
Fixes #5409, with a test!
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
fix typo
fix typo
|
| |/ / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|