Skip to content

Commit 5c319e1

Browse files
author
Austin Ziegler
committed
Excluding Ruby 1.8.6 from multiruby; preventing the gem from allowing install on 1.8.6.
1 parent 31946c3 commit 5c319e1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Rakefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ PKG_VERSION = Net::LDAP::VERSION
1414
PKG_DIST = "#{PKG_NAME}-#{PKG_VERSION}"
1515
PKG_TAR = "pkg/#{PKG_DIST}.tar.gz"
1616
MANIFEST = File.read("Manifest.txt").split
17+
MINRUBY = "1.8.7"
1718

1819
Hoe.spec PKG_NAME do
1920
self.readme_file = "README.markdown"
@@ -36,6 +37,10 @@ Hoe.spec PKG_NAME do
3637
extra_dev_deps << [ "hanna", "~>0.1.2" ]
3738
clean_globs << "coverage"
3839

40+
spec_extras[:required_ruby_version] = ">= #{MINRUBY}"
41+
multiruby_skip << "1.8.6"
42+
multiruby_skip << "1_8_6"
43+
3944
# This is a lie because I will continue to use Archive::Tar::Minitar.
4045
self.need_tar = false
4146
end

0 commit comments

Comments
 (0)