Excluding Ruby 1.8.6 from multiruby; preventing the gem from allowing install on 1.8.6.
This commit is contained in:
parent
31946c35c7
commit
5c319e1b58
5
Rakefile
5
Rakefile
|
@ -14,6 +14,7 @@ PKG_VERSION = Net::LDAP::VERSION
|
||||||
PKG_DIST = "#{PKG_NAME}-#{PKG_VERSION}"
|
PKG_DIST = "#{PKG_NAME}-#{PKG_VERSION}"
|
||||||
PKG_TAR = "pkg/#{PKG_DIST}.tar.gz"
|
PKG_TAR = "pkg/#{PKG_DIST}.tar.gz"
|
||||||
MANIFEST = File.read("Manifest.txt").split
|
MANIFEST = File.read("Manifest.txt").split
|
||||||
|
MINRUBY = "1.8.7"
|
||||||
|
|
||||||
Hoe.spec PKG_NAME do
|
Hoe.spec PKG_NAME do
|
||||||
self.readme_file = "README.markdown"
|
self.readme_file = "README.markdown"
|
||||||
|
@ -36,6 +37,10 @@ Hoe.spec PKG_NAME do
|
||||||
extra_dev_deps << [ "hanna", "~>0.1.2" ]
|
extra_dev_deps << [ "hanna", "~>0.1.2" ]
|
||||||
clean_globs << "coverage"
|
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.
|
# This is a lie because I will continue to use Archive::Tar::Minitar.
|
||||||
self.need_tar = false
|
self.need_tar = false
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue