Sha256: 2c421ee001576009018fd7b8336a0b470a2a9362139f40cc35af9a825a341a6c
Contents?: true
Size: 1.22 KB
Versions: 4
Compression:
Stored size: 1.22 KB
Contents
# encoding: utf-8 # vim: syntax=ruby require 'rubygems' require 'rake' require 'rake/testtask' require 'rake/rdoctask' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = 'dm-money' gem.summary = %q{BigMoney backed DataMapper money plugin.} gem.email = ['shane.hanna@gmail.com'] gem.homepage = 'http://github.com/shanna/dm-money' gem.authors = ['Shane Hanna'] gem.executables = [] # Only ever bundled development executables in bin/* gem.add_dependency 'big_money', '~> 1.1.0' gem.add_dependency 'dm-core', '>= 0.10' end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler" end Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' test.pattern = 'test/**/test_*.rb' test.verbose = true end Rake::RDocTask.new do |rdoc| if File.exist?('VERSION.yml') config = YAML.load(File.read('VERSION.yml')) version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}" else version = "" end rdoc.rdoc_dir = 'rdoc' rdoc.title = "dm-money #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end task :default => :test
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
dm-money-0.1.3 | Rakefile |
dm-money-0.1.2 | Rakefile |
dm-money-0.1.1 | Rakefile |
dm-money-0.1.0 | Rakefile |