cutest 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/bin/cutest +9 -0
  2. data/cutest.gemspec +2 -1
  3. data/lib/cutest.rb +1 -1
  4. metadata +5 -4
data/bin/cutest ADDED
@@ -0,0 +1,9 @@
1
+ #! /usr/bin/env ruby -rubygems
2
+
3
+ require File.expand_path("../lib/cutest", File.dirname(__FILE__))
4
+
5
+ if ARGV.empty?
6
+ puts "usage: cutest file ..."
7
+ else
8
+ Cutest.run(Dir[*ARGV])
9
+ end
data/cutest.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cutest"
3
- s.version = "0.1.2"
3
+ s.version = "0.1.3"
4
4
  s.summary = "Forking tests."
5
5
  s.description = "Run tests in separate processes to avoid shared state."
6
6
  s.authors = ["Damian Janowski", "Michel Martens"]
@@ -8,4 +8,5 @@ Gem::Specification.new do |s|
8
8
  s.homepage = "http://github.com/djanowski/cutest"
9
9
  s.files = ["LICENSE", "README.markdown", "Rakefile", "lib/cutest.rb", "cutest.gemspec", "test/assert.rb", "test/assert_raise.rb", "test/prepare.rb", "test/run.rb", "test/scopes.rb", "test/setup.rb"]
10
10
  s.add_dependency "batch", "~> 0.0.3"
11
+ s.executables.push "cutest"
11
12
  end
data/lib/cutest.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require "batch"
2
2
 
3
3
  class Cutest < Batch
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
 
6
6
  def report_error(_, error)
7
7
  $stderr.puts "#{error}\n"
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 2
9
- version: 0.1.2
8
+ - 3
9
+ version: 0.1.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Damian Janowski
@@ -37,8 +37,8 @@ description: Run tests in separate processes to avoid shared state.
37
37
  email:
38
38
  - djanowski@dimaion.com
39
39
  - michel@soveran.com
40
- executables: []
41
-
40
+ executables:
41
+ - cutest
42
42
  extensions: []
43
43
 
44
44
  extra_rdoc_files: []
@@ -55,6 +55,7 @@ files:
55
55
  - test/run.rb
56
56
  - test/scopes.rb
57
57
  - test/setup.rb
58
+ - bin/cutest
58
59
  has_rdoc: true
59
60
  homepage: http://github.com/djanowski/cutest
60
61
  licenses: []