Merge pull request #111 from rapid7/bug/MSP-10714-gem-version
Fix gem version to support rubygems < 2.1bug/bundler_fix
commit
1ad04eb2d9
|
@ -8,5 +8,6 @@ module Metasploit
|
|||
end
|
||||
|
||||
VERSION = "#{Version::MAJOR}.#{Version::MINOR}.#{Version::PATCH}-#{Version::PRERELEASE}"
|
||||
GEM_VERSION = VERSION.gsub('-', '.pre.')
|
||||
end
|
||||
end
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue