lib/trop/version.rb in trop-0.7.0 vs lib/trop/version.rb in trop-0.8.1

- old
+ new

@@ -1,6 +1,24 @@ module Trop - VERSION = '0.7.0' + VERSION = '0.8.1' VERSION_NAME = 'trop' - GEMSPEC_NAME = VERSION_NAME + '.gemspec' - VERSION_FILE = File.expand_path('version.rb', __dir__) +end + +module Trop::GemVersion + + def self.version_name + Trop::VERSION_NAME + end + + def self.version + Trop::VERSION + end + + def self.version_file_rb + File.expand_path('version.rb', __dir__) + end + + def self.gemspec_name + Trop::VERSION_NAME + '.gemspec' + end + end