Merge pull request #111 from rapid7/bug/MSP-10714-gem-version

Fix gem version to support rubygems < 2.1
bug/bundler_fix
cdoughty-r7 2014-07-16 13:23:33 -05:00
commit 1ad04eb2d9
2 changed files with 2 additions and 1 deletions

View File

@ -8,5 +8,6 @@ module Metasploit
end
VERSION = "#{Version::MAJOR}.#{Version::MINOR}.#{Version::PATCH}-#{Version::PRERELEASE}"
GEM_VERSION = VERSION.gsub('-', '.pre.')
end
end

View File

@ -7,7 +7,7 @@ require 'metasploit/framework/version'
Gem::Specification.new do |spec|
spec.name = 'metasploit-framework'
spec.version = Metasploit::Framework::VERSION
spec.version = Metasploit::Framework::GEM_VERSION
spec.authors = ['Metasploit Hackers']
spec.email = ['metasploit-hackers@lists.sourceforge.net']
spec.summary = 'metasploit-framework'