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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff861f164c26ff6203293af3688c72dc8f6ba184f980526e0863f495cf25af27
4
- data.tar.gz: 52fb9d2bda2353bd279f60700567ca589220e0373f7823eb5f719f40d1a6d062
3
+ metadata.gz: 02d4dfc3a270fe500fed7209cdb5ca525ce774ac5e194d8813595adf7b2c32d5
4
+ data.tar.gz: c45ff87ea937040573246cc314520332c0e3ebd0b087b47b18e0917ca8074fff
5
5
  SHA512:
6
- metadata.gz: b0777050424a805d52455d03c2b6e76ae8b77fb9c8a70f490c0c64bd168b5dd2216de03d384b8b1bdd4b48932d3c1e4e8401fe09ddec6520f50463036bea8aa2
7
- data.tar.gz: 10481468044ba6419cd91c24632ff2ea12ad8c323251ea9caa8f4f9a9de9a579bd65569ce4e8264b337ca8e5d334ffe24b5af8f639e25ed80c3e8676d864d324
6
+ metadata.gz: 37f1521f3cf903b3acf771f3013ccb70816dc01dcd65d455d8f3e1a9da5bf9c751de035339954034a9bae5a8f565d9d27baa69d4a079ef6323f2c71d271471a6
7
+ data.tar.gz: e6dc7787c148cb71415b17e6ee8ed78d10890ca857a4fbc50773f121c2e3c8b471ea97d29e92e56fc376590417508bf4973b3de4c1e54ef6e3f4746e7b10e234
@@ -1,3 +1,3 @@
1
1
  module PryFactorybot
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -18,8 +18,8 @@ module PryFactoryBot
18
18
  FactorBot.create.
19
19
  BANNER
20
20
 
21
- def process(*args)
22
- ::FactoryBot.#{strategy_name}(args)
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry-factorybot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - hiroaki.osawa