formify 0.22.3 → 0.22.4

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: 46532ba96081cea082e2b7150dd8f08153598b20c121ad28bdec44af4c8d1293
4
- data.tar.gz: 422fa2b1cc7ba9569d8bd999f0735ef1809bfb42c491420f41a02fbfb06a74e5
3
+ metadata.gz: e839a9c2d34fe8985f716773e29262ef8464f5e4a26923aa061755453d730612
4
+ data.tar.gz: 14f74588ab1fadebb60917d8506fd96050c778a7b947f682921cb1e844335ed4
5
5
  SHA512:
6
- metadata.gz: 4ba6bba2925837bba88b268e86ef1cba82b1c1b75066635fdcbe85045e587af02d1cfd38d0d1eedaebf34cf5a25737fb599ce6ff2d978aec7232801830db99d2
7
- data.tar.gz: dc3fbaeaada37e12b48cb6534ad1cb37f1f98206e4f2ffbc2881665aefd2a4e15464fe0f135839cced1f92af13398754e581ecaa293e6e4d6a38a8066ec0dfb1
6
+ metadata.gz: 445298531ff36badf896a8cf5cfc0962bfc16e7d78fb2b1030bc086879f070f7809443f83c4b3eac8dc761e096ed0b3164f3e09792cccfea80530aec3b4c3985
7
+ data.tar.gz: 12b5884cc3c0152c49662b354446ef941668d59b26e47f911a6e0b24ed8e89131998c2dc0d5aed397e59cb494881973aa7862936cef646c1aca9fcab0a90b4cb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- formify (0.22.3)
4
+ formify (0.22.4)
5
5
  rails
6
6
  resonad
7
7
  with_advisory_lock
@@ -1,3 +1,3 @@
1
1
  module Formify
2
- VERSION = '0.22.3'.freeze
2
+ VERSION = '0.22.4'.freeze
3
3
  end
@@ -114,7 +114,7 @@ class FormGenerator < Rails::Generators::NamedBase
114
114
  def factory_bot?
115
115
  @factory_bot ||= begin
116
116
  require 'factory_bot'
117
- FactoryBot.find_definitions if FactoryBot.factories.empty?
117
+ FactoryBot.find_definitions if FactoryBot.factories.count > 0
118
118
  Class.const_defined?('FactoryBot')
119
119
  end
120
120
  rescue LoadError
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.3
4
+ version: 0.22.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Jackson