diff options
author | Charles Oliver Nutter <headius@headius.com> | 2013-10-29 15:21:19 -0500 |
---|---|---|
committer | Charles Oliver Nutter <headius@headius.com> | 2013-10-29 15:21:19 -0500 |
commit | de4535bb1c5b9c0d60449fb16275aba7c0f84cd9 (patch) | |
tree | 12e242433e7971053bfb98a2d144bba1b1d16796 /ffi.gemspec | |
parent | 6265e47b12e847690effc73a65ac40ad4fca9977 (diff) | |
download | ffi-de4535bb1c5b9c0d60449fb16275aba7c0f84cd9.tar.gz |
Fix bad search and replace in C code.1.9.2
Diffstat (limited to 'ffi.gemspec')
-rw-r--r-- | ffi.gemspec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ffi.gemspec b/ffi.gemspec index 1613511..6989c21 100644 --- a/ffi.gemspec +++ b/ffi.gemspec @@ -8,7 +8,7 @@ Gem::Specification.new do |s| s.homepage = 'http://wiki.github.com/ffi/ffi' s.summary = 'Ruby FFI' s.description = 'Ruby FFI library' - s.files = %w(ffi.gemspec History.txt LICENSE COPYING COPYING.LESSER README.md Rakefile) + Dir.glob("{ext,gen,lib,spec,libtest}/**/*").reject { |f| f =~ /lib\/[12]\.[089]/} + s.files = %w(ffi.gemspec History.txt LICENSE COPYING README.md Rakefile) + Dir.glob("{ext,gen,lib,spec,libtest}/**/*").reject { |f| f =~ /lib\/[12]\.[089]/} s.extensions << 'ext/ffi_c/extconf.rb' s.has_rdoc = false s.rdoc_options = %w[--exclude=ext/ffi_c/.*\.o$ --exclude=ffi_c\.(bundle|so)$] |