Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 31 lines (25 sloc) 0.873 kB
c40f3e0 @pietern Import gemspec
pietern authored
1 require File.expand_path("../lib/hiredis/version", __FILE__)
2
3 Gem::Specification.new do |s|
4 s.name = "hiredis"
5 s.version = Hiredis::VERSION
6 s.homepage = "http://github.com/pietern/hiredis-rb"
7 s.authors = ["Pieter Noordhuis"]
8 s.email = ["pcnoordhuis@gmail.com"]
9 s.summary = "Ruby extension that wraps Hiredis (blocking connection and reply parsing)"
10 s.description = s.summary
11
12 s.require_path = "lib"
320dd88 @pietern Skip extension on JRuby
pietern authored
13 s.files = []
c40f3e0 @pietern Import gemspec
pietern authored
14
320dd88 @pietern Skip extension on JRuby
pietern authored
15 if RUBY_PLATFORM =~ /java/
16 s.platform = "java"
17 else
18 s.extensions = Dir["ext/**/extconf.rb"]
19 s.files += Dir["ext/**/*.{rb,c,h}"]
20 s.files += Dir["vendor/hiredis/*.{c,h}"] -
21 Dir["vendor/hiredis/example*"] +
22 Dir["vendor/hiredis/COPYING"] +
23 Dir["vendor/hiredis/Makefile"]
24 end
25
26 s.files += Dir["lib/**/*.rb"]
27 s.files += %w(COPYING Rakefile)
c40f3e0 @pietern Import gemspec
pietern authored
28
29 s.add_development_dependency "rake-compiler", "~> 0.7.1"
30 end
Something went wrong with that request. Please try again.