Sha256: fbccf59cf40dbe834806a5a2d3c108541e188ecfae673e56c36279c527c7b183
Contents?: true
Size: 372 Bytes
Versions: 2
Compression:
Stored size: 372 Bytes
Contents
module Logirel begin require 'semver' VERSION = SemVer.find.format "%M.%m.%p" class Version < SemVer def parse_numeric(str) str.scan(/(\d{1,5}).?/).flatten.collect{|x| x.to_i} end end rescue LoadError puts 'First time installing, eh? Just run "bundle install"! (unless this is you running it right now!)' VERSION = "0.0.0" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
logirel-0.0.8 | lib/logirel/version.rb |
logirel-0.0.6 | lib/logirel/version.rb |