Permalink
Browse files

adding a nice little gemspec for github

  • Loading branch information...
1 parent 0e0664a commit 6f31f227dd6cbfc1645004a406e90b395f9418d4 @TwP TwP committed Mar 26, 2009
Showing with 43 additions and 31 deletions.
  1. +0 −29 Manifest.txt
  2. +6 −2 Rakefile
  3. +37 −0 turn.gemspec
View
@@ -1,29 +0,0 @@
-.gitignore
-History.txt
-Manifest.txt
-README.txt
-Rakefile
-Release.txt
-VERSION
-bin/turn
-lib/turn.rb
-lib/turn/colorize.rb
-lib/turn/command.rb
-lib/turn/components/case.rb
-lib/turn/components/method.rb
-lib/turn/components/suite.rb
-lib/turn/controller.rb
-lib/turn/reporter.rb
-lib/turn/reporters/dot_reporter.rb
-lib/turn/reporters/marshal_reporter.rb
-lib/turn/reporters/outline_reporter.rb
-lib/turn/reporters/progress_reporter.rb
-lib/turn/runners/crossrunner.rb
-lib/turn/runners/isorunner.rb
-lib/turn/runners/loadrunner.rb
-lib/turn/runners/solorunner.rb
-lib/turn/runners/testrunner.rb
-test/test_example.rb
-test/test_sample.rb
-work/quicktest.rb
-work/turn.rb
View
@@ -3,7 +3,11 @@ begin
require 'bones'
Bones.setup
rescue LoadError
- load 'tasks/setup.rb'
+ begin
+ load 'tasks/setup.rb'
+ rescue LoadError
+ raise RuntimeError, '### please install the "bones" gem ###'
+ end
end
task :default => 'test'
@@ -13,7 +17,7 @@ PROJ.summary = 'Test::Unit Reporter (New) -- new output format for Test::Unit'
PROJ.authors = 'Tim Pease'
PROJ.email = 'tim.pease@gmail.com'
PROJ.url = 'http://codeforpeople.rubyforge.org/turn'
-PROJ.version = '0.4.0'
+PROJ.version = '0.5.0'
PROJ.rubyforge.name = 'codeforpeople'
View
@@ -0,0 +1,37 @@
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = %q{turn}
+ s.version = "0.5.0"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Tim Pease"]
+ s.date = %q{2009-03-25}
+ s.default_executable = %q{turn}
+ s.description = %q{TURN is a new way to view Test::Unit results. With longer running tests, it can be very frustrating to see a failure (....F...) and then have to wait till all the tests finish before you can see what the exact failure was. TURN displays each test on a separate line with failures being displayed immediately instead of at the end of the tests. If you have the 'facets' gem installed, then TURN output will be displayed in wonderful technicolor (but only if your terminal supports ANSI color codes). Well, the only colors are green and red, but that is still color.}
+ s.email = %q{tim.pease@gmail.com}
+ s.executables = ["turn"]
+ s.extra_rdoc_files = ["History.txt", "README.txt", "Release.txt", "bin/turn"]
+ s.files = [".gitignore", "History.txt", "README.txt", "Rakefile", "Release.txt", "VERSION", "bin/turn", "lib/turn.rb", "lib/turn/colorize.rb", "lib/turn/command.rb", "lib/turn/components/case.rb", "lib/turn/components/method.rb", "lib/turn/components/suite.rb", "lib/turn/controller.rb", "lib/turn/reporter.rb", "lib/turn/reporters/dot_reporter.rb", "lib/turn/reporters/marshal_reporter.rb", "lib/turn/reporters/outline_reporter.rb", "lib/turn/reporters/progress_reporter.rb", "lib/turn/runners/crossrunner.rb", "lib/turn/runners/isorunner.rb", "lib/turn/runners/loadrunner.rb", "lib/turn/runners/solorunner.rb", "lib/turn/runners/testrunner.rb", "test/test_example.rb", "test/test_sample.rb", "work/quicktest.rb", "work/turn.rb"]
+ s.has_rdoc = true
+ s.homepage = %q{http://codeforpeople.rubyforge.org/turn}
+ s.rdoc_options = ["--main", "README.txt"]
+ s.require_paths = ["lib"]
+ s.rubyforge_project = %q{codeforpeople}
+ s.rubygems_version = %q{1.3.1}
+ s.summary = %q{Test::Unit Reporter (New) -- new output format for Test::Unit}
+ s.test_files = ["test/test_example.rb", "test/test_sample.rb"]
+
+ if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+ s.specification_version = 2
+
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
+ s.add_development_dependency(%q<bones>, [">= 2.4.2"])
+ else
+ s.add_dependency(%q<bones>, [">= 2.4.2"])
+ end
+ else
+ s.add_dependency(%q<bones>, [">= 2.4.2"])
+ end
+end

0 comments on commit 6f31f22

Please sign in to comment.