Permalink
Browse files

Added a version class and changed gemspec accordingly

  • Loading branch information...
1 parent 204593b commit 346e189d1ae61304a8300ac7f3c535c8b43a06c4 @thesp0nge committed Apr 11, 2012
Showing with 8 additions and 2 deletions.
  1. +5 −0 lib/nexpose/version.rb
  2. +3 −2 nexpose.gemspec
View
@@ -0,0 +1,5 @@
+module Nexpose
+ module NexposeAPI
+ VERSION = "0.0.a"
+ end
+end
View
@@ -1,12 +1,13 @@
# encoding: utf-8
APP_NAME = "nexpose"
-VERSION = "0.0.9"
+# VERSION = "0.0.9"
REVISION = "12878"
+require 'nexpose/version'
Gem::Specification.new do |s|
s.name = APP_NAME
- s.version = VERSION
+ s.version = Nexpose::NexposeAPI::VERSION
s.homepage = "https://github.com/rapid7/nexpose-client"
s.summary = "Ruby API for Rapid7 NeXpose"
s.description = "This gem provides a Ruby API to the NeXpose vulnerability management product by Rapid7. This version is based on Metasploit SVN revision #{REVISION}"

0 comments on commit 346e189

Please sign in to comment.