Skip to content

Commit 64a1637

Browse files
committed
Guard Ruby 3.5 out
1 parent 6e369b4 commit 64a1637

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/mod/guard.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ def call(status)
1212
result << { :name => 'ruby.version', :reason => 'runtime.version', :value => status[:ruby][:version] }
1313
end
1414

15+
if min(status[:ruby][:version], 3, 5)
16+
result << { :name => 'ruby.version', :reason => 'runtime.version' }
17+
end
18+
1519
if status[:ruby][:engine] != 'ruby'
1620
result << { :name => 'ruby.engine', :reason => 'runtime.engine', :value => status[:ruby][:engine] }
1721
end

0 commit comments

Comments
 (0)