rspec-fire 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY +3 -0
- data/lib/rspec/fire.rb +2 -2
- data/rspec-fire.gemspec +1 -1
- data/spec/fire_double_spec.rb +4 -0
- metadata +17 -7
data/HISTORY
CHANGED
data/lib/rspec/fire.rb
CHANGED
@@ -161,7 +161,7 @@ module RSpec
|
|
161
161
|
|
162
162
|
def ensure_arity(actual)
|
163
163
|
@double.with_doubled_class do |klass|
|
164
|
-
klass.
|
164
|
+
klass.__send__(@method_finder, @sym).should support_arity(actual)
|
165
165
|
end
|
166
166
|
end
|
167
167
|
|
@@ -212,7 +212,7 @@ module RSpec
|
|
212
212
|
|
213
213
|
# to_sym for non-1.9 compat
|
214
214
|
@@_implemented_methods_cache[[doubled_class, checked_methods]] ||=
|
215
|
-
doubled_class.
|
215
|
+
doubled_class.__send__(checked_methods).map(&:to_sym)
|
216
216
|
end
|
217
217
|
|
218
218
|
def unimplemented_methods(doubled_class, expected_methods, checked_methods)
|
data/rspec-fire.gemspec
CHANGED
data/spec/fire_double_spec.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-fire
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-09-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,15 @@ dependencies:
|
|
21
21
|
version: '2.11'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '2.11'
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
31
|
name: rake
|
27
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
35
|
- - ! '>='
|
@@ -32,7 +37,12 @@ dependencies:
|
|
32
37
|
version: '0'
|
33
38
|
type: :development
|
34
39
|
prerelease: false
|
35
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
36
46
|
description:
|
37
47
|
email:
|
38
48
|
- hello@xaviershay.com
|
@@ -69,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
79
|
version: '0'
|
70
80
|
requirements: []
|
71
81
|
rubyforge_project:
|
72
|
-
rubygems_version: 1.8.
|
82
|
+
rubygems_version: 1.8.24
|
73
83
|
signing_key:
|
74
84
|
specification_version: 3
|
75
85
|
summary: More resilient test doubles for RSpec.
|