aboutsummaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Quarantine specs which fail frequently with CHECK_LEAKS=trueBenoit Daloze2020-06-031-0/+2
|
* Add a spec for the new NoMethodError display of the receiverJean Boussier2020-06-021-0/+18
|
* Make sure rb_enc_str_new_static() is used when enc is NULLBenoit Daloze2020-06-011-2/+7
| | | | | | * The definition of the rb_enc_str_new_cstr macro depends on HAVE_BUILTIN___BUILTIN_CONSTANT_P. * It SEGV on mswin otherwise.
* Update to ruby/spec@4e486faBenoit Daloze2020-05-3146-99/+634
|
* Update to ruby/mspec@e3abf6bBenoit Daloze2020-05-318-38/+97
|
* Fix error raised by Net::HTTPResponse#inflater if the block raisesBenoit Daloze2020-05-311-0/+67
| | | | * See https://bugs.ruby-lang.org/issues/13882#note-6
* Fix spec description for Net::HTTP.getBenoit Daloze2020-05-311-1/+1
|
* spec: add wsl guardYusuke Endoh2020-05-302-2/+13
| | | | | | | | | | WSL 2 is officially released. It uses Linux kernel, so almost all specs for Linux work on WSL, except one: gethostbyaddr. I guess network resolution in WSL is based on Windows, so the behavior seems a bit different from normal Linux. This change adds `platform_is_not :wsl` guard, and guards out the test in question.
* Use receiver #name rather than #inspect to build NameError messageJean Boussier2020-05-261-0/+30
|
* Fix failures in ./spec/bundler/quality_spec.rbKazuhiro NISHIYAMA2020-05-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | ``` Failures: 1) The library itself does not contain any warnings Failure/Error: raise "Invoking #{method}!(#{args.map(&:inspect).join(", ")}) failed:\n#{last_command.stdboth}" RuntimeError: Invoking sys_exec!("ruby -w") failed: /home/user/snapshot-master/lib/bundler/cli/add.rb:4:in `<module:Bundler>': uninitialized constant Bundler::CLI (NameError) from /home/user/snapshot-master/lib/bundler/cli/add.rb:3:in `<top (required)>' from /home/user/snapshot-master/lib/rubygems/core_ext/kernel_require.rb:91:in `require' from /home/user/snapshot-master/lib/rubygems/core_ext/kernel_require.rb:91:in `require' from -:2:in `<main>' Commands: $ ruby -w /home/user/snapshot-master/lib/bundler/cli/add.rb:4:in `<module:Bundler>': uninitialized constant Bundler::CLI (NameError) from /home/user/snapshot-master/lib/bundler/cli/add.rb:3:in `<top (required)>' from /home/user/snapshot-master/lib/rubygems/core_ext/kernel_require.rb:91:in `require' from /home/user/snapshot-master/lib/rubygems/core_ext/kernel_require.rb:91:in `require' from -:2:in `<main>' # $? => 1 ```
* Fix a failure in bundle version with version outputs the version with build ↵Kazuhiro NISHIYAMA2020-05-251-1/+2
| | | | | | | | | | | | | | | | | | | | metadata ``` 1) bundle version with version outputs the version with build metadata Failure/Error: expect(out).to match(/\ABundler version #{Regexp.escape(Bundler::VERSION)} \(\d{4}-\d{2}-\d{2} commit #{COMMIT_HASH}\)\z/) expected "Bundler version 2.2.0.dev (2020-05-25 commit )" to match /\ABundler version 2\.2\.0\.dev \(\d{4}-\d{2}-\d{2} commit (?-mix:unknown|[a-fA-F0-9]{7,})\)\z/ Diff: @@ -1,2 +1,2 @@ -/\ABundler version 2\.2\.0\.dev \(\d{4}-\d{2}-\d{2} commit (?-mix:unknown|[a-fA-F0-9]{7,})\)\z/ +"Bundler version 2.2.0.dev (2020-05-25 commit )" Commands: $ /home/user/snapshot-master/ruby -I/home/user/snapshot-master/spec/bundler -r/home/user/snapshot-master/spec/bundler/support/artifice/fail.rb -r/home/user/snapshot-master/spec/bundler/support/hax.rb /home/user/snapshot-master/tmp/1/gems/system/bin/bundle version Bundler version 2.2.0.dev (2020-05-25 commit ) # $? => 0 ```
* Fix a error in a `before(:suite)` hookKazuhiro NISHIYAMA2020-05-251-0/+18
| | | | | | | | | | | https://github.com/ruby/actions/runs/703745101?check_suite_focus=true#step:16:27 ``` An error occurred in a `before(:suite)` hook. Failure/Error: contents = File.read(version_file) Errno::ENOENT: No such file or directory @ rb_sysopen - /home/runner/work/actions/actions/snapshot-master/tmp/1/bundler-2.2.0.dev/lib/bundler/version.rb ```
* Fixup 1d079a0c5d4d80860a4d6d692344124fe5c562b5Hiroshi SHIBATA2020-05-223-5/+5
|
* Sync Bundler PR #3624 with HEAD commitsHiroshi SHIBATA2020-05-224-25/+60
|
* Revert 1f011cccb16ca9e8ee378cb5a9d4c14459afd68cHiroshi SHIBATA2020-05-221-1/+0
|
* Marked the failing examples with the current master branch on ruby repositoryHiroshi SHIBATA2020-05-2214-29/+29
|
* Sync Bundler PR #3624Hiroshi SHIBATA2020-05-2247-348/+444
|
* Skip some tests if extracted from tarball (again)Kazuhiro NISHIYAMA2020-05-191-0/+6
| | | | | | | | | Fix up previous commit ref 9aa75795f9f438d5c874d8e418c3c7cdd63024fa, 38002a8adbd98266426940d829429a30af0622a4, and 0e60b59d5884edb8f9aea023efd9b24f1ff02049
* Skip some tests if extracted from tarball (again)Kazuhiro NISHIYAMA2020-05-181-0/+4
| | | | ref 9aa75795f9f438d5c874d8e418c3c7cdd63024fa
* Thread scheduler for light weight concurrency.Samuel Williams2020-05-142-4/+4
|
* clean-up .bundle directory in bundled_appHiroshi SHIBATA2020-05-141-2/+2
|
* Use the gemspec in build_dir directlyHiroshi SHIBATA2020-05-142-5/+6
|
* Skip the examples for bundle exec with gem installationHiroshi SHIBATA2020-05-132-7/+7
|
* Marked the some examples that are not working with the ruby repositoryHiroshi SHIBATA2020-05-131-3/+3
|
* Use relative path in ruby core repositoryHiroshi SHIBATA2020-05-131-1/+1
|
* Unmask the some of examples with ruby_repo labelHiroshi SHIBATA2020-05-132-2/+2
|
* Skip the example to use rake commandHiroshi SHIBATA2020-05-131-1/+1
|
* skip lockfile_spec.rb:33 because it cleanup the .bundle repoHiroshi SHIBATA2020-05-131-1/+1
|
* Resolved the file path of gemspec for ruby core repositoryHiroshi SHIBATA2020-05-132-1/+5
|
* Added test_gems.rb for setup dependenciesHiroshi SHIBATA2020-05-131-1/+4
|
* Update the bundler version with master branchHiroshi SHIBATA2020-05-13121-1959/+2678
|
* Addeed missing RSpec namespaceHiroshi SHIBATA2020-05-091-1/+1
|
* Fix a typo [ci skip]Kazuhiro NISHIYAMA2020-05-091-1/+1
|
* [rubygems/rubygems] Restore the old .gemrc example for compatible testsHiroshi SHIBATA2020-05-081-19/+45
| | | | https://github.com/rubygems/rubygems/commit/c45d65a06d
* Update to ruby/spec@032ee74Benoit Daloze2020-05-03263-922/+922
|
* Update to ruby/mspec@d419d0bBenoit Daloze2020-05-032-2/+9
|
* Show unreserved bits onlyNobuyoshi Nakada2020-05-032-11/+18
| | | | `RUBY_FL_SEEN_OBJ_ID` can be set by #object_id.
* spec/ruby/core/process/clock_getres_spec.rb: lax the resolution limitYusuke Endoh2020-05-031-4/+4
| | | | | | Android is Linux, but the clock resolution is 10 milliseconds. I think that 1 microsecond is too strict for embedded environment. This change laxes the limit to 10 milliseconds.
* DO NOT CORRUPT TYPE FLAGSNobuyoshi Nakada2020-05-031-8/+11
|
* Fixed missing `should`Nobuyoshi Nakada2020-05-031-1/+1
|
* append newline at EOF [ci skip]Nobuyoshi Nakada2020-05-021-1/+1
|
* Command failed to run just failsNobuyoshi Nakada2020-05-021-1/+1
| | | | | | The exact exit status value of command failed to run is not a spec, but a platform dependent implementation detail. Just it is not "success".
* Fix ObjectSpace::WeakMap#key? to work if the value is nilBenoit Daloze2020-05-021-1/+1
| | | | * Fixes [Bug #16826]
* Update to ruby/spec@d394dfdBenoit Daloze2020-05-0244-20/+904
|
* Update to ruby/mspec@ee29a34Benoit Daloze2020-05-027-20/+89
|
* Fixed a message and version guard then moved to the existing blockNobuyoshi Nakada2020-05-011-6/+3
|
* Fix a typoTakashi Kokubun2020-05-011-1/+1
|
* Fix matrix spec for 7d360efe92d2db11a4e51820ed2f52de36b3257fTakashi Kokubun2020-05-011-1/+6
|
* [ruby/spec] expand temporary directory to the real pathNobuyoshi Nakada2020-04-291-2/+2
| | | | It may contain symbolic links.
* [ruby/spec] Temporary directories should be under the mock_dirNobuyoshi Nakada2020-04-294-18/+22
|