# You also need to setup your name and email for git if you haven't already done so. # Info at http://github.com/guides/tell-git-your-user-name-and-email-address begin class Array def one_of_regex option_list = join "|" Regexp.new "(#{option_list})" end end require 'rubygems' require 'jeweler' Jeweler::Tasks.new do |s| s.name = "poolparty" s.description = "PoolParty: The easy, open-source, cross-cloud management solution" s.summary = <<-EOM Self-healing, auto-scaling system administration, provisioning and maintaining tool that makes cloud computing easier. EOM s.homepage = "http://poolpartyrb.com" s.email = "arilerner@mac.com" s.authors = ["Ari Lerner", "Michael Fairchild", "Nate Murray"] s.test_files = Dir["test/**/test_*.rb"] s.files = (%w(Rakefile README.rdoc License.txt VERSION.yml) + Dir["{config,examples,lib,test,tasks,script,generators,bin,vendor}/**/*"]) s.files += ["vendor/erlang/hermes/ebin/*.tar.gz"] s.files.exclude 'vendor/erlang/hermes' s.files.exclude 'examples/thrift/**/*.beam' # s.files.exclude "**/*/erl_crash.dump" s.has_rdoc = true s.extra_rdoc_files = ["README.rdoc", "License.txt", 'History.txt'] s.require_paths = ["lib"] s.rdoc_options = ['--quiet', '--title', 'PoolParty documentation', # "index.html", "--line-numbers", "--main", "README" ] end rescue LoadError puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" end