summaryrefslogtreecommitdiff
path: root/test/rubygems
AgeCommit message (Collapse)Author
2019-08-17Skip teardown with JRubyHiroshi SHIBATA
2019-08-17Revert "Revert "[rubygems/rubygems] [Require] Ensure -I beats a default gem""Hiroshi SHIBATA
This reverts commit 75d29db8f965893bb6ab38b9008abc80cdda246e.
2019-08-17Revert "[rubygems/rubygems] [Require] Ensure -I beats a default gem"Hiroshi SHIBATA
This reverts commit 00cd5d74cecb6aa4a184e57e2b8246ef6e45d458.
2019-08-17Move lib directory to the last of $LOAD_PATH on ruby repository.Hiroshi SHIBATA
https://github.com/rubygems/rubygems/pull/1868 changes the behavior of require when it used with -I options. Therefore, the options of ruby repository was different from rubygems/rubygems.
2019-08-17[rubygems/rubygems] Do not mutate uri.query during s3 signature creationAlexander Pakulov
https://github.com/rubygems/rubygems/commit/c0275ee537
2019-08-17[rubygems/rubygems] Autoswitch to exact bundler version if presentDavid Rodríguez
https://github.com/rubygems/rubygems/commit/bb02953a97
2019-08-17[rubygems/rubygems] Fix removing unresolved default spec files from mapDavid Rodríguez
https://github.com/rubygems/rubygems/commit/7964917bbc
2019-08-17[rubygems/rubygems] Replace domain parameter in ↵bronzdoc
Gem::Command#show_lookup_failure with a parameter to suppress suggestions https://github.com/rubygems/rubygems/commit/760b7d834f
2019-08-17[rubygems/rubygems] [Require] Ensure -I beats a default gemSamuel Giddins
https://github.com/rubygems/rubygems/commit/6fbda98eb3
2019-08-17[rubygems/rubygems] Make test also assert the gems that it should loadDavid Rodríguez
https://github.com/rubygems/rubygems/commit/a6375920bf
2019-08-17[rubygems/rubygems] Use `assert_require`David Rodríguez
For consistency with the other specs. https://github.com/rubygems/rubygems/commit/44b93aec4c
2019-08-05[rubygems/rubygems] Use the standard RUBY_ENGINE_VERSION instead of ↵Benoit Daloze
JRUBY_VERSION * RUBY_ENGINE and RUBY_ENGINE_VERSION are defined on every modern Ruby. * There is no such constant as TRUFFLERUBY_VERSION or RBX_VERSION. https://github.com/rubygems/rubygems/commit/431d0aefdd
2019-08-05[rubygems/rubygems] Fix error handling of #with_engine_versionBenoit Daloze
* If settings constants fail, show that exception instead of getting another one due to variables being unset and hiding the real cause. https://github.com/rubygems/rubygems/commit/f38cd67874
2019-08-05[rubygems/rubygems] Cleanup after testing `rake package`David Rodríguez
Sometimes it happens to me that my local tests start failing because I pull some file removals or renames into my local copy, and those are still present on my last copy of pkg/. In those cases, the test about `rake package` will fail with something like the following: ```` Failure: TestRakePackage#test_builds_ok [/home/deivid/Code/rubygems/test/rubygems/test_rake_package.rb:13]: Expected `rake package` to work, but got errors: ``` cd pkg/rubygems-update-3.1.0.pre1 WARNING: See http://guides.rubygems.org/specification-reference/ for help rake aborted! Gem::InvalidSpecificationException: ["test/rubygems/test_rake_package.rb"] are not files Tasks: TOP => package => gem => pkg/rubygems-update-3.1.0.pre1.gem (See full trace by running task with --trace) ``` If you have added or removed files, make sure you run `rake update_manifest` to update the `Manifest.txt` accordingly. Expected: true Actual: false ```` So, make sure, package is always built from scratch. https://github.com/rubygems/rubygems/commit/4e2cc9eb26
2019-08-05[rubygems/rubygems] Revert cadb66037d9b58c80fc795f39384d533229a1f73bronzdoc
https://github.com/rubygems/rubygems/commit/5c3158d975
2019-07-31test/rubygems/test_gem_remote_fetcher.rb: suppress deprecation warningsYusuke Endoh
2019-07-31File.exists? is deprecated.Hiroshi SHIBATA
2019-07-31[rubygems/rubygems] Skip integration test for rake package task.Hiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/ca8afc01a3
2019-07-31[rubygems/rubygems] Drop support for 'gem env packageversion'bronzdoc
https://github.com/rubygems/rubygems/commit/be962ca0c4
2019-07-31[rubygems/rubygems] Improve `rake package` test error messageDavid Rodríguez
https://github.com/rubygems/rubygems/commit/be962ca0c4
2019-07-31[rubygems/rubygems] Get `rake package` testedDavid Rodríguez
https://github.com/rubygems/rubygems/commit/006cdd4084
2019-07-31[rubygems/rubygems] Enable `Layout/AlignArray` copDavid Rodríguez
https://github.com/rubygems/rubygems/commit/1ea674d8f7
2019-07-31[rubygems/rubygems] Remove warning: shadowing outer local variable - specbronzdoc
https://github.com/rubygems/rubygems/commit/70c5c17a5f
2019-07-31[rubygems/rubygems] Move default specifications dir definition out of ↵Vít Ondruch
BasicSpecification. This was never the right place. The method got there just by evolution, not by design. Move it within default methods, where it suits better. Since this method is presumably used just internally, it should be safe to deprecate it and remove later. https://github.com/rubygems/rubygems/commit/0c0dd9458a
2019-07-31[rubygems/rubygems] Autorequire was used by old RubyGems, it is neither ↵bronzdoc
supported nor functional. https://github.com/rubygems/rubygems/commit/cadb66037d
2019-07-31[rubygems/rubygems] Simplify #to_ruby codeNobuyoshi Nakada
Separate #add_runtime_dependency and #add_development_dependency availability condition from #specification_version availability, which is not related to directly. Also check if the former method is available, instead of comparing the version. https://github.com/rubygems/rubygems/commit/5cccc2b836
2019-07-31[rubygems/rubygems] Missing dependencyAlexander Pakulov
https://github.com/rubygems/rubygems/commit/79b62c233a
2019-07-31[rubygems/rubygems] Making Gem::S3URISigner.sign method smaller with helper ↵Alexander Pakulov
methods https://github.com/rubygems/rubygems/commit/2a96494d91
2019-07-31[rubygems/rubygems] Extracting sign_s3_url & s3_source_auth into a separate ↵Alexander Pakulov
S3URISigner class https://github.com/rubygems/rubygems/commit/c30d21ec7a
2019-07-31[rubygems/rubygems] Addressing PR commentsAlexander Pakulov
https://github.com/rubygems/rubygems/commit/fb62d3043c
2019-07-31[rubygems/rubygems] Rename Gem::Package.metadata to Gem::Package.raw_specbronzdoc
https://github.com/rubygems/rubygems/commit/a76f25dff0
2019-07-31[rubygems/rubygems] Upgrading S3 source signature to AWS SigV4Alexander Pakulov
https://github.com/rubygems/rubygems/commit/f289788ca5
2019-07-31[rubygems/rubygems] Move metadata method to Gem::Packagebronzdoc
https://github.com/rubygems/rubygems/commit/2c9cfcb666
2019-07-31[rubygems/rubygems] Add a package attr_reader to Gem::Installer.Daniel Berger
Add some basic specs for the package attr_reader. https://github.com/rubygems/rubygems/commit/68af2a0ee3
2019-07-31[rubygems/rubygems] Remove conflict.rb code that was supposed to be removed ↵bronzdoc
in Rubygems 3 https://github.com/rubygems/rubygems/commit/6d5f743a89
2019-07-31[rubygems/rubygems] Silence deprecations when gemdeps is used in testsDavid Rodríguez
Because we can't control 3rd party gems using deprecated rubygems behavior, and thus outputting warnings to the screen. https://github.com/rubygems/rubygems/commit/6912ebf20a
2019-07-31[rubygems/rubygems] Return early if filename is emptybronzdoc
https://github.com/rubygems/rubygems/commit/1b9ab33083
2019-07-31[rubygems/rubygems] Set config_file_name to the value of ENV["GEMRC"] if ↵bronzdoc
available https://github.com/rubygems/rubygems/commit/471239f1fa
2019-07-24[rubygems/rubygems] Make `@@project_dir` constants per filesNobuyoshi Nakada
https://github.com/rubygems/rubygems/commit/955174658f
2019-07-24[rubygems/rubygems] Resolve `@@project_dir` from test file pathsNobuyoshi Nakada
`Dir.pwd` may differ from the source path. Test directories and files should be resolved from test file paths. https://github.com/rubygems/rubygems/commit/e18e7c81b4
2019-07-02Clean up temporary expired cert fileNobuyoshi Nakada
2019-06-01Merge rubygems master from upstream.Hiroshi SHIBATA
I picked the commit from 3c469e0da538428a0ddd94f99aa73c32da22e8ba
2019-05-29test/rubygems/test_gem_stream_ui.rb (test_ask_for_password): extend the timeoutYusuke Endoh
for Solaris. https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable10s/ruby-master/log/20190528T191908Z.fail.html.gz
2019-05-28Update the certificate files to make the test pass on Debian 10Yusuke Endoh
The old certificate files (for example, test/rubygems/ca_cert.pem) were signed by SHA1. This message digest is considered too weak and rejected by OpenSSL 1.1.1 or later. Because of this, the test suite does not pass on Debian 10. https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian/ruby-master/log/20190527T123003Z.fail.html.gz#test%2Frubygems This change regenerates the files. A shell script for the regeneration (util/create_certs.sh) is also added.
2019-05-26test/rubygems/test_gem_stream_ui.rb (test_ask): extend the timeoutYusuke Endoh
for Solaris. https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable10s/ruby-master/log/20190525T211908Z.fail.html.gz
2019-05-16Fix fd leakNobuyoshi Nakada
merged https://github.com/rubygems/rubygems/pull/2765
2019-04-28Update rubygems with latest upstream changesDavid Rodríguez
Closes: https://github.com/ruby/ruby/pull/2154
2019-04-02Merge rubygems/rubygems from upstream.hsbt
The current master branch is https://github.com/rubygems/rubygems/commit/97b264f0fa248c864b6ee9a23d3ff1cdd217dddb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-18Merge https://github.com/rubygems/rubygems/pull/2684k0kubun
to make CI stable. See the PR for details. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-11Renamed duplicate testnobu
Import rubygems/rubygems#2678 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e