mini_specunit 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -1,7 +1,9 @@
1
1
 
2
2
  = MiniSpecUnit
3
3
 
4
- Make Test::Unit::TestCase a subclass of of MiniTest::Spec with this simple shim.
4
+ Make Test::Unit::TestCase a subclass of of MiniTest::Spec with this simple shim. Full details here:
5
+
6
+ http://metaskills.net/2011/03/26/using-minitest-spec-with-rails/
5
7
 
6
8
 
7
9
  = Code
@@ -1,3 +1,3 @@
1
1
  module MiniSpecUnit
2
- VERSION = "0.1.1"
2
+ VERSION = "0.2.0"
3
3
  end
@@ -3,11 +3,13 @@ require 'pp'
3
3
 
4
4
  module Test
5
5
  module Unit
6
+
7
+ Assertions = ::MiniTest::Assertions
8
+
6
9
  class TestCase < ::MiniTest::Spec
7
10
 
8
11
  MINI_SPECUNIT = true
9
12
 
10
-
11
13
  def mu_pp(obj)
12
14
  obj.pretty_inspect.chomp
13
15
  end
@@ -18,5 +20,6 @@ module Test
18
20
  end
19
21
 
20
22
  end
23
+
21
24
  end
22
25
  end
data/lib/test/unit.rb ADDED
@@ -0,0 +1,7 @@
1
+ require 'minitest/autorun'
2
+
3
+ module Test
4
+ module Unit
5
+
6
+ end
7
+ end
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mini_specunit
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 23
4
5
  prerelease:
5
- version: 0.1.1
6
+ segments:
7
+ - 0
8
+ - 2
9
+ - 0
10
+ version: 0.2.0
6
11
  platform: ruby
7
12
  authors:
8
13
  - Ken Collins
@@ -10,8 +15,7 @@ autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
17
 
13
- date: 2011-03-25 00:00:00 -04:00
14
- default_executable:
18
+ date: 2012-01-05 00:00:00 Z
15
19
  dependencies:
16
20
  - !ruby/object:Gem::Dependency
17
21
  name: minitest
@@ -21,6 +25,9 @@ dependencies:
21
25
  requirements:
22
26
  - - ">="
23
27
  - !ruby/object:Gem::Version
28
+ hash: 3
29
+ segments:
30
+ - 0
24
31
  version: "0"
25
32
  type: :runtime
26
33
  version_requirements: *id001
@@ -42,9 +49,9 @@ files:
42
49
  - Rakefile
43
50
  - lib/mini_specunit.rb
44
51
  - lib/mini_specunit/version.rb
52
+ - lib/test/unit.rb
45
53
  - lib/test/unit/testcase.rb
46
54
  - mini_specunit.gemspec
47
- has_rdoc: true
48
55
  homepage: http://github.com/metaskills/mini_specunit
49
56
  licenses: []
50
57
 
@@ -58,17 +65,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
58
65
  requirements:
59
66
  - - ">="
60
67
  - !ruby/object:Gem::Version
68
+ hash: 3
69
+ segments:
70
+ - 0
61
71
  version: "0"
62
72
  required_rubygems_version: !ruby/object:Gem::Requirement
63
73
  none: false
64
74
  requirements:
65
75
  - - ">="
66
76
  - !ruby/object:Gem::Version
77
+ hash: 3
78
+ segments:
79
+ - 0
67
80
  version: "0"
68
81
  requirements: []
69
82
 
70
83
  rubyforge_project:
71
- rubygems_version: 1.6.2
84
+ rubygems_version: 1.8.12
72
85
  signing_key:
73
86
  specification_version: 3
74
87
  summary: Make Test::Unit::TestCase a subclass of of MiniTest::Spec.