diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-03-12 11:34:54 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-03-12 11:34:54 -0800 |
commit | a49eccc26c0c0958428dd9d079dda3cc00d3000b (patch) | |
tree | 1f3f6b3beecdccccfc3bae3afcce1cc34a727592 | |
parent | 643e2a5cf9235e27f3910f0de9b5dba0f518baf1 (diff) | |
download | rpatricia-a49eccc26c0c0958428dd9d079dda3cc00d3000b.tar.gz |
add gemspec for building gems v0.04
To build the gem: gem build rpatricia.gemspec
-rw-r--r-- | rpatricia.gemspec | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/rpatricia.gemspec b/rpatricia.gemspec new file mode 100644 index 0000000..f17fea8 --- /dev/null +++ b/rpatricia.gemspec @@ -0,0 +1,53 @@ +# to build a gem: +# gem build rpatricia.gemspec + +Gem::Specification.new do |s| + s.name = %q{rpatricia} + s.version = %q{0.04} # remember to update Changes if this is changed + + s.homepage = "http://www.goto.info.waseda.ac.jp/~tatsuya/rpatricia/" + + # Tatsuya wrote the extension, Eric gemified this + s.authors = [ "Tatsuya Mori", "Eric Wong" ] + + s.date = Time.now.utc.strftime('%Y-%m-%d') + s.summary = %q{module for fast IP address/prefix lookups} + s.description = %q{ +This is a ruby wrapper of Net::Patricia, which has been developed by +Dave Plonka. The original Net::Patricia and its C API are available +from: +http://net.doit.wisc.edu/~plonka/Net-Patricia/ + +Net::Patricia is a module for fast IP address/prefix lookups. +I have modified some interfaces for the Ruby wrapper version. +}.strip + + # bother Eric for all gem issues + s.email = %q{normalperson@yhbt.net} + + # generated using "git ls-files" from Eric's git repo + s.files = %w( +Changes +README +TODO +copyright +credits.txt +extconf.rb +patricia.c +patricia.h +rpatricia.c +test.rb +) - %w(test.rb) +# intentionally omitting test.rb to avoid being accidentally required +# in case somebody does "require 'test'" in their code. We +# still need to hope nobody calls "require 'extconf'" +# +# See below for plans... + + # the path layout is unchanged from the current tarballs + # We should move files currently in the top level into the more + # traditional ext/rpatricia/ directory in the future to avoid + # require conflicts like we have with test.rb + s.require_paths = %w(.) + s.extensions = %w(extconf.rb) +end |