test-unit-rr 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/History.txt +7 -0
  2. data/lib/test/unit/rr.rb +3 -3
  3. metadata +4 -4
@@ -1,3 +1,10 @@
1
+ === 1.0.1 / 2011-02-09
2
+
3
+ * 1 major enhancement
4
+
5
+ * run setup for RR before test case's setup and teardown
6
+ for RR after test cases' teardown.
7
+
1
8
  === 1.0.0 / 2011-02-09
2
9
 
3
10
  * 1 major enhancement
@@ -10,7 +10,7 @@ require 'test/unit'
10
10
 
11
11
  module Test::Unit
12
12
  module RR
13
- VERSION = "1.0.0"
13
+ VERSION = "1.0.1"
14
14
 
15
15
  module Adapter
16
16
  include ::RR::Adapters::RRMethods
@@ -19,12 +19,12 @@ module Test::Unit
19
19
  def included(mod)
20
20
  ::RR.trim_backtrace = true
21
21
  mod.module_eval do
22
- setup
22
+ setup :before => :prepend
23
23
  def setup_rr
24
24
  ::RR.reset
25
25
  end
26
26
 
27
- teardown
27
+ teardown :after => :append
28
28
  def teardown_rr
29
29
  ::RR.verify
30
30
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test-unit-rr
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Kouhei Sutou
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-09 00:00:00 +09:00
18
+ date: 2011-02-10 00:00:00 +09:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency