-
Notifications
You must be signed in to change notification settings - Fork 89
/
cassandra-driver.gemspec
37 lines (29 loc) · 1.28 KB
/
cassandra-driver.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
# encoding: utf-8
$LOAD_PATH << File.expand_path('../lib', __FILE__)
require 'cassandra/version'
Gem::Specification.new do |s|
s.name = 'cassandra-driver'
s.version = Cassandra::VERSION.dup
s.authors = ['Theo Hultberg', 'Bulat Shakirzyanov', 'Sandeep Tamhankar']
s.homepage = 'http://datastax.github.io/ruby-driver'
s.summary = 'Datastax Ruby Driver for Apache Cassandra'
s.description = 'A pure Ruby driver for Apache Cassandra'
s.license = 'Apache License 2.0'
s.files = Dir['lib/**/*.rb', 'README.md', '.yardopts']
s.require_paths = %w[lib]
s.extra_rdoc_files = ['README.md']
s.rdoc_options << '--title' << 'Datastax Ruby Driver' << '--main' << 'README.md' << '--line-numbers'
s.required_ruby_version = '>= 2.2.0'
if defined?(JRUBY_VERSION)
s.platform = 'java'
s.files << 'lib/cassandra_murmur3.jar'
else
s.platform = Gem::Platform::RUBY
s.extensions = 'ext/cassandra_murmur3/extconf.rb'
s.files << 'ext/cassandra_murmur3/cassandra_murmur3.c'
end
s.add_runtime_dependency 'ione', '~> 1.2'
s.add_development_dependency 'bundler', '~> 1.6'
s.add_development_dependency 'rake', '~> 13.0'
end