Class: VersionBoss::Gem::VersionFileSources::Version
- Defined in:
- lib/version_boss/gem/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>#{REGEXP.source}) (?<content_after>\s*) \z /x