Class: Semverify::VersionFileSources::Version
- Defined in:
- lib/semverify/version_file_sources/version.rb
Overview
Checks for the gem's version in a file named VERSION
Constant Summary collapse
- VERSION_REGEXP =
The regexp to find the version and surrounding content within the version file
/ \A (?<content_before>\s*) (?<version>#{Semverify::SEMVER_REGEXP.source}) (?<content_after>\s*) \z /x