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
|
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'maxminddb/version'
Gem::Specification.new do |spec|
spec.name = "maxminddb"
spec.version = MaxMindDB::VERSION
spec.authors = ["yhirose"]
spec.email = ["yuji.hirose.bug@gmail.com"]
spec.summary = %q{MaxMind DB binary file reader.}
spec.description = %q{Pure Ruby MaxMind DB (GeoIP2) binary file reader.}
spec.homepage = "https://github.com/yhirose/maxminddb"
spec.license = "MIT"
spec.files = Dir.glob("**/*").select {|v| v !~ /^debian/}
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_development_dependency "bundler", "~> 1.5"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec"
spec.add_development_dependency "rspec-its"
end
|