Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 275d883

Browse files
committed
Allow gem versions to contain a string
This was causing issues when determining the upstream v8 version from an rc version of the gem
1 parent b1a9de2 commit 275d883

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/libv8/builder.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def setup_python!
9090
# then this will be 4.5.95
9191
#
9292
def source_version
93-
Libv8::VERSION.gsub(/\.\d+$/, '')
93+
Libv8::VERSION.gsub(/\.[^.]+$/, '')
9494
end
9595

9696
##

0 commit comments

Comments
 (0)