aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems
Commit message (Collapse)AuthorAgeFilesLines
...
* [rubygems/rubygems] Tests passing on truffleruby 22 in addition to 23Samuel Giddins2023-09-201-1/+4
| | | | https://github.com/rubygems/rubygems/commit/8065530d43
* [rubygems/rubygems] safe_load tests passing on jruby & trufflerubySamuel Giddins2023-09-201-3/+7
| | | | https://github.com/rubygems/rubygems/commit/a64b21b052
* [rubygems/rubygems] Verified working on mri/jruby/truffleruby with specs on ↵Samuel Giddins2023-09-201-6/+42
| | | | | | rubygems.org https://github.com/rubygems/rubygems/commit/4f51741cc6
* [rubygems/rubygems] Broader version compatibility in marshal testsSamuel Giddins2023-09-201-8/+9
| | | | https://github.com/rubygems/rubygems/commit/6ec518c563
* [rubygems/rubygems] Fix UTC time loadingSamuel Giddins2023-09-201-6/+6
| | | | https://github.com/rubygems/rubygems/commit/2a4d0a44b0
* [rubygems/rubygems] Add a Marshal.load replacement that walks an AST to ↵Samuel Giddins2023-09-201-0/+144
| | | | | | safely load permitted classes/symbols https://github.com/rubygems/rubygems/commit/7e4478fe73
* [rubygems/rubygems] Fixed false positive SymlinkError in symbolic link directorynegi01092023-09-111-0/+26
| | | | https://github.com/rubygems/rubygems/commit/58173ff2ea
* [rubygems/rubygems] Confirm verification warningsNobuyoshi Nakada2023-08-211-4/+12
| | | | | | Fix up https://github.com/rubygems/rubygems/pull/6882 https://github.com/rubygems/rubygems/commit/71c73ac6d9
* [rubygems/rubygems] Use assert_raise instead of assert_raisesSamuel Giddins2023-08-201-2/+2
| | | | | | For ruby-core compat https://github.com/rubygems/rubygems/commit/83aa7b794e
* [rubygems/rubygems] Ensure that loading multiple gemspecs with legacy YAML ↵Samuel Giddins2023-08-201-0/+19
| | | | | | | | | | 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
* [rubygems/rubygems] Fix leaked tempfilesNobuyoshi Nakada2023-08-191-0/+4
| | | | | | Fix up https://github.com/rubygems/rubygems/pull/6882 https://github.com/rubygems/rubygems/commit/525b94a89f
* [rubygems/rubygems] Make nil a valid license specJohn Hong2023-08-182-7/+25
| | | | https://github.com/rubygems/rubygems/commit/675effb67e
* [rubygems/rubygems] Raise Gem::Package::FormatError on EOF, indicating ↵Martin Emde2023-08-172-1/+130
| | | | | | | | | | | | | | | | | | | | | 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
* [rubygems/rubygems] Bump rb-sysdependabot[bot]2023-08-072-15/+15
| | | | | | | | | | | | | | | | | 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
* [rubygems/rubygems] Bump rb-sysdependabot[bot]2023-08-072-15/+15
| | | | | | | | | | | | | | | | | 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
* [rubygems/rubygems] Add charset to Webauthn response content-typeJenny Shen2023-07-282-5/+5
| | | | https://github.com/rubygems/rubygems/commit/442a3e8f37
* [rubygems/rubygems] Create MockServer object to test WebAuthn logic to ↵Jenny Shen2023-07-285-87/+78
| | | | | | prevent real TCPServers from being created and be leaked into other tests https://github.com/rubygems/rubygems/commit/96d6cb33a2
* [rubygems/rubygems] Create MultifactorAuthFetcher to reduce duplication ↵Jenny Shen2023-07-285-283/+164
| | | | | | among tests https://github.com/rubygems/rubygems/commit/dead211206
* [rubygems/rubygems] Use assert_raise in webauthn poller testsJenny Shen2023-07-281-4/+4
| | | | https://github.com/rubygems/rubygems/commit/0969ad330e
* [rubygems/rubygems] Move Webauthn listener thread to WebauthnListener classJenny Shen2023-07-286-16/+33
| | | | https://github.com/rubygems/rubygems/commit/6ec474975e
* [rubygems/rubygems] Move WebauthnListener into the Gem::GemcutterUtilities ↵Jenny Shen2023-07-286-15/+15
| | | | | | namespace https://github.com/rubygems/rubygems/commit/3080394f81
* [rubygems/rubygems] Extract polling logic into its own classJenny Shen2023-07-281-0/+124
| | | | https://github.com/rubygems/rubygems/commit/218b83abed
* [rubygems/rubygems] Add Webauthn verification poller to fetch OTPJenny Shen2023-07-284-0/+343
| | | | https://github.com/rubygems/rubygems/commit/39c5e86a67
* [rubygems/rubygems] Remove fetcher login in util_sign_inJenny Shen2023-07-281-77/+22
| | | | https://github.com/rubygems/rubygems/commit/8e6bc4485a
* [rubygems/rubygems] Create SignInFetcherJenny Shen2023-07-281-18/+74
| | | | https://github.com/rubygems/rubygems/commit/38afc47899
* [rubygems/rubygems] Avoid unnecessary network requests for local gemDavid Rodríguez2023-07-241-0/+34
| | | | https://github.com/rubygems/rubygems/commit/ec5f04f7b1
* [rubygems/rubygems] Deprecate Gem::Platform.matchHiroshi SHIBATA2023-07-211-2/+4
| | | | https://github.com/rubygems/rubygems/commit/e3ba3e2225
* [rubygems/rubygems] Boundary check in `Gem::StreamUI#choose_from_list`Nobuyoshi Nakada2023-07-211-0/+30
| | | | https://github.com/rubygems/rubygems/commit/abacb0cb34
* [rubygems/rubygems] Clear `YAML` constant if it was undefined previouslyNobuyoshi Nakada2023-07-191-0/+8
| | | | https://github.com/rubygems/rubygems/commit/31d0311258
* [rubygems/rubygems] Bump rb-sysdependabot[bot]2023-07-182-7/+23
| | | | | | | | | | | | | | | | | 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
* [rubygems/rubygems] Avoid to use Base64 library because I have a plan to ↵Hiroshi SHIBATA2023-07-061-4/+9
| | | | | | base64 gem to bundled gems in ruby/ruby. https://github.com/rubygems/rubygems/commit/221797cfd1
* [rubygems/rubygems] Prefer `assert_include` over mere `assert`Nobuyoshi Nakada2023-06-221-1/+1
| | | | https://github.com/rubygems/rubygems/commit/140405cee6
* [rubygems/rubygems] Prefer `assert_predicate` over mere `assert`Nobuyoshi Nakada2023-06-221-15/+15
| | | | https://github.com/rubygems/rubygems/commit/0d10063824
* [rubygems/rubygems] Fix argument order of `assert_equal`Nobuyoshi Nakada2023-06-221-7/+7
| | | | https://github.com/rubygems/rubygems/commit/a7c015f82b
* [rubygems/rubygems] Bump rb-sysdependabot[bot]2023-06-192-5/+5
| | | | | | | | | | | | | | | Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.78 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.78...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>
* [rubygems/rubygems] Suppress Content-Type warningsNobuyoshi Nakada2023-06-191-2/+3
| | | | https://github.com/rubygems/rubygems/commit/97dbe4cabd
* [rubygems/rubygems] RemoteFetcher tests don't work with path including `+`Nobuyoshi Nakada2023-06-191-2/+8
| | | | https://github.com/rubygems/rubygems/commit/657d57621e
* [rubygems/rubygems] Escape regexp metachacters or use `assert_include`Nobuyoshi Nakada2023-06-196-17/+18
| | | | https://github.com/rubygems/rubygems/commit/6d445a85d7
* [rubygems/rubygems] Removed unnecessary disabling of Lint/DuplicateMethodsHiroshi SHIBATA2023-06-152-2/+2
| | | | https://github.com/rubygems/rubygems/commit/225fdf0b2e
* [rubygems/rubygems] Try again with ↵Hiroshi SHIBATA2023-06-051-0/+5
| | | | | | https://github.com/rubygems/rubygems/pull/6693 https://github.com/rubygems/rubygems/commit/73c0d5f059
* Merge RubyGems/Bundler master from 4076391fce5847689bf2ec402b17133fe4e32285Hiroshi SHIBATA2023-05-303-8/+3
|
* [rubygems/rubygems] Bump rb-sysdependabot[bot]2023-05-292-5/+5
| | | | | | | | | | | | | | | Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.77 to 0.9.78. - [Release notes](https://github.com/oxidize-rb/rb-sys/releases) - [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.77...v0.9.78) --- updated-dependencies: - dependency-name: rb-sys dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* [rubygems/rubygems] Load plugin immediatelySutou Kouhei2023-05-255-8/+63
| | | | | | | | | | | | | | | We can install RubyGems plugin by "gem install XXX". The installed plugin is used from the NEXT "gem ...". For example, "gem install gem-src kaminari" doesn't use gem-src plugin for kaminari. "gem install gem-src && gem install kaminari" uses gem-src plugin for kaminari. How about loading a plugin immediately when the plugin is installed? If this proposal is implemented, "gem install gem-src kaminari" works like "gem install gem-src && gem install kaminari". https://github.com/rubygems/rubygems/commit/4917d96f4c
* [rubygems/rubygems] Remove forward slash in key regardless if it contains __Jenny Shen2023-05-231-4/+9
| | | | https://github.com/rubygems/rubygems/commit/33a02eec00
* [rubygems/rubygems] Bump rb-sysdependabot[bot]2023-05-152-7/+8
| | | | | | | | | | | | | | | Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.75 to 0.9.77. - [Release notes](https://github.com/oxidize-rb/rb-sys/releases) - [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.75...v0.9.77) --- updated-dependencies: - dependency-name: rb-sys dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* [rubygems/rubygems] Bump rb-sysdependabot[bot]2023-05-022-5/+5
| | | | | | | | | | | | | | | Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.74 to 0.9.75. - [Release notes](https://github.com/oxidize-rb/rb-sys/releases) - [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.74...v0.9.75) --- updated-dependencies: - dependency-name: rb-sys dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* [rubygems/rubygems] Bump rb-sysdependabot[bot]2023-04-242-5/+5
| | | | | | | | | | | | | | | Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.72 to 0.9.74. - [Release notes](https://github.com/oxidize-rb/rb-sys/releases) - [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.72...v0.9.74) --- updated-dependencies: - dependency-name: rb-sys dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* [rubygems/rubygems] Revert "Bundler::YAMLSerializer.load couldn't raise ↵Hiroshi SHIBATA2023-04-201-0/+15
| | | | | | | | error when invalid yaml was provided" This reverts commit https://github.com/rubygems/rubygems/commit/cfcfde04c783. https://github.com/rubygems/rubygems/commit/ac21ae7083
* Hide Gem::MockGemUi. It's only used by testsHiroshi SHIBATA2023-04-192-1/+87
|
* [rubygems/rubygems] Added tests for load_with_rubygems_config_hash and ↵Hiroshi SHIBATA2023-04-191-0/+28
| | | | | | dump_with_rubygems_yaml https://github.com/rubygems/rubygems/commit/0393f24119