Sha256: 354194c1f979684e1280efcf8d2c321292c07dc97987f2c05d700e3a195f0147
Contents?: true
Size: 1.2 KB
Versions: 1
Compression:
Stored size: 1.2 KB
Contents
require 'rubygems' require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "url" gem.summary = %Q{A URL object} gem.description = %Q{A simple url object to allow for OO based manipulation and usage of a url} gem.email = "me@tal.by" gem.homepage = "http://github.com/talby/url" gem.authors = ["Tal Atlas"] gem.add_development_dependency "rspec", "~> 2.0" end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" end require 'rspec/core/rake_task' RSpec::Core::RakeTask.new do |t| t.rspec_opts = ["-c", "-f progress", "-r ./spec/spec_helper.rb"] t.pattern = 'spec/**/*_spec.rb' end task :spec => :check_dependencies task :default => :spec require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| version = File.exist?('VERSION') ? File.read('VERSION') : "" rdoc.rdoc_dir = 'rdoc' rdoc.title = "url #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end begin require 'yard' YARD::Rake::YardocTask.new rescue LoadError task :yardoc do abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
url-0.2.0 | Rakefile |