Hiroshi SHIBATA
bb61e45ae7
[rubygems/rubygems] Keep Kernel#require private
...
https://github.com/rubygems/rubygems/commit/cd59e73efa
2023-07-25 06:23:22 +00:00
Hiroshi SHIBATA
95cde6e4c2
[rubygems/rubygems] Don't use redefine_method
...
https://github.com/rubygems/rubygems/commit/f733f90110
2023-07-25 06:23:22 +00:00
Hiroshi SHIBATA
f5e03ef31c
[rubygems/rubygems] Warn if file is loaded without Gemfile
...
https://github.com/rubygems/rubygems/commit/bf59dcdad1
2023-07-25 06:23:21 +00:00
Nobuyoshi Nakada
70eeec0cad
[rubygems/rubygems] Simplify double loop
...
https://github.com/rubygems/rubygems/commit/630dc02112
2023-07-25 04:52:54 +00:00
Nobuyoshi Nakada
1b27e7aa1f
[rubygems/rubygems] Use `Monitor#synchronize` to ensure to exit
...
https://github.com/rubygems/rubygems/commit/b424353239
2023-07-25 04:52:54 +00:00
Kentaro Takeyama
f72ddd92be
[rubygems/rubygems] Bundler: Update bundle-outdated(1) man
...
Updated output examples to current format since the output format has changed since version 2.2.0.dev
https://github.com/rubygems/rubygems/commit/48d98f906a
2023-07-24 23:58:06 +00:00
Alan Wu
b106cf2eef
GitHub Actions: fix ENOENT for jobs running in forks
...
https://github.com/peterzhu2118/ruby/actions/runs/5649652235/job/15304434412
> Errno::ENOENT: No such file or directory @ rb_sysopen -
> ./.downloaded-cache/config.guess:
> https://raw.githubusercontent.com/gcc-mirror/gcc/master/config.guess
Unsure about the root cause but making sure the directory is there seems like a
plausible fix. Maybe the issue is sensitive to cache state.
2023-07-24 19:23:08 -04:00
Takashi Kokubun
cef60e93e6
YJIT: Fallback send instructions to vm_sendish ( #8106 )
2023-07-24 13:51:46 -07:00
Nobuyoshi Nakada
c4e893ceb5
Adjust brace nesting
2023-07-25 00:01:52 +09:00
Nobuyoshi Nakada
1faeb44dfc
Check if macros are defined before using
...
Assume macros with the same prefix would be defined together.
2023-07-24 23:59:50 +09:00
Nobuyoshi Nakada
14d1540768
RString NULL ptr check only when RUBY_DEBUG
...
Since edf01d4e82
, fake string treats
NULL as an empty string.
2023-07-24 23:57:28 +09:00
Nobuyoshi Nakada
1780ad3748
Extract magic numbers
2023-07-24 23:41:01 +09:00
Jean Boussier
43a5c19135
Use the caller location as default filename for eval family of methods
...
[Feature #19755 ]
Before (in /tmp/test.rb):
```ruby
Object.class_eval("p __FILE__") # => "(eval)"
```
After:
```ruby
Object.class_eval("p __FILE__") # => "(eval at /tmp/test.rb:1)"
```
This makes it much easier to track down generated code in case
the author forgot to provide a filename argument.
2023-07-24 14:51:20 +02:00
Benoit Daloze
14d16bdb1a
[ruby/openssl] Always respect the openssl prefix chosen by truffle/openssl-prefix on TruffleRuby
...
* See https://github.com/ruby/openssl/issues/650#issuecomment-1645699608
https://github.com/ruby/openssl/commit/ca738e7e13
2023-07-24 15:08:54 +09:00
Hiroshi SHIBATA
dd1af4b22d
[rubygems/rubygems] Rename local to lockfile and global to system
...
https://github.com/rubygems/rubygems/commit/456fd05d3a
2023-07-24 15:04:24 +09:00
David Rodríguez
34f541ae36
[rubygems/rubygems] Avoid unnecessary network requests for local gem
...
https://github.com/rubygems/rubygems/commit/ec5f04f7b1
2023-07-24 15:03:15 +09:00
David Rodríguez
0b0df03b0d
[rubygems/rubygems] Avoid printing using messages when version has not changed
...
https://github.com/rubygems/rubygems/commit/9635a2fd74
2023-07-24 15:03:15 +09:00
David Rodríguez
8c82b35791
[rubygems/rubygems] Exclude Bundler from missing locked dependencies check
...
Bundler is special since it's not actually locked in the lockfile as a
regular gem (only via `BUNDLED WITH`). So exclude it from that check.
https://github.com/rubygems/rubygems/commit/9f1756ec47
2023-07-24 15:03:15 +09:00
David Rodríguez
0e7536bf49
[rubygems/rubygems] Prefer squiggly heredocs over custom helper
...
https://github.com/rubygems/rubygems/commit/258476c38a
2023-07-24 14:59:34 +09:00
David Rodríguez
5a43b0ddd5
[rubygems/rubygems] Remove unused module inclusion
...
https://github.com/rubygems/rubygems/commit/0f58ef6a32
2023-07-24 14:59:34 +09:00
David Rodríguez
c31a9cf829
[rubygems/rubygems] Refactor spec helpers for reading lockfiles
...
https://github.com/rubygems/rubygems/commit/ea2a30ba08
2023-07-24 14:59:33 +09:00
David Rodríguez
ebc3174123
[rubygems/rubygems] Simplify `bundle lock` specs
...
https://github.com/rubygems/rubygems/commit/6301d3eece
2023-07-24 14:59:32 +09:00
Burdette Lamar
bcc160b449
[DOC] RDoc for File::Constants ( #8103 )
2023-07-23 10:24:19 -04:00
nagachika
4dccb145a8
tool/merger.rb: Support commit URLs as revisions
2023-07-23 22:47:09 +09:00
Takashi Kokubun
dd04def10f
Try to fix NoMethodError on update-deps
2023-07-21 21:07:04 -07:00
Takashi Kokubun
7cecd15587
Suppress flaky update-deps failures for any win32 files
...
win32/win32.o was also unstable:
https://github.com/ruby/ruby/actions/runs/5628655900/job/15252762821?pr=8107
At this point, any win32 files seem suspicious. Let's just ignore all
such files.
2023-07-21 20:57:54 -07:00
Peter Zhu
11deab7906
Remove unused code in darray.h
2023-07-21 15:44:24 -04:00
Takashi Kokubun
83605bb614
Just assume rustc is in the container
2023-07-21 10:50:19 -07:00
Jemma Issroff
25267fdd69
[ruby/yarp] Exclude heredoc_nested test for Rubies < 3.3
...
Ripper's lexemes were slightly different in Ruby 3.2 for Heredocs.
We ignored this complex heredoc test in this case because
Ripper's output has changed
https://github.com/ruby/yarp/commit/59d3d4a899
2023-07-21 15:48:19 +00:00
Nobuyoshi Nakada
22f9735587
Use already installed `rustc` if available [ci skip]
2023-07-21 18:38:29 +09:00
Hiroshi SHIBATA
7fdf98ef39
[rubygems/rubygems] Deprecate Gem::Platform.match
...
https://github.com/rubygems/rubygems/commit/e3ba3e2225
2023-07-21 08:47:55 +00:00
Nobuyoshi Nakada
f602cb55d7
[rubygems/rubygems] Boundary check in `Gem::StreamUI#choose_from_list`
...
https://github.com/rubygems/rubygems/commit/abacb0cb34
2023-07-21 07:48:49 +00:00
Nobuyoshi Nakada
47c7c188e0
Add comments to id.h and undef finished macros
2023-07-21 14:52:43 +09:00
Takashi Kokubun
8d9a25a6d7
misc/gdb.py: Allow overriding stack_size [ci skip]
2023-07-20 15:04:51 -07:00
Burdette Lamar
210caa777b
More RDoc for Dir.glob ( #8088 )
2023-07-20 16:50:45 -04:00
Takashi Kokubun
c4ef3d767b
YJIT: Rename exec_instruction to yjit_insns_count ( #8102 )
2023-07-20 15:54:59 -04:00
Takashi Kokubun
b71f79dd17
Add a missing *
...
Co-authored-by: Alan Wu <alansi.xingwu@shopify.com>
2023-07-20 12:52:56 -07:00
Takashi Kokubun
1129488f6f
Ignore win32/file.o on update-deps
...
This job has been so flaky:
https://github.com/ruby/ruby/actions/runs/5614842978/job/15213840097
2023-07-20 12:04:16 -07:00
Takashi Kokubun
a7127745f1
Get rid of obsoleted __bp__ references
2023-07-20 11:55:31 -07:00
git
bbf059fb84
Update default gems list at 134d874173
[ci skip]
2023-07-20 18:52:03 +00:00
Jemma Issroff
134d874173
Sync YARP gemspec ( #8101 )
...
* Sync YARP gemspec
We were previously not syncing the YARP gemspec over which meant
that the Ruby YARP gem was out of sync.
* Sync YARP node / lex_compat files
2023-07-20 14:51:17 -04:00
Kunshan Wang
639aa76e82
Embed struct rmatch into GC slot ( #8097 )
2023-07-20 14:17:38 -04:00
Jean Boussier
460c27dc15
[ruby/syntax_suggest] Handle new eval source location
...
See https://bugs.ruby-lang.org/issues/19755
In Ruby 3.3, using `eval` without providing a source location
will now default to `"(eval at #{__FILE__}:#{__LINE__})"`.
https://github.com/ruby/syntax_suggest/commit/8e5076472e
2023-07-20 17:58:52 +00:00
Takashi Kokubun
b41fc9b9a4
YJIT: Avoid undercounting retired_in_yjit ( #8038 )
...
* YJIT: Count the number of failed instructions
* Rename yjit_insns_count to exec_instructions instead
* Hoist out the exec_instruction counter
2023-07-20 13:14:25 -04:00
Aaron Patterson
abce8583e2
[ruby/yarp] Fix heredocs inside %W and %w lists
...
The problem was that we were treating heredoc bodies as part of the %W
list because we didn't push the scanning cursor past the heredoc after
lexing out the here doc. To fix this, we changed the whitespace
scanning function to quit scanning when it reaches a newline but only in
the case that a heredoc is present.
Additionally, we need to prevent double counting newlines in the case of
a heredoc. For example:
```ruby
%W(<<foo 123)
foo
```
The newline after the `)` is counted as part of scanning the heredoc, so
we added logic to prevent double counting the newline when scanning the
rest of the %W list.
https://github.com/ruby/yarp/commit/eb090d8126
Co-authored-by: Jemma Issroff <jemmaissroff@gmail.com>
2023-07-20 14:58:11 +00:00
Alan Wu
5c219c1b7f
proc.c: Remove unused parameter [ci skip]
2023-07-20 10:53:31 -04:00
S-H-GAMELINKS
76ea8ecbf3
Supress warning that variable may be used uninitialized with ripper building
2023-07-20 21:55:44 +09:00
Matt Valentine-House
dd8372b3f3
cvc table entries can move
2023-07-20 13:38:58 +01:00
git
62cb739ba5
Update bundled gems list at 2023-07-20
2023-07-20 07:00:26 +00:00
Nobuyoshi Nakada
419fbc77e0
[rubygems/rubygems] Clear `YAML` constant if it was undefined previously
...
https://github.com/rubygems/rubygems/commit/31d0311258
2023-07-19 23:20:54 +00:00