Trick to use one version string from shard.yml

This commit is contained in:
Michael Miller 2020-09-26 18:16:21 -06:00
parent f4a05502f9
commit f1ad476ae5
No known key found for this signature in database
GPG key ID: FB9F12F7C646A4AD

View file

@ -6,7 +6,7 @@ module Spectator
extend self
# Current version of the Spectator library.
VERSION = "0.10.0"
VERSION = {{ `shards version #{__DIR__}`.stringify.chomp }}
# Top-level describe method.
# All specs in a file must be wrapped in this call.