<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>History.txt</filename>
    </added>
    <added>
      <filename>Manifest.txt</filename>
    </added>
    <added>
      <filename>README.txt</filename>
    </added>
    <added>
      <filename>lib/dm-more/version.rb</filename>
    </added>
    <added>
      <filename>tasks/hoe.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,22 +1,10 @@
-module DataMapper
-  # Set this to the version of dm-core that you are building against/for
-  VERSION = &quot;0.9.3&quot;
-
-  # Set this to the version of dm-more you plan to release
-  MORE_VERSION = &quot;0.9.3&quot;
-end
-
 require 'pathname'
-require 'rake/clean'
-require 'rake/gempackagetask'
-require 'rake/contrib/rubyforgepublisher'
 require 'spec/rake/spectask'
 require 'rake/rdoctask'
 require 'fileutils'
+require 'lib/dm-more/version.rb'
 include FileUtils
 
-DIR = Pathname(__FILE__).dirname.expand_path.to_s
-
 ## ORDER IS IMPORTANT
 # gems may depend on other member gems of dm-more
 gem_paths = %w[
@@ -41,47 +29,34 @@ gem_paths = %w[
 ]
 gems = gem_paths.map { |p| File.basename(p) }
 
-PROJECT = &quot;dm-more&quot;
-
-dm_more_spec = Gem::Specification.new do |s|
-  s.platform = Gem::Platform::RUBY
-  s.name = PROJECT
-  s.summary = &quot;An Object/Relational Mapper for Ruby&quot;
-  s.description = &quot;Faster, Better, Simpler.&quot;
-  s.version = DataMapper::MORE_VERSION
-
-  s.authors = &quot;Sam Smoot&quot;
-  s.email = &quot;ssmoot@gmail.com&quot;
-  s.rubyforge_project = PROJECT
-  s.homepage = &quot;http://datamapper.org&quot;
-
-  s.files = %w[ MIT-LICENSE README Rakefile TODO lib/dm-more.rb ]
-  s.add_dependency('dm-core', &quot;=#{DataMapper::VERSION}&quot;)
-  s.add_dependency('merb_datamapper', '=0.9.3')
-  (gems - %w[ merb_datamapper ]).each do |gem|
-    s.add_dependency gem, &quot;=#{DataMapper::VERSION}&quot;
-  end
-end
+ROOT = Pathname(__FILE__).dirname.expand_path
 
-Rake::GemPackageTask.new(dm_more_spec) do |p|
-  p.gem_spec = dm_more_spec
-  p.need_tar = true
-  p.need_zip = true
-end
+AUTHOR = &quot;Sam Smoot&quot;
+EMAIL  = &quot;ssmoot@gmail.com&quot;
+GEM_NAME = &quot;dm-more&quot;
+GEM_VERSION = DataMapper::More::VERSION
+GEM_DEPENDENCIES = [[&quot;dm-core&quot;, GEM_VERSION], *(gems - %w[ merb_datamapper ]).collect { |g| [g, GEM_VERSION] }]
+GEM_CLEAN = ['**/*.{gem,DS_Store}', '*.db', &quot;doc/rdoc&quot;, &quot;.config&quot;, &quot;coverage&quot;, &quot;cache&quot;, &quot;lib/merb-more.rb&quot;]
+GEM_EXTRAS = { :has_rdoc =&gt; false }
+
+PROJECT_NAME = &quot;dm-more&quot;
+PROJECT_URL  = &quot;http://datamapper.org&quot;
+PROJECT_DESCRIPTION = &quot;Faster, Better, Simpler.&quot;
+PROJECT_SUMMARY = &quot;An Object/Relational Mapper for Ruby&quot;
 
-CLEAN.include [&quot;**/.*.sw?&quot;, &quot;pkg&quot;, &quot;lib/*.bundle&quot;, &quot;*.gem&quot;, &quot;doc/rdoc&quot;, &quot;.config&quot;, &quot;coverage&quot;, &quot;cache&quot;, &quot;lib/merb-more.rb&quot;]
+require ROOT + 'tasks/hoe'
 
 WIN32 = (RUBY_PLATFORM =~ /win32|mingw|cygwin/) rescue nil
 SUDO  = WIN32 ? '' : ('sudo' unless ENV['SUDOLESS'])
 
 desc &quot;Install it all&quot;
 task :install =&gt; [:install_gems, :package] do
-  sh %{#{SUDO} gem install --local pkg/dm-more-#{DataMapper::MORE_VERSION}.gem  --no-update-sources}
+  sh %{#{SUDO} gem install --local pkg/dm-more-#{DataMapper::More::VERSION}.gem  --no-update-sources}
 end
 
 desc &quot;Uninstall it all&quot;
 task :uninstall =&gt; [ :uninstall_gems, :clobber ] do
-  sh &quot;#{SUDO} gem uninstall dm-more -v#{DataMapper::MORE_VERSION} -I -x&quot;, :verbose =&gt; false rescue &quot;dm-more not installed&quot;
+  sh &quot;#{SUDO} gem uninstall dm-more -v#{DataMapper::More::VERSION} -I -x&quot;, :verbose =&gt; false rescue &quot;dm-more not installed&quot;
 end
 
 desc &quot;Build the dm-more gems&quot;
@@ -121,7 +96,7 @@ end
 desc &quot;Bundle up all the dm-more gems&quot;
 task :bundle =&gt; [:package, :build_gems] do
   mkdir_p &quot;bundle&quot;
-  cp &quot;pkg/dm-more-#{DataMapper::MORE_VERSION}.gem&quot;, &quot;bundle&quot;
+  cp &quot;pkg/dm-more-#{DataMapper::More::VERSION}.gem&quot;, &quot;bundle&quot;
   gem_paths.each do |gem|
     File.open(&quot;#{gem}/Rakefile&quot;) do |rakefile|
       rakefile.read.detect {|l| l =~ /^VERSION\s*=\s*&quot;(.*)&quot;$/ }
@@ -174,7 +149,7 @@ namespace :ci do
     gem_names.each do |gem_name|
       Spec::Rake::SpecTask.new(&quot;#{gem_name}:spec&quot;) do |t|
         t.spec_opts = [&quot;--format&quot;, &quot;specdoc&quot;, &quot;--format&quot;, &quot;html:rspec_report.html&quot;, &quot;--diff&quot;]
-        t.spec_files = Pathname.glob(ENV['FILES'] || DIR + &quot;/#{gem_name}/spec/**/*_spec.rb&quot;)
+        t.spec_files = Pathname.glob(ENV['FILES'] || ROOT + &quot;/#{gem_name}/spec/**/*_spec.rb&quot;)
         unless ENV['NO_RCOV']
           t.rcov = true
           t.rcov_opts &lt;&lt; '--exclude' &lt;&lt; &quot;spec,gems,#{(gems - [gem_name]).join(',')}&quot;</diff>
      <filename>Rakefile</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>README</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>3e7176a076c2d7c2d0687260b646475da25eb19f</id>
    </parent>
  </parents>
  <author>
    <name>Bernerd Schaefer</name>
    <email>bj.schaefer@gmail.com</email>
  </author>
  <url>http://github.com/sam/dm-more/commit/6d0beb1576d0c7cc0fd7c819a18430f73470876e</url>
  <id>6d0beb1576d0c7cc0fd7c819a18430f73470876e</id>
  <committed-date>2008-07-16T07:28:36-07:00</committed-date>
  <authored-date>2008-07-15T08:39:42-07:00</authored-date>
  <message>Added default hoe tasks, configured dm-more meta gem</message>
  <tree>4a2d2b0a8e01371b8482bb95b402693cba24fd88</tree>
  <committer>
    <name>Bernerd Schaefer</name>
    <email>bj.schaefer@gmail.com</email>
  </committer>
</commit>
