Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Initial import.

  • Loading branch information...
commit f1550dcab2a5bdd48546498eab6aa4829bfa040d 1 parent 5d602cb
@carlo authored
Showing with 25 additions and 0 deletions.
  1. +25 −0 Rakefile
View
25 Rakefile
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.