summaryrefslogtreecommitdiff
path: root/lib/bundler/cli
AgeCommit message (Collapse)Author
3 days[rubygems/rubygems] Validate dependencies when doing bundle installRandy Stauner
https://github.com/rubygems/rubygems/commit/b0983f392f
8 daysMove most of Bundler::GemHelpers to Gem::PlatformSamuel Giddins
This will help centralize wheel platform selection logic eventually Signed-off-by: Samuel Giddins <[email protected]>
11 days[rubygems/rubygems] Only ignore `.gitignore` when generating gems with gitTangRufus
https://github.com/rubygems/rubygems/commit/aec5a7887d
11 days[rubygems/rubygems] Ignore `Gemfile`, `gems.rb` & `gems.locked` according to ↵TangRufus
`init_gems_rb` preference https://github.com/rubygems/rubygems/commit/88aeb66f41
11 days[rubygems/rubygems] Remove `.git` from `spec.files` default ignore listTangRufus
https://github.com/rubygems/rubygems/commit/4f96e12ff3
11 days[rubygems/rubygems] Rename `ignore_files` to `ignore_paths`TangRufus
https://github.com/rubygems/rubygems/commit/c07e3a88aa
11 days[rubygems/rubygems] Add `.gitignore`, `gems.rb` & `gems.locked` into ↵TangRufus
`spec.files` default ignore list https://github.com/rubygems/rubygems/commit/6390ed7a2b
11 days[rubygems/rubygems] Remove `features/` from `spec.files` default ignore listTangRufus
https://github.com/rubygems/rubygems/commit/77ba4192a7
11 days[rubygems/rubygems] Only ignore `test/` when generating gems with `minitest` ↵TangRufus
or `test-unit` https://github.com/rubygems/rubygems/commit/c464f2036a
11 days[rubygems/rubygems] Suffix `.circleci` with `/` in `spec.files` in the ↵TangRufus
`.gemspec` template https://github.com/rubygems/rubygems/commit/e48c6beaf6
11 days[rubygems/rubygems] Suffix `.github` with `/` in `spec.files` in the ↵TangRufus
`.gemspec` template https://github.com/rubygems/rubygems/commit/edf13f7e60
11 days[rubygems/rubygems] Exclude `spec` from `spec.files` in the `.gemspec` ↵TangRufus
template only when using RSpec https://github.com/rubygems/rubygems/commit/a42387b8be
11 days[rubygems/rubygems] Exclude `.rspec` from `spec.files` in the `.gemspec` ↵TangRufus
template https://github.com/rubygems/rubygems/commit/331901941d
11 days[rubygems/rubygems] Exclude `.rubocop.yml` and `.standard.yml` from ↵TangRufus
`spec.files` in the `.gemspec` template https://github.com/rubygems/rubygems/commit/9d937d4f7f
11 days[rubygems/rubygems] Remove `appveyor` from `spec.files` default ignore listTangRufus
https://github.com/rubygems/rubygems/commit/2f2046c97b
11 days[rubygems/rubygems] Refactor `spec.files` ignore list generationTangRufus
https://github.com/rubygems/rubygems/commit/c11539f325
2025-05-26[rubygems/rubygems] Remove reference to validate_rust_builder_rubygems_versionSamuel Giddins
Signed-off-by: Samuel Giddins <[email protected]> https://github.com/rubygems/rubygems/commit/f8baf13ab0
2025-05-26[rubygems/rubygems] Bump required_ruby_version to 3.2Samuel Giddins
Ruby 3.1 was EOL March 2025 Signed-off-by: Samuel Giddins <[email protected]> https://github.com/rubygems/rubygems/commit/29c21b1e78
2025-05-12[rubygems/rubygems] Fix doctor command parsing of otool outputRandy Stauner
I have several gem dylibs that have a line matching "(compatibility " with no file path preceding it. https://github.com/rubygems/rubygems/commit/de9dc2bdc4
2025-04-22[rubygems/rubygems] Warn if TLS 1.2 is not supportedEdouard CHIN
https://github.com/rubygems/rubygems/commit/e4f70a3e4f
2025-04-22[rubygems/rubygems] Summarize the diagnosticEdouard CHIN
https://github.com/rubygems/rubygems/commit/40cf54d256
2025-04-22[rubygems/rubygems] Diagnose the bare net/http connectionEdouard CHIN
https://github.com/rubygems/rubygems/commit/38a0bdc123
2025-04-22[rubygems/rubygems] Diagnose the RubyGems connectionEdouard CHIN
https://github.com/rubygems/rubygems/commit/bf63859e1e
2025-04-22[rubygems/rubygems] Diagnose the bundler connectionEdouard CHIN
https://github.com/rubygems/rubygems/commit/0aae094c89
2025-04-22[rubygems/rubygems] Diagnose when OpenSSL can't be loaded.Edouard CHIN
https://github.com/rubygems/rubygems/commit/e6aa8aabcd
2025-04-22[rubygems/rubygems] Add the `bundle doctor subcommand` skeleton:Edouard CHIN
- The command can either be run using: 1. `bundle doctor --ssl` 2. `bundle doctor ssl` The later is most useful when you need to specify custom ssl options (such as the verify mode or the TLS version when running the diagnostic). The implementation will follow in the next commits. https://github.com/rubygems/rubygems/commit/993d12874c
2025-04-22[rubygems/rubygems] Define `bundler doctor` as a subcommandEdouard CHIN
- See explanation in previous commit https://github.com/rubygems/rubygems/commit/170890befb4c https://github.com/rubygems/rubygems/commit/8f1b5a4479
2025-04-22Move the doctor command into a subfolder:Edouard CHIN
- Adding a new `ssl` option to bundle doctor will make the `Doctor` command quite bloated. The "diagnose ssl" option will also have children option to allow passing which host or which tls version you want to diagnose and I feel these options don't belong in the doctor command. So my intention in this commit is to prepare to have a new `Doctor` subcommand and allow for better organisation of the code: The command will be: `bundle doctor` -> Run exactly the same as before. `bundle doctor --ssl` -> Run the doctor command and diagnose SSL with default options (rubygems.org as the host and verify peer as the verify mode) `bundle doctor ssl --host github.com` -> Run the ssl subcommand and pass a specific host. This commit just renames a file in order to avoid big diff chunks.
2025-03-10[rubygems/rubygems] Switch inject to use shorthand hash syntaxSean Collins
https://github.com/rubygems/rubygems/commit/ba5a62fd04 Notes: Merged: https://github.com/ruby/ruby/pull/12890
2025-02-25[rubygems/rubygems] Refactor handling platform removalsDavid Rodríguez
And make it consistent with platform additions. https://github.com/rubygems/rubygems/commit/64342ae404 Notes: Merged: https://github.com/ruby/ruby/pull/12804
2025-02-25[rubygems/rubygems] Modify `bundle doctor` to not report issue when files ↵Edouard CHIN
aren't writable: - ### Problem Running `bundle doctor` warn about files that aren't writable. This makes the output of `bundle doctor` very verbose for something I believe isn't really an issue. ### Context Rubygems keeps the files original permission at the time the gem is packaged. Many gem maintainers have decided that the permissions of the files in their bundled would be 0444, this includes amongst others: minitest, selenium, brakeman... Any git gems that had a 0444 permissions at some point in its git history would also be reported (as bundle doctor look in the `cache/bundler/git/<gem>/object` path). While it completely make sense to report when files aren't readable, maybe it's worth questioning the usefulness of reporting files that can't be written and what problem this causes to the user (if any). ### Solution Removed the check for unwritable file. ### Side note I also tweaked the "No issues ..." message logic as it was doing the opposite (reporting an issue when there is none and vice versa). This wasn't caught in tests because as a stub on `Bundler.ui.info` was missing. https://github.com/rubygems/rubygems/commit/9a426b9495 Notes: Merged: https://github.com/ruby/ruby/pull/12804
2025-02-06[rubygems/rubygems] Refine messages about gem installations being missingDavid Rodríguez
The previous wording was too specific, there may be situations when the gem has actually never installed (so never deleted either). https://github.com/rubygems/rubygems/commit/e4a0d71fbe
2025-02-05Expand stub-out scope of Fiddle.dlopenHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12616
2025-01-31[rubygems/rubygems] Fix `bundle console` unnecessarily trying to load IRB twiceDavid Rodríguez
https://github.com/rubygems/rubygems/commit/f9bf58573f
2025-01-31[rubygems/rubygems] Remove unnecessary error handlingDavid Rodríguez
These gems always define their main namespace and I don't think that will ever change. https://github.com/rubygems/rubygems/commit/6663cbed53
2025-01-20[rubygems/rubygems] Fix broken link in `bundle issue` outputDavid Rodríguez
https://github.com/rubygems/rubygems/commit/0909f07f30
2024-12-26[rubygems/rubygems] Fix `bundle outdated <GEM>` failing if gems not installedDavid Rodríguez
https://github.com/rubygems/rubygems/commit/694d5f444e
2024-12-04[rubygems/rubygems] add relative path support for `bundle exec`sodacris
https://github.com/rubygems/rubygems/commit/c982085f86
2024-11-26[rubygems/rubygems] Enable `Performance/MapCompact` copDavid Rodríguez
https://github.com/rubygems/rubygems/commit/0c3a65871a
2024-11-26[rubygems/rubygems] More aggressive `Performance/FlatMap` cop configurationDavid Rodríguez
https://github.com/rubygems/rubygems/commit/d8d68cc00e
2024-11-25[rubygems/rubygems] Fix `bundle lock --add-checksums`David Rodríguez
Due to a typo in the spec, the issue was not caught initially. If Bundler does not need to re-resolve, `bundle lock` is a noop so Bundler does not add checksums. To fix the issue, we do something similar to what `bundle install` does, just without actually installation. First set the domain (local or remote) according to whether a re-resolve is necessary, and then materialize lazy specifications into real specifications, so that checksums are actually fetched from each source. https://github.com/rubygems/rubygems/commit/84b6f4ee96
2024-11-25[rubygems/rubygems] Most of the times, eagerly resolving is not necessaryDavid Rodríguez
All we need is to setup remote or local sources appropriately. https://github.com/rubygems/rubygems/commit/3ceff46a2a
2024-11-21[rubygems/rubygems] Remove override of worker jobs for `bundle install --local`Lars Kanis
There seems to be no reason why the install should be serial for --local. The packages are still installed in the right dependency order in this case, so that parallel install can be used. This patch disables parallel install only in case of no_install_needed. Also remove the `option` argument, which is effectifely not used. https://github.com/rubygems/rubygems/commit/5da934ddb6
2024-11-11[rubygems/rubygems] Cancel `bundle console` deprecationDavid Rodríguez
https://github.com/rubygems/rubygems/commit/506a863b36
2024-11-08[rubygems/rubygems] Add `bundle lock --add-checksums` to add checksums to an ↵David Rodríguez
existing lockfile https://github.com/rubygems/rubygems/commit/0a9c1ce60d
2024-10-26Normalize lockfile platformsDavid Rodríguez
2024-10-18[rubygems/rubygems] Add `bundle add --quiet` optionJerome Dalbert
This option is similar to the `bundle install --quiet` option https://github.com/rubygems/rubygems/commit/3bd773d827
2024-10-16[rubygems/rubygems] Fix `bundle check` sometimes locking gems under the ↵David Rodríguez
wrong source https://github.com/rubygems/rubygems/commit/1e5780db0a Co-authored-by: Taylor Thurlow <[email protected]>
2024-10-16[rubygems/rubygems] Lock definition directlyDavid Rodríguez
https://github.com/rubygems/rubygems/commit/55eb6630a8
2024-10-04[rubygems/rubygems] Update required_ruby_version to 3.1Samuel Giddins
3.0 has been EOL since march, drop support for it before the 3.4 release is cut Signed-off-by: Samuel Giddins <[email protected]> https://github.com/rubygems/rubygems/commit/fc1f03b06a