Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

gemify

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