This repository has been archived by the owner on Jan 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Rakefile
41 lines (36 loc) · 1.43 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
39
40
41
require 'rubygems'
require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "tableasy"
gem.summary = %Q{Rails tables builder gem}
gem.description = %Q{Rails tables builder gem that makes creating tables painless. Includes ability to write custom column formatters or even customize row completely.
Includes library of predefined column formatters. Also has ability to generate "totals" row.}
gem.email = "[email protected]"
gem.homepage = "http://github.com/sinsiliux/tableasy"
gem.authors = ["Andrius Chamentauskas"]
gem.add_development_dependency "rspec", ">= 2.0.0"
gem.add_development_dependency "blueprints"
gem.add_development_dependency "mocha"
gem.add_dependency "activesupport", ">= 3.0.0"
gem.add_dependency "actionpack", ">= 3.0.0"
# 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
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = 'spec/**/*_spec.rb'
end
task :default => :spec
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "tableasy #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end