Permalink
Browse files

gemify

  • Loading branch information...
1 parent 5a91e39 commit 745f34fd8ec035db3091977d4383f2ddcf55fe2b @defunkt defunkt committed Oct 13, 2009
Showing with 20 additions and 0 deletions.
  1. +20 −0 Rakefile
View
@@ -14,3 +14,23 @@ begin
rescue LoadError
puts 'The rake-compiler gem is required'
end
+
+begin
+ require 'jeweler'
+ Jeweler::Tasks.new do |gemspec|
+ gemspec.name = "version_sorter"
+ gemspec.summary = "Fast sorting of version strings"
+ gemspec.description = "Fast sorting of version strings"
+ gemspec.email = "chris@ozmm.org"
+ gemspec.homepage = "http://github.com/defunkt/version_sorter"
+ gemspec.authors = ["Chris Wanstrath", "K. Adam Christensen"]
+ require 'lib/version_sorter/version'
+ gemspec.version = VersionSorter::Version
+ gemspec.require_paths = ["lib", "ext"]
+ gemspec.files.include("ext")
+ gemspec.extensions << 'ext/version_sorter/extconf.rb'
+ end
+rescue LoadError
+ puts "Jeweler not available. Install it with: "
+ puts "gem install jeweler -s http://gemcutter.org"
+end

0 comments on commit 745f34f

Please sign in to comment.