mini_specunit 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,4 @@
1
1
  require 'minitest/spec'
2
- require 'mini_specunit/version'
3
2
  require 'test/unit/testcase'
3
+ require 'mini_specunit/version'
4
+ require 'mini_specunit/test_case'
@@ -0,0 +1,3 @@
1
+ class << ActiveSupport::TestCase
2
+ remove_method :describe
3
+ end if defined?(ActiveSupport::TestCase)
@@ -1,3 +1,3 @@
1
1
  module MiniSpecUnit
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
@@ -15,6 +15,6 @@ Gem::Specification.new do |s|
15
15
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
16
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
17
  s.require_paths = ['lib']
18
- s.add_dependency('minitest')
18
+ s.add_runtime_dependency 'minitest'
19
+ s.add_development_dependency 'rake'
19
20
  end
20
-
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mini_specunit
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 3
8
+ - 4
9
9
  - 0
10
- version: 0.3.0
10
+ version: 0.4.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ken Collins
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-01-05 00:00:00 Z
18
+ date: 2012-03-25 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: minitest
@@ -31,6 +31,20 @@ dependencies:
31
31
  version: "0"
32
32
  type: :runtime
33
33
  version_requirements: *id001
34
+ - !ruby/object:Gem::Dependency
35
+ name: rake
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
38
+ none: false
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ hash: 3
43
+ segments:
44
+ - 0
45
+ version: "0"
46
+ type: :development
47
+ version_requirements: *id002
34
48
  description: MiniSpecUnit is a simple shim for libs that require Test::Unit::TestCase to get an object that subclasses MiniTest::Spec.
35
49
  email:
36
50
  - ken@metaskills.net
@@ -48,6 +62,7 @@ files:
48
62
  - README.rdoc
49
63
  - Rakefile
50
64
  - lib/mini_specunit.rb
65
+ - lib/mini_specunit/test_case.rb
51
66
  - lib/mini_specunit/version.rb
52
67
  - lib/test/unit.rb
53
68
  - lib/test/unit/assertions.rb
@@ -82,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
97
  requirements: []
83
98
 
84
99
  rubyforge_project:
85
- rubygems_version: 1.8.12
100
+ rubygems_version: 1.8.17
86
101
  signing_key:
87
102
  specification_version: 3
88
103
  summary: Make Test::Unit::TestCase a subclass of of MiniTest::Spec.