This repository has been archived by the owner on Jan 6, 2023. It is now read-only.
forked from mislav/hanna
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release 0.1.10 -- provide Hanna::VERSION string
- Loading branch information
Showing
7 changed files
with
28 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
require 'hanna/rdoc_version' | ||
require 'hanna/version' | ||
require 'rake' | ||
require 'rake/rdoctask' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
module Hanna | ||
|
||
VERSION = '0.1.10' | ||
|
||
# The version of RDoc that Hanna should use | ||
RDOC_VERSION = '2.3.0' | ||
RDOC_VERSION_REQUIREMENT = "~> #{RDOC_VERSION}" | ||
|
||
# Load the correct version of RDoc | ||
def self.require_rdoc(terminate = true) | ||
begin | ||
gem 'rdoc', RDOC_VERSION_REQUIREMENT | ||
rescue Gem::LoadError | ||
$stderr.puts "Hanna requires the RDoc #{RDOC_VERSION} gem" | ||
exit 1 if terminate | ||
end | ||
end | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters