Rakefile updated, license defined

This commit is contained in:
Denis Knauf 2016-08-25 22:33:27 +02:00
parent 07598fc954
commit 42a62ae112
2 changed files with 37 additions and 35 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/pkg

View file

@ -7,7 +7,8 @@ begin
gem.name = "select" gem.name = "select"
gem.summary = %Q{IO-event-handler based on select} gem.summary = %Q{IO-event-handler based on select}
gem.description = %Q{Select based event-handler for servers and sockets} gem.description = %Q{Select based event-handler for servers and sockets}
gem.email = "Denis.Knauf@gmail.com" gem.email = "ich@denkn.at"
gem.license = 'LGPL-3.0'
gem.homepage = "http://github.com/DenisKnauf/select" gem.homepage = "http://github.com/DenisKnauf/select"
gem.authors = ["Denis Knauf"] gem.authors = ["Denis Knauf"]
gem.files = %w[README.md VERSION lib/**/*.rb test/**/*.rb] gem.files = %w[README.md VERSION lib/**/*.rb test/**/*.rb]
@ -42,7 +43,7 @@ task :test => :check_dependencies
task :default => :test task :default => :test
require 'rake/rdoctask' require 'rdoc/task'
Rake::RDocTask.new do |rdoc| Rake::RDocTask.new do |rdoc|
if File.exist?('VERSION') if File.exist?('VERSION')
version = File.read('VERSION') version = File.read('VERSION')
@ -51,7 +52,7 @@ Rake::RDocTask.new do |rdoc|
end end
rdoc.rdoc_dir = 'rdoc' rdoc.rdoc_dir = 'rdoc'
rdoc.title = "sbdb #{version}" rdoc.title = "select #{version}"
rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb') rdoc.rdoc_files.include('lib/**/*.rb')
end end