sys-cpu.gemspec in sys-cpu-0.8.0 vs sys-cpu.gemspec in sys-cpu-0.8.1
- old
+ new
@@ -1,13 +1,13 @@
require 'rubygems'
Gem::Specification.new do |spec|
spec.name = 'sys-cpu'
- spec.version = '0.8.0'
+ spec.version = '0.8.1'
spec.author = 'Daniel J. Berger'
spec.email = 'djberg96@gmail.com'
- spec.license = 'Apache 2.0'
+ spec.license = 'Apache-2.0'
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.cert_chain = ['certs/djberg96_pub.pem']
@@ -19,9 +19,18 @@
# and Linux was worth the tradeoff of not having to create 3 separate gems.
spec.add_dependency('ffi')
spec.add_development_dependency('test-unit')
spec.add_development_dependency('rake')
+
+ spec.metadata = {
+ 'homepage_uri' => 'https://github.com/djberg96/sys-cpu',
+ 'bug_tracker_uri' => 'https://github.com/djberg96/sys-cpu/issues',
+ 'changelog_uri' => 'https://github.com/djberg96/sys-cpu/blob/ffi/CHANGES',
+ 'documentation_uri' => 'https://github.com/djberg96/sys-cpu/wiki',
+ 'source_code_uri' => 'https://github.com/djberg96/sys-cpu',
+ 'wiki_uri' => 'https://github.com/djberg96/sys-cpu/wiki'
+ }
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.