Permalink
Browse files

Clean up the gemspec

  • Loading branch information...
1 parent 1db55d2 commit fb79945c12868b6f244403b016661426218a4c0d @laserlemon laserlemon committed Apr 21, 2012
Showing with 12 additions and 11 deletions.
  1. +12 −11 gemnasium-parser.gemspec
View
@@ -1,18 +1,19 @@
-# -*- encoding: utf-8 -*-
+# encoding: utf-8
Gem::Specification.new do |gem|
- gem.authors = "Steve Richert"
- gem.email = "steve.richert@gmail.com"
- gem.description = "Safely parse Gemfiles and gemspecs"
- gem.summary = "Safely parse Gemfiles and gemspecs"
- gem.homepage = "https://github.com/laserlemon/gemnasium-parser"
+ gem.name = "gemnasium-parser"
+ gem.version = "0.1.4"
- gem.files = `git ls-files`.split("\n")
- gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
- gem.name = "gemnasium-parser"
- gem.require_paths = ["lib"]
- gem.version = "0.1.4"
+ gem.authors = "Steve Richert"
+ gem.email = "steve.richert@gmail.com"
+ gem.description = "Safely parse Gemfiles and gemspecs"
+ gem.summary = gem.description
+ gem.homepage = "https://github.com/laserlemon/gemnasium-parser"
gem.add_development_dependency "rake", ">= 0.8.7"
gem.add_development_dependency "rspec", "~> 2.4"
+
+ gem.files = `git ls-files`.split($\)
+ gem.test_files = gem.files.grep(/^spec\//)
+ gem.require_paths = ["lib"]
end

0 comments on commit fb79945

Please sign in to comment.