Kevin Newton
6bcbb9a02b
Make prism respect dump_without_opt
2024-01-22 10:18:41 -05:00
Matt Valentine-House
2abf153016
[PRISM] Add TP call/return events to method ISEQs
2024-01-22 09:40:52 -05:00
Kevin Newton
ee8f92673b
Enable test_syntax.rb
2024-01-22 09:10:43 -05:00
Matt Valentine-House
b8495048fb
[ruby/prism] Unescape method name for unary methods.
...
https://github.com/ruby/prism/commit/4386a4c0da
2024-01-22 13:19:57 +00:00
Jean Boussier
b4b35b1468
Add an autoload spec for the behavior inside autoload but after the constant is defined
2024-01-22 13:45:24 +01:00
git
b841e32bbb
Update default gems list at d940e3b2c3c413b697c415718d4ef0 [ci skip]
2024-01-22 10:40:26 +00:00
Nobuyoshi Nakada
d940e3b2c3
cexpr! must be up to one per line now
2024-01-22 19:39:34 +09:00
Nobuyoshi Nakada
127b19ab56
Use line numbers as builtin-index
...
The order of iseq may differ from the order of tokens, typically
`while`/`until` conditions are put after the body.
These orders can match by using line numbers as builtin-indexes, but
at the same time, it introduces the restriction that multiple `cexpr!`
and `cstmt!` cannot appear in the same line.
Another possible idea is to use `RubyVM::AbstractSyntaxTree` and
`node_id` instead of ripper, with making BASERUBY 3.1 or later.
2024-01-22 19:39:34 +09:00
git
15f6ee057d
Update bundled gems list at 754e4e0c9cab9d5a71c33831f7cad5 [ci skip]
2024-01-22 09:23:58 +00:00
Hiroshi SHIBATA
754e4e0c9c
Stop sync csv repo
2024-01-22 18:23:05 +09:00
Hiroshi SHIBATA
2e69137dbe
Use version dependant library for completion test
2024-01-22 18:23:05 +09:00
Hiroshi SHIBATA
92141d6269
Document about csv at Ruby 3.4
2024-01-22 18:23:05 +09:00
Hiroshi SHIBATA
f2dce4e6e0
spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/library/csv/**/*.rb
2024-01-22 18:23:05 +09:00
Hiroshi SHIBATA
e195710d10
Extract csv
2024-01-22 18:23:05 +09:00
git
a70e500494
Update default gems list at 3d19409637de1462b6790d2a92344b [ci skip]
2024-01-22 07:06:37 +00:00
yui-knk
3d19409637
Use index for referring to symbols in args rule instead of named references
...
In `args: args ',' arg_splat`, `args` is not unique name.
Currently the associated rule is interpreted as
`$$ = rest_arg_append(p, $$, $3, &@$);`.
The action works as expected because `$$` is initialized with
`$1` before each action is executed.
However it's misleading then change to use index.
2024-01-22 16:05:43 +09:00
git
3736130dfa
Update bundled gems list at 8bcc764f71c8bb93871dc6a7526319 [ci skip]
2024-01-22 07:00:13 +00:00
Hiroshi SHIBATA
8bcc764f71
Document about syslog at Ruby 3.4
2024-01-22 15:59:40 +09:00
Hiroshi SHIBATA
b5b98546cf
spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/library/syslog/**/*.rb
2024-01-22 15:59:40 +09:00
Hiroshi SHIBATA
029b6d5b76
Extract syslog
2024-01-22 15:59:40 +09:00
git
4d31d6802a
Update bundled gems list at 38a1b88d1eb7cc1c0ff2baa36e8550 [ci skip]
2024-01-22 05:18:23 +00:00
Hiroshi SHIBATA
38a1b88d1e
Skip nkf from check_existence
2024-01-22 14:17:52 +09:00
Hiroshi SHIBATA
52a0ebe292
Document about nkf at Ruby 3.4
2024-01-22 14:17:52 +09:00
Hiroshi SHIBATA
f869f2ecf1
Stop sync nkf repo
2024-01-22 14:17:52 +09:00
Hiroshi SHIBATA
df70faa9c9
Extract nkf
2024-01-22 14:17:52 +09:00
Eddie Lebow
34315510d3
[ruby/irb] Fix documentation typo, niL -> nil
...
https://github.com/ruby/irb/commit/79086a9dda
2024-01-22 04:42:37 +00:00
Hiroshi SHIBATA
3b3f03666a
Refine entry title
2024-01-22 12:35:04 +09:00
Hiroshi SHIBATA
c44d15c639
Stop sync drb repo
2024-01-22 12:35:04 +09:00
KJ Tsanaktsidis
6c0e58a54e
Make sure the correct error is raised for EAI_SYSTEM resolver fail
...
In case of EAI_SYSTEM, getaddrinfo is supposed to set more detail in
errno; however, because we call getaddrinfo on a thread now, and errno
is threadlocal, that information is being lost. Instead, we just raise
whatever errno happens to be on the calling thread (which can be
something very confusing, like `ECHILD`).
Fix it by explicitly propagating errno back to the calling thread
through the getaddrinfo_arg structure.
[Bug #20198 ]
2024-01-22 14:34:31 +11:00
dependabot[bot]
ce5e7629b5
Bump ruby/setup-ruby from 1.167.0 to 1.168.0
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.167.0 to 1.168.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Commits](b203567269...432702e864 )
---
updated-dependencies:
- dependency-name: ruby/setup-ruby
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-21 19:32:24 -08:00
git
12e697f99d
Update default gems list at 5b109ff14d274d0599839c61c77b32 [ci skip]
2024-01-22 03:31:13 +00:00
Hiroshi SHIBATA
5b109ff14d
[ruby/nkf] Bump up version to 0.2.0
...
https://github.com/ruby/nkf/commit/65506fecfd
2024-01-22 03:30:12 +00:00
Nobuyoshi Nakada
4a11f50f79
[DOC] Update command_injection.rdoc
...
- Add missing `Kernel.exec` and `Kernel.spawn`.
- Elaborate arguments that can cause injections.
2024-01-22 12:06:00 +09:00
KJ Tsanaktsidis
33290896dc
Disable NSS modules when using the leakchecker
...
The leakchecker will report leaked file descriptors when tests do things
like access `Etc.getgrgid`, for example, if NSS modules (like `sss`)
handle these lookups by connecting to a daemon like `sssd` and leave the
connection open.
To address this, we can call glibc's `__nss_configure_lookup` to
override NSS modules configured in /etc/nsswitch.conf and only use
ordinary file/DNS lookups.
(This is a cherry-pick of a patch applied to ruby/mspec here:
https://github.com/ruby/mspec/pull/62 )
2024-01-22 13:44:52 +11:00
git
0fadac4c7d
Update bundled gems list at 52fc93cab71e56699fb2b216faca12 [ci skip]
2024-01-22 02:09:35 +00:00
Hiroshi SHIBATA
52fc93cab7
added redirect wrapper for envutil
2024-01-22 11:08:59 +09:00
Hiroshi SHIBATA
220f7c9d8e
Re-use drb from bundled gems
2024-01-22 11:08:59 +09:00
Hiroshi SHIBATA
854b1f6072
Document about drb at Ruby 3.4
2024-01-22 11:08:59 +09:00
Hiroshi SHIBATA
87f16fbc6d
spec/mspec/tool/wrap_with_guard.rb 'ruby_version_is ""..."3.4"' spec/ruby/library/drb/start_service_spec.rb
2024-01-22 11:08:59 +09:00
Hiroshi SHIBATA
36fc5ee64f
Extract drb
2024-01-22 11:08:59 +09:00
Stan Hu
67b00f721d
Make tests play with upstream Ruby tests
...
CI broke in https://github.com/ruby/ruby/pull/9604 because if any Ruby
tests run `require 'net/http'`, they will pollute the
`$LOADED_FEATURES` for the RubyGems tests. We can fix this by renaming
the test default gem from `net-http` to `my-http`.
See https://github.com/rubygems/rubygems/pull/7379#issuecomment-1901241299
for more details.
2024-01-22 09:57:10 +09:00
Hiroshi SHIBATA
00dc1cace8
Reapply "[rubygems/rubygems] Fix activation conflicts when circularly requiring a gem"
...
This reverts commit 04cf66765a8a9d48baea6d9aee266dc9aa21df27.
2024-01-22 09:57:10 +09:00
Hiroshi SHIBATA
d51f4c9288
Reapply "[rubygems/rubygems] Fix require of a default gem when unresolved gems depend on it"
...
This reverts commit 54552b89e73fc616ba47c1c87d33625af99cbce9.
2024-01-22 09:57:10 +09:00
Hiroshi SHIBATA
94af1e5b81
[ruby/uri] Removed commented-out code
...
https://github.com/ruby/uri/commit/feb8e0dd73
2024-01-22 00:19:51 +00:00
Charles Oliver Nutter
34c5e78760
[ruby/nkf] Drop GPL and add licenses to gemspec
...
https://github.com/ruby/nkf/commit/19df7138f7
2024-01-22 00:12:49 +00:00
Charles Oliver Nutter
c6b548accb
[ruby/nkf] Add JRuby extension to the gem
...
This pulls in the nkf extension implementation from JRuby. The
build and load logic has been updated along the same lines as
ruby/digest and the gem appears to build correctly for the -java
platform.
Fixes https://github.com/ruby/nkf/pull/13
https://github.com/ruby/nkf/commit/18f57f36ed
2024-01-22 00:12:45 +00:00
Nobuyoshi Nakada
e2e15ddd67
[DOC] echo command may not be a shell built-in
2024-01-21 18:41:41 +09:00
BurdetteLamar
366b14c0cd
More tests
2024-01-20 10:27:19 -05:00
Kevin Newton
99d6e2f1ee
[PRISM] Revisit target nodes
2024-01-19 20:12:07 -05:00
Adam Hess
ac4046d34b
[ruby/prism] switch unless to if
...
https://github.com/ruby/prism/commit/29bdbf4212
Co-authored-by: Kevin Newton <kddnewton@gmail.com>
2024-01-19 22:57:46 +00:00