Commit graph

2811 commits

Author SHA1 Message Date
nagachika
e7ab923b88 merge revision(s) d4c720a91b: [Backport #19845]
Fix support for dynamic keys. (#8273)

	* Skip RBS test.
	---
	 cont.c                               |  8 +++-----
	 spec/ruby/core/fiber/storage_spec.rb | 14 ++++++++++++++
	 tool/rbs_skip_tests                  |  2 ++
	 3 files changed, 19 insertions(+), 5 deletions(-)
2023-09-30 13:30:08 +09:00
Hiroshi SHIBATA
bbdffef63c Bump up bundler-2.4.19 2023-08-29 23:25:18 +09:00
Hiroshi SHIBATA
d6c3a1778c Merge RubyGems-3.4.17 and Bundler-2.4.17 2023-08-29 23:25:18 +09:00
Hiroshi SHIBATA
829048df2f Merge RubyGems-3.4.16 and Bundler-2.4.16 2023-08-29 23:25:18 +09:00
Hiroshi SHIBATA
e44e42c303 Merge RubyGems-3.4.15 and Bundler-2.4.15 2023-08-29 23:25:18 +09:00
Hiroshi SHIBATA
a36c836433 Merge RubyGems-3.4.14 and Bundler-2.4.14 2023-08-29 23:25:18 +09:00
Hiroshi SHIBATA
1b1a5b2984 Merge RubyGems-3.4.13 and Bundler-2.4.13 2023-08-29 23:25:18 +09:00
Hiroshi SHIBATA
c71a89f785 Merge RubyGems-3.4.12 and Bundler-2.4.12 2023-08-29 23:25:18 +09:00
Hiroshi SHIBATA
dd91a17560 Merge RubyGems-3.4.11 and Bundler-2.4.11 2023-08-29 23:25:18 +09:00
nagachika
9d8d0585ec merge revision(s) f6adc5be94a9f70a5b9897b81dabdeb49b573393,bccdc041665032b819fab1c04ed4dbdfeeeb366b: [Backport #19582]
Check if Bundler is defined

	---
	 tool/lib/leakchecker.rb | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)

	Check if `Bundler::EnvironmentPreserver` is defined

	Only `Bundler` might be defined.  `EnvironmentPreserver` and its
	`BUNDLER_PREFIX` would be defined together in the same file.
	---
	 tool/lib/leakchecker.rb | 5 ++++-
	 1 file changed, 4 insertions(+), 1 deletion(-)
2023-07-17 09:54:51 +09:00
Hiroshi SHIBATA
34da58bd17 Try to skip Prime_test.rb 2023-06-13 14:01:57 +09:00
Hiroshi SHIBATA
1b2ad95c25 Run test-unit test without rake task to avoid yard dependency 2023-06-13 14:01:57 +09:00
Hiroshi SHIBATA
c3c461c4ff
Merge RubyGems-3.4.10 and Bundler-2.4.10 (#7479)
* Merge RubyGems-3.4.7 and Bundler-2.4.7

* Merge RubyGems-3.4.8 and Bundler-2.4.8

* Skip failing test on MSWin

* Merge RubyGems-3.4.9 and Bundler-2.4.9

* Merge RubyGems-3.4.10 and Bundler-2.4.10

---------

Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2023-03-28 11:36:47 +00:00
Hiroshi SHIBATA
f8c775cb41
Use URI-0.12.1 for Ruby 3.2 (#7603)
* Merge URI-0.12.1

* Use URI-0.12.1

* Update core_assertions for using assert_linear_performance
2023-03-28 11:36:36 +00:00
Hiroshi SHIBATA
65ab2c1ef2
Backport [Bug #19158] for Ruby 3.2 (#7356)
Backport https://github.com/ruby/ruby/pull/7321
2023-02-22 10:00:00 +00:00
NARUSE, Yui
3decf7df6f merge revision(s) 3a7367ccc3: [Backport #19403]
mkconfig: Map `includedir` only for system ruby

	Only when installing to the system path on macOS, prepend '$(SDKROOT)'
	and remap `includedir`.
	Fix https://github.com/rbenv/ruby-build/discussions/2123
	---
	 test/mkmf/test_config.rb | 4 ++--
	 test/test_rbconfig.rb    | 9 ---------
	 tool/mkconfig.rb         | 4 +++-
	 3 files changed, 5 insertions(+), 12 deletions(-)
2023-02-07 15:15:17 +09:00
Hiroshi SHIBATA
f4e6e78410
Merge RubyGems 3.4.6 and Bundler 2.4.6 (#7214)
Merge RubyGems-3.4.6 and Bundler-2.4.6
2023-02-01 12:05:19 +09:00
Hiroshi SHIBATA
a22eca8231
Merge the latest stable versions of RubyGems and Bundler to Ruby 3.2.x (#7061)
[Bug #19350]

* Merge RubyGems-3.4.2 and Bundler-2.4.2

* Merge RubyGems-3.4.3 and Bundler-2.4.3

* Generate parser-text.rb of racc when sync it

* Ignore LICENSE files of libraries vendored in rubygems [ci skip]

* Adjust spec of bundler like as `sync_default_gems` [ci skip]

* Fixed a typo

* Removed vendored LICENSE file.

* Update LEGAL sections for pub_grub

* Merge RubyGems-3.4.4 and Bundler-2.4.4

* Merge RubyGems-3.4.5 and Bundler-2.4.5

Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2023-01-25 23:32:01 +09:00
David Rodríguez
8f05e4f54b Update Bundler to 2.4.1 & and RubyGems to 3.4.1 2022-12-25 05:55:36 +09:00
Nobuyoshi Nakada
3cbe37bd35
Support new style diagnostic reports 2022-12-25 00:43:27 +09:00
Takashi Kokubun
b9332ac8e7
MJIT: Cancel all on disastrous situations (#7019)
I noticed this while running test_yjit with --mjit-call-threshold=1, 
which redefines `Integer#<`. When Ruby is monkey-patched, 
MJIT itself could be broken.

Similarly, Ruby scripts could break MJIT in many different ways. I
prepared the same set of hooks as YJIT so that we could possibly
override it and disable it on those moments. Every constant under
RubyVM::MJIT is private and thus it's an unsupported behavior though.
2022-12-24 01:13:40 -08:00
Hiroshi SHIBATA
f6620037ba Merge RubyGems-3.4.0 and Bundler-2.4.0 2022-12-24 16:57:07 +09:00
Takashi Kokubun
0b2aea861c Polish the public docs for MJIT [ci skip]
Now every private interface is cleaned up, and the public interface is
documented.
2022-12-22 14:30:09 -08:00
Takashi Kokubun
bb4cbd0803
Put RubyVM::MJIT::Compiler under ruby_vm directory (#6989)
[Misc #19250]
2022-12-21 22:46:15 -08:00
Nobuyoshi Nakada
398aaed2f0
Fix the case trailer without newline
cf0b413ef8
2022-12-22 00:34:21 +09:00
Soutaro Matsumoto
6af6857ecf
Set up RBS_SKIP_TESTS (#6862)
* Set up RBS_SKIP_TESTS
2022-12-21 22:11:51 +09:00
Nobuyoshi Nakada
befc99c008
[DOC] tool/update-NEWS-refs.rb: Align footnotes 2022-12-21 20:48:51 +09:00
Nobuyoshi Nakada
c7c006cc68
[DOC] tool/update-NEWS-refs.rb: Remove extra brackets
Surrounding with brackets is just a convention for the bugs tracker
links.
2022-12-21 20:48:51 +09:00
Yuta Saito
afd46429fc tool/m4/ruby_wasm_tools.m4: force passing WASI_SDK_PATH when building for wasi
Make the WASI_SDK_PATH variable mandatory when building for wasi host.
This requirement prevents developers from being stuck due to unfriendly
configuration's error message.
2022-12-21 11:19:23 +09:00
Nobuyoshi Nakada
031bc21abb
expand-config.rb: search revision.h to extract release date 2022-12-20 17:40:19 +09:00
Yusuke Endoh
2605ff79aa tool/update-NEWS-refs.rb: Accept non-redmine url links 2022-12-19 14:48:18 +09:00
Yusuke Endoh
b9ea83fc1c Update NEWS.md
Regexp optimization and Wasm support are added.
2022-12-16 02:21:50 +09:00
Hiroshi SHIBATA
f2690be746
Removed temporary workaround for syntax_suggest tags 2022-12-16 15:48:00 +09:00
Hiroshi SHIBATA
49b0f3b024 Merge RubyGems/Bundler master
Pick from 084f7d1f21
2022-12-15 19:06:40 +09:00
Samuel Williams
d20bd06a97
Remove require 'io/wait' where it's no longer necessary. (#6932)
* Remove `require 'io/wait'` as it's part of core now.

* Update ruby specs using version gates.

* Add note about why it's conditional.
2022-12-15 11:37:01 +13:00
Hiroshi SHIBATA
20c34f10d7
Use versioning sort for released version detection 2022-12-14 15:46:19 +09:00
Takashi Kokubun
abf9a32182
Match ABI versions precisely
"3.2.0+33" starts with "3.2.0+3", but it doesn't mean that they are the
same ABI version.
2022-12-13 22:07:42 -08:00
Jimmy Miller
2d5b723b2f
Fix build when enable_shared is on (#6924)
Before this change, if enable_shared was true, the directory would have a suffix of -static and be deleted on each make install. This would cause a second make install to fail.
2022-12-13 21:59:21 -08:00
Hiroshi SHIBATA
03927b565b
Pin syntax_suggest-1.0.1 manually because it mixed dead_end tags 2022-12-14 12:57:30 +09:00
Takashi Kokubun
3262842e0a
Skip calling f.read for overwrite: true-only cases
We only need to set outpath for that case.
2022-12-13 00:25:02 -08:00
Takashi Kokubun
5ba9dcff16
Make sure f.read is not called twice
--revision.h and --if-change are not used simultaneously, but they might
be in the future.

Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2022-12-13 00:17:47 -08:00
Takashi Kokubun
7edcdc380f
Avoid overwriting revision.h when .git doesn't exist (#6915)
* Avoid overwriting revision.h when .git doesn't exist

* Overwrite revision.h if it's blank
2022-12-12 23:34:30 -08:00
David Rodríguez
17559f0420 Don't leave backup file around
I suspect this was for debugging? If not, these days we have source
control tools, so this wouldn't seem necessary?
2022-12-13 07:01:52 +09:00
Nobuyoshi Nakada
6d6b1e5990
Display error messages outside the groups so can be found quickly 2022-12-12 23:32:37 +09:00
Nobuyoshi Nakada
e809bd31fd
Fix positional argument color [ci skip] 2022-12-12 23:32:37 +09:00
Nobuyoshi Nakada
0ba65c689e
outdate-bundled-gems.rb: check for gemspec files for extensions
https://github.com/ruby/setup-ruby/issues/415#issuecomment-1345662263
2022-12-12 17:05:37 +09:00
Nobuyoshi Nakada
ff6831c334
outdate-bundled-gems.rb: remove unused option 2022-12-12 17:05:03 +09:00
Hiroshi SHIBATA
bbe56a6437 Merge RubyGems/Bundler master
from bfb0ae6977
2022-12-12 10:49:43 +09:00
Nobuyoshi Nakada
0645c8b3c1
[DOC] Fix update-NEWS-refs.rb
* Issue numbers are path components but not fragments
* Align justification width to Feature lines
2022-12-10 19:01:29 +09:00
Hiroshi SHIBATA
2efaa80523
Don't sync jar artifact of CGI 2022-12-08 12:22:02 +09:00