summaryrefslogtreecommitdiff
path: root/spec/bundler/support
AgeCommit message (Collapse)Author
2025-05-28Revert "Revert ↵David Rodríguez
https://github.com/rubygems/rubygems/commit/d74fa0fdda481043112f9de179be572b74a711ed" This reverts commit 7dcfdf1d7d1b1d13ab9bdc6f2b4bb89c78629332.
2025-05-28Initialize `gems` tmp when initializing bundled_gems_spec suiteDavid Rodríguez
That way it works even if no Bundler specs have run before.
2025-05-23Revert ↵Hiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/d74fa0fdda481043112f9de179be572b74a711ed
2025-05-22Merge RubyGems-3.6.8 and Bundler-2.6.8Hiroshi SHIBATA
2025-04-08Merge RubyGems-3.6.7 and Bundler-2.6.7Hiroshi SHIBATA
2025-04-08Merge RubyGems-3.6.6 and Bundler-2.6.6Hiroshi SHIBATA
2025-02-20Merge RubyGems-3.6.5 and Bundler-2.6.5Hiroshi SHIBATA
2025-02-20Merge RubyGems-3.6.4 and Bundler-2.6.4Hiroshi SHIBATA
2025-02-20Merge RubyGems-3.6.3 and Bundler-2.6.3Hiroshi SHIBATA
2024-12-13[rubygems/rubygems] Add note about why we don't use `Open3`David Rodríguez
https://github.com/rubygems/rubygems/commit/72316ed2fa
2024-12-13[rubygems/rubygems] No need for `--quiet` since we hide output by defaultDavid Rodríguez
https://github.com/rubygems/rubygems/commit/77133a23f5
2024-12-13[rubygems/rubygems] Don't print a bunch of blank lines when setting up ↵David Rodríguez
dependencies https://github.com/rubygems/rubygems/commit/48fd2d0514
2024-12-04[rubygems/rubygems] allow `bat` files to be created alongside with script ↵sodacris
files on Windows https://github.com/rubygems/rubygems/commit/ed5b847f03
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-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-19Test with sinatra to 4.1.0David Rodríguez
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-10-10[rubygems/rubygems] Fix specs with missing extensions getting activatedDavid Rodríguez
https://github.com/rubygems/rubygems/commit/c80998a22a
2024-10-10[rubygems/rubygems] Fix warnings about old C styleDavid Rodríguez
https://github.com/rubygems/rubygems/commit/f40610b699
2024-10-08[rubygems/rubygems] Give `gem install` commands more timeDavid Rodríguez
https://github.com/rubygems/rubygems/commit/44f3ae4bc8
2024-10-08[rubygems/rubygems] Remove more unnecessary ENV modificationsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/457b25df1a
2024-10-08[rubygems/rubygems] Pass `--verbose` to realworld gem installationDavid Rodríguez
In case it gives us some useful debugging output when it fails. https://github.com/rubygems/rubygems/commit/d781416483
2024-10-08[rubygems/rubygems] Don't modify ENV when installing realworld gemsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/b75319aa96
2024-10-04[rubygems/rubygems] Update spec rubygems_extSamuel Giddins
Signed-off-by: Samuel Giddins <segiddins@segiddins.me> https://github.com/rubygems/rubygems/commit/1ef33fa0af
2024-09-20[rubygems/rubygems] Disallow RubyGems warnings during Bundler test suiteDavid Rodríguez
https://github.com/rubygems/rubygems/commit/472371ee1e
2024-09-20[rubygems/rubygems] I don't think we need a conditional shebangDavid Rodríguez
https://github.com/rubygems/rubygems/commit/7ba7073a35
2024-09-20[rubygems/rubygems] Fix RubyGems warnings about missing shebangDavid Rodríguez
https://github.com/rubygems/rubygems/commit/362c960497
2024-09-20[rubygems/rubygems] Fix RubyGems warnings about incorrect executable permissionsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/92dcf60fc1
2024-09-20[rubygems/rubygems] Fix RubyGems warnings about minimum required RubyDavid Rodríguez
https://github.com/rubygems/rubygems/commit/8f262f3a47
2024-09-13[rubygems/rubygems] Remove `BUNDLER_IGNORE_DEFAULT_GEM`David Rodríguez
As long as we use a high enough test version, the default version of Bundler should never get in the middle. https://github.com/rubygems/rubygems/commit/d63f0818aa
2024-09-02[rubygems/rubygems] Make ruby-core check not depend on ENVDavid Rodríguez
I found it useful to be able to use `GEM_COMMAND` outside of a ruby-core env, so I made the ruby-core env detection not depend on it. https://github.com/rubygems/rubygems/commit/6cb389c290
2024-08-21[rubygems/rubygems] Add better error when trying to develop RubyGems with an ↵David Rodríguez
unsupported Ruby version https://github.com/rubygems/rubygems/commit/9d41c4088a
2024-08-05[rubygems/rubygems] Extract a `build_repo3` helperDavid Rodríguez
https://github.com/rubygems/rubygems/commit/d8cf4aa0cd
2024-07-30[rubygems/rubygems] Allow smoother breaking changes in test envDavid Rodríguez
https://github.com/rubygems/rubygems/commit/0fc3feae19
2024-07-26[rubygems/rubygems] Make all tests still pass when switching from ↵David Rodríguez
truffleruby to cruby https://github.com/rubygems/rubygems/commit/4f3d9fa3bf
2024-07-26[rubygems/rubygems] Make test env resilient to ruby version changesDavid Rodríguez
We use pre-existence of `rake_path` to decide whether we need to regenerate dummy test gems in `tmp`. When changing rubies, the previous implementation will believe that the correct `rake_path` exists and avoids regenerating dummy gems, given an error like the following when specs are run: ``` (...) Could not find rubygems-generate_index lib directory in /path/to/rubygems/bundler/tmp/1/gems/base/ruby/3.2.0 # ./spec/support/builders.rb:253:in `block in update_repo' # ./spec/support/helpers.rb:337:in `block in with_gem_path_as' # ./spec/support/helpers.rb:351:in `without_env_side_effects' # ./spec/support/helpers.rb:332:in `with_gem_path_as' # ./spec/support/builders.rb:251:in `update_repo' # ./spec/support/builders.rb:228:in `build_repo' # ./spec/support/builders.rb:197:in `build_repo4' # ./spec/commands/lock_spec.rb:103:in `block (2 levels) in <top (required)>' (...) ``` To fix this, fix the part of the path that depends on the implementation and the Ruby version so that we don't give false positives. https://github.com/rubygems/rubygems/commit/fafacfa210
2024-07-23[rubygems/rubygems] Enable checksums on Bundler 3 for fresh lockfilesDavid Rodríguez
And get specs passing. https://github.com/rubygems/rubygems/commit/c23b5f5b84
2024-07-23[rubygems/rubygems] Extract a `rake_path` helperDavid Rodríguez
https://github.com/rubygems/rubygems/commit/0f2db73619
2024-07-23[rubygems/rubygems] Enforce passing a block to `simulate_platform`David Rodríguez
https://github.com/rubygems/rubygems/commit/0658903e25
2024-07-18[rubygems/rubygems] Ext is generally not in `require_paths`David Rodríguez
https://github.com/rubygems/rubygems/commit/83b417a166
2024-07-18[rubygems/rubygems] Use `caller_locations` instead of splitting `caller`Nobuyoshi Nakada
Also limit caller ranges https://github.com/rubygems/rubygems/commit/a274b1af78
2024-07-18[rubygems/rubygems] Fix detection of `gem_repo1` being updatedDavid Rodríguez
https://github.com/rubygems/rubygems/commit/9f9493c77c
2024-07-09[rubygems/rubygems] Minor Bundler spec improvementsDavid Rodríguez
While working on something else I noticed: * Usage of uppercased "RUBY" and "JAVA" as platforms, when those don't really exist. * Usage of some test gems with "1.0" as gemspec version and "1.0.0" as actual version. This commit fixes both inconsistencies to make things more expectable. https://github.com/rubygems/rubygems/commit/e3ec32e247
2024-06-28Synchronize Bundler & RubyGems (#11071)David Rodríguez
2024-06-28[rubygems/rubygems] Avoid concurrent builds of Bundler when running specsDavid Rodriguez
Instead, build it during setup when in CI. This should avoid some Windows specific test failures when Bundler copies the same files from multiple processes and runs into EACESS errors. https://github.com/rubygems/rubygems/commit/c194a1d753
2024-06-20[rubygems/rubygems] Move constant to the proper placeDavid Rodríguez
https://github.com/rubygems/rubygems/commit/9f08241d01
2024-06-19[rubygems/rubygems] Use get_byte_ranges instead of byte_rangesHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/5c2ad44c18