forked from GhostGroup/plutus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
24 lines (21 loc) · 1.06 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
require 'rake'
require 'yard'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "plutus"
gem.summary = "A Plugin providing a Double Entry Accounting Engine for Rails"
gem.description = "The plutus plugin provides a complete double entry accounting system for use in any Ruby on Rails application. The plugin follows general Double Entry Bookkeeping practices. All calculations are done using BigDecimal in order to prevent floating point rounding errors. The plugin requires a decimal type on your database as well."
gem.email = "[email protected]"
gem.homepage = "http://github.com/mbulat/Plutus"
gem.authors = ["Michael Bulat"]
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
desc 'Generate documentation for the plutus plugin.'
YARD::Rake::YardocTask.new do |t|
t.files = ['lib/**/*.rb', 'app/**/*.rb'] # optional
t.options = [] # optional
end