eprothro/cassie

View on GitHub
cassie.gemspec

Summary

Maintainability
Test Coverage
require_relative "lib/cassie/version"

Gem::Specification.new do |s|
  s.name        = "cassie"
  s.version     = Cassie::VERSION
  s.summary     = "Apache Cassandra application support"
  s.description = <<-EOS.strip.gsub(/\s+/, " ")
    Application support for Apache Cassandra using the the official `cassandra-driver`.
    Cassie provides cluster configration, versioned migrations,
    efficient session management, and a class-based query DSL. Easy to use with
    lightweight, component-style interfaces.
  EOS

  s.authors     = ["Evan Prothro"]
  s.email       = "evan.prothro@gmail.com"
  s.files      += Dir["lib/**/*.*"]
  s.homepage    = "https://github.com/eprothro/cassie"
  s.license     = "MIT"

  if defined?(JRUBY_VERSION)
    s.platform = 'java'
  else
    s.platform    = Gem::Platform::RUBY
  end

  s.executables << "cassie"

  s.add_runtime_dependency 'cassandra-driver',  '~> 3.0', '>= 2.1.1'
  s.add_runtime_dependency 'activesupport',     '>= 4.2'
  s.add_runtime_dependency 'terminal-table',    '~> 1.0', '>= 1.4.0'
  s.add_runtime_dependency 'rake',              '>= 0.8.7'

  s.add_development_dependency "bundler", "~> 1.10"
end