Permalink
Browse files

Collect release files with git gem.

Should I use hoe?
  • Loading branch information...
nahi committed Dec 13, 2011
1 parent 0afdbb9 commit 30c90d230500a21e18b354a00236d1eb8a1c9d49
Showing with 6 additions and 1 deletion.
  1. +6 −1 httpclient.gemspec
View
@@ -1,4 +1,7 @@
require 'rubygems'
require 'git'
git = Git.open(File.dirname(__FILE__))
files = git.ls_files.keys
Gem::Specification.new { |s|
s.name = "httpclient"
s.version = "2.2.4"
@@ -8,6 +11,8 @@ Gem::Specification.new { |s|
s.homepage = "http://github.com/nahi/httpclient"
s.platform = Gem::Platform::RUBY
s.summary = "gives something like the functionality of libwww-perl (LWP) in Ruby"
s.files = Dir.glob('{lib,sample,test}/**/*') + ['README.txt']
s.files = files
s.test_files = files.grep(/^test\/test_.*\.rb$/)
s.require_path = "lib"
s.add_development_dependency "git"
}

0 comments on commit 30c90d2

Please sign in to comment.