chop 0.19.0 → 0.20.0

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
  SHA1:
3
- metadata.gz: c484546204d204ee1867cc4448d301efedfb0923
4
- data.tar.gz: 3bd7b433cd38da06a42ca42c91ae6114865a3896
3
+ metadata.gz: e79910191410ddc45d44ca8198e96be315b3706f
4
+ data.tar.gz: 0e919573c294fada4231b742b8245c0762e3b0bf
5
5
  SHA512:
6
- metadata.gz: e14e9b2b669905545cac242db1230a0dbda32a256b0cf1692c2233490ee4490e60353ca886c42d0200e06e59c1e332edadd9f73806f8422a13095af7207004bd
7
- data.tar.gz: 72f1afb5833a62e983b7360e54e3a66e0174ff1f3c09ff402ccdf344e08f39ee16baf9f1438594267fbac9fe743f982a38425ca78e31953abac683c71da5ead7
6
+ metadata.gz: 3bfb0082be34fdea29550652f8f5dee5e07c7d2a637e4ef53d45713a74497c46cb8bd5cff0c167b9865f00dcaa9918adb39d33591b60badd90b694246bb299a0
7
+ data.tar.gz: 947aa02f4654d87317ead72b289528002c0dfe520d749d5c6c294b4bab566835e41f101a54b25b9285557be5381bfdb854519f9a2b17d7f963bd8572b22c8529
@@ -24,6 +24,10 @@ module Chop
24
24
  FactoryGirl.create factory, attributes
25
25
  end
26
26
 
27
+ register_creation_strategy :factory_bot do |factory, attributes|
28
+ FactoryBot.create factory, attributes
29
+ end
30
+
27
31
  attr_accessor :transformations, :deferred_attributes, :after_hooks
28
32
 
29
33
  def initialize(*, &other_block)
@@ -1,3 +1,3 @@
1
1
  module Chop
2
- VERSION = "0.19.0"
2
+ VERSION = "0.20.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-07-27 00:00:00.000000000 Z
11
+ date: 2017-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord