Debian Codegraph @

ffi-yajl-universal-mingw-ucrt.gemspec

raw
1 # frozen_string_literal: true
2 $:.unshift File.expand_path("lib", __dir__)
3 require "ffi_yajl/version"
4
5 Gem::Specification.new do |s|
6 s.name = "ffi-yajl"
7 s.version = FFI_Yajl::VERSION
8 s.extra_rdoc_files = ["README.md", "LICENSE" ]
9 s.license = "MIT"
10 s.summary = "Ruby FFI wrapper around YAJL 2.x"
11 s.description = s.summary
12 s.author = "Lamont Granquist"
13 s.email = "[email protected]"
14 s.homepage = "http://github.com/chef/ffi-yajl"
15 s.extensions = %w{ext/ffi_yajl/ext/encoder/extconf.rb ext/ffi_yajl/ext/parser/extconf.rb ext/ffi_yajl/ext/dlopen/extconf.rb}
16
17 s.required_ruby_version = ">= 3.1"
18
19 s.add_dependency "libyajl2", ">= 2.1"
20
21 s.bindir = "bin"
22 s.executables = %w{ ffi-yajl-bench }
23 s.require_path = "lib"
24 s.files = %w{ LICENSE } + Dir.glob( "{bin,lib,ext}/**/*", File::FNM_DOTMATCH ).reject { |f| File.directory?(f) }
25
26 s.add_development_dependency "cookstyle", "~> 8.1"
27
28 s.platform = Gem::Platform.new(%w{universal mingw-ucrt})
29
30 end