Permalink
fbae98a Jan 23, 2015
@pietern @badboy @chulkilee
34 lines (28 sloc) 1009 Bytes
require File.expand_path("../lib/hiredis/version", __FILE__)
Gem::Specification.new do |s|
s.name = "hiredis"
s.version = Hiredis::VERSION
s.homepage = "http://github.com/redis/hiredis-rb"
s.authors = ["Pieter Noordhuis"]
s.email = ["pcnoordhuis@gmail.com"]
s.license = 'BSD-3-Clause'
s.summary = "Ruby wrapper for hiredis (protocol serialization/deserialization and blocking I/O)"
s.description = s.summary
s.require_path = "lib"
s.files = []
if RUBY_PLATFORM =~ /java/
s.platform = "java"
else
s.extensions = Dir["ext/**/extconf.rb"]
s.files += Dir["ext/**/*.{rb,c,h}"]
s.files += Dir["vendor/hiredis/*.{c,h}"] -
Dir["vendor/hiredis/example*"] +
Dir["vendor/hiredis/COPYING"] +
Dir["vendor/hiredis/Makefile"]
end
s.files += Dir["lib/**/*.rb"]
s.files += %w(COPYING Rakefile)
s.add_development_dependency "rake", "10.0"
s.add_development_dependency "rake-compiler", "~> 0.7.1"
s.add_development_dependency "minitest", "~> 5.5.1"
end