Skip to content

Commit b747f09

Browse files
committed
Merge branch 'master-3.2' into dist/3.2/bookworm
2 parents fbfbe43 + fd0fd84 commit b747f09

File tree

108 files changed

+3023
-1071
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+3023
-1071
lines changed

.bundle/gems/debug-1.7.1/.bundled.debug-1.7.1.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ Gem::Specification.new do |s|
2020
s.homepage = "https://github.com/ruby/debug".freeze
2121
s.licenses = ["Ruby".freeze, "BSD-2-Clause".freeze]
2222
s.required_ruby_version = Gem::Requirement.new(">= 2.6.0".freeze)
23-
s.rubygems_version = "3.3.5".freeze
23+
s.rubygems_version = "3.4.20".freeze
2424
s.summary = "Debugging functionality for Ruby".freeze
2525
end

.bundle/gems/debug-1.7.1/debug-1.7.1.gemspec

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,11 @@ Gem::Specification.new do |s|
2020
s.homepage = "https://github.com/ruby/debug".freeze
2121
s.licenses = ["Ruby".freeze, "BSD-2-Clause".freeze]
2222
s.required_ruby_version = Gem::Requirement.new(">= 2.6.0".freeze)
23-
s.rubygems_version = "3.3.5".freeze
23+
s.rubygems_version = "3.4.20".freeze
2424
s.summary = "Debugging functionality for Ruby".freeze
2525

26-
if s.respond_to? :specification_version then
27-
s.specification_version = 4
28-
end
26+
s.specification_version = 4
2927

30-
if s.respond_to? :add_runtime_dependency then
31-
s.add_runtime_dependency(%q<irb>.freeze, [">= 1.5.0"])
32-
s.add_runtime_dependency(%q<reline>.freeze, [">= 0.3.1"])
33-
else
34-
s.add_dependency(%q<irb>.freeze, [">= 1.5.0"])
35-
s.add_dependency(%q<reline>.freeze, [">= 0.3.1"])
36-
end
28+
s.add_runtime_dependency(%q<irb>.freeze, [">= 1.5.0"])
29+
s.add_runtime_dependency(%q<reline>.freeze, [">= 0.3.1"])
3730
end

.bundle/gems/minitest-5.16.3/History.rdoc renamed to .bundle/gems/minitest-5.25.1/History.rdoc

Lines changed: 176 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,178 @@
1+
=== 5.25.1 / 2024-08-16
2+
3+
* 2 bug fixes:
4+
5+
* Fix incompatibility caused by minitest-hooks & rails invading minitest internals.
6+
* Revert change from =~ to match? to allow for nil if $TERM undefined.
7+
8+
=== 5.25.0 / 2024-08-13
9+
10+
* 2 minor enhancements:
11+
12+
* Fixed some inefficiencies filtering and matching (mostly backtraces).
13+
* Refactored siginfo handler to reduce runtime costs. Saved ~30%!
14+
15+
* 5 bug fixes:
16+
17+
* Added missing rdoc to get back to 100% coverage.
18+
* Cleaning up ancient code checking for defined?(Encoding) and the like.
19+
* Disambiguated some shadowed variables in minitest/compress.
20+
* Fixed an ironic bug if using string-literals AND Werror.
21+
* Improve description of test:slow task. (stomar)
22+
23+
=== 5.24.1 / 2024-06-29
24+
25+
* 1 bug fix:
26+
27+
* Fix the error message when an extension is invalid value. (y-yagi)
28+
29+
=== 5.24.0 / 2024-06-18
30+
31+
* 2 minor enhancements:
32+
33+
* Added Minitest.register_plugin.
34+
* Extended plugin system to work with modules/classes for opt-out plugins.
35+
36+
* 1 bug fix:
37+
38+
* Removed anacronism, but allow load_plugins to exit gracefully if --disable=gems.
39+
40+
=== 5.23.1 / 2024-05-21
41+
42+
* 1 bug fix:
43+
44+
* Fully qualify the Queue class to avoid conflicts with other libraries. (rafaelfranca)
45+
46+
=== 5.23.0 / 2024-05-15
47+
48+
* 3 minor enhancements:
49+
50+
* Added -Werror to raise on any warning output. (byroot)
51+
* Added UnexpectedWarning as a failure summary type, added count to output if activated.
52+
* Added minitest/manual_plugins.rb w/ new Minitest.load method. (tenderlove)
53+
54+
* 2 bug fixes:
55+
56+
* Allow empty_run! and reporter to display summary for empty runs. (zzak)
57+
* Make test task verbose using either rake's -v or -t (was just -t).
58+
59+
=== 5.22.3 / 2024-03-13
60+
61+
* 1 minor enhancement:
62+
63+
* MASSIVE improvement of minitest's pride plugin output: Frequencies doubled! Sine waves shifted!! Comments improved!!! Colors rotated!!!! (havenwood)
64+
65+
* 3 bug fixes:
66+
67+
* Improved wording on Minitest::Test#parallelize_me! to clarify it goes INSIDE your test class/describe.
68+
* Minor changes to tests to pass when tests ran with extra flags (eg -p).
69+
* Support Ruby 3.4's new error message format. (mame)
70+
71+
=== 5.22.2 / 2024-02-07
72+
73+
* 1 bug fix:
74+
75+
* Third time's a charm? Remember: 'ensure' is almost always the
76+
wrong way to go (for results... it's great for cleaning up).
77+
78+
=== 5.22.1 / 2024-02-06
79+
80+
* 1 bug fix:
81+
82+
* Don't exit non-zero if no tests ran and no filter (aka, the test file is empty).
83+
(I'm starting to think the exit 1 thing for @tenderlove was a mistake...)
84+
85+
=== 5.22.0 / 2024-02-05
86+
87+
* 1 minor enhancement:
88+
89+
* Added "did you mean" output if your --name filter matches nothing. (tenderlove)
90+
91+
* 2 bug fixes:
92+
93+
* Big cleanup of test filtering. Much prettier / more functional.
94+
* Fix situation where Assertion#location can't find the location. (pftg)
95+
96+
=== 5.21.2 / 2024-01-17
97+
98+
* 1 bug fix:
99+
100+
* Fixed bug in Minitest::Compress#compress formatting w/ nested patterns. Now recurses properly.
101+
102+
=== 5.21.1 / 2024-01-11
103+
104+
* 1 bug fix:
105+
106+
* Rails' default backtrace filter can't currently work with caller_locations, so reverting back to caller.
107+
108+
=== 5.21.0 / 2024-01-11
109+
110+
* 10 minor enhancements:
111+
112+
* Add include_all kw arg to assert_respond_to and refute_respond_to.
113+
* Added --quiet flag to skip ProgressReporter (prints the dots). Minor speedup.
114+
* Added Minitest::Compress#compress and added it to UnexpectedError.
115+
* Added ability to initialize BacktraceFilter w/ custom regexp.
116+
* Filter failure backtraces using backtrace_filter before calculating location. (thomasmarshall)
117+
* Make BacktraceFilter#filter compatible with locations (still compares strings).
118+
* Optimized Assertion#location ~30%.
119+
* Output relative paths for all failures/errors/backtraces.
120+
* Refactored location information in assertions, now using locations.
121+
* Removed thread and mutex_m dependencies. (hsbt, eregon)
122+
123+
* 2 bug fixes:
124+
125+
* Drop undocumented bt arg in #skip. Dunno why that ever happened, prolly for testing?
126+
* Fix mock to work with ruby debugger enabled. (keithlayne)
127+
128+
=== 5.20.0 / 2023-09-06
129+
130+
* 1 minor enhancement:
131+
132+
* Optionally allow autorun exit hook to remain active in forked child. (casperisfine)
133+
134+
=== 5.19.0 / 2023-07-26
135+
136+
* 2 minor enhancements:
137+
138+
* Add metadata lazy accessor to Runnable / Result. (matteeyah)
139+
* Only load minitest/unit (aka ancient MiniTest compatibility layer) if \ENV[\"MT_COMPAT\"]
140+
141+
* 1 bug fix:
142+
143+
* Minitest::TestTask enthusiastically added itself to default. (ParadoxV5)
144+
145+
=== 5.18.1 / 2023-06-16
146+
147+
* 3 bug fixes:
148+
149+
* Avoid extra string allocations when filtering tests. (tenderlove)
150+
* Only mention deprecated \ENV[\'N\'] if it is an integer string.
151+
* Push up test_order to Minitest::Runnable to fix minitest/hell. (koic)
152+
153+
=== 5.18.0 / 2023-03-04
154+
155+
* 2 major enhancements:
156+
157+
* Added assert_pattern & refute_pattern for pattern matching. (flavorjones)
158+
* Added matching must_pattern_match & wont_pattern_match to minitest/spec.
159+
160+
* 1 bug fix:
161+
162+
* Support the new message format of NameError in Ruby 3.3 (mame)
163+
164+
=== 5.17.0 / 2022-12-31
165+
166+
* 1 minor enhancement:
167+
168+
* Refactor setup hooks into a SETUP_METHODS constant. (MSP-Greg)
169+
170+
* 3 bug fixes:
171+
172+
* Fix kwargs for Mock calls to delegator. (blowmage)
173+
* Fix kwargs for expectations. (bobmazanec, blowmage)
174+
* Remove check for .b method. (tenderlove)
175+
1176
=== 5.16.3 / 2022-08-17
2177

3178
* 2 bug fixes:
@@ -166,7 +341,7 @@
166341

167342
* 3 bug fixes:
168343

169-
* Check `option[:filter]` klass before match. Fixes 2.6 warning. (y-yagi)
344+
* Check \option[:filter] klass before match. Fixes 2.6 warning. (y-yagi)
170345
* Fixed Assertions#diff from recalculating if set to nil
171346
* Fixed spec section of readme to not use deprecated global expectations. (CheezItMan)
172347

.bundle/gems/minitest-5.16.3/Manifest.txt renamed to .bundle/gems/minitest-5.25.1/Manifest.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ lib/minitest.rb
99
lib/minitest/assertions.rb
1010
lib/minitest/autorun.rb
1111
lib/minitest/benchmark.rb
12+
lib/minitest/compress.rb
13+
lib/minitest/error_on_warning.rb
1214
lib/minitest/expectations.rb
1315
lib/minitest/hell.rb
16+
lib/minitest/manual_plugins.rb
1417
lib/minitest/mock.rb
1518
lib/minitest/parallel.rb
1619
lib/minitest/pride.rb

.bundle/gems/minitest-5.16.3/README.rdoc renamed to .bundle/gems/minitest-5.25.1/README.rdoc

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
= minitest/{test,spec,mock,benchmark}
22

3-
home :: https://github.com/seattlerb/minitest
4-
bugs :: https://github.com/seattlerb/minitest/issues
3+
home :: https://github.com/minitest/minitest
4+
bugs :: https://github.com/minitest/minitest/issues
55
rdoc :: https://docs.seattlerb.org/minitest
6+
clog :: https://github.com/minitest/minitest/blob/master/History.rdoc
67
vim :: https://github.com/sunaku/vim-ruby-minitest
78
emacs:: https://github.com/arthurnn/minitest-emacs
89

@@ -405,39 +406,39 @@ Using our example above, here is how we might implement MyCI:
405406

406407
=== What versions are compatible with what? Or what versions are supported?
407408

408-
Minitest is a dependency of rails, which until fairly recently had an
409+
Minitest is a dependency of rails, which until very recently had an
409410
overzealous backwards compatibility policy. As such, I'm stuck
410-
supporting versions of ruby that are long past EOL. Once rails 5.2 is
411-
dropped (hopefully April 2021), I get to drop a bunch of versions of
412-
ruby that I have to currently test against.
411+
supporting versions of ruby that are long past EOL. Hopefully I'll be
412+
able to support only current versions of ruby sometime in the near
413+
future.
413414

414-
(As of 2021-01-31)
415+
(As of 2024-05-10)
415416

416417
Current versions of rails: (https://endoflife.date/rails)
417418

418-
| rails | min ruby | rec ruby | minitest | status |
419-
|-------+----------+----------+----------+----------|
420-
| 7.0 | >= 2.7 | 3.0 | >= 5.1 | Future |
421-
| 6.1 | >= 2.5 | 3.0 | >= 5.1 | Current |
422-
| 6.0 | >= 2.5 | 2.6 | >= 5.1 | Security |
423-
| 5.2 | >= 2.2.2 | 2.5 | ~> 5.1 | Security | EOL @railsconf 2021?
419+
| rails | min ruby | minitest | status | EOL Date |
420+
|-------+----------+----------+----------+------------|
421+
| 7.1 | >= 2.7 | >= 5.1 | Current | 2026-06-01?|
422+
| 7.0 | >= 2.7 | >= 5.1 | Maint | 2025-06-01?|
423+
| 6.1 | >= 2.5 | >= 5.1 | Security | 2024-06-01?|
424+
| 6.0 | >= 2.5 | >= 5.1 | EOL | 2023-06-01 |
425+
| 5.2 | >= 2.2.2 | ~> 5.1 | EOL | 2022-06-01 |
426+
427+
If you want to look at the requirements for a specific version, run:
428+
429+
gem spec -r --ruby rails -v 7.0.0
424430

425431
Current versions of ruby: (https://endoflife.date/ruby)
426432

427433
| ruby | Status | EOL Date |
428434
|------+---------+------------|
429-
| 3.0 | Current | 2024-03-31 |
430-
| 2.7 | Maint | 2023-03-31 |
431-
| 2.6 | Maint* | 2022-03-31 |
432-
| 2.5 | EOL | 2021-03-31 |
433-
| 2.4 | EOL | 2020-03-31 |
434-
| 2.3 | EOL | 2019-03-31 |
435-
| 2.2 | EOL | 2018-03-31 |
436-
437-
See also:
438-
439-
* https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html
440-
* https://jamesjeffersconsulting.com/ruby-rails-version-matrix/
435+
| 3.3 | Current | 2027-03-31 |
436+
| 3.2 | Maint | 2026-03-31 |
437+
| 3.1 | Security| 2025-03-31 |
438+
| 3.0 | EOL | 2024-03-31 |
439+
| 2.7 | EOL | 2023-03-31 |
440+
| 2.6 | EOL | 2022-03-31 |
441+
| 2.5 | EOL | 2021-03-31 | DO YOU SEE WHAT I'M STUCK WITH???
441442

442443
=== How to test SimpleDelegates?
443444

.bundle/gems/minitest-5.16.3/Rakefile renamed to .bundle/gems/minitest-5.25.1/Rakefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
require "rubygems"
44
require "hoe"
5+
$:.unshift "lib" # to pick up lib/minitest/test_task.rb when minitest not installed
56

67
Hoe.plugin :seattlerb
78
Hoe.plugin :rdoc
@@ -32,6 +33,7 @@ task :specs do
3233
/_includes/ => "_include",
3334
/(must|wont)_(.*_of|nil|silent|empty)/ => '\1_be_\2',
3435
/must_raises/ => "must_raise",
36+
/(must|wont)_pattern/ => '\1_pattern_match',
3537
/(must|wont)_predicate/ => '\1_be',
3638
/(must|wont)_path_exists/ => 'path_\1_exist',
3739
}
@@ -71,4 +73,9 @@ task :bugs do
7173
sh "for f in bug*.rb ; do echo $f; echo; #{Gem.ruby} -Ilib $f && rm $f ; done"
7274
end
7375

76+
Minitest::TestTask.create :testW0 do |t|
77+
t.warning = false
78+
t.test_prelude = "$-w = nil"
79+
end
80+
7481
# vim: syntax=Ruby

.bundle/gems/minitest-5.16.3/lib/hoe/minitest.rb renamed to .bundle/gems/minitest-5.25.1/lib/hoe/minitest.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# :stopdoc:
22

33
class Hoe
4+
# empty
45
end
56

67
module Hoe::Minitest
@@ -16,7 +17,7 @@ def initialize_minitest
1617

1718
gem "minitest"
1819
require "minitest"
19-
version = Minitest::VERSION.split(/\./).first(2).join(".")
20+
version = Minitest::VERSION.split(".").first(2).join "."
2021

2122
dependency "minitest", "~> #{version}", :development unless
2223
minitest? or ENV["MT_NO_ISOLATE"]

0 commit comments

Comments
 (0)