rspec-fire 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY +4 -0
- data/lib/rspec/fire.rb +1 -1
- data/rspec-fire.gemspec +2 -1
- data/spec/fire_double_spec.rb +3 -0
- metadata +8 -7
data/HISTORY
CHANGED
data/lib/rspec/fire.rb
CHANGED
data/rspec-fire.gemspec
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'rspec-fire'
|
3
|
-
s.version = '1.1.
|
3
|
+
s.version = '1.1.1'
|
4
4
|
s.summary = 'More resilient test doubles for RSpec.'
|
5
5
|
s.platform = Gem::Platform::RUBY
|
6
6
|
s.authors = ["Xavier Shay"]
|
7
7
|
s.email = ["hello@xaviershay.com"]
|
8
8
|
s.homepage = "http://github.com/xaviershay/rspec-fire"
|
9
|
+
s.license = "MIT"
|
9
10
|
s.has_rdoc = false
|
10
11
|
|
11
12
|
s.require_path = 'lib'
|
data/spec/fire_double_spec.rb
CHANGED
@@ -58,11 +58,14 @@ shared_examples_for 'a fire-enhanced double method' do
|
|
58
58
|
describe 'doubled class is not loaded' do
|
59
59
|
let(:doubled_object) { fire_double("UnloadedObject") }
|
60
60
|
should_allow(:undefined_method)
|
61
|
+
should_allow('undefined_method')
|
61
62
|
end
|
62
63
|
|
63
64
|
describe 'doubled class is loaded' do
|
64
65
|
should_allow(:defined_method)
|
66
|
+
should_allow('defined_method')
|
65
67
|
should_not_allow(:undefined_method)
|
68
|
+
should_not_allow('undefined_method')
|
66
69
|
end
|
67
70
|
end
|
68
71
|
|
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.1
|
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-07-
|
12
|
+
date: 2012-07-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement: &
|
16
|
+
requirement: &2152396520 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '2.11'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2152396520
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rake
|
27
|
-
requirement: &
|
27
|
+
requirement: &2152395960 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2152395960
|
36
36
|
description:
|
37
37
|
email:
|
38
38
|
- hello@xaviershay.com
|
@@ -49,7 +49,8 @@ files:
|
|
49
49
|
- Rakefile
|
50
50
|
- rspec-fire.gemspec
|
51
51
|
homepage: http://github.com/xaviershay/rspec-fire
|
52
|
-
licenses:
|
52
|
+
licenses:
|
53
|
+
- MIT
|
53
54
|
post_install_message:
|
54
55
|
rdoc_options: []
|
55
56
|
require_paths:
|