From f77fdc6e4ac21756da27e6fc991c0ece818fd0e6 Mon Sep 17 00:00:00 2001 From: Tim Carey-Smith Date: Thu, 18 Dec 2008 21:31:03 +1300 Subject: [PATCH] Fix the Rakefile to use the version file and include rubundler and dependencies --- Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index f5a3162..4874e39 100644 --- a/Rakefile +++ b/Rakefile @@ -8,7 +8,7 @@ require 'date' require 'lib/dm-salesforce/version' GEM = "dm-salesforce" -GEM_VERSION = "0.9.7.3" +GEM_VERSION = DataMapperSalesforce::VERSION AUTHOR = "Yehuda Katz" EMAIL = "wycats@gmail.com" HOMEPAGE = "http://www.yehudakatz.com" @@ -34,7 +34,7 @@ spec = Gem::Specification.new do |s| end s.require_path = 'lib' s.autorequire = GEM - s.files = %w(LICENSE README.markdown Rakefile) + Dir.glob("{lib,specs}/**/*") + s.files = %w(LICENSE README.markdown Rakefile config/dependencies.rb config/rubundler.rb) + Dir.glob("{lib,specs}/**/*") end Rake::GemPackageTask.new(spec) do |pkg|