Skip to content

Commit

Permalink
bumping the prerelase
Browse files Browse the repository at this point in the history
dropping support for rubygems pre 2.0
  • Loading branch information
lsanchez-r7 committed Apr 30, 2015
1 parent 57c6ca7 commit 1c2107d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
13 changes: 1 addition & 12 deletions lib/metasploit_data_models/version.rb
Expand Up @@ -8,7 +8,7 @@ module Version
# The patch number, scoped to the {MAJOR} and {MINOR} version numbers.
PATCH = 0
# The prerelease version, scoped to the {MAJOR}, {MINOR}, and {PATCH} version numbers.
PRERELEASE = 'rails-4.0a'
PRERELEASE = 'rails-4.0b'

# The full version string, including the {MAJOR}, {MINOR}, {PATCH}, and optionally, the `PRERELEASE` in the
# {http://semver.org/spec/v2.0.0.html semantic versioning v2.0.0} format.
Expand All @@ -25,19 +25,8 @@ def self.full
version
end

# The full gem version string, including the {MAJOR}, {MINOR}, {PATCH}, and optionally, the {PRERELEASE} in the
# {http://guides.rubygems.org/specification-reference/#version RubyGems versioning} format.
#
# @return [String] '{MAJOR}.{MINOR}.{PATCH}' on master. '{MAJOR}.{MINOR}.{PATCH}.{PRERELEASE}' on any branch
# other than master.
def self.gem
full.gsub('-', '.pre.')
end
end

# @see Version.gem
GEM_VERSION = Version.gem

# @see Version.full
VERSION = Version.full
end
2 changes: 1 addition & 1 deletion metasploit_data_models.gemspec
Expand Up @@ -4,7 +4,7 @@ require 'metasploit_data_models/version'

Gem::Specification.new do |s|
s.name = 'metasploit_data_models'
s.version = MetasploitDataModels::GEM_VERSION
s.version = MetasploitDataModels::VERSION
s.authors = [
'Samuel Huckins',
'Luke Imhoff',
Expand Down

0 comments on commit 1c2107d

Please sign in to comment.