Commit graph

12164 commits

Author SHA1 Message Date
Takashi Kokubun
fc03ba50f1 MJIT: Fix JIT code for multiple values in a single case
[Bug #19263]
2022-12-25 22:48:36 -08:00
Hiroshi SHIBATA
b7ad60a794 Merge RubyGems/Bundler master
from 72fd3dd209
2022-12-26 15:09:21 +09:00
Junichi Ito
cea6951ecf [ruby/optparse] Add symbolize_names to getopts
3e63d878f8
2022-12-26 15:09:21 +09:00
Nobuyoshi Nakada
4c767c1354 [ruby/optparse] bump up to 0.4.0.pre.1
73661899ad
2022-12-26 15:09:21 +09:00
Burdette Lamar
8c8645f578 [ruby/net-http] [DOC] Adding links to references
(https://github.com/ruby/net-http/pull/97)

768115167a
2022-12-26 15:09:21 +09:00
BurdetteLamar
35aba09e7f [ruby/net-http] Adding links to references
b85530e6b8
2022-12-26 15:09:21 +09:00
Sutou Kouhei
50e58df0e3 [ruby/csv] Bump version
8606ee83e0
2022-12-26 15:09:21 +09:00
Hiroshi SHIBATA
cc25e81fb7 Update generated version of racc on parser headers 2022-12-26 15:09:21 +09:00
Hiroshi SHIBATA
cd6c7613f3
Apply the accidental commits again before Ruby 3.2.
Reverts the following commits:

  eb8d4d7b51
  edb83dc3a2
  d40064d184
2022-12-26 12:07:42 +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
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
Hiroshi SHIBATA
eb8d4d7b51
Revert the additional changes from net-http-0.3.2 2022-12-23 19:36:43 +09:00
Hiroshi SHIBATA
d40064d184
Revert the accidentally commit from erb-4.0.2
Revert "[ruby/erb] Use a ruby-lang alias on spec.email"

  This reverts commit fa64889abb.
2022-12-23 19:33:27 +09:00
Hiroshi SHIBATA
3ade713967
Bump version to 1.6.2 2022-12-23 09:51:52 +09:00
Jeremy Evans
7e8fa06022 Always issue deprecation warning when calling Regexp.new with 3rd positional argument
Previously, only certain values of the 3rd argument triggered a
deprecation warning.

First step for fix for bug #18797.  Support for the 3rd argument
will be removed after the release of Ruby 3.2.

Fix minor fallout discovered by the tests.

Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2022-12-22 11:50:26 -08:00
Takashi Kokubun
9dcee2d80e Remove MJIT's private constants from docs [ci skip] 2022-12-22 11:35:46 -08:00
Hiroshi SHIBATA
fe7190a8c1
[ruby/optparse] Bump version to 0.3.1
2a1e157ae1
2022-12-22 17:48:22 +09:00
Takashi Kokubun
bb4cbd0803
Put RubyVM::MJIT::Compiler under ruby_vm directory (#6989)
[Misc #19250]
2022-12-21 22:46:15 -08:00
BurdetteLamar
172dc98c94 [ruby/net-http] Adding links to references
71bae5c0fe
2022-12-21 09:17:19 -05:00
BurdetteLamar
276b84f8ed [ruby/net-http] Adding links to references
e4df80f299
2022-12-21 09:17:19 -05:00
BurdetteLamar
86f0128efe [ruby/net-http] Adding links to references
df5a554fa8
2022-12-21 09:17:18 -05:00
Mau Magnaguagno
1e989c49a8
MJIT: Refactor Compiler#cast_offset (#6967)
Subtract max value from offset when sign bit is set, without string operations.
2022-12-20 21:28:48 -08:00
Nobuyoshi Nakada
502ca37dde [ruby/optparse] The encoding argument of Regexp.new has been ignored since 1.9
766f567405
2022-12-21 14:09:12 +09:00
Takashi Kokubun
b2bf5d237b [ruby/irb] Version 1.6.2
a8ea9963c6
2022-12-20 09:07:55 -08:00
Takashi Kokubun
cf0b413ef8 [ruby/irb] Respect DLEXT to force-load debug.so
(https://github.com/ruby/irb/pull/481)

Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>

Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2022-12-20 09:07:54 -08:00
Hiroshi SHIBATA
20f9316f9d [ruby/syntax_suggest] Bump version to 1.0.2
92ea00650a
2022-12-20 14:50:08 +09:00
Hiroshi SHIBATA
18ba89093a Merge RubyGems/Bundler master
Pick from ba3adad4d8
2022-12-20 13:15:02 +09:00
Mark Burns
870bcc96ba [rubygems/rubygems] fix
https://github.com/rubygems/rubygems/pull/6147 when --parseable and
--groups used
together

3b0b95c509
2022-12-20 13:15:02 +09:00
Josef Šimánek
8eb6618013 [rubygems/rubygems] Turn --ext option into string. Deprecate usage without explicit value.
- this is preparation for onboarding Rust based extension gem generator

d32801bdbc
2022-12-20 13:15:02 +09:00
Josef Šimánek
eaf0157dd1 [rubygems/rubygems] Regenerate bundler man pages for December 2022.
17037fe32c
2022-12-20 13:15:02 +09:00
Josef Šimánek
f270aa3eda [rubygems/rubygems] Use safe Marshal deserialization for dependency API response. - adds Bundler#safe_load_marshal and Bundler::SAFE_MARSHAL_CLASSES listing safe classes to deserialize
e947c608cc
2022-12-20 13:15:02 +09:00
David Rodríguez
efd103f3e5 [rubygems/rubygems] Fix crash when showing some resolution errors
If the conflict explanation includes empty ranges and version unions,
Pub Grub was crashing.

eb360b77a2
2022-12-20 13:15:02 +09:00
David Rodríguez
1db9bcfeaf [rubygems/rubygems] Fix crash when building resolution errors with OR requirements
8f287479bc
2022-12-20 13:15:02 +09:00
David Rodríguez
8293489564 [rubygems/rubygems] Slight tweak to error message building
Let Pub Grub decide how the constraint should be displayed.

4f651b6429
2022-12-20 13:15:02 +09:00
Michael Siegfried
beef72965e [rubygems/rubygems] Clarify flag description
Prerelease versions are already considered in a certain circumstance,
and the 'if updating' is redundant in the update case anyway.

8d68635f8c
2022-12-20 13:15:02 +09:00
Michael Siegfried
c436f52fe8 [rubygems/rubygems] Fix tiny typo
390e3e1ebd
2022-12-20 13:15:02 +09:00
Michael Siegfried
2bc4f1dea5 [rubygems/rubygems] Support for pre flag in bundle update
Passing this flag allows bumping to the current version, even if that
version is prerelease. This works in concert with the current flags.

a6409e3509
2022-12-20 13:15:02 +09:00
Michael Siegfried
1ee31f9d9d [rubygems/rubygems] Clarify segment equality check
6624474c5a
2022-12-20 13:15:02 +09:00
Michael Siegfried
e58d18bf23 [rubygems/rubygems] Return early outside of loop
The conditions are not dependent on each spec and can be checked once at
the beginning of the method.

086bc9433f
2022-12-20 13:15:02 +09:00
Michael Siegfried
c67f6c4daf [rubygems/rubygems] Add question marks to interrogative methods
52da85e9ef
2022-12-20 13:15:02 +09:00
Eloy Espinaco
0a9544ce4a [rubygems/rubygems] Cleanup intermediate artifacts after installing built extensions
98b6a959bd
2022-12-20 13:15:02 +09:00
David Rodríguez
3fd33590f6 [rubygems/rubygems] Fix crash when lockfile is missing dependencies
We have a check for a corrupt lockfile right before installing. However,
the check accounted for locked specs not satisfying locked dependencies,
but not for locked specs missing for some locked dependencies.

Instead of fixing this check, I decided to remove it in favor of
automatically detecting the situation and re-resolve to automatically
fix the lockfile rather than printing a warning but leave the problem
there.

4a7a584252
2022-12-20 13:15:02 +09:00
David Rodríguez
16b36a5b0c [rubygems/rubygems] Remove unused code
b88c43a28c
2022-12-20 13:15:02 +09:00
David Rodríguez
d1533f20f1 [rubygems/rubygems] Detect circular dependency errors
a8348d271d
2022-12-20 13:15:02 +09:00
David Rodríguez
96aa1a1a98 [rubygems/rubygems] Remove dead logic
950615405e
2022-12-20 13:15:02 +09:00
David Rodríguez
d1c210355b [rubygems/rubygems] Extract a variable for consistency
3f4b1c7a01
2022-12-20 13:15:02 +09:00
Hiroshi SHIBATA
1142bc875b [ruby/did_you_mean] Bump version to 1.6.3
f7703add76
2022-12-19 14:59:59 +09:00
Hiroshi SHIBATA
08d21b4bd2
[ruby/net-http] Bump version to 0.3.2
b8bdb7248e
2022-12-19 10:50:21 +09:00
Alyssa Ross
d4315284e9 [rubygems/rubygems] Add bundle lock --update --bundler
bundle lock --update can do everything that bundle update can do, but
it doesn't actually install gems. This is especially useful for
generating a lockfile on a machine that doesn't have the libraries
available to be able to build native extensions.

But, there was no parallel for bundle update --bundler. So let's add
one.

7fc00bd2a5
2022-12-18 19:17:42 +00:00