[DRE-commits] [ruby-crack] 01/01: reverting change in source

Abhijith PA abhijithpa-guest at moszumanska.debian.org
Wed Nov 4 06:55:12 UTC 2015


This is an automated email from the git hooks/post-receive script.

abhijithpa-guest pushed a commit to branch master
in repository ruby-crack.

commit ca9cadaea1047330d82c3c3b5b50d22b5c81cabd
Author: Abhijith PA <abhijith at openmailbox.org>
Date:   Wed Nov 4 12:22:22 2015 +0530

    reverting change in source
---
 crack.gemspec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/crack.gemspec b/crack.gemspec
index 153b1d7..2225c16 100644
--- a/crack.gemspec
+++ b/crack.gemspec
@@ -8,9 +8,9 @@ Gem::Specification.new do |gem|
   gem.summary       = %q{Really simple JSON and XML parsing, ripped from Merb and Rails.}
   gem.homepage      = "http://github.com/jnunemaker/crack"
 
-  gem.executables   = gem.files.select { |f| f =~ /^bin\// }
-  gem.files         = Dir.glob('**/*').reject { |s| File.directory?(s) || s =~ /^debian/ }
-  gem.test_files    = gem.files.select { |f| f =~ /^test\// }
+  gem.executables   = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+  gem.files         = `git ls-files`.split("\n")
+  gem.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
   gem.name          = "crack"
   gem.require_paths = ["lib"]
   gem.version       = Crack::VERSION

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-crack.git



More information about the Pkg-ruby-extras-commits mailing list