Excluding Ruby 1.8.6 from multiruby; preventing the gem from allowing install on 1.8.6.

master
Austin Ziegler 2010-03-13 21:22:04 -05:00
parent 31946c35c7
commit 5c319e1b58
1 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,7 @@ PKG_VERSION = Net::LDAP::VERSION
PKG_DIST = "#{PKG_NAME}-#{PKG_VERSION}"
PKG_TAR = "pkg/#{PKG_DIST}.tar.gz"
MANIFEST = File.read("Manifest.txt").split
MINRUBY = "1.8.7"
Hoe.spec PKG_NAME do
self.readme_file = "README.markdown"
@ -36,6 +37,10 @@ Hoe.spec PKG_NAME do
extra_dev_deps << [ "hanna", "~>0.1.2" ]
clean_globs << "coverage"
spec_extras[:required_ruby_version] = ">= #{MINRUBY}"
multiruby_skip << "1.8.6"
multiruby_skip << "1_8_6"
# This is a lie because I will continue to use Archive::Tar::Minitar.
self.need_tar = false
end