rakefile in clamav-0.2.2 vs rakefile in clamav-0.3.0
- old
+ new
@@ -3,11 +3,11 @@
require 'rake/clean'
require 'rake/gempackagetask'
require 'tools/rakehelp'
require 'spec/rake/spectask'
-GEM_VERSION="0.2.2"
+GEM_VERSION="0.3.0"
setup_extension('clamav', 'clamav')
desc "Compile native extension"
task :compile => [:clamav]
@@ -23,23 +23,24 @@
gemspec = Gem::Specification.new do |gemspec|
gemspec.name = "clamav"
gemspec.version = GEM_VERSION
gemspec.author = "Alexander Oryol"
gemspec.email = "eagle.alex@gmail.com"
- gemspec.summary = "ClamAV Ruby binding"
+ gemspec.summary = "ClamAV Ruby bindings"
+ gemspec.homepage = "http://github.com/eagleas/clamav"
+ gemspec.rubyforge_project = 'clamav'
gemspec.description = <<-EOF
- ClamAV Ruby binding. Based on project clamavr-0.2.0
- http://raa.ruby-lang.org/project/clamavr/
- Thanks to MoonWoolf <moonwolf@moonwolf.com>
+ ClamAV Ruby bindings.
EOF
- gemspec.files = %w( rakefile README ChangeLog ) +
+ gemspec.files = %w( rakefile README.rdoc ChangeLog ) +
Dir.glob( 'lib/*.rb' ) +
Dir.glob( 'spec/*.rb' ) +
Dir.glob( 'spec/unit/*.rb' ) +
- Dir.glob( 'ext/**/*.{c,rb}' ) +
+ Dir.glob( 'spec/clamav-testfiles/*' ) +
+ Dir.glob( 'ext/**/*.{c,rb,h}' ) +
Dir.glob( 'tools/*.rb' )
- gemspec.autorequire = 'clamav'
gemspec.require_path = 'lib'
+ gemspec.has_rdoc = 'false'
# gemspec.add_dependency('builder')
if RUBY_PLATFORM.match("win32")
gemspec.platform = Gem::Platform::WIN32
gemspec.files += []