Skip to content

Commit

Permalink
Remove already initialised Version warning. Rename README to README.t…
Browse files Browse the repository at this point in the history
…extile. (Temporarily) remove dependency on relaxdb
  • Loading branch information
paulcarey committed Aug 26, 2008
1 parent a555fd7 commit 3e0ece2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,36 +3,36 @@ require 'rake/gempackagetask'

PLUGIN = "merb_relaxdb"
NAME = "merb_relaxdb"
VERSION = "0.0.9"
GEM_VERSION = "0.0.9"
AUTHOR = "Paul Carey"
EMAIL = "paul.p.carey@gmail.com"
HOMEPAGE = "http://github.com/paulcarey/merb_relaxdb/"
SUMMARY = "Merb plugin that provides integration with CouchDB"

spec = Gem::Specification.new do |s|
s.name = NAME
s.version = VERSION
s.version = GEM_VERSION
s.platform = Gem::Platform::RUBY
s.has_rdoc = true
s.extra_rdoc_files = ["README", "LICENSE"]
s.extra_rdoc_files = ["README.textile", "LICENSE"]
s.summary = SUMMARY
s.description = s.summary
s.author = AUTHOR
s.email = EMAIL
s.homepage = HOMEPAGE
s.add_dependency('merb', '>= 0.9.4')
s.add_dependency('relaxb', '>= 0.1.0')
# s.add_dependency('relaxdb', '>= 0.1.0')
s.require_path = 'lib'
s.autorequire = PLUGIN
s.files = %w(LICENSE README Rakefile) + Dir.glob("{lib,spec}/**/*")
s.files = %w(LICENSE README.textile Rakefile) + Dir.glob("{lib,spec}/**/*")
end

Rake::GemPackageTask.new(spec) do |pkg|
pkg.gem_spec = spec
end

task :install => [:package] do
sh %{sudo gem install --local pkg/#{NAME}-#{VERSION} --no-update-sources}
sh %{sudo gem install --local pkg/#{NAME}-#{GEM_VERSION} --no-update-sources}
end

namespace :jruby do
Expand Down

0 comments on commit 3e0ece2

Please sign in to comment.