flexmock 2.3.5 → 2.3.6

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: e892f7d709ef3e23ae1c1b0ae5b14b3aefe41eb3
4
- data.tar.gz: 78f270d88cf821799b1c427e4898e62ade09b3e1
3
+ metadata.gz: 10c81d85395c9cb8d2f2ec418fa925152082a699
4
+ data.tar.gz: 2602ebd6fb2d2b77b6627ba42b1fbbadb31b6854
5
5
  SHA512:
6
- metadata.gz: f51ba21015e7fdfc2a6da693099d7afb9da49c29379207456caab98a2f304edc09973bd28903651493d0dde507c15990401bbc2c109165cc7aba1b58eec1767f
7
- data.tar.gz: b52d86ad5bc0b7115df1eb2866322f632f00c2a8d8ca274e0239ef3572a4618a67f07a0c0d27f9c3248dca7c9a6946448767561d6d7e87b87f52115f883b7f6e
6
+ metadata.gz: d68327dfd946bf6119291610513fd3a98718b031fc98742e5641177f78f51b10398fcb676832e61737cbf68b447de6cb0b726fa8fdc1b6e27591ab672826febc
7
+ data.tar.gz: 93bd5f2683c1bf3250986d82fbcce88afdd4f7f6866eb76a926ade7c07f27b9ea71759ddc864c58371cff9e984813fb1cef990c4dac663bd3d027e6f971531b7
@@ -6,8 +6,14 @@ rvm:
6
6
  - 2.2.5
7
7
  - 2.3.1
8
8
  - 2.4.0
9
+ - ruby-head
9
10
  - jruby-9.1.5.0
10
11
 
12
+ matrix:
13
+ allow_failures:
14
+ - rvm: ruby-head
15
+ fast_finish: true
16
+
11
17
  script:
12
18
  - rake test
13
19
  - rake test_rspec
data/README.md CHANGED
@@ -945,7 +945,7 @@ MiniTest for asserting that mocked methods are actually called.
945
945
  additional validations on supplied arguments. Default is no
946
946
  additional validations.
947
947
 
948
- * <b>on: <em>n</em>
948
+ * <b>on: <em>n</em></b>
949
949
 
950
950
  Only apply the additional validations on the <em>n</em>'th
951
951
  invocation of the matching method. Default is apply additional
@@ -29,8 +29,10 @@ class FlexMock
29
29
  @expectation.mock = m
30
30
  end
31
31
 
32
+ WHITELIST = [:with_signature_matching]
33
+
32
34
  def method_missing(sym, *args, &block)
33
- if explicit?
35
+ if explicit? || WHITELIST.include?(sym)
34
36
  @expectation.send(sym, *args, &block)
35
37
  else
36
38
  fail NoMethodError, "Cannot stub methods not defined by the base class\n" +
@@ -1,3 +1,3 @@
1
1
  class FlexMock
2
- VERSION = "2.3.5"
2
+ VERSION = "2.3.6"
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.5
4
+ version: 2.3.6
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: 2017-02-21 00:00:00.000000000 Z
12
+ date: 2017-10-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest