Permalink
Browse files

Initial import.

  • Loading branch information...
carlo committed Jan 10, 2009
1 parent 5d602cb commit f1550dcab2a5bdd48546498eab6aa4829bfa040d
Showing with 25 additions and 0 deletions.
  1. +25 −0 Rakefile
View
@@ -0,0 +1,25 @@
+require 'rubygems'
+Gem::manage_gems
+require 'rake/gempackagetask'
+
+spec = Gem::Specification.new do |s|
+ s.platform = Gem::Platform::RUBY
+ s.name = "retryable"
+ s.version = "1.0"
+ s.author = "Carlo Zottmann, Chu Yeow"
+ s.email = "carlo@zottmann.org"
+ s.homepage = "http://github.com/carlo/retryable/tree/master"
+ s.summary = "Kernel#retryable, allow for retrying of code blocks."
+ s.files = FileList['lib/*.rb', 'tests/*'].to_a
+ s.require_path = "lib"
+ s.test_files = Dir.glob('tests/*.rb')
+ s.has_rdoc = false
+end
+
+Rake::GemPackageTask.new(spec) do |pkg|
+ pkg.need_tar = true
+end
+
+task :default => "pkg/#{spec.name}-#{spec.version}.gem" do
+ puts "Generated latest version"
+end

0 comments on commit f1550dc

Please sign in to comment.