Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 877d76177c
Fetching contributors…

Cannot retrieve contributors at this time

file 32 lines (27 sloc) 0.928 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 31 32
# -*- ruby -*-
 
require 'rubygems'
require 'hoe'
require './lib/ruby-aws/version.rb'
 
Hoe.spec 'ruby-aws' do
  self.version = RubyAWS::VERSION.dup
  self.rubyforge_name = 'ruby-aws'
  developer 'David J Parrott', 'valthon@nothlav.net'
  extra_deps << ['highline','>= 1.2.7']
  need_tar
  need_zip

  self.summary = 'Ruby libraries for working with Amazon Web Services ( Mechanical Turk )'
  self.email = 'ruby-aws-develop@rubyforge.org'
  self.url = "http://rubyforge.org/projects/ruby-aws/"
end

task :gitversion do
  gv = `git describe --dirty`.chomp.gsub(/^v/,'').gsub('-','.')
  File.open('lib/ruby-aws/version.rb', File::WRONLY | File::CREAT | File::TRUNC ) do |f|
    f << "# Copyright:: Copyright (c) 2007 Amazon Technologies, Inc.\n"
    f << "# License:: Apache License, Version 2.0\n"
    f << "\n"
    f << "module RubyAWS\n"
    f << " VERSION = '#{gv}'.freeze\n"
    f << "end\n"
  end
end

# vim: syntax=ruby
Something went wrong with that request. Please try again.