stepford 0.15.0 → 0.15.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/stepford/factory_girl/methods.rb +1 -1
- data/lib/stepford/version.rb +1 -1
- metadata +2 -2
@@ -89,7 +89,7 @@ module Stepford
|
|
89
89
|
if orig_method_args_and_options
|
90
90
|
method_args_and_options = orig_method_args_and_options.dup
|
91
91
|
method_options = args.last
|
92
|
-
blk = method_options.is_a?(Hash) ?
|
92
|
+
blk = method_options.is_a?(Hash) ? method_options.delete(:blk) : nil
|
93
93
|
begin
|
94
94
|
if blk
|
95
95
|
options[assc_sym] = ::FactoryGirl.__send__(*method_args_and_options, &blk)
|
data/lib/stepford/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stepford
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-12-
|
12
|
+
date: 2012-12-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|