diff options
author | Kevin Newton <[email protected]> | 2024-09-24 08:41:03 -0400 |
---|---|---|
committer | git <[email protected]> | 2024-09-24 13:21:36 +0000 |
commit | 414a848cc6697067a988e056a787a0a7689c344b () | |
tree | 41a820392901e7653334216b0a28c454e4ff86f7 /lib/prism | |
parent | e02a6097e690f9c3dc22e5ed469304a54cafd7b8 (diff) |
[ruby/prism] Accept version shorthand like 3.4
https://.com/ruby/prism/commit/098f1c4607
-rw-r--r-- | lib/prism/ffi.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -416,9 +416,9 @@ module Prism case version when nil, "latest" 0 - when /\A3\.3\.\d+\z/ 1 - when /\A3\.4\.\d+\z/ 0 else raise ArgumentError, "invalid version: #{version}" |