forked from nathanvda/on_the_spot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
39 lines (31 loc) · 1.15 KB
/
Rakefile
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
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 = "[email protected]"
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