git-precommit.gemspec in git-precommit-1.2.3 vs git-precommit.gemspec in git-precommit-1.2.4
- old
+ new
@@ -1,51 +1,38 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "git-precommit/version"
Gem::Specification.new do |s|
s.name = %q{git-precommit}
- s.version = "1.2.3"
+ s.version = GitPrecommit::VERSION
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["Toby Tripp"]
- s.date = %q{2010-03-10}
- s.default_executable = %q{setpairs}
- s.description = %q{ A set of rake tasks that install git pre-commit hooks to call your build.
- If your build fails, the commit will not proceed.
-}
- s.email = %q{toby.tripp+git@gmail.com}
- s.executables = ["setpairs"]
- s.extra_rdoc_files = [
- "README.rdoc"
- ]
- s.files = [
- ".gitignore",
- "README.rdoc",
- "Rakefile",
- "VERSION",
- "bin/setpairs",
- "git-hooks/post-commit",
- "git-hooks/pre-commit",
- "git-precommit.gemspec",
- "lib/git-precommit/precommit_tasks.rb",
- "lib/git-precommit/tasks.rb",
- "lib/git_precommit.rb"
- ]
+ s.authors = ["Toby Tripp"]
+ s.email = %q{toby.tripp+git@gmail.com}
s.homepage = %q{http://github.com/tobytripp/git-pre-commit}
- s.rdoc_options = ["--charset=UTF-8"]
- s.require_paths = ["lib"]
+
+ s.summary = %q{Abort git commit if the tests fail.}
+ s.description = %q{
+ A set of rake tasks that install git pre-commit hooks to run your tests.
+ If your build fails, the commit will not proceed.
+
+ Git-precommit will call `rake precommit` to run your tests. Be sure to define this task.
+ }
+
+ s.files = `git ls-files`.split("\n")
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.require_paths = ["lib"]
+
+ s.extra_rdoc_files = %w[README.rdoc]
+ s.rdoc_options = ["--charset=UTF-8"]
s.rubygems_version = %q{1.3.6}
- s.summary = %q{Fail commits if the tests fail.}
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
+ s.rubyforge_project = "git-precommit"
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
- else
- end
- else
- end
+ s.add_dependency "rake"
+
+ s.add_development_dependency "rspec", "~> 2.0.0"
+ s.add_development_dependency "cucumber", "~> 0.9.0"
+ s.add_development_dependency "aruba"
+ s.add_development_dependency "syntax"
end