public
Description: Amazon Web Services SimpleDB for Ruby
Homepage: http://rubyforge.org/projects/aws-sdb/
Clone URL: git://github.com/dysinger/aws-sdb.git
Search Repo:
dysinger (author)
Wed Mar 19 19:34:42 -0700 2008
commit  5683a7efd414e2dbf178bb85cd739fa0cb382d4d
tree    065063368062c00f89272865bdfe36315e1d7ae8
parent  222a9af8ba9777cb0f843da53810307f45510d60
aws-sdb / Rakefile
100644 30 lines (26 sloc) 0.788 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
27
28
29
30
require 'rubygems'
require 'spec/rake/spectask'
require 'rake/gempackagetask'
 
Spec::Rake::SpecTask.new
 
gem_spec = Gem::Specification.new do |s|
  s.name = "aws-sdb"
  s.rubyforge_project = s.name
  s.version = "0.1.4"
  s.platform = Gem::Platform::RUBY
  s.has_rdoc = true
  s.extra_rdoc_files = ["README", "LICENSE"]
  s.summary = "Amazon SDB API"
  s.description = s.summary
  s.author = "Tim Dysinger"
  s.email = "tim@dysinger.net"
  s.homepage = "http://aws-sdb.rubyforge.org"
  s.add_dependency "needle"
  s.require_path = 'lib'
  s.files = %w(LICENSE README Rakefile) + Dir.glob("{lib,spec}/**/*")
end
 
Rake::GemPackageTask.new(gem_spec) do |pkg|
  pkg.gem_spec = gem_spec
end
 
task :install => [:package] do
  sh %{sudo gem install pkg/#{gem_spec.name}-#{gem_spec.version}}
end