shared_should 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/shared_should/test_unit_hooks.rb +10 -2
- data/lib/shared_should/version.rb +1 -1
- metadata +8 -18
@@ -40,8 +40,16 @@ if defined?(Test::Unit::TestCase.suite)
|
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
43
|
-
|
44
|
-
|
43
|
+
if defined?(Test::Unit::TestCase)
|
44
|
+
class Test::Unit::TestCase
|
45
|
+
extend SharedShould::SharedContext
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
if defined?(MiniTest::Unit::TestCase)
|
50
|
+
class MiniTest::Unit::TestCase
|
51
|
+
extend SharedShould::SharedContext
|
52
|
+
end
|
45
53
|
end
|
46
54
|
|
47
55
|
if defined?(Shoulda::Context::Context)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shared_should
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,27 +9,22 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-02-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: shoulda
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70125595321180 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - =
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: 3.1.1
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - '='
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 3.1.1
|
24
|
+
version_requirements: *70125595321180
|
30
25
|
- !ruby/object:Gem::Dependency
|
31
26
|
name: shoulda
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
27
|
+
requirement: &70125595320760 !ruby/object:Gem::Requirement
|
33
28
|
none: false
|
34
29
|
requirements:
|
35
30
|
- - ! '>='
|
@@ -37,12 +32,7 @@ dependencies:
|
|
37
32
|
version: '0'
|
38
33
|
type: :runtime
|
39
34
|
prerelease: false
|
40
|
-
version_requirements:
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ! '>='
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version: '0'
|
35
|
+
version_requirements: *70125595320760
|
46
36
|
description:
|
47
37
|
email:
|
48
38
|
- michaelgpearce@yahoo.com
|
@@ -88,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
78
|
version: '0'
|
89
79
|
requirements: []
|
90
80
|
rubyforge_project: shared_should
|
91
|
-
rubygems_version: 1.8.
|
81
|
+
rubygems_version: 1.8.11
|
92
82
|
signing_key:
|
93
83
|
specification_version: 3
|
94
84
|
summary: Share and reuse shoulds, contexts, and setup in Shoulda.
|