Sha256: 7b0664facaab6c1c3c6f226de63556c7a6f8e5a3f1d05e33b2c93559d291fc9a

Contents?: true

Size: 1.35 KB

Versions: 1

Compression:

Stored size: 1.35 KB

Contents

require 'rubygems'

spec = Gem::Specification.new do |gem|
   gem.name         = 'sys-filesystem'
   gem.version      = '0.2.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/test_sys_filesystem.rb'
   gem.has_rdoc     = true
   gem.extra_rdoc_files  = ['CHANGES', 'README', 'MANIFEST']
   gem.rubyforge_project = 'sysutils'
   files = Dir["doc/*"] + Dir["examples/*"] + 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::CURRENT
      spec.add_dependency('windows-pr', '>= 0.6.0')
   else
      spec.required_ruby_version = '>= 1.8.0'
      spec.extensions = ['ext/extconf.rb']
      spec.files += Dir["ext/**/*"]
      spec.extra_rdoc_files << 'ext/sys/filesystem.c'
   end
	
   Gem.manage_gems if Gem::RubyGemsVersion.to_f < 1.0
   Gem::Builder.new(spec).build
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sys-filesystem-0.2.0-x86-mswin32-60 sys-filesystem.gemspec