spy_rb 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spy/instance/api/internal.rb +1 -1
- data/lib/spy/version.rb +1 -1
- data/lib/spy.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55898bab27ef564a680183144ee52cbe455b9cad
|
4
|
+
data.tar.gz: a28b7f6df39b320e244d8393cf7fa68d0e55240f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bb72ec7f9bf82804b4f18ff84c1c30fb19d2acc2af58948a3f3cd187bbfb81cb4bf52aa00b86e7593677c1803e77fee2209864619c6f55c39c1731b6cd3e561
|
7
|
+
data.tar.gz: 7892ca56e20ed834d5b304883567f81e02abd72bb85b7ab851aa29321eb8689dba2a6c55ee12709ec80b5fbb1ac500dae5f3eda33e98fb82aa9fe7ea6aa1c36e
|
@@ -45,7 +45,7 @@ module Spy
|
|
45
45
|
|
46
46
|
# Keep wrapping the original proc with each around_proc
|
47
47
|
@around_procs.reduce(original_proc) do |p, wrapper|
|
48
|
-
Proc.new { wrapper.call
|
48
|
+
Proc.new { wrapper.call *args, &p }
|
49
49
|
end.call
|
50
50
|
else
|
51
51
|
result = call_and_record(receiver, *args, &block)
|
data/lib/spy/version.rb
CHANGED
data/lib/spy.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spy_rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Bodah
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Spy brings everything that's great about Sinon.JS to Ruby. Mocking frameworks
|
14
14
|
work by stubbing out functionality. Spy works by listening in on functionality and
|