datamapper / dm-more

Extras for DataMapper, including bridges to DataObjects::Migrations and Merb::DataMapper

This URL has Read+Write access

Dan Kubb (author)
Mon Mar 23 15:04:51 -0700 2009
commit  413d7e6c3be98085626362b34d6e55e14155a92e
tree    881e3411855319b7bf3f2389cbc6529ff1ef5a45
parent  c7ccd50723554f8f27aa2524b85453eaaa7c714a
dm-more / adapters / dm-couchdb-adapter / Rakefile
100644 26 lines (20 sloc) 0.919 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
require 'pathname'
require 'rubygems'
 
ROOT = Pathname(__FILE__).dirname.expand_path
JRUBY = RUBY_PLATFORM =~ /java/
WINDOWS = Gem.win_platform?
SUDO = (WINDOWS || JRUBY) ? '' : ('sudo' unless ENV['SUDOLESS'])
 
require ROOT + 'lib/couchdb_adapter/version'
 
AUTHOR = 'Bernerd Schaefer'
EMAIL = 'bernerd [a] wieck [d] com'
GEM_NAME = 'dm-couchdb-adapter'
GEM_VERSION = DataMapper::CouchDBAdapter::VERSION
GEM_DEPENDENCIES = [['dm-core', GEM_VERSION], ['mime-types', '~>1.16']]
GEM_CLEAN = %w[ log pkg coverage ]
GEM_EXTRAS = { :has_rdoc => true, :extra_rdoc_files => %w[ README.txt LICENSE TODO History.txt ] }
 
PROJECT_NAME = 'datamapper'
PROJECT_URL = "http://github.com/sam/dm-more/tree/master/adapters/#{GEM_NAME}"
PROJECT_DESCRIPTION = PROJECT_SUMMARY = 'CouchDB Adapter for DataMapper'
 
[ ROOT, ROOT.parent.parent ].each do |dir|
  Pathname.glob(dir.join('tasks/**/*.rb').to_s).each { |f| require f }
end