summaryrefslogtreecommitdiff
path: root/vendor/bundle/ruby/3.4.0/gems/ffi-1.17.4-arm64-darwin/ffi.gemspec
diff options
context:
space:
mode:
authorBen Sanders <ben@sanders.life>2026-08-02 09:49:25 -0400
committerBen Sanders <ben@sanders.life>2026-08-02 09:49:25 -0400
commitb41479c91e6685511c1f8ba8586106b322073b62 (patch)
treec9f1345999d754ae0a533849966427e792d9e68d /vendor/bundle/ruby/3.4.0/gems/ffi-1.17.4-arm64-darwin/ffi.gemspec
parentcfaceeb9a6d1295f5754be211858155cd309acc2 (diff)
added statscounter code
Diffstat (limited to 'vendor/bundle/ruby/3.4.0/gems/ffi-1.17.4-arm64-darwin/ffi.gemspec')
-rw-r--r--vendor/bundle/ruby/3.4.0/gems/ffi-1.17.4-arm64-darwin/ffi.gemspec43
1 files changed, 43 insertions, 0 deletions
diff --git a/vendor/bundle/ruby/3.4.0/gems/ffi-1.17.4-arm64-darwin/ffi.gemspec b/vendor/bundle/ruby/3.4.0/gems/ffi-1.17.4-arm64-darwin/ffi.gemspec
new file mode 100644
index 0000000..6fdf2f1
--- /dev/null
+++ b/vendor/bundle/ruby/3.4.0/gems/ffi-1.17.4-arm64-darwin/ffi.gemspec
@@ -0,0 +1,43 @@
+require File.expand_path("../lib/#{File.basename(__FILE__, '.gemspec')}/version", __FILE__)
+
+Gem::Specification.new do |s|
+ s.name = 'ffi'
+ s.version = FFI::VERSION
+ s.author = 'Wayne Meissner'
+ s.email = 'wmeissner@gmail.com'
+ s.homepage = 'https://github.com/ffi/ffi/wiki'
+ s.summary = 'Ruby FFI'
+ s.description = 'Ruby FFI library'
+ if s.respond_to?(:metadata)
+ s.metadata['bug_tracker_uri'] = 'https://github.com/ffi/ffi/issues'
+ s.metadata['changelog_uri'] = 'https://github.com/ffi/ffi/blob/master/CHANGELOG.md'
+ s.metadata['documentation_uri'] = 'https://github.com/ffi/ffi/wiki'
+ s.metadata['wiki_uri'] = 'https://github.com/ffi/ffi/wiki'
+ s.metadata['source_code_uri'] = 'https://github.com/ffi/ffi/'
+ s.metadata['mailing_list_uri'] = 'http://groups.google.com/group/ruby-ffi'
+ s.metadata['rubygems_mfa_required'] = 'true'
+ end
+ s.files = `git ls-files -z`.split("\x0").reject do |f|
+ f =~ /^(\.|bench|gen|libtest|nbproject|spec|rakelib)/
+ end
+
+ # Add libffi git files
+ lfs = `git --git-dir ext/ffi_c/libffi/.git ls-files -z`.split("\x0").reject do |f|
+ f =~ /^(\.|testsuite)/
+ end
+ # Add autoconf generated files of libffi
+ lfs += %w[ compile configure config.guess config.sub install-sh ltmain.sh missing fficonfig.h.in ]
+ # Add automake generated files of libffi
+ lfs += `git --git-dir ext/ffi_c/libffi/.git ls-files -z *.am */*.am`.gsub(".am\0", ".in\0").split("\x0")
+ s.files += lfs.map do |f|
+ File.join("ext/ffi_c/libffi", f)
+ end
+
+ s.extensions << 'ext/ffi_c/extconf.rb'
+ s.rdoc_options = %w[--exclude=ext/ffi_c/.*\.o$ --exclude=ffi_c\.(bundle|so)$]
+ s.license = 'BSD-3-Clause'
+ s.require_paths << 'ext/ffi_c'
+ s.required_ruby_version = '>= 2.5'
+
+ s.metadata['msys2_mingw_dependencies'] = 'libffi'
+end