| Age | Commit message (Collapse) | Author |
|
Bump actions/cache from 2 to 3
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...v3)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
---
.github/workflows/baseruby.yml | 2 +-
.github/workflows/bundled_gems.yml | 2 +-
.github/workflows/check_dependencies.yml | 2 +-
.github/workflows/check_misc.yml | 2 +-
.github/workflows/codeql-analysis.yml | 2 +-
.github/workflows/compilers.yml | 2 +-
.github/workflows/mingw.yml | 2 +-
.github/workflows/mjit.yml | 2 +-
.github/workflows/ubuntu.yml | 2 +-
.github/workflows/windows.yml | 8 ++++----
.github/workflows/yjit-ubuntu.yml | 2 +-
11 files changed, 14 insertions(+), 14 deletions(-)
|
|
[MSWin] Cache installed vcpkg packages
---
.github/workflows/windows.yml | 7 +++++++
1 file changed, 7 insertions(+)
|
|
Fold command line items
---
.appveyor.yml | 28 +++++++++++++++++++++++++---
.github/workflows/windows.yml | 7 +++++--
2 files changed, 30 insertions(+), 5 deletions(-)
|
|
Show tool versions
---
.github/workflows/mingw.yml | 12 ++++++++++++
1 file changed, 12 insertions(+)
|
|
|
|
|
|
Extract bundled gems by BASERUBY
---
common.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
Bundled gems test needs `prepare-gems`
`prepare-gems` downloads and extracts the bundled gems, and these gems
are built by `build-exts` now.
---
.github/workflows/bundled_gems.yml | 5 +++++
.github/workflows/compilers.yml | 2 --
.github/workflows/macos.yml | 4 ++--
.github/workflows/ubuntu.yml | 4 ++--
.github/workflows/yjit-ubuntu.yml | 4 ++--
5 files changed, 11 insertions(+), 8 deletions(-)
|
|
Move to tool/lib/bundled_gem.rb
---
common.mk | 6 +++---
defs/gmake.mk | 4 ++--
tool/gem-unpack.rb | 53 -----------------------------------------------
tool/lib/bundled_gem.rb | 55 +++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 60 insertions(+), 58 deletions(-)
delete mode 100644 tool/gem-unpack.rb
create mode 100644 tool/lib/bundled_gem.rb
|
|
Remove github and git related files from extracted bundled gems
---
common.mk | 3 ++-
defs/gmake.mk | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
|
|
Also the tests should use the configured pkg-config
---
test/mkmf/test_pkg_config.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
Fix parallel build on MINGW
When the build is running with a base ruby then generating `x64-ucrt-ruby320.rc`
could fail due to a missing dependency to `x64-mingw-ucrt-fake.rb`.
This commit adds this dependency.
A failing build looks like so:
```
generating x64-mingw-ucrt-fake.rb
generating x64-ucrt-ruby320.rc
../snapshot-master/win32/resource.rb:in `require': cannot load such file -- ./x64-mingw-ucrt-fake (LoadError)
make: *** [GNUmakefile:57: x64-ucrt-ruby320.rc] Error 1
make: *** Waiting for unfinished jobs....
linking miniruby.exe
x64-mingw-ucrt-fake.rb updated
```
---
cygwin/GNUmakefile.in | 4 ++--
template/Makefile.in | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
|
|
Exclude LIBPATHENV wrapper from PREP
---
common.mk | 4 ++--
configure.ac | 2 +-
template/Makefile.in | 2 ++
3 files changed, 5 insertions(+), 3 deletions(-)
|
|
Move duplicate dependencies
---
common.mk | 2 ++
template/Makefile.in | 5 -----
win32/Makefile.sub | 2 --
3 files changed, 2 insertions(+), 7 deletions(-)
|
|
Run find in PATH [ci skip]
---
template/Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Clean intermediate files for update-deps [ci skip]
---
template/Makefile.in | 1 +
1 file changed, 1 insertion(+)
|
|
Load fake.rb at `BTESTRUBY`
So that `mkmf` checks work from `make run`, and also remove
duplicate `$(MINIRUBYOPT)` which is used in `$(MINIRUBY)`.
---
common.mk | 8 ++++----
template/Makefile.in | 3 +--
template/fake.rb.in | 2 ++
win32/Makefile.sub | 2 +-
4 files changed, 8 insertions(+), 7 deletions(-)
|
|
Quiet if the target is already linked the same source
---
ext/extmk.rb | 2 +-
tool/ln_sr.rb | 6 ++++++
2 files changed, 7 insertions(+), 1 deletion(-)
|
|
Ignore EACCES on Windows
---
tool/ln_sr.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Create temporary file exclusively and clean
---
ext/extmk.rb | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
|
|
Make extensions under `Gem.extension_api_version` directory
---
ext/extmk.rb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
Fix conversion from absolute path to relative path
---
tool/ln_sr.rb | 25 +++++++++++++++----------
1 file changed, 15 insertions(+), 10 deletions(-)
|
|
Avoid to symlink under symlink
---
ext/extmk.rb | 2 +-
tool/ln_sr.rb | 21 ++++++++++++++-------
2 files changed, 15 insertions(+), 8 deletions(-)
|
|
Move copying/linking extra files to Makefile so removed by `clean`
---
ext/extmk.rb | 81 ++++++++++++++++++++++++-----------------
tool/ln_sr.rb | 113 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 161 insertions(+), 33 deletions(-)
create mode 100755 tool/ln_sr.rb
|
|
Ensure symlinks to bundled gem with exts have parent dir
When configuring with `--disable-rpath` and `--static-linked-ext` (e.g.
building for WASI), `extmk.rb` doesn't build exts under bundled gems,
and `.bundle/gems/#{gemname}-#{ver}` are not created due to no call of
`extmake`.
b2491783986084770f6f97552f27b868622730cf starts creating symlink at
`.bundle/gems/#{gemname}-#{ver}/lib`, but the parent dir is not created,
so configuration aginst debug and rbs gems were failed.
---
ext/extmk.rb | 1 +
1 file changed, 1 insertion(+)
|
|
Move timestamps directory for bundled gems
---
ext/extmk.rb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
Use built bundled gems in test-bundled-gems
---
tool/test-bundled-gems.rb | 49 ++++++++++++++++++++++++-----------------------
1 file changed, 25 insertions(+), 24 deletions(-)
|
|
Kill bundled gem tests when interrupted
---
common.mk | 2 +-
tool/test-bundled-gems.rb | 12 ++++++++++--
2 files changed, 11 insertions(+), 3 deletions(-)
|
|
Fallback PKG_CONFIG to the configured pkg-config always
---
lib/mkmf.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
mkmf: Add a configure option to set verbose mode (V=1 or 0) in
mkmf.rb.
Note this change is only for `configure.ac`, not for Windows using
`win32/configure.bat`.
```
$ ./configure --help | grep mkmf
--enable-mkmf-verbose enable verbose in mkmf
```
Run the following command to enable the mkmf verbose mode.
```
$ ./configure --enable-mkmf-verbose
$ grep MKMF_VERBOSE config.status
S["MKMF_VERBOSE"]="1"
```
In this mkmf verbose mode, when compiling a native extension, the
`rake compile` prints the compiling commands such as
"gcc -I. <...> path/to/file" instead of "compiling path/to/file".
```
$ git clone https://github.com/deivid-rodriguez/byebug.git
$ cd byebug
$ bundle install --standalone
$ bundle exec rake compile
...
gcc -I. <...> path/to/file
...
```
---
configure.ac | 7 +++++++
lib/mkmf.rb | 3 ++-
2 files changed, 9 insertions(+), 1 deletion(-)
|
|
Use compiled instead of complied
Capitalize creates
---
lib/mkmf.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
[DOC] make internally used classes/methods nodoc
Empty class documents are generated even with `:stopdoc:`.
---
lib/mkmf.rb | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
|
|
mkmf: unify duplicate code in pkg_config
---
lib/mkmf.rb | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
|
|
Avoid defining the same test class in multiple files
Should fix issues with parallel testing sometimes not running all
tests.
This should be viewed skipping whitespace changes.
Fixes [Bug #18731]
---
test/-ext-/bignum/test_big2str.rb | 38 +-
test/-ext-/bignum/test_bigzero.rb | 20 +-
test/-ext-/bignum/test_div.rb | 38 +-
test/-ext-/bignum/test_mul.rb | 260 ++++++------
test/-ext-/bignum/test_pack.rb | 653 +++++++++++++++----------------
test/-ext-/bignum/test_str2big.rb | 52 ++-
test/-ext-/funcall/test_funcall.rb | 11 -
test/-ext-/funcall/test_passing_block.rb | 5 +
test/date/test_date_ractor.rb | 2 +-
test/fileutils/clobber.rb | 5 +-
test/fileutils/test_dryrun.rb | 2 +-
test/fileutils/test_nowrite.rb | 2 +-
test/fileutils/test_verbose.rb | 2 +-
test/fileutils/visibility_tests.rb | 5 +-
test/mkmf/base.rb | 225 ++++++-----
test/mkmf/test_config.rb | 16 +-
test/mkmf/test_constant.rb | 56 ++-
test/mkmf/test_convertible.rb | 48 ++-
test/mkmf/test_egrep_cpp.rb | 14 +-
test/mkmf/test_find_executable.rb | 82 ++--
test/mkmf/test_flags.rb | 92 +++--
test/mkmf/test_framework.rb | 70 ++--
test/mkmf/test_have_func.rb | 18 +-
test/mkmf/test_have_library.rb | 84 ++--
test/mkmf/test_have_macro.rb | 46 ++-
test/mkmf/test_install.rb | 38 +-
test/mkmf/test_libs.rb | 156 ++++----
test/mkmf/test_mkmf.rb | 14 +-
test/mkmf/test_pkg_config.rb | 98 +++--
test/mkmf/test_signedness.rb | 38 +-
test/mkmf/test_sizeof.rb | 74 ++--
test/optparse/test_acceptable.rb | 2 +-
test/optparse/test_autoconf.rb | 4 +-
test/optparse/test_bash_completion.rb | 4 +-
test/optparse/test_cclass.rb | 2 +-
test/optparse/test_did_you_mean.rb | 2 +-
test/optparse/test_getopts.rb | 4 +-
test/optparse/test_kwargs.rb | 4 +-
test/optparse/test_noarg.rb | 6 +-
test/optparse/test_optarg.rb | 2 +-
test/optparse/test_placearg.rb | 2 +-
test/optparse/test_reqarg.rb | 10 +-
test/optparse/test_summary.rb | 2 +-
test/optparse/test_zsh_completion.rb | 4 +-
test/ruby/enc/test_emoji_breaks.rb | 207 +++++-----
test/ruby/enc/test_grapheme_breaks.rb | 115 +++---
test/ruby/test_inlinecache.rb | 2 +-
47 files changed, 1280 insertions(+), 1356 deletions(-)
delete mode 100644 test/-ext-/funcall/test_funcall.rb
|
|
Update the test for [Feature #18615]
---
test/mkmf/test_flags.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Make implicit function declaration error [Feature #18615]
Enable `-Werror=implicit-function-declaration` by default for
building C extensions for early failures.
---
lib/mkmf.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
mkmf: pkg_config accepts multiple options
---
lib/mkmf.rb | 48 +++++++++++++++++++++++---------------------
test/mkmf/test_pkg_config.rb | 7 +++++++
2 files changed, 32 insertions(+), 23 deletions(-)
|
|
test: backfill coverage for MakeMakefile.pkg_config
---
test/mkmf/test_pkg_config.rb | 61 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
create mode 100644 test/mkmf/test_pkg_config.rb
|
|
Document MakeMakefile#append_cflags
This method is at least 7 years old and is widely used in the wild.
Since we need to support it, let's document it to make it discoverable.
Add docs and move it out of the `# :stopdoc:` zone.
---
lib/mkmf.rb | 25 +++++++++++++++----------
1 file changed, 15 insertions(+), 10 deletions(-)
|
|
Fix missing replacement in 1f91dcdab3b
---
template/Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Copy from bundled gem source for test
---
common.mk | 13 +++++++----
defs/gmake.mk | 4 ++++
tool/gem-unpack.rb | 63 +++++++++++++++++++++++++++++++++++-------------------
3 files changed, 54 insertions(+), 26 deletions(-)
|
|
Use configured GIT
---
common.mk | 4 ++--
defs/gmake.mk | 68 +++++++++++++++++++++++++++++------------------------------
2 files changed, 36 insertions(+), 36 deletions(-)
|
|
Get rid of building main again when test-bundled-gems
---
.github/workflows/ubuntu.yml | 1 +
.github/workflows/yjit-ubuntu.yml | 1 +
common.mk | 3 ++-
defs/gmake.mk | 2 +-
4 files changed, 5 insertions(+), 2 deletions(-)
|
|
Run the prerequisites of test-bundled-gems in order
---
common.mk | 6 +++++-
defs/gmake.mk | 7 ++++++-
2 files changed, 11 insertions(+), 2 deletions(-)
|
|
Followed up CVE-2022-39253 for bundler examples
---
spec/bundler/cache/git_spec.rb | 3 +++
spec/bundler/install/gemfile/git_spec.rb | 9 +++++++++
spec/bundler/update/git_spec.rb | 3 +++
3 files changed, 15 insertions(+)
|
|
dae843f6b7502f921a7e66f39e3714a39d860181,86096a91d55f72620e0f8ca8634da5fa342dc35b:
Bypass git submodule add/update with git config
protocol.file.allow=always option.
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
---
test/rubygems/test_gem_source_git.rb | 5 +++++
1 file changed, 5 insertions(+)
[rubygems/rubygems] Use [] instead of double-quotes
---
test/rubygems/test_gem_source_git.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Define BOOTSTRAPRUBY from HAVE_BASERUBY
---
common.mk | 1 +
configure.ac | 8 --------
template/Makefile.in | 7 +++++--
win32/Makefile.sub | 6 ++++--
4 files changed, 10 insertions(+), 12 deletions(-)
|
|
Use BOOTSTRAPRUBY_COMMAND instead of fake.rb directly
---
common.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
builtin.c includes mini_builtin.c when cross-compiling
---
common.mk | 3 +++
1 file changed, 3 insertions(+)
|
|
Use cross compiling settings as fake.rb for snapshots
---
tool/make-snapshot | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
|