David Rodríguez
203a570f68
[rubygems/rubygems] Add additional assertions to spec
...
To make it consistent with the spec above it.
https://github.com/rubygems/rubygems/commit/9a00bf8db9
2025-02-18 12:12:53 +09:00
David Rodríguez
c5cdabc14a
[rubygems/rubygems] Don't try to skip requirements to prevent downgrades
...
These don't really hurt, so I'm not sure why I introduced it.
https://github.com/rubygems/rubygems/commit/85b6b405ac
2025-02-18 12:12:52 +09:00
David Rodríguez
c77354157f
[rubygems/rubygems] Fix locked gems being upgraded when locked dependencies are incorrect
...
Resolver had internal logic to prioritize locked versions when sorting
versions, however part of it was not being actually hit because of how
unlocking worked in the resolver: a package was allow to be unlocked
when that was explicit requested or when the list of unlocks was empty.
That did not make a lot of sense and other cases were working because
the explicit list of unlocks was getting "artificially filled".
Now we consider a package unlocked when explicitly requested (`bundle
update <package>`), or when everything is being unlocked (`bundle
install` with no lockfile or `bundle update`).
This makes things simpler and gets the edge case added as a test case
working as expected.
https://github.com/rubygems/rubygems/commit/b8e55087f0
2025-02-18 12:12:51 +09:00
David Rodríguez
249881690a
[rubygems/rubygems] Add intermediate assertion to spec to help debugging
...
https://github.com/rubygems/rubygems/commit/ffabab65f2
2025-02-18 12:12:50 +09:00
David Rodríguez
592eb02d6c
[rubygems/rubygems] Refactor finding dependency changes
...
https://github.com/rubygems/rubygems/commit/d8c4754d8f
2025-02-18 12:12:49 +09:00
David Rodríguez
63657565eb
[rubygems/rubygems] Extract a TheBundle#locked_specs test helper
...
https://github.com/rubygems/rubygems/commit/8cbe6573b4
2025-02-18 12:12:48 +09:00
David Rodríguez
533e894cb5
[rubygems/rubygems] Improve processing and categorizing unlock information
...
https://github.com/rubygems/rubygems/commit/516430c3ec
2025-02-18 12:12:48 +09:00
BurdetteLamar
36f69d5b69
[DOC] Tweaks for Hash#dig
2025-02-17 19:09:33 -05:00
BurdetteLamar
266088a85a
[DOC] Tweaks for Hash#each_pair
2025-02-17 19:08:14 -05:00
BurdetteLamar
047a05ea43
[DOC] Tweaks for Hash#delete_if
2025-02-17 19:06:22 -05:00
Kevin Newton
2db365dc83
[ruby/prism] Fix escape unicode curly inline whitespace
...
Fixes [Bug #21145 ]
https://github.com/ruby/prism/commit/be2d845639
2025-02-17 18:12:03 +00:00
Burdette Lamar
8324e3148a
[DOC] Tweaks for Hash#compact! ( #12756 )
2025-02-17 11:10:48 -05:00
Nobuyoshi Nakada
657bd31cc7
Trivial optimization
...
- Not call `strlen` at the end of the zone name.
- Use the initialized UTC string.
2025-02-17 18:27:24 +09:00
Nobuyoshi Nakada
64eba7a01a
Ignore broken git work directory at creating revision.h [ci skip]
2025-02-17 18:25:07 +09:00
Hiroshi SHIBATA
de490a132c
Enabled test_gmp_version
2025-02-17 18:08:37 +09:00
Hiroshi SHIBATA
13c64a8a20
Pass XINCFLAGS for gmp build with Windows platform
...
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2025-02-17 18:08:37 +09:00
Hiroshi SHIBATA
fa5663ea24
Revert "Temporary removed gmp because vcpkg package is broken."
...
This reverts commit b56b70a373753fd5c6d1b6df911342c8d0138695.
2025-02-17 18:08:37 +09:00
git
929e8131f1
Update bundled gems list as of 2025-02-16
2025-02-17 07:00:27 +00:00
Nobuyoshi Nakada
7032e2d6bc
Check programs for CC in the same path
...
When the path of `CC` contains the target program name, e.g., clang,
the replaced program names were unexpected. Replace basename part
only.
2025-02-17 13:19:08 +09:00
Collin Funk
c1c7934b63
[Bug #21128 ] Include fcntl.h before checking for O_CLOEXEC
...
On glibc O_CLOEXEC is defined in fcntl.h and not unistd.h so this change
prevents the macro from being redefined.
2025-02-17 13:05:18 +09:00
David Rodríguez
c8f4df4ae9
[rubygems/rubygems] Make Bundler never instantiate development dependencies
...
Bundler does not really have a concept of "development dependencies",
like RubyGems has. Bundler has the more generic concept of "groups".
Under the hood, the `gemspec` DSL will put gemspec development
dependencies under a `:development` Gemfile group, but there's no reason
to instantiate these as development dependencies, they are regular
runtime dependencies, except that they belong in a group named
:development.
By never instantiating development dependencies at all, we avoid having
to introduce hacks to "undo" the type Bundler does not know about, and I
also think the error messages read better.
https://github.com/rubygems/rubygems/commit/9a06fa5bda
2025-02-17 11:04:39 +09:00
NAITOH Jun
eee9bd1aa4
[ruby/strscan] Fix a bug that scan_until behaves differently with
...
Regexp and String patterns
(https://github.com/ruby/strscan/pull/138 )
Fix https://github.com/ruby/strscan/pull/131
https://github.com/ruby/strscan/commit/e1cec2e726
2025-02-17 11:04:32 +09:00
Aaron Patterson
6b3a97d74b
Remove undefined function from bindgen
...
`rb_get_iseq_body_total_calls` was removed in cd8d20cd1fbcf9bf9d438b306beb65b2417fcc04, but it's still in the YJIT bindgen file. This commit just removes it from bindgen
2025-02-16 16:37:36 -05:00
BurdetteLamar
2b69949407
[DOC] Tweaks for Hash#delete
2025-02-16 13:01:17 -05:00
BurdetteLamar
0a10c9bed6
[DOC] Tweaks for Hash#compare_by_identity
2025-02-16 12:59:14 -05:00
BurdetteLamar
a94f00f7c1
[DOC] Add Related notes to a few methods
2025-02-16 12:57:23 -05:00
BurdetteLamar
e3ad652490
[DOC] Tweaks for Hash#compact
2025-02-16 12:56:48 -05:00
S-H-GAMELINKS
23c4ac9559
Remove rb_enc_associate for Parser
2025-02-15 15:37:09 +09:00
Hiroshi SHIBATA
2556a975c7
Fixed syntax error for OpenSSL version detection
2025-02-15 07:21:35 +09:00
Burdette Lamar
ba148e71e5
[DOC] Tweaks for Hash#[]
2025-02-14 16:16:53 -05:00
Burdette Lamar
9be6e4207b
[DOC] Tweaks for Hash#[]= ( #12695 )
2025-02-14 15:55:10 -05:00
Aaron Patterson
8cafa5b8ce
Only count VM instructions in YJIT stats builds
...
The instruction counter is slowing multi-Ractor applications. I had
changed it to use a thread local, but using a thread local is slowing
single threaded applications. This commit only enables the instruction
counter in YJIT stats builds until we can figure out a way to gather the
information with lower overhead.
Co-authored-by: Randy Stauner <randy.stauner@shopify.com>
2025-02-14 14:39:35 -05:00
Takashi Kokubun
c1ce3d719d
Streamline YJIT checks on jit_compile()
2025-02-14 10:40:10 -08:00
Kevin Newton
deb010ae24
[ruby/prism] Fix up locals test with it parameters
...
https://github.com/ruby/prism/commit/599a96dbfc
2025-02-14 17:32:58 +00:00
Kevin Newton
ee181d1bb7
[ruby/prism] Fix up it indirect writes
...
Fixes [Bug #21137 ]
https://github.com/ruby/prism/commit/ca493e6797
2025-02-14 16:49:52 +00:00
Masataka Pocke Kuwabara
0cab608d3a
[Bug #21127 ] Thread deadlock does not display backtraces ( #12721 )
...
Previously, Ruby displayed backtraces for each thread on deadlock. However, it has not been shown since Ruby 3.0.
It should display the backtrace for debugging.
Co-authored-by: Jeremy Evans <code@jeremyevans.net>
2025-02-14 16:31:58 +09:00
Hiroshi SHIBATA
b4ed6db096
Removed trailing spaces
2025-02-14 16:16:55 +09:00
David Rodríguez
a55a2fc6e8
[rubygems/rubygems] Reset existing specs when using Bundler::SpecSet#[]=
...
We have a flaky failure where to equal Bundler specs sneak into the same
SpecSet. This seems like a vector where that could happen so trying this
in case it fixes the flaky.
https://github.com/rubygems/rubygems/commit/a33aeb3c4d
2025-02-14 16:13:27 +09:00
David Rodríguez
a64c697b22
[rubygems/rubygems] Refactor SpecSet to not need reset
...
https://github.com/rubygems/rubygems/commit/55af558124
2025-02-14 16:13:27 +09:00
David Rodríguez
061d8133ce
[rubygems/rubygems] Simplify hacks to integrate with RubyGems
...
https://github.com/rubygems/rubygems/commit/33d91de732
2025-02-14 16:13:27 +09:00
David Rodríguez
c94cec27f7
[rubygems/rubygems] Simplify SpecSet#sorted
...
https://github.com/rubygems/rubygems/commit/a3f365bbaa
2025-02-14 16:13:27 +09:00
David Rodríguez
e59c90118e
[rubygems/rubygems] Raise error when lockfile is missing deps in frozen mode
...
And avoid installing any gems.
https://github.com/rubygems/rubygems/commit/c12700c7e4
2025-02-14 16:13:27 +09:00
johnnyshields
e11401f799
[rubygems/rubygems] Deprecate legacy windows platforms (mswin, mingw) in the Bundler DSL, in favor of using platform :windows
...
This commit is only deprecation and does not change/remove any actual functionality.
https://github.com/rubygems/rubygems/commit/0ca6dc3984
2025-02-14 16:13:27 +09:00
David Rodríguez
91a17fbbad
[rubygems/rubygems] Use preferred :windows value for Windows exclusively
...
https://github.com/rubygems/rubygems/commit/aee52d2874
Co-authored-by: johnnyshields <27655+johnnyshields@users.noreply.github.com>
2025-02-14 16:13:27 +09:00
David Rodríguez
ccbebe9979
[rubygems/rubygems] Let :bundler filter raise if not given major versions
...
Otherwise it doesn't work as expected and it may skip specs.
https://github.com/rubygems/rubygems/commit/d6af077174
2025-02-14 16:13:27 +09:00
David Rodríguez
a3c05f27c3
[rubygems/rubygems] Remove spec filters
...
These should always run.
https://github.com/rubygems/rubygems/commit/0818eb104f
2025-02-14 16:13:27 +09:00
David Rodríguez
181cab566c
[rubygems/rubygems] Fix legacy windows platform values no longer working
...
https://github.com/rubygems/rubygems/commit/de8b3016db
2025-02-14 16:13:26 +09:00
Jean Boussier
51004c3641
[ruby/strscan] Fix a bug that scan_integer doesn't update matched
...
data
(https://github.com/ruby/strscan/pull/133 )
Fix https://github.com/ruby/strscan/pull/130
Reported by Andrii Konchyn. Thanks!!!
https://github.com/ruby/strscan/commit/4e5f17f87a
2025-02-14 16:13:26 +09:00
Jean Boussier
c1f024f99d
[ruby/psych] Avoid calls to require in hotspots
...
Followup: https://github.com/ruby/psych/pull/686
This single call shows up as 4% of some controller actions
in the lobsters benchmark.
Profile: https://share.firefox.dev/3EqKnhS
https://github.com/ruby/psych/commit/b77bfee092
2025-02-14 16:13:26 +09:00
git
599fdb9641
Update bundled gems list as of 2025-02-13
2025-02-14 06:59:41 +00:00