Skip to content

Commit

Permalink
Fix PRERELEASE documentation
Browse files Browse the repository at this point in the history
MSP-9816

PRERELEASE doesn't exist on master, so YARD links using {PRERELEASE} had
to be replaced with `PRERELEASE`.
  • Loading branch information
limhoff-r7 committed Apr 25, 2014
1 parent 2e6ae47 commit c2a50ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/metasploit/erd/version.rb
Expand Up @@ -9,10 +9,10 @@ module Version
# The patch number, scoped to the {MINOR} version number.
PATCH = 1

# The full version string, including the {MAJOR}, {MINOR}, {PATCH}, and optionally, the {PRERELEASE} in the
# 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.
#
# @return [String] '{MAJOR}.{MINOR}.{PATCH}' on master. '{MAJOR}.{MINOR}.{PATCH}-{PRERELEASE}' on any branch
# @return [String] '{MAJOR}.{MINOR}.{PATCH}' on master. '{MAJOR}.{MINOR}.{PATCH}-`<PRERELEASE>`' on any branch
# other than master.
def self.full
version = "#{MAJOR}.#{MINOR}.#{PATCH}"
Expand Down

0 comments on commit c2a50ed

Please sign in to comment.