Commit graph

14659 commits

Author SHA1 Message Date
David Rodríguez
d64d0b5423
Vendor uri gem in RubyGems 2024-01-29 12:14:21 +09:00
David Rodríguez
6bbbfb4629 [rubygems/rubygems] Require vendored_uri file in Bundler
62bc261042
2024-01-29 12:02:04 +09:00
Masato Nakamura
c166615837 [ruby/reline] Add metadata for rubygems.org
(https://github.com/ruby/reline/pull/638)

d3a324d22c
2024-01-28 12:38:55 +00:00
Kevin Newton
e256d44f98 [ruby/prism] Handle implicit rest in array pattern for parser gem
d3722d6660
2024-01-28 01:10:47 +00:00
Kevin Newton
f12ebe1188 [ruby/prism] Add parser translation
8cdec8070c
2024-01-27 19:59:42 +00:00
Kevin Newton
e337c9478a [ruby/prism] Error follow-up
Split up the diagnostic levels so that error and warning levels
aren't mixed. Also fix up deconstruct_keys implementation.

bd3eeb308d

Co-authored-by: Benoit Daloze <eregontp@gmail.com>
2024-01-27 18:46:16 +00:00
Benoit Daloze
c2e2d2398b [ruby/prism] Call #inspect on diagnostic levels
* So it's clear it is a Symbol.
  Before:
  ... @level=warning_verbose_true>
  After:
  ... @level=:warning_verbose_true>

84503643b9
2024-01-27 18:41:07 +00:00
Masato Ohba
0bac390e07 [rubygems/rubygems] Bump Ruby version to be used in bundle gem template
since 2.6 and 2.7 are EOL and bundler dropped their support by https://github.com/rubygems/rubygems/pull/7116.

b562d9a822
2024-01-27 15:50:24 +00:00
Kevin Newton
5d9d07a491 [ruby/prism] Bring back #arg_rest local
9b6907b727
2024-01-27 14:13:35 +00:00
Benoit Daloze
de135bc247 [ruby/prism] Add level to warnings and errors to categorize them
* Fixes https://github.com/ruby/prism/issues/2082

7a74576357
2024-01-26 21:34:34 +00:00
Kevin Newton
ebf803aa19 [ruby/prism] Fix Ruby head build
149e2ff7f6
2024-01-25 13:58:07 +00:00
Eddie Lebow
fdb8f08639 [ruby/irb] Reword history file documentation and fix typo
(https://github.com/ruby/irb/pull/842)

bbabf818c7
2024-01-25 10:20:47 +00:00
ydah
0334115628 [ruby/irb] Synatx ==> Syntax
2ffacaa031
2024-01-25 09:58:17 +00:00
ydah
819ae2c2c1 [ruby/irb] assigment ==> assignment
24c7694467
2024-01-25 09:58:16 +00:00
ydah
5f9f46a24c [ruby/irb] reseting ==> resetting
6209f06c72
2024-01-25 09:58:16 +00:00
ydah
9b1cc68b77 [ruby/irb] configuation ==> configuration
a27a511777
2024-01-25 09:58:16 +00:00
ydah
fd9b968569 [ruby/irb] recever ==> receiver
dbd0e368c4
2024-01-25 09:58:15 +00:00
ydah
6580a95f8d [ruby/irb] inifinity ==> infinity
78dea58000
2024-01-25 09:58:15 +00:00
Hiroshi SHIBATA
723deec9cf [rubygems/rubygems] Keep compatibility of past versions
54b67fb251
2024-01-24 09:11:53 +00:00
Hiroshi SHIBATA
1018dca09a [rubygems/rubygems] Skip to load commented out words
e6a9148ba2
2024-01-24 09:11:53 +00:00
Hiroshi SHIBATA
270ad76359
Revert "Ensure File.open applies default umask on gem extract"
This reverts commit 01f9766aa0.
2024-01-24 14:10:05 +09:00
David Rodríguez
6bd997ecfd [rubygems/rubygems] Remove no longer necessary code
b7d2de2ba8
2024-01-24 13:56:07 +09:00
なつき
1e519abe21 [rubygems/rubygems] Fix rake extension warning
04973e349c
2024-01-24 13:55:42 +09:00
Martin Emde
01f9766aa0 Ensure File.open applies default umask on gem extract 2024-01-24 13:50:16 +09:00
Hiroshi SHIBATA
e195710d10 Extract csv 2024-01-22 18:23:05 +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
79086a9dda
2024-01-22 04:42:37 +00:00
Hiroshi SHIBATA
36fc5ee64f Extract drb 2024-01-22 11:08:59 +09:00
Hiroshi SHIBATA
00dc1cace8 Reapply "[rubygems/rubygems] Fix activation conflicts when circularly requiring a gem"
This reverts commit 04cf66765a.
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 54552b89e7.
2024-01-22 09:57:10 +09:00
Hiroshi SHIBATA
94af1e5b81 [ruby/uri] Removed commented-out code
feb8e0dd73
2024-01-22 00:19:51 +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

18f57f36ed
2024-01-22 00:12:45 +00:00
Adam Hess
ac4046d34b [ruby/prism] switch unless to if
29bdbf4212

Co-authored-by: Kevin Newton <kddnewton@gmail.com>
2024-01-19 22:57:46 +00:00
Adam Hess
cfabe9c51c [ruby/prism] Handle stovetop start in constant path fullname
3a216e63fe
2024-01-19 22:57:45 +00:00
Kevin Newton
da521fc92c [ruby/prism] Parsing rules document
57a9575543
2024-01-19 16:12:25 +00:00
Matthew Healy
a58e091686 [ruby/prism] Extract identifier lexing documentation to separate file
c9df17e3c0
2024-01-19 15:43:29 +00:00
Hiroshi SHIBATA
411cda2d5c Extract rinda 2024-01-19 20:02:19 +09:00
Hiroshi SHIBATA
99c2c703da Extract resolv-replace 2024-01-19 17:44:58 +09:00
Hiroshi SHIBATA
b4ee5266f1 Extract abbrev as bundled gems 2024-01-19 16:27:45 +09:00
Hiroshi SHIBATA
176a442883 Extract observer as bundled gems 2024-01-19 15:24:09 +09:00
Hiroshi SHIBATA
54552b89e7
Revert "[rubygems/rubygems] Fix require of a default gem when unresolved gems depend on it"
This reverts commit f1f5f22d22.
2024-01-19 12:12:33 +09:00
Hiroshi SHIBATA
04cf66765a
Revert "[rubygems/rubygems] Fix activation conflicts when circularly requiring a gem"
This reverts commit db44088c2a.

  2064164082
  2064164121
  2064164203
2024-01-19 11:54:17 +09:00
David Rodríguez
db44088c2a [rubygems/rubygems] Fix activation conflicts when circularly requiring a gem
If a gem is required circular, and there are unresolved specs depending
on it, we may end up in an activation conflict.

The solution is to not try to activate unresolved gems when requiring a
default gem, regardless of it having already been activated or not.

3b2b8f4e3e
2024-01-19 11:28:11 +09:00
David Rodríguez
f1f5f22d22 [rubygems/rubygems] Fix require of a default gem when unresolved gems depend on it
The following conditions must be met:

* A default gem is required.
* A previous require left some gems unresolved, and those dependencies
  themselves depend on the default gem.

In this case, rubygems require will first activate the default version
of the gem, then try to activate another unresolved version of the
default gem that conflicts with the first activation.

The solution is, if we are in the middle of requiring a default gem,
skip this step, because we have already activated it successfully.

8cd5608db5

Co-authored-by: Stan Hu <stanhu@gmail.com>
2024-01-19 11:28:11 +09:00
David Rodríguez
8044e57907 [rubygems/rubygems] Add a comment to explain default gem activation
291128268f
2024-01-19 11:28:10 +09:00
Stan Lo
b2ec4308d6
[ruby/irb] Bump version to v1.11.1
(https://github.com/ruby/irb/pull/837)

f052097c4b
2024-01-19 10:49:12 +09:00
Alan Wu
7b253cfea4 RJIT: Properly reject keyword splat with yield
See the fix for YJIT.
2024-01-18 20:22:40 -05:00
Olle Jonsson
08edad31a6 [rubygems/rubygems] Drop two TODOs from specification.rb
These were introduced 13 years ago, in a documentation update. Perhaps we can let the TODOs go, without taking any action?

fb23fa84f9
2024-01-18 22:49:32 +00:00
Takashi Kokubun
e37a37e696 Drop obsoleted BUILTIN_ATTR_NO_GC attribute
The thing that has used this in the past was very buggy, and we've never
revisied it. Let's remove it until we need it again.
2024-01-16 17:27:53 -08:00
Hiroshi SHIBATA
4e2eca3be0 Extract base64 as bundled gems 2024-01-17 08:28:31 +09:00