vendor/bundle/bin/byebug in solidus_backend-1.0.0.pre vs vendor/bundle/bin/byebug in solidus_backend-1.0.0.pre2
- old
+ new
@@ -11,10 +11,10 @@
version = ">= 0"
if ARGV.first
str = ARGV.first
str = str.dup.force_encoding("BINARY") if str.respond_to? :force_encoding
- if str =~ /\A_(.*)_\z/
+ if str =~ /\A_(.*)_\z/ and Gem::Version.correct?($1) then
version = $1
ARGV.shift
end
end