-
Notifications
You must be signed in to change notification settings - Fork 75
/
zookeeper.gemspec
46 lines (38 loc) · 1.36 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
39
40
41
42
43
44
45
46
# -*- 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",
"Mal McKay",
]
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: {2.5, 2.6, 2.7, 3.0, 3.1, 3.2}, JRuby: ~> 9.2.x.x
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