Граф коммитов

70297 Коммитов

Автор SHA1 Сообщение Дата
Nobuyoshi Nakada 73d44512e8
[DOC] Update bundled gems list 2021-12-18 01:17:38 +09:00
Kazuhiro NISHIYAMA 9ac52e8ed3
Fix a typo [ci skip] 2021-12-17 22:30:23 +09:00
Burdette Lamar f7e266e6d2
Enhanced RDoc for case mapping (#5245)
Adds file doc/case_mapping.rdoc, which describes case mapping and provides a link target that methods doc can link to.

Revises:

    String#capitalize
    String#capitalize!
    String#casecmp
    String#casecmp?
    String#downcase
    String#downcase!
    String#swapcase
    String#swapcase!
    String#upcase
    String#upcase!
    Symbol#capitalize
    Symbol#casecmp
    Symbol#casecmp?
    Symbol#downcase
    Symbol#swapcase
    Symbol#upcase
2021-12-17 06:05:31 -06:00
Yusuke Endoh 4639336b05 NEWS.md: Fix a typo 2021-12-17 20:34:25 +09:00
David Rodríguez 8d29d1292b [rubygems/rubygems] Improve errors a bit more
https://github.com/rubygems/rubygems/commit/f481e8f41a
2021-12-17 16:35:20 +09:00
David Rodríguez 1537471871 [rubygems/rubygems] Share gem not found logic with transitive dependencies too
https://github.com/rubygems/rubygems/commit/e4a1a9663d
2021-12-17 16:35:20 +09:00
David Rodríguez f3b50507c7 [rubygems/rubygems] Remove unnecessary line break
https://github.com/rubygems/rubygems/commit/84e2d6a955
2021-12-17 16:35:19 +09:00
David Rodríguez 79f72a4540 [rubygems/rubygems] Fix crash when no matching variants are found for the current platform
If we are resolving a dependency against a particular platform, and
there are no platform specific variants of the candidates that match
that platform, we should not consider those candidates.

https://github.com/rubygems/rubygems/commit/f6077fe27d
2021-12-17 16:35:18 +09:00
David Rodríguez c710cdb905 [rubygems/rubygems] Improve error message if only platform doesn't match
https://github.com/rubygems/rubygems/commit/077e3c2e4d
2021-12-17 16:35:18 +09:00
David Rodríguez af4b4fd19b [rubygems/rubygems] Improve resolver error messages
Use a more standard naming for gems.

https://github.com/rubygems/rubygems/commit/75121e83f1
2021-12-17 16:35:17 +09:00
Koichi Sasada ce6fc20f97 data type should be `static` 2021-12-17 15:46:50 +09:00
Koichi Sasada c8f2766ae2 `RUBY_DEFAULT_FREE` is not needed.
pointed by @nobu.
2021-12-17 15:46:50 +09:00
Koichi Sasada 37bd795cf8 `ENV` ivars should not be accessible from ractors
The `ENV` object can have instance variables like other objects,
but they should be accessed only on the main ractor.

fix https://github.com/ruby/ruby/pull/5263#issuecomment-995585766
2021-12-17 15:46:50 +09:00
Masataka Pocke Kuwabara d524b9dec9
NEWS.md: Add link to `rbs collection` documentation 2021-12-17 13:54:23 +09:00
Yusuke Endoh 58333c94d5 NEWS.md: Describe changes of RBS 2021-12-17 13:46:09 +09:00
Nobuyoshi Nakada 2585ff30d7
Send the message for s390x to stderr [ci skip]
Parallel worker's stdout is captured as the control protocol.
2021-12-17 11:28:06 +09:00
git c4c78343e0 Update stdlib version at 693a561cfa [ci skip] 2021-12-16 17:58:00 +00:00
Nobuyoshi Nakada 693a561cfa
[DOC] Exclude non-updated stdlibs since the previous release 2021-12-17 02:41:17 +09:00
git b746b713e5 * 2021-12-17 [ci skip] 2021-12-17 01:56:16 +09:00
Nobuyoshi Nakada 06bdb41c45
dln.c: refine preprocessor conditions by USE_DLN_DLOPEN and _WIN32 2021-12-17 00:44:54 +09:00
Lars Kanis fff058a8d6 Add description of ruby header files to extension.rdoc 2021-12-16 20:10:55 +09:00
S.H 9b187fec58
Add `rb_parser_set_pos` function
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
Co-authored-by: Marivaldo Cavalheiro <marivaldo@gmail.com>
2021-12-16 20:03:44 +09:00
Matheus Richard 41d4902c27 Improve wording on NEWS.md 2021-12-16 20:02:07 +09:00
Nobuyoshi Nakada cf54de637c
[DOC] random number by range 2021-12-16 18:00:23 +09:00
Nobuyoshi Nakada 5bf0060e0a
[DOC] Skip tests if only documents change [ci skip]
Run only checks for source code.  Currently, our CIs do almost
nothing about the documents.
2021-12-16 17:50:20 +09:00
Nobuyoshi Nakada 32ee6f80ee Restore the global random seed 2021-12-16 17:44:12 +09:00
Nobuyoshi Nakada 6c87f8fc29 Fix Kernel#srand and Kernel#rand descriptions [ci skip]
Actually used methods are all instance method, not the singleton
method.
2021-12-16 17:44:12 +09:00
Nobuyoshi Nakada 18fef09a02 Refine wording about the default random seed [ci skip] 2021-12-16 17:44:12 +09:00
Yuta Saito f1a02ebfb9 Install gemspec even though no .rb and no .so
When building with --with-static-linked-ext, some exts without rb file
doesn't produce neither .so or .rb under .ext/common. Therefore, change
rbinstall.rb to install gemspec even if there is no .so or .rb for that
case.
2021-12-16 16:17:41 +09:00
Yuta Saito 332d1e52e6 btest: assign $stderr = STDOUT instead of IO#reopen to be more portable
`IO#reopen` internally uses dup syscall but some platforms don't support
the syscall. re-assigning `$stderr` is enough to capture the interpreter's
errors and warnings.
2021-12-16 16:16:40 +09:00
Nobuyoshi Nakada 69a7eaae38
Use `to_s` and `puts` in tests
`to_s` has the explict specification while `inspect` is often
vague.
2021-12-16 15:12:12 +09:00
Nobuyoshi Nakada 05c9dfe23a
Suppress empty-body warning 2021-12-16 14:19:28 +09:00
Takashi Kokubun 02ba0bda7e
Remove RubyVM::JIT (#5275)
[Feature #18349] reverts [Feature #17490]
2021-12-15 20:02:30 -08:00
git 40cc8e9231 * 2021-12-16 [ci skip] 2021-12-16 06:13:40 +09:00
Alan Wu 7e27de2f1e
YJIT: Remove unused branch_t::src_ctx field
No one reads it at the moment and it's heap allocated.
2021-12-15 16:13:23 -05:00
git fbd21a81f3 Update stdlib version at 333865e56f [ci skip] 2021-12-15 12:52:15 +00:00
Nobuyoshi Nakada 333865e56f
Workaround for reline.gemspec
This file searches "lib/reline/version.rb" in the same directory,
"lib/reline".  As no such path, the file in the default load path
is loaded unexpectedly.
2021-12-15 21:47:41 +09:00
Hiroshi SHIBATA 1694190833
Skip test_operating_system_customizing_default_dir for failing with rubyci 2021-12-15 21:32:32 +09:00
git 1fc80754dd Update stdlib version at 9f87c0cc6d [ci skip] 2021-12-15 10:47:15 +00:00
David Rodríguez 9f87c0cc6d [rubygems/rubygems] Pass `:bimode` explicitly to `File.open`
The `File::BINARY` flag is apparently ignored due to a ruby bug, and
thus writing can cause encoding issues.

https://github.com/rubygems/rubygems/commit/db4efbebf2
2021-12-15 19:46:44 +09:00
David Rodríguez c2dbdf3067 [rubygems/rubygems] Extract a helper to temporarily modify internal encoding
https://github.com/rubygems/rubygems/commit/93051fd2aa
2021-12-15 19:46:43 +09:00
David Rodríguez 890a6b432c [rubygems/rubygems] Unify duplicated helper
https://github.com/rubygems/rubygems/commit/c6ef75424d
2021-12-15 19:46:43 +09:00
Kazuhiro NISHIYAMA de01011da3
Update stdlib version [ci skip] 2021-12-15 18:53:16 +09:00
Hiroshi SHIBATA 5044371621 Skip s390x because Travis CI was failing with unknown reason 2021-12-15 18:05:18 +09:00
Hiroshi SHIBATA 7e084ed707 Merge RubyGems and Bundler master
Merge from 793ad95ecb
2021-12-15 18:05:18 +09:00
git 583e06e28f Update stdlib version at ded33ed5b8 [ci skip] 2021-12-15 09:00:47 +00:00
Nobuyoshi Nakada ded33ed5b8
Update stdlib in NEWS 2021-12-15 17:55:43 +09:00
Kazuhiro NISHIYAMA 7d50142a9b
Remove unused footnote [ci skip] 2021-12-15 16:59:10 +09:00
git b2395539aa Update bundled_gems at 2021-12-15 2021-12-15 07:01:23 +00:00
Nobuyoshi Nakada 0f99f3fe5e
Adjust indents [ci skip] 2021-12-15 15:31:46 +09:00