formify 0.22.3 → 0.22.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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: e839a9c2d34fe8985f716773e29262ef8464f5e4a26923aa061755453d730612
|
|
4
|
+
data.tar.gz: 14f74588ab1fadebb60917d8506fd96050c778a7b947f682921cb1e844335ed4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 445298531ff36badf896a8cf5cfc0962bfc16e7d78fb2b1030bc086879f070f7809443f83c4b3eac8dc761e096ed0b3164f3e09792cccfea80530aec3b4c3985
|
|
7
|
+
data.tar.gz: 12b5884cc3c0152c49662b354446ef941668d59b26e47f911a6e0b24ed8e89131998c2dc0d5aed397e59cb494881973aa7862936cef646c1aca9fcab0a90b4cb
|
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.
|
|
117
|
+
FactoryBot.find_definitions if FactoryBot.factories.count > 0
|
|
118
118
|
Class.const_defined?('FactoryBot')
|
|
119
119
|
end
|
|
120
120
|
rescue LoadError
|