formify 0.22.4 → 0.22.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/formify/version.rb +1 -1
- data/lib/generators/form/form_generator.rb +1 -1
- 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: b9055c14002e5490278d12a7d5b911bd9578d1e9dd42c8fdff77815ac8792889
|
4
|
+
data.tar.gz: 59da3779f11d31e402d2016de289e79c51018f95be11d92e4d16fbcb87f4287f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9023ae59995cf678116aa00d3f2560c19e904ed794a30a4ed6f06f576640e1155a5ad8fbecf3d29d65b7476a6c0cafe619c1a24c94ba3c69be8aab85cb5d3eea
|
7
|
+
data.tar.gz: 726c33d63db547dd2778a9219712f7d966cb09d82645a2fa0cddeb270167cc4c7b349bf91d194dd7047e7b2b2c0ce635967fc0735fa423a4cf90cb8aaa97a9a5
|
data/Gemfile.lock
CHANGED
data/lib/formify/version.rb
CHANGED
@@ -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.count
|
117
|
+
FactoryBot.find_definitions if FactoryBot.factories.count.zero?
|
118
118
|
Class.const_defined?('FactoryBot')
|
119
119
|
end
|
120
120
|
rescue LoadError
|