pry-factorybot 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pry-factorybot/version.rb +1 -1
- data/lib/pry-factorybot.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02d4dfc3a270fe500fed7209cdb5ca525ce774ac5e194d8813595adf7b2c32d5
|
4
|
+
data.tar.gz: c45ff87ea937040573246cc314520332c0e3ebd0b087b47b18e0917ca8074fff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37f1521f3cf903b3acf771f3013ccb70816dc01dcd65d455d8f3e1a9da5bf9c751de035339954034a9bae5a8f565d9d27baa69d4a079ef6323f2c71d271471a6
|
7
|
+
data.tar.gz: e6dc7787c148cb71415b17e6ee8ed78d10890ca857a4fbc50773f121c2e3c8b471ea97d29e92e56fc376590417508bf4973b3de4c1e54ef6e3f4746e7b10e234
|
data/lib/pry-factorybot.rb
CHANGED
@@ -18,8 +18,8 @@ module PryFactoryBot
|
|
18
18
|
FactorBot.create.
|
19
19
|
BANNER
|
20
20
|
|
21
|
-
def process(*
|
22
|
-
::FactoryBot.#{strategy_name}(
|
21
|
+
def process(name, *traits_and_overrides, &block)
|
22
|
+
::FactoryBot.#{strategy_name}(name, *traits_and_overrides, &block)
|
23
23
|
rescue => e
|
24
24
|
puts e.message
|
25
25
|
end
|