Class: VersionBoss::Gem::VersionFileSources::VersionRb
- Defined in:
- lib/version_boss/gem/version_file_sources/version_rb.rb
Overview
Checks for the gem's version in a file named lib/**/version.rb
Constant Summary collapse
- VERSION_REGEXP =
The regexp to find the version and surrounding content within the version.rb file
/ \A (?<content_before> .* VERSION\s*=\s*(?<quote>['"]) ) (?<version>#{REGEXP.source}) (?<content_after>\k<quote>.*) \z /xm