summaryrefslogtreecommitdiff
path: root/test/rubygems
AgeCommit message (Collapse)Author
2023-10-16[rubygems/rubygems] Remove kludge that should be unnecessary.Ellen Marie Dash
https://github.com/rubygems/rubygems/commit/f1d44ecb62
2023-10-11[rubygems/rubygems] Simplify logic for Gem::PathSupport#home, and make ↵Ellen Marie Dash
GEM_HOME always overide it. https://github.com/rubygems/rubygems/commit/64273fd7e3
2023-10-11[rubygems/rubygems] Allow test_gem_install_update_options to raise ↵Ellen Marie Dash
Errno::ACCES, in addition to Gem::FilePermissionError. https://github.com/rubygems/rubygems/commit/784fe2a814
2023-10-11[rubygems/rubygems] Update tests to match new implementation of falling back ↵Ellen Marie Dash
to user-writable directories. https://github.com/rubygems/rubygems/commit/a06e657ac6
2023-10-11[rubygems/rubygems] [test_gem_install_update_options.rb] Fix linter warnings.Ellen Marie Dash
https://github.com/rubygems/rubygems/commit/cdcb8394f6
2023-10-11[rubygems/rubygems] If GEM_HOME exists + isn't writable, use --user-install.Ellen Marie Dash
https://github.com/rubygems/rubygems/commit/6d20585645
2023-10-03[rubygems/rubygems] Fix typo: eglible -> eligible.Josef Šimánek
https://github.com/rubygems/rubygems/commit/1e487e1337
2023-09-30[rubygems/rubygems] Update SPDX list and warn on deprecated identifiers.Josef Šimánek
https://github.com/rubygems/rubygems/commit/61667028f5
2023-09-25[rubygems/rubygems] Bump rb-sysdependabot[bot]
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.81 to 0.9.82. - [Release notes](https://github.com/oxidize-rb/rb-sys/releases) - [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.81...v0.9.82) --- updated-dependencies: - dependency-name: rb-sys dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> https://github.com/rubygems/rubygems/commit/780fb19b03
2023-09-25[rubygems/rubygems] Bump rb-sysdependabot[bot]
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.81 to 0.9.82. - [Release notes](https://github.com/oxidize-rb/rb-sys/releases) - [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.81...v0.9.82) --- updated-dependencies: - dependency-name: rb-sys dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> https://github.com/rubygems/rubygems/commit/f48d03aabd
2023-09-21[rubygems/rubygems] Fix safe marshal test on jrubySamuel Giddins
Allow for variance in order of dumped ivars, fix by setting the disallowed ivar on an object that will have no other ivars so the index is consistent https://github.com/rubygems/rubygems/commit/ccb8f42753
2023-09-21[rubygems/rubygems] Remove usage of Dir.chdir that just execute a subprocessSamuel Giddins
Preferring instead to spawn the subprocess in the correct directory https://github.com/rubygems/rubygems/commit/ad5abd6a45
2023-09-21[rubygems/rubygems] Freeze more strings in generated gemspecsSamuel Giddins
Specifically, this will have frozen string literals for: - Gem platform tuple entries - Gem::Version strings - Gem::Specification#installed_by_version - Dependency requirement strings https://github.com/rubygems/rubygems/commit/6195da5bdb
2023-09-21[rubygems/rubygems] Aggressively optimize allocations in SafeMarshalSamuel Giddins
Reduces allocations in a bundle install --full-index by an order of magnitude Main wins are (a) getting rid of exessive string allocations for exception message stack (b) Avoiding hash allocations caused by kwargs for #initialize (c) avoid using unpack to do bit math, its easy enough to do by hand (d) special case the most common elements so they can be read without an allocation (e) avoid string allocations every time a symbol->string lookup is done by using symbol#name https://github.com/rubygems/rubygems/commit/7d2ee51402
2023-09-20[rubygems/rubygems] Give up, load Time via Marshal.loadSamuel Giddins
https://github.com/rubygems/rubygems/commit/6c92ba2ba3
2023-09-20[rubygems/rubygems] Ruby 2.6 compatSamuel Giddins
https://github.com/rubygems/rubygems/commit/1a84960af3
2023-09-20[rubygems/rubygems] All rubies working with different time zonesSamuel Giddins
Tested with: `ruby -e 'trap("INT") { exit 1 }; TZ=%w[UTC +0000 -0000]; RUBY=%w[ruby-2.7 ruby-3.2.2 jruby-9.4 truffleruby-22 truffleruby-23]; TZ.product(RUBY).each { |t, r| puts ?**120, "TZ=#{t} RUBY=#{r}", "*"*120; system({"TZ"=>t,"RUBY"=>r}, *ARGV) }' zsh -lic 'chruby $RUBY; ruby -vw -Ilib test/rubygems/test_gem_safe_marshal.rb --verbose=progress'` https://github.com/rubygems/rubygems/commit/6192005afb
2023-09-20[rubygems/rubygems] Tests passing on truffleruby 22 in addition to 23Samuel Giddins
https://github.com/rubygems/rubygems/commit/8065530d43
2023-09-20[rubygems/rubygems] safe_load tests passing on jruby & trufflerubySamuel Giddins
https://github.com/rubygems/rubygems/commit/a64b21b052
2023-09-20[rubygems/rubygems] Verified working on mri/jruby/truffleruby with specs on ↵Samuel Giddins
rubygems.org https://github.com/rubygems/rubygems/commit/4f51741cc6
2023-09-20[rubygems/rubygems] Broader version compatibility in marshal testsSamuel Giddins
https://github.com/rubygems/rubygems/commit/6ec518c563
2023-09-20[rubygems/rubygems] Fix UTC time loadingSamuel Giddins
https://github.com/rubygems/rubygems/commit/2a4d0a44b0
2023-09-20[rubygems/rubygems] Add a Marshal.load replacement that walks an AST to ↵Samuel Giddins
safely load permitted classes/symbols https://github.com/rubygems/rubygems/commit/7e4478fe73
2023-09-11[rubygems/rubygems] Fixed false positive SymlinkError in symbolic link directorynegi0109
https://github.com/rubygems/rubygems/commit/58173ff2ea
2023-08-21[rubygems/rubygems] Confirm verification warningsNobuyoshi Nakada
Fix up https://github.com/rubygems/rubygems/pull/6882 https://github.com/rubygems/rubygems/commit/71c73ac6d9
2023-08-20[rubygems/rubygems] Use assert_raise instead of assert_raisesSamuel Giddins
For ruby-core compat https://github.com/rubygems/rubygems/commit/83aa7b794e
2023-08-20[rubygems/rubygems] Ensure that loading multiple gemspecs with legacy YAML ↵Samuel Giddins
class references does not warn Before this, you would get constant redefinition warnings on Psych::DefaultKey Additionally, ensure the retries wont continue infinitely in the case of the ArgumentError not being caused by Marshal trying to load the undefined classes https://github.com/rubygems/rubygems/commit/919e8c2de4
2023-08-19[rubygems/rubygems] Fix leaked tempfilesNobuyoshi Nakada
Fix up https://github.com/rubygems/rubygems/pull/6882 https://github.com/rubygems/rubygems/commit/525b94a89f
2023-08-18[rubygems/rubygems] Make nil a valid license specJohn Hong
https://github.com/rubygems/rubygems/commit/675effb67e
2023-08-17[rubygems/rubygems] Raise Gem::Package::FormatError on EOF, indicating ↵Martin Emde
corrupt gem Gem::Package::TarReader::Entry now raises EOFError or returns nil appropriately based on Ruby core IO.read and IO.readpartial behavior. Zlib will respond accordingly by raising Zlib::GzipFile::Error on EOF. When verifying a gem or extracting contents, raise FormatError similar to other cases of corrupt gems. Addresses a bug where Gem::Package would attempt to call size on nil instead of raising a more descriptive and useful error, leading users to assume the problem is internal to rubygems. Remove unused error class TarReader::UnexpectedEOF that was never raised since the NoMethodError on nil would happen first. Use EOFError instead. https://github.com/rubygems/rubygems/commit/dc6129644b
2023-08-07[rubygems/rubygems] Bump rb-sysdependabot[bot]
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.79 to 0.9.81. - [Release notes](https://github.com/oxidize-rb/rb-sys/releases) - [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.79...v0.9.81) --- updated-dependencies: - dependency-name: rb-sys dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> https://github.com/rubygems/rubygems/commit/4c9f8269f6
2023-08-07[rubygems/rubygems] Bump rb-sysdependabot[bot]
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.79 to 0.9.81. - [Release notes](https://github.com/oxidize-rb/rb-sys/releases) - [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.79...v0.9.81) --- updated-dependencies: - dependency-name: rb-sys dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> https://github.com/rubygems/rubygems/commit/d3237ab4e2
2023-07-28[rubygems/rubygems] Add charset to Webauthn response content-typeJenny Shen
https://github.com/rubygems/rubygems/commit/442a3e8f37
2023-07-28[rubygems/rubygems] Create MockServer object to test WebAuthn logic to ↵Jenny Shen
prevent real TCPServers from being created and be leaked into other tests https://github.com/rubygems/rubygems/commit/96d6cb33a2
2023-07-28[rubygems/rubygems] Create MultifactorAuthFetcher to reduce duplication ↵Jenny Shen
among tests https://github.com/rubygems/rubygems/commit/dead211206
2023-07-28[rubygems/rubygems] Use assert_raise in webauthn poller testsJenny Shen
https://github.com/rubygems/rubygems/commit/0969ad330e
2023-07-28[rubygems/rubygems] Move Webauthn listener thread to WebauthnListener classJenny Shen
https://github.com/rubygems/rubygems/commit/6ec474975e
2023-07-28[rubygems/rubygems] Move WebauthnListener into the Gem::GemcutterUtilities ↵Jenny Shen
namespace https://github.com/rubygems/rubygems/commit/3080394f81
2023-07-28[rubygems/rubygems] Extract polling logic into its own classJenny Shen
https://github.com/rubygems/rubygems/commit/218b83abed
2023-07-28[rubygems/rubygems] Add Webauthn verification poller to fetch OTPJenny Shen
https://github.com/rubygems/rubygems/commit/39c5e86a67
2023-07-28[rubygems/rubygems] Remove fetcher login in util_sign_inJenny Shen
https://github.com/rubygems/rubygems/commit/8e6bc4485a
2023-07-28[rubygems/rubygems] Create SignInFetcherJenny Shen
https://github.com/rubygems/rubygems/commit/38afc47899
2023-07-24[rubygems/rubygems] Avoid unnecessary network requests for local gemDavid Rodríguez
https://github.com/rubygems/rubygems/commit/ec5f04f7b1
2023-07-21[rubygems/rubygems] Deprecate Gem::Platform.matchHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/e3ba3e2225
2023-07-21[rubygems/rubygems] Boundary check in `Gem::StreamUI#choose_from_list`Nobuyoshi Nakada
https://github.com/rubygems/rubygems/commit/abacb0cb34
2023-07-19[rubygems/rubygems] Clear `YAML` constant if it was undefined previouslyNobuyoshi Nakada
https://github.com/rubygems/rubygems/commit/31d0311258
2023-07-18[rubygems/rubygems] Bump rb-sysdependabot[bot]
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.58 to 0.9.79. - [Release notes](https://github.com/oxidize-rb/rb-sys/releases) - [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.58...v0.9.79) --- updated-dependencies: - dependency-name: rb-sys dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> https://github.com/rubygems/rubygems/commit/097ae727b7
2023-07-06[rubygems/rubygems] Avoid to use Base64 library because I have a plan to ↵Hiroshi SHIBATA
base64 gem to bundled gems in ruby/ruby. https://github.com/rubygems/rubygems/commit/221797cfd1
2023-06-22[rubygems/rubygems] Prefer `assert_include` over mere `assert`Nobuyoshi Nakada
https://github.com/rubygems/rubygems/commit/140405cee6
2023-06-22[rubygems/rubygems] Prefer `assert_predicate` over mere `assert`Nobuyoshi Nakada
https://github.com/rubygems/rubygems/commit/0d10063824