assert-mocha 0.1.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -2
- data/assert-mocha.gemspec +2 -2
- data/lib/assert-mocha.rb +11 -3
- data/lib/assert-mocha/version.rb +1 -1
- metadata +18 -19
data/Rakefile
CHANGED
data/assert-mocha.gemspec
CHANGED
@@ -15,6 +15,6 @@ Gem::Specification.new do |gem|
|
|
15
15
|
gem.require_paths = ["lib"]
|
16
16
|
gem.version = Assert::Mocha::VERSION
|
17
17
|
|
18
|
-
gem.add_dependency("assert", ["~>0
|
19
|
-
gem.add_dependency("mocha", ["~>0.
|
18
|
+
gem.add_dependency("assert", ["~>1.0"])
|
19
|
+
gem.add_dependency("mocha", ["~>0.13"])
|
20
20
|
end
|
data/lib/assert-mocha.rb
CHANGED
@@ -1,12 +1,20 @@
|
|
1
1
|
require 'assert'
|
2
|
-
require 'mocha'
|
2
|
+
require 'mocha/api'
|
3
|
+
|
4
|
+
require 'assert-mocha/version'
|
3
5
|
|
4
6
|
module Assert
|
5
7
|
module Mocha
|
6
|
-
|
8
|
+
|
9
|
+
def self.included(klass)
|
10
|
+
klass.class_eval do
|
11
|
+
include ::Mocha::API
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
7
15
|
end
|
8
16
|
end
|
9
17
|
|
10
18
|
Assert::Context.class_eval do
|
11
|
-
include Mocha
|
19
|
+
include Assert::Mocha
|
12
20
|
end
|
data/lib/assert-mocha/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: assert-mocha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
|
-
- 0
|
8
|
-
- 1
|
9
7
|
- 1
|
10
|
-
|
8
|
+
- 0
|
9
|
+
- 0
|
10
|
+
version: 1.0.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Kelly Redding
|
@@ -16,39 +16,38 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date:
|
19
|
+
date: 2012-11-21 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
|
-
type: :runtime
|
23
22
|
prerelease: false
|
24
|
-
|
23
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
25
24
|
none: false
|
26
25
|
requirements:
|
27
26
|
- - ~>
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
28
|
+
hash: 15
|
30
29
|
segments:
|
30
|
+
- 1
|
31
31
|
- 0
|
32
|
-
|
33
|
-
|
34
|
-
version_requirements: *id001
|
32
|
+
version: "1.0"
|
33
|
+
requirement: *id001
|
35
34
|
name: assert
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
35
|
type: :runtime
|
36
|
+
- !ruby/object:Gem::Dependency
|
38
37
|
prerelease: false
|
39
|
-
|
38
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
40
39
|
none: false
|
41
40
|
requirements:
|
42
41
|
- - ~>
|
43
42
|
- !ruby/object:Gem::Version
|
44
|
-
hash:
|
43
|
+
hash: 17
|
45
44
|
segments:
|
46
45
|
- 0
|
47
|
-
-
|
48
|
-
|
49
|
-
|
50
|
-
version_requirements: *id002
|
46
|
+
- 13
|
47
|
+
version: "0.13"
|
48
|
+
requirement: *id002
|
51
49
|
name: mocha
|
50
|
+
type: :runtime
|
52
51
|
description: Assert with Mocha
|
53
52
|
email:
|
54
53
|
- kelly@kelredd.com
|
@@ -97,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
96
|
requirements: []
|
98
97
|
|
99
98
|
rubyforge_project:
|
100
|
-
rubygems_version: 1.8.
|
99
|
+
rubygems_version: 1.8.15
|
101
100
|
signing_key:
|
102
101
|
specification_version: 3
|
103
102
|
summary: Assert with Mocha
|