fixturize 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/fixturize.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjUzNGZmMzgzM2M1OWIyN2MxYzZlOTViNTUwNjE5MmVjN2JkZTRhZg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OThlNjUwMGYxOTRlMzFmMWZmMjc5NDkwOTYzMWI1NDU4NzQ3ZGYyNA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YzFkNjc4Y2QxYTI4YThlZjY5YWEzYjhmNWY1MDVkNmUxNDQ3YTQ4YjA2ODhk
|
10
|
+
YmJhODI4NWNlN2U3MGMxMGNkNDE4NTczMWQ3OWI0MDEzNzM4ZjMyNDAzZjQx
|
11
|
+
N2Y4Nzk5ZDc2MDM4YjIwZmMwZDE5ZTlkMzExZGRjYzI2ZjlhMWE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NTMxOTI5OWFkNzdiOWExYmExYjgxN2UwMjYwMDAxY2EwOWIwMTVlNjljMmVj
|
14
|
+
ODM2ZDU4ZWVhNGI0NGNjODMwMjA5NGRiMmEwYzMyNGE1OWQ5MGQ4Mzg1ZWI2
|
15
|
+
N2I2MjM0MDhmZjliZmI5NDcxMWRlMjkxMjYxYzczODEzMzU2NzU=
|
data/lib/fixturize.rb
CHANGED
@@ -178,9 +178,9 @@ class Fixturize
|
|
178
178
|
|
179
179
|
block_caller = caller_of_block(block)
|
180
180
|
|
181
|
-
yield
|
182
|
-
|
183
|
-
|
181
|
+
ret_val = yield
|
182
|
+
instrument_ivars(block_caller.instance_variables, block_caller)
|
183
|
+
ret_val
|
184
184
|
end
|
185
185
|
|
186
186
|
def uninstall!
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fixturize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scott Taylor
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-09-
|
12
|
+
date: 2014-09-23 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: fixturize your mongo(mapper) tests inline by caching blocks of created
|
15
15
|
objects
|