flexmock 2.0.3 → 2.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d3cd91a2cd7045fca531029e2adb53a1c9ea8ab7
4
- data.tar.gz: 06339a12de7b495aa97bc638d2f3212bec8890dc
3
+ metadata.gz: 9387eb1544230a8a90aa555763f306093cd6e71c
4
+ data.tar.gz: 7f0a5a0b13e16ab4bf8fe73332df1b6e4096a3a3
5
5
  SHA512:
6
- metadata.gz: 84223bf38e15aaf35aa23fa694c3b939dae18052ae2351527a5b1a029b2100c5f0b4f5788552ca90a92f4dd0058a797eb8928188f46f6abdec989b84474fda7c
7
- data.tar.gz: 97089ec1310b4841a1a88c7f058e3d90b2bccd3108abf6c76941f2d411d53e5dba3d455b0b6defe46d667dfe213b95419c0b12dcecff37fad5a8b278e105c0b4
6
+ metadata.gz: 0701e4a445c1e9a10134727d655faf532d2f0a925b06ea04afa565f81af51bba095c3b61fca54b09917f7e3cf2aa7d7de327031a98fc1b9afc094c9e57976978
7
+ data.tar.gz: 1c646119d8530ee4b3c12514f61b6f92530c4c0ad8f5374abdf43414f89f936116a832a4df598f0d281e31a519549edd9ea5aa779a9247aa2704a0dc76e0e208
data/lib/flexmock/core.rb CHANGED
@@ -149,6 +149,7 @@ class FlexMock
149
149
  @base_class = base_class
150
150
  if base_class <= Kernel
151
151
  should_receive(:class => base_class)
152
+ should_receive(:kind_of?).and_return { |against| base_class <= against }
152
153
  end
153
154
  end
154
155
 
@@ -27,7 +27,7 @@ class FlexMock
27
27
  end
28
28
 
29
29
  def check(msg, &block)
30
- check(msg, &block)
30
+ make_assertion(msg, &block)
31
31
  end
32
32
 
33
33
  class AssertionFailedError < StandardError; end
@@ -1,3 +1,3 @@
1
1
  class FlexMock
2
- VERSION = "2.0.3"
2
+ VERSION = "2.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flexmock
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Weirich
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-12-09 00:00:00.000000000 Z
12
+ date: 2015-12-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest