summaryrefslogtreecommitdiff
path: root/test/rubygems
Commit message (Collapse)AuthorAgeFilesLines
* [rubygems/rubygems] Bump rubocop to 0.74.0 and fix new offensesDavid Rodríguez2019-09-055-6/+6
| | | | https://github.com/rubygems/rubygems/commit/d4fc383497
* [rubygems/rubygems] Fix Layout/SpaceAroundOperators: Operator = should be ↵bronzdoc2019-09-051-1/+1
| | | | | | surrounded by a single space. https://github.com/rubygems/rubygems/commit/eaa38ebeb1
* [rubygems/rubygems] Error out if there are multiple gemspecs and no gemspec ↵bronzdoc2019-09-051-31/+7
| | | | | | is specified https://github.com/rubygems/rubygems/commit/547947bbf0
* [rubygems/rubygems] Remove useless gem setupbronzdoc2019-09-051-10/+1
| | | | https://github.com/rubygems/rubygems/commit/c8913e37a7
* [rubygems/rubygems] Test building a gem with multiple gemspec without a gem ↵bronzdoc2019-09-051-0/+59
| | | | | | name specified https://github.com/rubygems/rubygems/commit/38c72fd145
* [rubygems/rubygems] Build the first gemspec we found if no gemspec is specifiedbronzdoc2019-09-051-0/+39
| | | | https://github.com/rubygems/rubygems/commit/ab186266b7
* [rubygems/rubygems] Improve gemspec assignment and error messagebronzdoc2019-09-051-1/+1
| | | | https://github.com/rubygems/rubygems/commit/dc70c5a192
* [rubygems/rubygems] Don't fail when `uninstall --all` with default gemDavid Rodríguez2019-09-052-4/+49
| | | | | | | Instead, display an informative message saying that uninstallation of specific versions is being skipped because of being default gems. https://github.com/rubygems/rubygems/commit/b44845aa1d
* [rubygems/rubygems] Little refactor to avoid rubocop's false positiveDavid Rodríguez2019-09-051-6/+8
| | | | | | | Otherwise it detects duplicate methods here, because it doesn't see that we are reopening the class in two different places. https://github.com/rubygems/rubygems/commit/ae3fb47f5f
* Skip teardown with JRubyHiroshi SHIBATA2019-08-171-1/+1
|
* Revert "Revert "[rubygems/rubygems] [Require] Ensure -I beats a default gem""Hiroshi SHIBATA2019-08-171-0/+33
| | | | This reverts commit 75d29db8f965893bb6ab38b9008abc80cdda246e.
* Revert "[rubygems/rubygems] [Require] Ensure -I beats a default gem"Hiroshi SHIBATA2019-08-171-33/+0
| | | | This reverts commit 00cd5d74cecb6aa4a184e57e2b8246ef6e45d458.
* Move lib directory to the last of $LOAD_PATH on ruby repository.Hiroshi SHIBATA2019-08-171-0/+10
| | | | | | 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.
* [rubygems/rubygems] Do not mutate uri.query during s3 signature creationAlexander Pakulov2019-08-171-0/+3
| | | | https://github.com/rubygems/rubygems/commit/c0275ee537
* [rubygems/rubygems] Autoswitch to exact bundler version if presentDavid Rodríguez2019-08-172-1/+35
| | | | https://github.com/rubygems/rubygems/commit/bb02953a97
* [rubygems/rubygems] Fix removing unresolved default spec files from mapDavid Rodríguez2019-08-171-0/+20
| | | | https://github.com/rubygems/rubygems/commit/7964917bbc
* [rubygems/rubygems] Replace domain parameter in ↵bronzdoc2019-08-171-1/+1
| | | | | | Gem::Command#show_lookup_failure with a parameter to suppress suggestions https://github.com/rubygems/rubygems/commit/760b7d834f
* [rubygems/rubygems] [Require] Ensure -I beats a default gemSamuel Giddins2019-08-171-0/+33
| | | | https://github.com/rubygems/rubygems/commit/6fbda98eb3
* [rubygems/rubygems] Make test also assert the gems that it should loadDavid Rodríguez2019-08-171-0/+1
| | | | https://github.com/rubygems/rubygems/commit/a6375920bf
* [rubygems/rubygems] Use `assert_require`David Rodríguez2019-08-171-1/+1
| | | | | | For consistency with the other specs. https://github.com/rubygems/rubygems/commit/44b93aec4c
* [rubygems/rubygems] Use the standard RUBY_ENGINE_VERSION instead of ↵Benoit Daloze2019-08-052-31/+20
| | | | | | | | | 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
* [rubygems/rubygems] Fix error handling of #with_engine_versionBenoit Daloze2019-08-051-12/+13
| | | | | | | * 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
* [rubygems/rubygems] Cleanup after testing `rake package`David Rodríguez2019-08-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* [rubygems/rubygems] Revert cadb66037d9b58c80fc795f39384d533229a1f73bronzdoc2019-08-051-0/+18
| | | | https://github.com/rubygems/rubygems/commit/5c3158d975
* test/rubygems/test_gem_remote_fetcher.rb: suppress deprecation warningsYusuke Endoh2019-07-311-3/+9
|
* File.exists? is deprecated.Hiroshi SHIBATA2019-07-311-1/+1
|
* [rubygems/rubygems] Skip integration test for rake package task.Hiroshi SHIBATA2019-07-311-0/+2
| | | | https://github.com/rubygems/rubygems/commit/ca8afc01a3
* [rubygems/rubygems] Drop support for 'gem env packageversion'bronzdoc2019-07-311-11/+0
| | | | https://github.com/rubygems/rubygems/commit/be962ca0c4
* [rubygems/rubygems] Improve `rake package` test error messageDavid Rodríguez2019-07-311-1/+9
| | | | https://github.com/rubygems/rubygems/commit/be962ca0c4
* [rubygems/rubygems] Get `rake package` testedDavid Rodríguez2019-07-311-0/+14
| | | | https://github.com/rubygems/rubygems/commit/006cdd4084
* [rubygems/rubygems] Enable `Layout/AlignArray` copDavid Rodríguez2019-07-312-5/+5
| | | | https://github.com/rubygems/rubygems/commit/1ea674d8f7
* [rubygems/rubygems] Remove warning: shadowing outer local variable - specbronzdoc2019-07-311-2/+2
| | | | https://github.com/rubygems/rubygems/commit/70c5c17a5f
* [rubygems/rubygems] Move default specifications dir definition out of ↵Vít Ondruch2019-07-312-6/+6
| | | | | | | | | | | | 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
* [rubygems/rubygems] Autorequire was used by old RubyGems, it is neither ↵bronzdoc2019-07-311-18/+0
| | | | | | supported nor functional. https://github.com/rubygems/rubygems/commit/cadb66037d
* [rubygems/rubygems] Simplify #to_ruby codeNobuyoshi Nakada2019-07-311-19/+11
| | | | | | | | | | 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
* [rubygems/rubygems] Missing dependencyAlexander Pakulov2019-07-311-0/+1
| | | | https://github.com/rubygems/rubygems/commit/79b62c233a
* [rubygems/rubygems] Making Gem::S3URISigner.sign method smaller with helper ↵Alexander Pakulov2019-07-311-2/+2
| | | | | | methods https://github.com/rubygems/rubygems/commit/2a96494d91
* [rubygems/rubygems] Extracting sign_s3_url & s3_source_auth into a separate ↵Alexander Pakulov2019-07-311-6/+9
| | | | | | S3URISigner class https://github.com/rubygems/rubygems/commit/c30d21ec7a
* [rubygems/rubygems] Addressing PR commentsAlexander Pakulov2019-07-311-11/+11
| | | | https://github.com/rubygems/rubygems/commit/fb62d3043c
* [rubygems/rubygems] Rename Gem::Package.metadata to Gem::Package.raw_specbronzdoc2019-07-311-2/+2
| | | | https://github.com/rubygems/rubygems/commit/a76f25dff0
* [rubygems/rubygems] Upgrading S3 source signature to AWS SigV4Alexander Pakulov2019-07-311-9/+129
| | | | https://github.com/rubygems/rubygems/commit/f289788ca5
* [rubygems/rubygems] Move metadata method to Gem::Packagebronzdoc2019-07-311-0/+27
| | | | https://github.com/rubygems/rubygems/commit/2c9cfcb666
* [rubygems/rubygems] Add a package attr_reader to Gem::Installer.Daniel Berger2019-07-311-0/+10
| | | | | | Add some basic specs for the package attr_reader. https://github.com/rubygems/rubygems/commit/68af2a0ee3
* [rubygems/rubygems] Remove conflict.rb code that was supposed to be removed ↵bronzdoc2019-07-311-4/+0
| | | | | | in Rubygems 3 https://github.com/rubygems/rubygems/commit/6d5f743a89
* [rubygems/rubygems] Silence deprecations when gemdeps is used in testsDavid Rodríguez2019-07-311-2/+4
| | | | | | | 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
* [rubygems/rubygems] Return early if filename is emptybronzdoc2019-07-311-1/+1
| | | | https://github.com/rubygems/rubygems/commit/1b9ab33083
* [rubygems/rubygems] Set config_file_name to the value of ENV["GEMRC"] if ↵bronzdoc2019-07-311-1/+7
| | | | | | available https://github.com/rubygems/rubygems/commit/471239f1fa
* [rubygems/rubygems] Make `@@project_dir` constants per filesNobuyoshi Nakada2019-07-242-14/+14
| | | | https://github.com/rubygems/rubygems/commit/955174658f
* [rubygems/rubygems] Resolve `@@project_dir` from test file pathsNobuyoshi Nakada2019-07-242-0/+4
| | | | | | | `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
* Clean up temporary expired cert fileNobuyoshi Nakada2019-07-021-0/+10
|