Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 40 lines (31 sloc) 1.176 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
require 'rubygems'
require 'rake'
require "rspec/core/rake_task"

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "on_the_spot"
    gem.summary = %Q{unobtrusive in place editing}
    gem.description = %Q{Unobtrusive in place editing, using jEditable; only works in Rails 3}
    gem.email = "nathan@dixis.com"
    gem.homepage = "http://github.com/nathanvda/on_the_spot"
    gem.authors = ["Nathan Van der Auwera"]
    gem.add_development_dependency "rspec", ">= 2.0.0rc"
    gem.add_development_dependency "actionpack", ">= 3.0.0"
    gem.add_dependency "json_pure", ">= 1.4.6"
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end


RSpec::Core::RakeTask.new(:spec)

task :default => :spec


require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "on_the_spot #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Something went wrong with that request. Please try again.