flexmock 2.3.1 → 2.3.2

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: 16f8df99b548903abdd25fef26a98df2906448bf
4
- data.tar.gz: 7ce30d1e5ada1a4d679e53db575bd3d942b8e836
3
+ metadata.gz: bf5f3165219606b712a35db0498e8bedb654c882
4
+ data.tar.gz: 02ad1a9211ef1f68902556e2a9d31592c9661589
5
5
  SHA512:
6
- metadata.gz: 7ff6a1a9172b9df71a8d5d3c8717304cad88d7947ea212c45417f53106001b71587879bfcd9684301440fc766db0a48552f5fc80b81dbd55e4d65c81acc55a23
7
- data.tar.gz: e93acaa91ace46df1fd14ead3c4790b857a654fb901d6a4d08193eae607abf65eeefa78e199b5e034855c72752d5b7bb824aa2d88455b229c740842dc2e8871a
6
+ metadata.gz: ec5fe66fc46cfd36552de7f4b3e6cd6aa0a573bcc83698c893aa622c0d9e11e5713de25c543357fcf6527ecb5a831bde99260dc2d7820bb776194be29d5752e7
7
+ data.tar.gz: 1219831d3ecc11ae9d472b4ad2269868b706d1cf1c46047786d9cf0ea91074c926d005e068b630002a4ae8755f0a09101d3da6db20af0f17d61ef652472d31e9
@@ -51,7 +51,7 @@ class FlexMock
51
51
  @assertions = 0
52
52
  end
53
53
 
54
- def make_assertion(msg, &block)
54
+ def make_assertion(msg, backtrace = caller, &block)
55
55
  unless yield
56
56
  msg = msg.call if msg.is_a?(Proc)
57
57
  assert(false, msg)
@@ -1,3 +1,3 @@
1
1
  class FlexMock
2
- VERSION = "2.3.1"
2
+ VERSION = "2.3.2"
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.3.1
4
+ version: 2.3.2
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: 2016-10-27 00:00:00.000000000 Z
12
+ date: 2016-11-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest
@@ -190,3 +190,4 @@ signing_key:
190
190
  specification_version: 4
191
191
  summary: Simple and Flexible Mock Objects for Testing
192
192
  test_files: []
193
+ has_rdoc: