Sha256: 63db6c625b34ec54980562a7e7972573cac118ef449326c5992a8bdc4edf4f40

Contents?: true

Size: 1.11 KB

Versions: 2

Compression:

Stored size: 1.11 KB

Contents

# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'snappy/version'

Gem::Specification.new do |spec|
  spec.name          = "snappy"
  spec.version       = Snappy::VERSION
  spec.authors       = ["miyucy"]
  spec.email         = ["fistfvck@gmail.com"]
  spec.description   = %q{libsnappy binding for Ruby}
  spec.summary       = %q{libsnappy binding for Ruby}
  spec.homepage      = "http://github.com/miyucy/snappy"
  spec.license       = "MIT"

  spec.test_files    = `git ls-files -z -- test`.split("\x0")
  spec.files         = `git ls-files -z`.split("\x0")
  spec.files        -= spec.test_files
  spec.files        -= ['vendor/snappy']
  spec.files        += Dir['vendor/snappy/**/*'].reject { |e| e.start_with? 'vendor/snappy/testdata' }

  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  if defined?(JRUBY_VERSION)
    spec.files += %w[lib/snappy_ext.jar]
    spec.platform = 'java'
    spec.add_dependency 'snappy-jars', '~> 1.1.0'
  else
    spec.extensions = ["ext/extconf.rb"]
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
snappy-0.1.0-java snappy.gemspec
snappy-0.1.0 snappy.gemspec