ruby-ldapserver.gemspec in ruby-ldapserver-0.5.1 vs ruby-ldapserver.gemspec in ruby-ldapserver-0.5.2
- old
+ new
@@ -19,8 +19,9 @@
s.required_ruby_version = '>= 1.9'
s.add_development_dependency 'bundler', '~> 1.3'
s.add_development_dependency 'rake', '~> 10.0'
- s.add_development_dependency 'ruby-ldap', '~> 0.9.16'
+ s.add_development_dependency 'ruby-ldap', '~> 0.9.16' unless RUBY_PLATFORM == 'java'
+ s.add_development_dependency 'jruby-ldap', '~> 0.0' if RUBY_PLATFORM == 'java'
s.add_development_dependency 'rspec', '~> 3.1'
end