Sha256: 3e4b7a38fa9f6d2ad0a9f6a5c7029390d2f2b123f9851f6d879a4bce5043b41d
Contents?: true
Size: 1.28 KB
Versions: 2
Compression:
Stored size: 1.28 KB
Contents
require 'rubygems' require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "xbel" gem.summary = %Q{Ruby API for XBEL based on Nokogiri.} gem.description = %Q{} gem.email = "florian.assmann@email.de" gem.homepage = "http://xbel.monkey-patch.me" gem.authors = ["Florian Aßmann"] gem.add_development_dependency "riot", ">= 0" gem.add_dependency 'nokogiri', '>= 0' end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler" end require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' test.pattern = 'test/**/test_*.rb' test.verbose = false end begin require 'rcov/rcovtask' Rcov::RcovTask.new do |test| test.libs << 'test' test.pattern = 'test/**/test_*.rb' test.verbose = true end rescue LoadError task :rcov do abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov" end end task :default => :test require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| version = File.exist?('VERSION') ? File.read('VERSION') : "" rdoc.rdoc_dir = 'rdoc' rdoc.title = "xbel #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
xbel-0.2.1 | Rakefile |
xbel-0.2.0 | Rakefile |