From e3675e85c9ac4e072328ff4aae0b10e857b91be8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 17 Sep 2025 19:20:42 +0000 Subject: [PATCH 1/2] Bump rexml Bumps the bundler group with 1 update in the /spec/bundler/realworld/fixtures/warbler directory: [rexml](https://github.com/ruby/rexml). Updates `rexml` from 3.4.1 to 3.4.2 - [Release notes](https://github.com/ruby/rexml/releases) - [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md) - [Commits](https://github.com/ruby/rexml/compare/v3.4.1...v3.4.2) --- updated-dependencies: - dependency-name: rexml dependency-version: 3.4.2 dependency-type: indirect dependency-group: bundler ... Signed-off-by: dependabot[bot] --- spec/bundler/realworld/fixtures/warbler/Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/bundler/realworld/fixtures/warbler/Gemfile.lock b/spec/bundler/realworld/fixtures/warbler/Gemfile.lock index 15f9a224e55bbb..d84e09f4337a04 100644 --- a/spec/bundler/realworld/fixtures/warbler/Gemfile.lock +++ b/spec/bundler/realworld/fixtures/warbler/Gemfile.lock @@ -21,7 +21,7 @@ GEM jruby-jars (10.0.0.1) jruby-rack (1.2.2) rake (13.3.0) - rexml (3.4.1) + rexml (3.4.2) rubyzip (2.4.1) PLATFORMS From 44d1feb7575e40c54c040a2d305219293bcc8136 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Barri=C3=A9?= Date: Mon, 15 Sep 2025 11:48:43 +0200 Subject: [PATCH 2/2] Remove test causing warning The test is no longer useful since 5c7dfe85a1dc49334e2828791f0ade42eee662db because Module#initialize_copy is empty/not defined anymore. --- test/ruby/test_module.rb | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/test/ruby/test_module.rb b/test/ruby/test_module.rb index 5805ad7d9b8860..62b2a7164fb4ff 100644 --- a/test/ruby/test_module.rb +++ b/test/ruby/test_module.rb @@ -412,16 +412,6 @@ def test_constants assert_equal([:MIXIN, :USER], User.constants.sort) end - def test_initialize_copy - mod = Module.new { define_method(:foo) {:first} } - klass = Class.new { include mod } - instance = klass.new - assert_equal(:first, instance.foo) - new_mod = Module.new { define_method(:foo) { :second } } - 4.times { GC.start } - assert_equal(:first, instance.foo) # [BUG] unreachable - end - def test_initialize_copy_empty m = Module.new do def x