forked from redis/hiredis-rb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hiredis.gemspec
33 lines (28 loc) · 1009 Bytes
/
hiredis.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
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 = ["[email protected]"]
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