summaryrefslogtreecommitdiff
path: root/spec/bundler
AgeCommit message (Collapse)Author
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] Fix test task name on generated readme when using test-unitgemmaro
* bundler/lib/bundler/templates/newgem/README.md.tt (Development): Use the test_task value to get the correct test task name ("test", not "test-unit"). * bundler/spec/commands/newgem_spec.rb (README.md): Add tests for test task names for each test frameworks. https://github.com/rubygems/rubygems/commit/2a24708a63
2024-11-25[rubygems/rubygems] Fix gemfury credentials getting written to logs in ↵David Rodríguez
verbose mode https://github.com/rubygems/rubygems/commit/585a6a89d4
2024-11-25[rubygems/rubygems] Improve index fetcher specsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/09e0971ab8
2024-11-22[rubygems/rubygems] fix bundle which commands on windowssodacris
https://github.com/rubygems/rubygems/commit/9e0018d9fe
2024-11-21Ensure that all Bundler commands have a man pageJerome Dalbert
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
2024-11-21[rubygems/rubygems] Fix `bundle remove` sometimes not removing gemsJerome Dalbert
https://github.com/rubygems/rubygems/commit/e7f5f067e8
2024-11-21[rubygems/rubygems] Fix locking of incorrect version of git gem in an edge caseDavid Rodríguez
In particular, when a gem registry transitive dependency is changed to a git source direct dependency. https://github.com/rubygems/rubygems/commit/bcdc7660d9
2024-11-21[rubygems/rubygems] move system_gems let commandssodacris
https://github.com/rubygems/rubygems/commit/1fc1e74f4d
2024-11-21[rubygems/rubygems] Explicitly load build_metadata.rb because ↵Hiroshi SHIBATA
Spec::BuildMetadata is only called from BundlerBuilder. The current code is broken to call Spec::Builders#build_* method directly. https://github.com/rubygems/rubygems/commit/4922ae40dd
2024-11-21[rubygems/rubygems] Silent verbose stdout for dependency of test gemsHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/51854e1982
2024-11-20[rubygems/rubygems] Add man page for 'bundle issue' commandAndrew Nesbitt
https://github.com/rubygems/rubygems/commit/3f39571181
2024-11-19[rubygems/rubygems] Add man page for 'bundle fund' commandAndrew Nesbitt
Signed-off-by: Andrew Nesbitt <andrewnez@gmail.com> https://github.com/rubygems/rubygems/commit/897819da36
2024-11-19[rubygems/rubygems] Fix binstub test bugsodacris
the overwritten binstub in the test has a final new line that makes it not match "OMG" exactly from the beginning, that's why the test passes, but `bintubs` command without `--force` flag is not supposed to update the binstub. This change fixes the test to test what's supposed to update the binstub, and also fixes the assertion that that it will fail in the future if `--force` stops updating the binstub. https://github.com/rubygems/rubygems/commit/dfc9023337
2024-11-19Test with sinatra to 4.1.0David Rodríguez
2024-11-18Move spec directory from bundler examplesHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12111
2024-11-18Don't use Spec::Path.base_system_gem_pathHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12110
2024-11-15Port test_warn_zeitwerk.rb to RSpec exampleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12098
2024-11-15Port test_warn_bootsnap_and_gem.rb to RSpec exampleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12098
2024-11-15Port test_warn_bootsnap_rubyarchdir_gem.rb to RSpec exampleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12098
2024-11-15Port test_warn_bootsnap.rb to RSpec exampleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12098
2024-11-15Port test_no_warn_sub_feature.rb to RSpec exampleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12096
2024-11-15Port test_warn_sub_feature.rb to RSpec exampleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12096
2024-11-15Port -r option test to RSpec examplesHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12096
2024-11-15Port bundle exec with shebang script to RSpec exampleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12096
2024-11-15Port bundle exec warning check to RSpec exampleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12096
2024-11-15Port test_no_warn_dependency.rb to RSpec exampleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12096
2024-11-15Port test_warn_dependency.rb to RSpec exampleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12096
2024-11-15Port test_no_warn_dash_gem.rb to RSpec exampleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12096
2024-11-15Use environmental variable for bundled_gems_spec.rbHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12086
2024-11-15Port test_warn_redefined.rb to RSpec exampleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12086
2024-11-15Port test_warn_dash_gem.rb to RSpec exampleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12086
2024-11-15Port test_warn_bundled_gems.rb to RSpec exampleHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12086
2024-11-14[rubygems/rubygems] Revert "mustermann depends on URI::RFC2396_PARSER behavior"Hiroshi SHIBATA
This reverts commit https://github.com/rubygems/rubygems/commit/82b25dd75afd. https://github.com/rubygems/rubygems/commit/16adf53f23
2024-11-14[rubygems/rubygems] Fix `bin/rake spec:all` taskDavid Rodríguez
Only in CI, if two different test runs are started (like `bin/rake spec:all` does), the second one would not install the dev version of Bundler and would fail to start. This commit makes it work the same locally and in CI. https://github.com/rubygems/rubygems/commit/7a5ca6c40f
2024-11-14[rubygems/rubygems] I don't see how this could happenDavid Rodríguez
https://github.com/rubygems/rubygems/commit/8b6f9b7f05
2024-11-14[rubygems/rubygems] Make sure `bundle viz` specs are actually runDavid Rodríguez
These are marked as realworld, but the realworld workflow file does not install graphviz, so the specs are actually skipped. These are not actually realworld, so remove that tag. Now they'll be run together with the reset of specs in the standard workflow file, which does install `graphviz`. https://github.com/rubygems/rubygems/commit/e865fcaa22
2024-11-13[rubygems/rubygems] Include original error when openssl fails to loadDavid Rodríguez
https://github.com/rubygems/rubygems/commit/440343b791
2024-11-11[rubygems/rubygems] Add a `lockfile_checksums` configuration to include ↵David Rodríguez
checksums in fresh lockfiles https://github.com/rubygems/rubygems/commit/50b9ef8589
2024-11-11[rubygems/rubygems] Cancel `bundle console` deprecationDavid Rodríguez
https://github.com/rubygems/rubygems/commit/506a863b36
2024-11-08[rubygems/rubygems] Fix private registry credentials being written to logssamisalamiws
https://github.com/rubygems/rubygems/commit/d070fa10c1 Co-authored-by: Artem Ignatyev <zazubrik@gmail.com>
2024-11-08[rubygems/rubygems] Warn on insecure materializationDavid Rodríguez
https://github.com/rubygems/rubygems/commit/bc2537de71
2024-11-08[rubygems/rubygems] Fix typoDavid Rodríguez
https://github.com/rubygems/rubygems/commit/f68a2c30bb
2024-11-08[rubygems/rubygems] Simplify tests that deal with lockfile using only "ruby" ↵David Rodríguez
platform Using an old bundler version was necessary at the beginning because we checked the version of Bundler being run in order to enable the new behavior. But we removed that a long time ago and now we only look at whether the lockfile only includes "ruby" as a platform or not. https://github.com/rubygems/rubygems/commit/8fc3d38ff3
2024-11-08[rubygems/rubygems] Make sure platforms in spec lockfile are properly sortedDavid Rodríguez
https://github.com/rubygems/rubygems/commit/99b4ac4548
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-11-07[rubygems/rubygems] Undeprecate Gemfiles without a global sourceDavid Rodríguez
After having a second look at this deprecation, the explanation that we're giving does not make a lot of sense. When working only with local gems, Bundler will indeed generate a different lockfile depending on the latest installed version of each gem is at `bundle install` time. That's the same situation that happens with remote sources: Bundler will generate a different lockfile depending on the latest version of each gem available remotely. So, I don't think "a consistent lockfile not getting generated" is a good motivation for deprecating this. Also, this deprecation brings additional challenges, since for example, it should arguably not get printed when using `bundle install --local`? The original problem when this deprecation was introduced was an incorrect message about a missing gem having been yanked. So, I think a better solution is to, as long as we give proper error messages when things go wrong, let users do what's best for them and undo the deprecation. https://github.com/rubygems/rubygems/commit/17499cb83f
2024-11-06[rubygems/rubygems] This is not about the lockfile anymoreDavid Rodríguez
https://github.com/rubygems/rubygems/commit/f2e0a72291
2024-11-06[rubygems/rubygems] Automatically fix lockfile when the API reveals missing depsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/92196ccfdb
2024-11-06[rubygems/rubygems] Add missing spec for materializing lockfiles with only ↵David Rodríguez
"ruby" platform https://github.com/rubygems/rubygems/commit/4168a7f488