forked from zk-ruby/zookeeper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzookeeper.gemspec
38 lines (30 loc) · 1.34 KB
/
zookeeper.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require 'zookeeper/version'
Gem::Specification.new do |s|
s.name = 'zookeeper'
s.version = Zookeeper::VERSION
s.authors = ["Phillip Pearson", "Eric Maland", "Evan Weaver", "Brian Wickman", "Neil Conway", "Jonathan D. Simms"]
s.email = ["[email protected]"]
s.summary = %q{Apache ZooKeeper driver for Rubies}
s.description = <<-EOS
A low-level multi-Ruby wrapper around the ZooKeeper API bindings. For a
friendlier interface, see http://github.com/slyphon/zk. Currently supported:
MRI: {1.8.7, 1.9.2, 1.9.3}, JRuby: ~> 1.6.7, Rubinius: 2.0.testing, REE 1.8.7.
This library uses version #{Zookeeper::DRIVER_VERSION} of zookeeper bindings.
EOS
s.homepage = 'https://github.com/slyphon/zookeeper'
s.files = `git ls-files`.split("\n")
s.require_paths = ["lib"]
if ENV['JAVA_GEM'] or defined?(::JRUBY_VERSION)
s.platform = 'java'
s.add_runtime_dependency('slyphon-log4j', '= 1.2.15')
s.add_runtime_dependency('slyphon-zookeeper_jar', '= 3.3.5')
s.require_paths += %w[java]
else
s.require_paths += %w[ext]
s.extensions = 'ext/extconf.rb'
end
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
end