Skip to content

Commit 0257c4a

Browse files
committed
Update the list of :next specs
1 parent 08187f1 commit 0257c4a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

doc/contributor/updating-ruby.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ In a separate commit, update all of these:
149149
* Run `jt test gems default-bundled-gems`
150150
* Grep for the old version with `git grep -F x.y.z`
151151
* If `tool/id.def` or `lib/cext/include/truffleruby/internal/id.h` has changed, `jt build core-symbols` and check for correctness.
152+
* Update the list of `:next` specs and change the "next version" in `spec/truffleruby.mspec`.
152153

153154
## Last step
154155

spec/truffleruby.mspec

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,7 @@ class MSpecScript
8989
]
9090

9191
set :next, %w[
92-
spec/ruby/core/file/absolute_path_spec.rb
93-
spec/ruby/core/matchdata/allocate_spec.rb
94-
spec/ruby/core/unboundmethod/bind_call_spec.rb
95-
spec/ruby/core/builtin_constants/builtin_constants_spec.rb
92+
spec/ruby/core/mutex/owned_spec.rb
9693
]
9794

9895
set :tags_patterns, [
@@ -135,9 +132,11 @@ end
135132

136133
if MSpecScript.child_process?
137134
if version = ENV["PRETEND_RUBY_VERSION"]
135+
::VersionGuard.send :remove_const, :FULL_RUBY_VERSION
138136
::VersionGuard::FULL_RUBY_VERSION = SpecVersion.new(version)
139137
elsif ARGV.include? ":next"
140-
::VersionGuard::FULL_RUBY_VERSION = SpecVersion.new("2.7.0")
138+
::VersionGuard.send :remove_const, :FULL_RUBY_VERSION
139+
::VersionGuard::FULL_RUBY_VERSION = SpecVersion.new("3.0.0")
141140
end
142141
end
143142

0 commit comments

Comments
 (0)