summaryrefslogtreecommitdiff
path: root/lib/bundler
AgeCommit message (Collapse)Author
2023-07-31[rubygems/rubygems] update Magnus library in Rust extension gem templateMat Sadler
https://github.com/rubygems/rubygems/commit/19a92a3367
2023-07-30[rubygems/rubygems] Use the dedicated method to convert file pathNobuyoshi Nakada
The dedicated method `File.path` to deal with pathname-like objects has been provided since ruby 1.9.0. Also adds a test for rubygems/rubygems#6837. https://github.com/rubygems/rubygems/commit/258c6eda80
2023-07-28Use Gem::BUNDLED_GEMS::SINCEHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/8126
2023-07-27[rubygems/rubygems] Restore support for Pathname objects in the replaced requireXavier Noria
https://github.com/rubygems/rubygems/commit/f7b4282ef7
2023-07-25[rubygems/rubygems] bin/rubocop -AHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/e8a4184429
2023-07-25[rubygems/rubygems] Extract Gem::BUNDLED_GEMS from BundlerHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/e30e86aa60
2023-07-25[rubygems/rubygems] Skip warnings if bundled gems is already loadedHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/9583a7eb82
2023-07-25[rubygems/rubygems] Use Kernel.singleton_classHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/f2e8e054df
2023-07-25[rubygems/rubygems] Don't reuse require argumentHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/1712cd6149
2023-07-25[rubygems/rubygems] Added warnings targets for old version of RubyHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/d0c1d97105
2023-07-25[rubygems/rubygems] Added Ruby version for bundled gems to warningsHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/d61c1362e7
2023-07-25[rubygems/rubygems] Simplefied conditionHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/5238fcf234
2023-07-25[rubygems/rubygems] make bundled gemst list as constant under Gem namespaceHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/438eac5447
2023-07-25[rubygems/rubygems] Also check Kernel.require for infinite loopHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/961d9ac1bd
2023-07-25[rubygems/rubygems] Avoid infinite call of requireHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/9c345bfa3e
2023-07-25[rubygems/rubygems] Keep Kernel#require privateHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/cd59e73efa
2023-07-25[rubygems/rubygems] Don't use redefine_methodHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/f733f90110
2023-07-25[rubygems/rubygems] Warn if file is loaded without GemfileHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/bf59dcdad1
2023-07-24[rubygems/rubygems] Bundler: Update bundle-outdated(1) manKentaro Takeyama
Updated output examples to current format since the output format has changed since version 2.2.0.dev https://github.com/rubygems/rubygems/commit/48d98f906a
2023-07-24[rubygems/rubygems] Rename local to lockfile and global to systemHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/456fd05d3a
2023-07-24[rubygems/rubygems] Avoid printing using messages when version has not changedDavid Rodríguez
https://github.com/rubygems/rubygems/commit/9635a2fd74
2023-07-24[rubygems/rubygems] Exclude Bundler from missing locked dependencies checkDavid Rodríguez
Bundler is special since it's not actually locked in the lockfile as a regular gem (only via `BUNDLED WITH`). So exclude it from that check. https://github.com/rubygems/rubygems/commit/9f1756ec47
2023-07-13[rubygems/rubygems] Don't run any git commands when sorting and comparing ↵David Rodríguez
git sources Previously, when sorting and comparing git Gemfile vs lockfile sources during `bundler/setup` to figure out whether we need to re-resolve or not, we would try to find the default branch if nothing more specific was specified in the Gemfile. If the git cache has been deleted thought, that would fail. The error would still be swallowed (and the branch would simply not be displayed), but trying to clone would still generate the side effect of creating the parent folder for the clone. That could affect non-writable systems that don't expect `bundler/setup` to write to the filesystem at all. To fix this, override `Bundler::Source::Git#identifier` to use exclusively static information, so it does not even try to clone the repo nor generate any side effects. https://github.com/rubygems/rubygems/commit/582eb2ef39
2023-07-13[rubygems/rubygems] restart with BUNDLE_VERSION if it's specifiedHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/57cfe7cf8d
2023-07-13[rubygems/rubygems] Introduce bundle config set version featureHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/c431a1df52
2023-07-12[rubygems/rubygems] Update GitHub organization of Standard RubyKoichi ITO
## What was the end-user or developer problem that led to this PR? The old URL https://github.com/testdouble/standard is mentioned. ## What is your fix for the problem, implemented in this PR? This PR updates to the new URL https://github.com/standardrb/standard. https://github.com/rubygems/rubygems/commit/eeafba72fc
2023-07-10[rubygems/rubygems] Use `File::NULL` instead of hard coded null device namesNobuyoshi Nakada
https://github.com/rubygems/rubygems/commit/44fe8e7f50
2023-07-05Sync man pagesParadoxV5
Co-Authored-By: David Rodríguez <2887858+deivid-rodriguez@users.noreply.github.com>
2023-07-05[rubygems/rubygems] `gemfile.5`: Quote default glob to escape MarkdownJimmy H
For consistency, I chose code format over plaintext escaping.
2023-07-04[rubygems/rubygems] Fix git source lockfile unstabilityDavid Rodríguez
We have some flags that limit running git commit commands under certain situations, for example, when running under `--local`. However, those should only affect remote git operations, not local read-only operations like `git --version`, or `git rev-parse --abbrev-ref HEAD`. This commit refactors things to achieve that. By doing this, the `#to_s` representation of a source is more consistent, since we don't get any errors when reading the checked out branch, and we avoid some flip-flop lockfile issues. https://github.com/rubygems/rubygems/commit/4a529fce81
2023-07-04[rubygems/rubygems] When printing frozen errors, print only Gemfile informationDavid Rodríguez
https://github.com/rubygems/rubygems/commit/93f74abc5f
2023-07-04[rubygems/rubygems] Fix another incorrect removal of "ruby" platform from ↵David Rodríguez
lockfile When dependencies in path sources have changed, we'll be re-resolving, and we can't really know whether the resolution will be valid or invalid for the Ruby platform, so skip the removal in that case. https://github.com/rubygems/rubygems/commit/afc3b0956f
2023-06-30[rubygems/rubygems] Bump vendored net-http-persistent to 4.0.2David Rodríguez
https://github.com/rubygems/rubygems/commit/b0edf39083
2023-06-29Merge URI-0.12.2 for BundlerHiroshi SHIBATA
2023-06-20Merge rubygems/rubygems HEADHiroshi SHIBATA
Pick from https://github.com/rubygems/rubygems/commit/880dd95996c93adc1e032399816931b243c5fe17 Notes: Merged: https://github.com/ruby/ruby/pull/7961
2023-06-16[rubygems/rubygems] Auto-correct Performance/FlatMapHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/b696edcd73
2023-06-15Merge rubygems/rubygems HEADHiroshi SHIBATA
Pick from https://github.com/rubygems/rubygems/commit/7a7b234721c375874b7e22b1c5b14925b943f04e
2023-06-15[rubygems/rubygems] auto-correct Style/YodaConditionHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/6d9e8025dc
2023-06-15[rubygems/rubygems] Improve error message in frozen mode edge caseDavid Rodríguez
When a top level dependency is missing from the lockfile, and we're in frozen mode, we should also print a "frozen error". https://github.com/rubygems/rubygems/commit/3e82b835e3
2023-06-15[rubygems/rubygems] Improve frozen mode error messageDavid Rodríguez
This error message is also printed when using `bundler/setup` in frozen model, so we're not necessarily installing any gems when it happens. This new message play nicer with all situations. https://github.com/rubygems/rubygems/commit/6874bbacce
2023-06-15[rubygems/rubygems] Use "frozen" rather than "deployment" in error messageDavid Rodríguez
I think it communicates better what's going on. https://github.com/rubygems/rubygems/commit/07a25767a4
2023-06-15[rubygems/rubygems] Show missing spec in lockfile incomplete error messageDavid Rodríguez
https://github.com/rubygems/rubygems/commit/b86caaa3d5
2023-06-15[rubygems/rubygems] Extract `Definition#no_resolved_needed?`David Rodríguez
https://github.com/rubygems/rubygems/commit/1ff8626571
2023-06-15[rubygems/rubygems] There should always be a reasonDavid Rodríguez
https://github.com/rubygems/rubygems/commit/4180008c2d
2023-06-15[rubygems/rubygems] Show relative path to Gemfile in error messageDavid Rodríguez
For conciseness and consistency with printing the relative path to the lockfile just before. https://github.com/rubygems/rubygems/commit/74cf6aea7c
2023-06-15[rubygems/rubygems] Remove weird line breaks in the middle of error messageDavid Rodríguez
https://github.com/rubygems/rubygems/commit/22b8caf42f
2023-06-15[rubygems/rubygems] Simplify checking Gemfile vs lockfile sourcesDavid Rodríguez
https://github.com/rubygems/rubygems/commit/251e80aec6
2023-06-15[rubygems/rubygems] Make frozen mode spec also pass on Bundler 3David Rodríguez
https://github.com/rubygems/rubygems/commit/ad52f840f2
2023-06-08[rubygems/rubygems] Stop publishing Gemfile in default gem templateGareth Adams
Similarly to how the other ignored files are intended for local development and not for production, the Gemfile and Gemfile.lock files for a gem only relate to local development and aren't useful to people installing the gem. https://github.com/rubygems/rubygems/commit/59049c04be
2023-06-06[rubygems/rubygems] Delay cache access in `LockfileParser`David Rodríguez
It's the only part that needs "root folder resultion" to figure out the folder for the cache, but it's only needed for some things, so run that logic lazily when needed. https://github.com/rubygems/rubygems/commit/c7b9eae0bc