sys-cpu.gemspec in sys-cpu-0.7.0 vs sys-cpu.gemspec in sys-cpu-0.7.1

- old
+ new

@@ -1,43 +1,28 @@ require 'rubygems' Gem::Specification.new do |spec| spec.name = 'sys-cpu' - spec.version = '0.7.0' + spec.version = '0.7.1' spec.author = 'Daniel J. Berger' spec.email = 'djberg96 at nospam at gmail dot com' - spec.homepage = 'http://www.rubyforge.org/projects/sysutils' - spec.platform = Gem::Platform::RUBY + spec.homepage = 'https://github.com/djberg96/sys-cpu' spec.summary = 'A Ruby interface for providing CPU information' spec.test_file = 'test/test_sys_cpu.rb' spec.files = Dir['**/*'].reject{ |f| f.include?('git') } spec.rubyforge_project = 'sysutils' spec.extra_rdoc_files = ['CHANGES', 'README', 'MANIFEST'] + # The ffi dependency is only relevent for the Unix version. Given the + # ubiquity of ffi these days, I felt a bogus dependency on ffi for Windows + # and Linux was worth the tradeoff of having to create 3 separate gems. spec.add_dependency('ffi', '>= 1.0.0') - spec.add_development_dependency('test-unit', '>= 2.1.2') + spec.add_development_dependency('test-unit', '>= 2.4.0') + spec.description = <<-EOF The sys-cpu library provides an interface for gathering information about your system's processor(s). Information includes speed, type, and load average. EOF - - case Config::CONFIG['host_os'] - when /mswin|dos|windows|win32|mingw|cygwin/i - spec.require_paths = ['lib', 'lib/windows'] - spec.extra_rdoc_files << 'lib/windows/sys/cpu.rb' - spec.platform = Gem::Platform::CURRENT - spec.platform.cpu = 'universal' - spec.platform.version = nil - spec.original_platform = spec.platform - when /linux/i - spec.require_paths = ['lib', 'lib/linux'] - spec.extra_rdoc_files << 'lib/linux/sys/cpu.rb' - spec.platform = Gem::Platform.new('universal-linux') - spec.original_platform = spec.platform - else - spec.require_paths = ['lib', 'lib/unix'] - spec.extra_rdoc_files << 'lib/unix/sys/cpu.rb' - end end