cutest 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -127,8 +127,6 @@ with test helpers, use the `-r` flag:
127
127
 
128
128
  If you want to check which version you are running, try the `-v` flag.
129
129
 
130
- If you want to require ruby-debug, use the `--debug` flag.
131
-
132
130
  Installation
133
131
  ------------
134
132
 
data/bin/cutest CHANGED
@@ -3,7 +3,7 @@
3
3
  require File.expand_path("../lib/cutest", File.dirname(__FILE__))
4
4
 
5
5
  if ARGV.empty?
6
- puts "usage: cutest [-r lib] [-v] [--debug] file ..."
6
+ puts "usage: cutest [-r lib] [-v] file ..."
7
7
  exit
8
8
  end
9
9
 
@@ -64,7 +64,6 @@ end
64
64
 
65
65
  files = Cutest::Clap.run ARGV,
66
66
  "-r" => lambda { |file| require file },
67
- "-v" => lambda { puts Cutest::VERSION },
68
- "--debug" => lambda { ENV["DEBUG"] = true }
67
+ "-v" => lambda { puts Cutest::VERSION }
69
68
 
70
69
  Cutest.run(Dir[*files]) if files.any?
data/cutest.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cutest"
3
- s.version = "1.0.0"
3
+ s.version = "1.0.1"
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"]
data/lib/cutest.rb CHANGED
@@ -1,20 +1,5 @@
1
1
  class Cutest
2
- VERSION = "1.0.0"
3
-
4
- if ENV["DEBUG"]
5
- begin
6
- require "ruby-debug"
7
- rescue LoadError
8
- puts "Cutest needs ruby-debug, but it couldn't be required."
9
- puts "Please install ruby-debug or ruby-debug19 and try again."
10
- exit
11
- end
12
-
13
- Debugger.settings[:autoeval] = 1
14
- Debugger.settings[:autolist] = 1
15
- Debugger.settings[:listsize] = 5
16
- Debugger.settings[:reload_source_on_change] = 1
17
- end
2
+ VERSION = "1.0.1"
18
3
 
19
4
  def self.run(files)
20
5
  files.each do |file|
metadata CHANGED
@@ -1,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cutest
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 1
7
- - 0
8
- - 0
9
- version: 1.0.0
4
+ prerelease:
5
+ version: 1.0.1
10
6
  platform: ruby
11
7
  authors:
12
8
  - Damian Janowski
@@ -15,7 +11,7 @@ autorequire:
15
11
  bindir: bin
16
12
  cert_chain: []
17
13
 
18
- date: 2010-11-11 00:00:00 -03:00
14
+ date: 2011-02-14 00:00:00 -03:00
19
15
  default_executable:
20
16
  dependencies: []
21
17
 
@@ -57,21 +53,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
57
53
  requirements:
58
54
  - - ">="
59
55
  - !ruby/object:Gem::Version
60
- segments:
61
- - 0
62
56
  version: "0"
63
57
  required_rubygems_version: !ruby/object:Gem::Requirement
64
58
  none: false
65
59
  requirements:
66
60
  - - ">="
67
61
  - !ruby/object:Gem::Version
68
- segments:
69
- - 0
70
62
  version: "0"
71
63
  requirements: []
72
64
 
73
65
  rubyforge_project:
74
- rubygems_version: 1.3.7
66
+ rubygems_version: 1.5.2
75
67
  signing_key:
76
68
  specification_version: 3
77
69
  summary: Forking tests.