Sha256: edd078671c4823f4b485c9c192ddf31bff44e945576dd440593e4c386a58af69

Contents?: true

Size: 1004 Bytes

Versions: 5

Compression:

Stored size: 1004 Bytes

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "yard-rest-plugin"
    gem.summary = %Q{A plugin for Yardoc that produces API documentation for Restful web services}
    gem.description = %Q{A plugin for Yardoc that produces API documentation for Restful web services. See README.markdown for more details}
    gem.email = "aisha.fenton@visfleet.com"
    gem.homepage = "http://github.com/visfleet/yard-rest-plugin"
    gem.authors = ["Aisha Fenton"]
    gem.add_dependency("yard", '>= 0.5') 
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

namespace :ex do
  desc "Generate example docs"
  task :generate do
    `yardoc 'example/*.rb' -t rest --backtrace -p ./templates -e ./lib/yard-rest-plugin.rb -r example/README.markdown --title 'Sample API'`
  end

  desc "Clean example docs"
  task :clean do
    `rm -R doc`
    `rm -R .yardoc`
  end
  
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
yard-rest-plugin-0.2.1 Rakefile
yard-rest-plugin-0.2.0 Rakefile
yard-rest-plugin-0.1.5 Rakefile
yard-rest-plugin-0.1.4 Rakefile
yard-rest-plugin-0.1.3 Rakefile