Sha256: e9601f50b94e3826e4cd964509772c91dc58f48b2f31d1be633e3e1c859076c7
Contents?: true
Size: 1.49 KB
Versions: 4
Compression:
Stored size: 1.49 KB
Contents
libdir = File.expand_path("lib") $:.unshift(libdir) unless $:.include?(libdir) require 'usher' begin require 'jeweler' Jeweler::Tasks.new do |s| s.name = "usher" s.description = s.summary = "A general purpose routing library" s.email = "joshbuddy@gmail.com" s.homepage = "http://github.com/joshbuddy/usher" s.authors = ["Joshua Hull"] s.files = FileList["[A-Z]*", "{lib,spec,rails}/**/*"] s.add_dependency 'fuzzyhash', '>=0.0.9' s.rubyforge_project = 'joshbuddy-usher' end Jeweler::GemcutterTasks.new Jeweler::RubyforgeTasks.new do |rubyforge| rubyforge.doc_task = "rdoc" rubyforge.remote_doc_path = '' end rescue LoadError puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" end require 'spec' require 'spec/rake/spectask' task :spec => 'spec:all' namespace(:spec) do Spec::Rake::SpecTask.new(:all) do |t| t.spec_opts ||= [] t.spec_opts << "-rubygems" t.spec_opts << "--options" << "spec/spec.opts" t.spec_files = FileList['spec/**/*_spec.rb'] end end desc "Run all examples with RCov" Spec::Rake::SpecTask.new('spec_with_rcov') do |t| t.spec_files = FileList['spec/**/*.rb'] t.rcov = true t.rcov_opts = ['--exclude', 'spec'] end require 'rake/rdoctask' desc "Generate documentation" Rake::RDocTask.new do |rd| rd.main = "README.rdoc" rd.rdoc_files.include("README.rdoc", "lib/**/*.rb") rd.rdoc_dir = 'rdoc' end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
usher-0.5.11 | Rakefile |
dressmaker-0.0.2 | Rakefile2 |
dressmaker-0.0.1 | Rakefile2 |
usher-0.5.10 | Rakefile |