summaryrefslogtreecommitdiff
path: root/spec
AgeCommit message (Collapse)Author
2025-10-29Remove alternatives for ruby 1.8 and earliersNobuyoshi Nakada
2025-10-28Update to ruby/spec@3bc45baAndrew Konchin
2025-10-28[ruby/rubygems] Simulate default gems manuallyHiroshi SHIBATA
https://github.com/ruby/rubygems/commit/c3cc38c72c
2025-10-27[ruby/rubygems] If we use shared GEM_HOME and install multiple versions, it ↵Hiroshi SHIBATA
may cause unexpected test failures. ``` Fetching gem metadata from https://gem.repo4/. Resolving dependencies... Resolving dependencies... # $? => 0 cannot load such file -- diff/lcs ``` https://github.com/ruby/rubygems/commit/668b300261
2025-10-27[ruby/rubygems] Use dummy gem instead of uri.Hiroshi SHIBATA
If we install uri-1.0.4 as default gems. The example may be failed with version miss-match. https://github.com/ruby/rubygems/commit/fd2dcb502b
2025-10-27[ruby/rubygems] FixupHiroshi SHIBATA
https://github.com/ruby/rubygems/commit/9b3a5a8ae9cd https://github.com/ruby/rubygems/commit/8f6eb4ac64
2025-10-20[ruby/rubygems] Now ruby/rubygems is the canonical repository urlHiroshi SHIBATA
https://github.com/ruby/rubygems/commit/c637007e91
2025-10-17[rubygems/rubygems] Postpone to remove legacy mingw platformHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/9b3a5a8ae9
2025-10-15[rubygems/rubygems] Add checksum of gems hosted on private servers:Edouard CHIN
- ### Problem Running `bundle lock --add-checksums` doesn't add the checksum of gems hosted on server that don't implement the compact index API. This result in a lockfile which is unusable in production as some checksums will be missing and Bundler raising an error. Users can work around this problem by running: `BUNDLE_LOCKFILE_CHECKSUMS=true bundle install --force` But this means redownloading and installing all gems which isn't great and slow on large apps. ### Context Bundler uses the Compact Index API to get the checksum of gems, but most private gem servers don't implement the compact index API (such as cloudsmith or packagecloud). This results in a soft failure on bundler side, and bundler leaving out blank checksum for those gems. ### Solution For gems that are hosted on private servers that don't send back the checksum of the gem, I'd like to fallback to the `bundle install` mechanism, which don't rely on an external API but instead compute the checksum of the package installed on disk. This patch goes through the spec that didn't return a checksum, and compute one if the package exists on disk. This solution makes the `bundle lock --add-checksums` command actually usable in real world scenarios while keeping the `bundle lock` command fast enough. https://github.com/rubygems/rubygems/commit/8e9abb5472
2025-10-15[rubygems/rubygems] Added example for global path with GemfileHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/cd1493eec4
2025-10-15[rubygems/rubygems] Removed duplicated examples with bundle installHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/59b909fa74
2025-10-15[rubygems/rubygems] Use `default_cache_path` helper for brevityDavid Rodríguez
https://github.com/rubygems/rubygems/commit/29a12c3d46
2025-10-15[rubygems/rubygems] Test current clean after bundle update behaviorDavid Rodríguez
https://github.com/rubygems/rubygems/commit/c43e35c3ea
2025-10-15[rubygems/rubygems] Restore an accidentally changes of cache_spec.rbHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/06508374aa
2025-10-15[rubygems/rubygems] Replaced Bundler::SharedHelpers.major_deprecation to ↵Hiroshi SHIBATA
feature_removed! or feature_deprecated! https://github.com/rubygems/rubygems/commit/b1b963b34a Co-authored-by: David Rodríguez <2887858+deivid-rodriguez@users.noreply.github.com>
2025-10-14[rubygems/rubygems] Bump up to test version for 4.0.0.devHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/9d70887185
2025-10-14[rubygems/rubygems] Added example for legacy windows platformHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/90130c0648
2025-10-14[rubygems/rubygems] Removed obsoleted examples for legacy windows platformHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/7b0da18764
2025-10-14[rubygems/rubygems] Removed deprecated legacy windows platform supportHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/7d910dd94c Co-authored-by: David Rodríguez <2887858+deivid-rodriguez@users.noreply.github.com>
2025-10-11Update bundled bigdecimal version (#14809)tomoya ishida
* Update bigdecimal spec * Update bundled bigdecimal to 3.3.1
2025-10-10[rubygems/rubygems] Added extra examples for cli_help default commandHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/b2472e7b82 Co-authored-by: David Rodríguez <2887858+deivid-rodriguez@users.noreply.github.com>
2025-10-09[rubygems/rubygems] Update lockfiles with 4.0.0.devHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/82d46d3b28
2025-10-09[rubygems/rubygems] bin/rubocop -AHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/12753b3262
2025-10-09[rubygems/rubygems] Catch error instead of deprecated message at ↵Hiroshi SHIBATA
--no-keep-file-descriptors option https://github.com/rubygems/rubygems/commit/8945e0872b Co-authored-by: David Rodríguez <2887858+deivid-rodriguez@users.noreply.github.com>
2025-10-09[rubygems/rubygems] Removed obsoleted windows platform exampleHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/edd6b1d335 Co-authored-by: David Rodríguez <2887858+deivid-rodriguez@users.noreply.github.com>
2025-10-09[rubygems/rubygems] Removed obsoleted exampleHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/b9960f2c6a Co-authored-by: David Rodríguez <2887858+deivid-rodriguez@users.noreply.github.com>
2025-10-09[rubygems/rubygems] Removed Bundler.current_ruby.maglev*? and raise ↵Hiroshi SHIBATA
Bundler::RemovedError https://github.com/rubygems/rubygems/commit/0d4e77d798 Co-authored-by: David Rodríguez <2887858+deivid-rodriguez@users.noreply.github.com>
2025-10-09[rubygems/rubygems] Fixed failing examples with 4.0.0.dev versionHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/0e553c4425
2025-10-09[rubygems/rubygems] Fix `bundle install` when the Gemfile contains ↵Edouard CHIN
"install_if" git gems: - Fix https://github.com/rubygems/rubygems/pull/8985 - ### Problem If you have a Gemfile that contains a `install_if` git gem, it will be impossible to add other gems in the Gemfile and run `bundle install`, you'll get a "The git source [...] is not yet checked out". ### Context The change that modified this behaviour was in https://github.com/rubygems/rubygems/commit/abbea0cc94dd, and the issue is about the call to `current_dependencies`. This call filters out irrelevant dependencies such as the one that get condtionnally installed. By doing so, we skip over setting the source based of the lockfile for that dependency https://github.com/rubygems/rubygems/blob/ade324bdc8ea77b342f203cb7f3929a456d725ed/bundler/lib/bundler/definition.rb#L978 Ultimately, because of this, the dependency source doesn't have any additional information such as the `revision`. Down the line, when we end up to converge the spec, Bundler will attempt to get the revision for that spec but won't be able to because the git source isn't configured to allow running git operations. ### Solution Filter out the irrelevant only spec only after we have set its source. https://github.com/rubygems/rubygems/commit/d2af439671
2025-10-09FreeBSD returns EAI_FAIL instead of EAI_FAMILY in getaddrinfo and ↵Benoit Daloze
getnameinfo specs
2025-10-08Update to ruby/spec@3d7e563Benoit Daloze
2025-10-08Update to ruby/mspec@6a7b509Benoit Daloze
2025-10-07Update rubyspec as of CVE-2025-27221Nobuyoshi Nakada
2025-10-05[ruby/pp] [Feature #21389] Update rubyspecNobuyoshi Nakada
2025-10-01Interpolation with only string literals must not be frozenEarlopain
Basically a redo of https://github.com/ruby/ruby/commit/a1403fb7cbd1fe0df97c932be9814c86081783dc but respecting the frozen string literal magic comment Fixes [Bug #21187]
2025-09-26[rubygems/rubygems] add loading support on Windowssodacris
https://github.com/rubygems/rubygems/commit/04574ba59a
2025-09-26[rubygems/rubygems] skip checking title on Windows because it's not supportedsodacris
https://github.com/rubygems/rubygems/commit/fd2c54f371
2025-09-19[rubygems/rubygems] Switch `cache_all` to be `true` by defaultDavid Rodríguez
And make it a standard setting. https://github.com/rubygems/rubygems/commit/17e356fa94
2025-09-19[rubygems/rubygems] Completely remove passing `--ext` to `bundle gem` ↵David Rodríguez
without a value https://github.com/rubygems/rubygems/commit/9f34bf6854 Co-authored-by: Martin Emde <martinemde@users.noreply.github.com>
2025-09-19[rubygems/rubygems] Switch `lockfile_checksums` to be true by defaultDavid Rodríguez
https://github.com/rubygems/rubygems/commit/47c3dc19ee Co-authored-by: Jonathan Barquero <jonbarlo@hotmail.com>
2025-09-19[rubygems/rubygems] Make `bundle show --outdated` raise an errorDavid Rodríguez
https://github.com/rubygems/rubygems/commit/3bbbf4a4e5
2025-09-19[rubygems/rubygems] Make `--local-git` flag to `bundle plugin install` raise ↵David Rodríguez
an error https://github.com/rubygems/rubygems/commit/8bfe317e6d
2025-09-19[rubygems/rubygems] Fix parallel installation issueDavid Rodríguez
If using a gem with precompiled versions having different dependencies than the generic version from a path source, and with a lockfile including a precompiled version, we would materialize the generic version, but end up using dependencies for the precompiled version. That will result in the parallel installer missing the specifications for the extra dependencies of the generic version, causing a crash. If we are materializing for installation, make sure we use the materialized specification when traversing dependencies. https://github.com/rubygems/rubygems/commit/5f75d75de7
2025-09-18Bump rexmldependabot[bot]
Bumps the bundler group with 1 update in the /spec/bundler/realworld/fixtures/warbler directory: [rexml](https://github.com/ruby/rexml). Updates `rexml` from 3.4.1 to 3.4.2 - [Release notes](https://github.com/ruby/rexml/releases) - [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md) - [Commits](https://github.com/ruby/rexml/compare/v3.4.1...v3.4.2) --- updated-dependencies: - dependency-name: rexml dependency-version: 3.4.2 dependency-type: indirect dependency-group: bundler ... Signed-off-by: dependabot[bot] <support@github.com>
2025-09-17bundled_gems_spec.rb: Remove useless `map`Nobuyoshi Nakada
`Dir.[]` returns list of strings, `map(&:to_s)` does nothing.
2025-09-17[rubygems/rubygems] Finalize `bundle install --binstubs` removalDavid Rodríguez
https://github.com/rubygems/rubygems/commit/ccb65ce0ea
2025-09-17[rubygems/rubygems] Make `bundle remove --install` raise an errorDavid Rodríguez
https://github.com/rubygems/rubygems/commit/444022cfd3
2025-09-16[rubygems/rubygems] Remove aggregate source mentionsDavid Rodríguez
It's a term from times with multiple remote sources, let's move on :) https://github.com/rubygems/rubygems/commit/6439b8944e
2025-09-16[rubygems/rubygems] Completely remove multisources supportDavid Rodríguez
https://github.com/rubygems/rubygems/commit/8f9d6c54a1
2025-09-16[rubygems/rubygems] Remove `allow_offline_install` settingDavid Rodríguez
And let the feature always be enabled, so I'm not sure why we'd need this configurable. https://github.com/rubygems/rubygems/commit/5a27f0c1e3