0
+require 'cliaws/version'
0
+AUTHOR = 'François Beausoleil' # can also be an array of Authors
0
+EMAIL = "francois@teksol.info"
0
+DESCRIPTION = "A command-line suite of tools to access Amazon Web Services, using the RightAws gems."
0
+GEM_NAME = 'cliaws' # what ppl will type to install your gem
0
+RUBYFORGE_PROJECT = 'cliaws' # The unix name for your project
0
+HOMEPATH = "http://#{RUBYFORGE_PROJECT}.rubyforge.org"
0
+DOWNLOAD_PATH = "http://rubyforge.org/projects/#{RUBYFORGE_PROJECT}"
0
+@config_file = "~/.rubyforge/user-config.yml"
0
+RUBYFORGE_USERNAME = "unknown"
0
+ @config = YAML.load(File.read(File.expand_path(@config_file)))
0
+ERROR: No rubyforge config file found: #{@config_file}
0
+Run 'rubyforge setup' to prepare your env for access to Rubyforge
0
+ - See http://newgem.rubyforge.org/rubyforge.html for more details
0
+ RUBYFORGE_USERNAME.replace @config["username"]
0
+# UNCOMMENT IF REQUIRED:
0
+# REV = YAML.load(`svn info`)['Revision']
0
+VERS = Cliaws::VERSION::STRING + (REV ? ".#{REV}" : "")
0
+RDOC_OPTS = ['--quiet', '--title', 'cliaws documentation',
0
+ "--opname", "index.html",
0
+ @extra_deps.reject! { |x| Array(x).first == 'hoe' }
0
+# Generate all the Rake tasks
0
+# Run 'rake -T' to see list of generated tasks (from gem root directory)
0
+$hoe = Hoe.new(GEM_NAME, VERS) do |p|
0
+ p.developer(AUTHOR, EMAIL)
0
+ p.description = DESCRIPTION
0
+ p.summary = DESCRIPTION
0
+ p.rubyforge_name = RUBYFORGE_PROJECT if RUBYFORGE_PROJECT
0
+ p.test_globs = ["test/**/test_*.rb"]
0
+ p.clean_globs |= ['**/.*.sw?', '*.gem', '.config', '**/.DS_Store'] #An array of file patterns to delete on clean.
0
+ p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
0
+ ["right_aws", "~> 1.7.1"],
0
+ ["activesupport", "~> 2.0.2"]
0
+ #p.spec_extras = {} # A hash of extra values to set in the gemspec.
0
+CHANGES = $hoe.paragraphs_of('History.txt', 0..1).join("\\n\\n")
0
+PATH = (RUBYFORGE_PROJECT == GEM_NAME) ? RUBYFORGE_PROJECT : "#{RUBYFORGE_PROJECT}/#{GEM_NAME}"
0
+$hoe.remote_rdoc_dir = File.join(PATH.gsub(/^#{RUBYFORGE_PROJECT}\/?/,''), 'rdoc')
0
+$hoe.rsync_args = '-av --delete --ignore-errors'