Sha256: 21ebd7d73b304fb34fd5c31a7e1f40d75e62c7c2c44a60013e6bd52bc6a504cf
Contents?: true
Size: 1.22 KB
Versions: 2
Compression:
Stored size: 1.22 KB
Contents
require 'rake' require 'rake/gempackagetask' require 'rake/rdoctask' require 'spec/rake/spectask' task :default => ['spec'] desc 'generate API documentation to doc/index.html' Rake::RDocTask.new do |rd| rd.rdoc_dir = 'doc' rd.main = 'README' rd.rdoc_files.include "README", "lib/media_wiki/**/*\.rb", "script/**/*\.rb" rd.options << '--inline-source' rd.options << '--line-numbers' rd.options << '--all' end desc "Run all specs" Spec::Rake::SpecTask.new('spec') do |t| t.spec_files = FileList['spec/**/*.rb'] t.spec_opts = ['--debugger'] t.rcov = true t.rcov_opts = ['--exclude', 'spec,gems'] end begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "mediawiki-gateway" gemspec.summary = "Connect to the mediawiki API" gemspec.description = "" gemspec.email = "jpatokal@iki.fi" gemspec.homepage = "http://github.com/jpatokal/mediawiki-gateway" gemspec.authors = ["Jani Patokallio"] gemspec.add_dependency 'rest-client' gemspec.add_development_dependency 'sham_rack' gemspec.add_development_dependency 'jeweler' gemspec.add_development_dependency 'activesupport' end rescue LoadError puts "Jeweler not available. Install it with: gem install jeweler" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mediawiki-gateway-0.2.1 | Rakefile |
mediawiki-gateway-0.1.6 | Rakefile |