summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Use rdoc-ref to fix a few links in the READMEJeremy Evans2021-10-301-3/+3
| | | | | | | This may break linking on GitHub, but it's more important for the links to work in the documentation generated by rdoc. Fixes [Bug #14743]
* Clarify docs about magic comments placementPeter Leitzen2021-10-301-3/+3
| | | | | | Magic comments like `frozen_string_literal` may appear everywhere within the first comment section while `encoding` have to be the first line, or second line after shebang.
* [rubygems/rubygems] Better error when installing a git lockfile and git not ↵David Rodríguez2021-10-302-3/+43
| | | | | | present https://github.com/rubygems/rubygems/commit/28f4842196
* Cleanup GC.auto_compact specBenoit Daloze2021-10-291-2/+3
| | | | * Make the supported check more obvious.
* Skip GC.auto_compact= spec for platforms not supporting itBenoit Daloze2021-10-291-10/+11
| | | | * See https://github.com/ruby/spec/pull/891
* Add comments about send method types (#5059)Maxime Chevalier-Boisvert2021-10-291-0/+2
|
* Get rid of exponential backtracks found by CodeQLNobuyoshi Nakada2021-10-302-2/+2
| | | | | Since these regexps are used at build/installation, they are not vulnerabilities.
* * 2021-10-30 [ci skip]git2021-10-301-1/+1
|
* make obj_free return true when it frees an objectMatt Valentine-House2021-10-291-9/+8
| | | | | Previously obj_free returned true when it could not free a slot because of a finalizer, and false when it successfully frees a slot.
* Prefer size pool heap macros over direct accessMatt Valentine-House2021-10-291-15/+15
|
* Preserve the encoding of message from outer local variableNobuyoshi Nakada2021-10-292-1/+5
| | | | In the case of read-only but refering an unshareable object.
* Preserve the encoding of message from outer local variablesNobuyoshi Nakada2021-10-293-47/+41
|
* Remove redundant callsNobuyoshi Nakada2021-10-291-3/+3
| | | | The ArgumentError should raise in `isolate`.
* [rubygems/rubygems] Enforce bundler platform (and default gem) to keep ↵Josef Šimánek2021-10-291-1/+2
| | | | | | invalid gemspec test compatible with ruby-trunk. https://github.com/rubygems/rubygems/commit/a77061d4e9
* [rubygems/rubygems] Update mirror_probe realword specs to not rely exactly ↵Josef Šimánek2021-10-291-14/+9
| | | | | | | | at raised HTTP exception. - this exception differs across Ruby versions. https://github.com/rubygems/rubygems/commit/38c6927a5f
* [rubygems/rubygems] Install stringio for standalone spec.Josef Šimánek2021-10-291-1/+1
| | | | | | | | - previously it was required already by net/http, but it is not anymore using ruby-trunk - https://github.com/ruby/net-http/commit/996d18a43f34557cb0b2fcf41b93131d48a235f4 - https://github.com/ruby/ruby/commit/364044e0909692315bd6c2f0e1d968ede9c2beb8#diff-a1d29a94def02829fd4f9ba591199acf079e028f5a2002a77c363eb01212e112 https://github.com/rubygems/rubygems/commit/be1779655a
* [rubygems/rubygems] Assert NoMethodError message only partialy in ↵Josef Šimánek2021-10-291-1/+1
| | | | | | | | downloader_spec. - latest ruby adds error_highlight gem introducing backtrace into exception message https://github.com/rubygems/rubygems/commit/08c70f9dd0
* [rubygems/rubygems] Lock racc version in platform_spec.Josef Šimánek2021-10-291-2/+2
| | | | | | | - latest ruby is shipped with racc 1.6 making this spec failing - this spec is related to platform locking, changing version should not do any harm https://github.com/rubygems/rubygems/commit/3e18b626cb
* [rubygems/rubygems] Vendor tsort into rubygemsFrederik Dudzik2021-10-295-6/+463
| | | | | | | | | | | | | | | So that it loads a consistent version of the library and `rubygems` is never affected by gem activation conflicts related to `tsort`. Getting CI green required updating one `bundler` spec, because `tsort` is no longer loaded by `bundle clean` until after `BUNDLE_PATH` has been changed, so to ensure it is found, it needs to be installed under `BUNDLE_PATH` as well (which will be different from the global system path on Bundler 3, meaning installing `tsort` to the global system path is not enough there). This spec workaround can be removed once we also vendor `tsort` inside `bundler`. https://github.com/rubygems/rubygems/commit/d326880999
* Support gemification of tsortFrederik Dudzik2021-10-295-4/+461
| | | | | Co-authored-by: Frederik Dudzik <frederik.dudzik@shopify.com> Co-authored-by: Jacques Chester <jacques.chester@shopify.com>
* [rubygems/rubygems] Add new default gems to setup_spec exempts.Josef Šimánek2021-10-291-0/+2
| | | | | | | | | - error_highlight was introduced at https://github.com/ruby/ruby/commit/e94604966572bb43fc887856d54aa54b8e9f7719 orriginally as error_squiggle later renamed at https://github.com/ruby/ruby/commit/9438c99590f5476a81cee8b4cf2de25084a40b42 - ruby2_keywords was introduced as a placeholder gem only at https://github.com/ruby/ruby/commit/21d2463fbc5094aa2ad92a21c910dccdc928b920 https://github.com/rubygems/rubygems/commit/c9ebe7c7d2
* [rubygems/rubygems] Unskip inline spec that can pass now on the latest rubiesDavid Rodríguez2021-10-291-1/+3
| | | | https://github.com/rubygems/rubygems/commit/a81d4421b4
* [rubygems/rubygems] use Rubocop Lint/Debugger check rather than custom specFrederik Dudzik2021-10-291-29/+0
| | | | | | | | We have a quality spec that check for debugger statements. Rubocop has a cop that tests for the same thing. As such it makes sense to remove the spec and activate the cop. https://github.com/rubygems/rubygems/commit/dc1eb6eec5
* Skip CodeQL if only document files changed [ci skip]Nobuyoshi Nakada2021-10-291-0/+8
|
* Update stdlib versionKazuhiro NISHIYAMA2021-10-291-1/+1
|
* vm_core.h: Avoid unaligned access to ic_serial on 32-bit machineYusuke Endoh2021-10-294-9/+42
| | | | This caused Bus error on 32 bit Solaris
* Merge macOS CIs to reduce concurrencyNobuyoshi Nakada2021-10-292-81/+7
| | | | | | | | On GitHub Actions, the macOS runners seem much more expensive than Ubuntu, and its limit is the most significant bottlenecks for our CIs. As the "check" tasks usually finish 3 or 4 times faster than "test-bundler-parallel", it will be balanced by running all three "check" tasks sequentially.
* Mitigate the timeout of tests [ci skip]Nobuyoshi Nakada2021-10-293-3/+3
| | | | | * The worker timeouts seem working for test-all. * The bundled gems have increased.
* Cleanup some RDoc (#5050)Burdette Lamar2021-10-281-23/+106
| | | Mostly adding blank line before and after code segment, to improve compliance with doc\documentation_guide.rdoc.
* Fix script_lines in loaded iseq as nilNobuyoshi Nakada2021-10-292-1/+7
|
* Enhanced RDoc for Numeric (#4994)Burdette Lamar2021-10-281-68/+120
| | | | | | | | | | | | Treats: #eql? #<+> #floor #ceil #round #truncate #step
* Rename ::YJIT to RubyVM::YJITAlan Wu2021-10-286-17/+19
| | | | | Since the YJIT Ruby module is CRuby specific and not meant for general use, it should live under RubyVM instead of at top level.
* [rubygems/rubygems] Only delete cached gem when it's corruptedDavid Rodríguez2021-10-291-1/+1
| | | | | | | | Rescuing all errors here might end up hiding other errors if the deletion of the cached gem itself raises an error for some reason. Let's be more conservative. https://github.com/rubygems/rubygems/commit/3d80dfba08
* need to mark script_linesKoichi Sasada2021-10-291-0/+1
|
* string.c: Add some comments about STR flagsYusuke Endoh2021-10-291-3/+7
|
* Update to ruby/spec@21a48d9Benoit Daloze2021-10-2825-38/+454
|
* * 2021-10-29 [ci skip]git2021-10-291-1/+1
|
* Skip tests if only document files changedNobuyoshi Nakada2021-10-2912-12/+139
|
* Add changes Enumerable#each_cons and each_slice in NEWS [ci skip]osyo-manga2021-10-281-0/+13
|
* Downloader: retry when RFC 2616 noncompliant dates [ci skip]Nobuyoshi Nakada2021-10-281-5/+8
| | | | | | zlib.net rarely returns the current time in RFC 2616 noncompliant format in the response header, and the checksum does not match in that case (maybe creating the tarball on the fly?).
* Fix leap day with UTC offset [Bug #18274]Nobuyoshi Nakada2021-10-282-1/+3
| | | | | `struct vtm::year` is a Ruby integer instance, but not a C integer type.
* add `make runirb` ruleKoichi Sasada2021-10-281-0/+3
| | | | it's start irb on built ruby (not installed ruby).
* Update TypeProf to 0.20.2Yusuke Endoh2021-10-281-1/+1
|
* Prune stale worktrees before checking out a new pull request [ci skip]Nobuyoshi Nakada2021-10-281-0/+1
|
* Fix a warningKazuhiro NISHIYAMA2021-10-281-1/+1
| | | | | | | | | | | ``` ../gc.c:2342:45: warning: comparison of integers of different signs: 'short' and 'size_t' (aka 'unsigned long') [-Wsign-compare] GC_ASSERT(size_pools[pool_id].slot_size == slot_size); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ``` Add cast to short, because `GC_ASSERT`s in `size_pool_for_size` already use cast to short.
* Fix a warningKazuhiro NISHIYAMA2021-10-281-1/+1
| | | | | | | | ``` ../gc.c:2342:25: warning: array subscript is of type 'char' [-Wchar-subscripts] GC_ASSERT(size_pools[pool_id].slot_size == slot_size); ^~~~~~~~ ```
* Follow up the RString change [ci skip]Nobuyoshi Nakada2021-10-281-2/+1
| | | | | Since 46b66eb9e8e6de2d5750591e532310e8f8599d90, already `ary` has been enclosed in `embed`.
* * 2021-10-28 [ci skip]git2021-10-281-1/+1
|
* YJIT: move --yjit-stats at_exit call into RubyAlan Wu2021-10-273-14/+17
| | | | | | This change fixes `-v --yjit-stats`. Previously in this situation, YJIT._print_stats wasn't defined as yjit.rb is not evaluated when there is only "-v" and no Ruby code to run.
* Expect multi-line -v output for -DRUBY_DEVEL in testsAlan Wu2021-10-271-2/+5
| | | | | | On -DRUBY_DEVEL builds, `ruby -v` can print extra info about the last commit on a separate line, breaking some tests that expect a single line. Assert only the first line instead.