summaryrefslogtreecommitdiff
path: root/ffi-yajl.gemspec.shared
blob: 7569d1ed3a8a3017f015072b6b28b4bd9df457dc (plain)
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
$:.unshift(File.dirname(__FILE__) + '/lib')
require 'ffi_yajl/version'

Gem::Specification.new do |s|
  s.name             = 'ffi-yajl'
  s.version          = FFI_Yajl::VERSION
  s.extra_rdoc_files = ["README.md", "LICENSE" ]
  s.license          = "Apache-2.0"
  s.summary          = "Ruby FFI wrapper around YAJL 2.x"
  s.description      = s.summary
  s.author           = "Lamont Granquist"
  s.email            = "lamont@scriptkiddie.org"
  s.homepage         = "http://github.com/lamont-granquist/ffi-yajl"

  s.add_development_dependency "rake", "~> 10.1"
  s.add_development_dependency "rspec", "~> 2.14"
  s.add_development_dependency "pry", "~> 0.9"
  s.add_development_dependency "rake-compiler", "~> 0.9"
  s.add_dependency "ffi", "~> 1.9"
  s.add_dependency "libyajl2"

  s.bindir       = "bin"
  s.executables  = %w{ ffi-yajl-bench }
  s.require_path = 'lib'
  s.files        = %w{ Rakefile LICENSE README.md } +
    Dir.glob( "{lib,spec,ext}/**/*", File::FNM_DOTMATCH ).reject { |f| File.directory?(f) }
end