Sha256: 694f458e18b4466d679bab5ae0c958d48c43f33cf2324aa41886f754a39621e8
Contents?: true
Size: 1.18 KB
Versions: 1
Compression:
Stored size: 1.18 KB
Contents
require 'rubygems' spec = Gem::Specification.new do |gem| gem.name = 'sys-filesystem' gem.version = '0.1.0' gem.author = 'Daniel J. Berger' gem.email = 'djberg96@gmail.com' gem.homepage = 'http://www.rubyforge.org/projects/sysutils' gem.platform = Gem::Platform::RUBY gem.summary = 'A Ruby interface for getting file system information.' gem.description = 'A Ruby interface for getting file system information.' gem.test_file = 'test/tc_filesystem.rb' gem.has_rdoc = true gem.extra_rdoc_files = ['CHANGES', 'README', 'MANIFEST'] gem.rubyforge_project = 'sysutils' files = Dir["doc/*"] + Dir["test/*"] + Dir["[A-Z]*"] files.delete_if{ |item| item.include?('CVS') } gem.files = files end if $PROGRAM_NAME == __FILE__ if RUBY_PLATFORM.match('mswin') spec.required_ruby_version = '>= 1.8.2' spec.files += ['lib/sys/filesystem.rb'] spec.platform = Gem::Platform::WIN32 else spec.required_ruby_version = '>= 1.8.0' spec.extensions = ['extconf.rb'] spec.files += ['ext/filesystem.c'] end Gem.manage_gems Gem::Builder.new(spec).build end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sys-filesystem-0.1.0-mswin32 | sys-filesystem.gemspec |