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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e839a9c2d34fe8985f716773e29262ef8464f5e4a26923aa061755453d730612
4
- data.tar.gz: 14f74588ab1fadebb60917d8506fd96050c778a7b947f682921cb1e844335ed4
3
+ metadata.gz: b9055c14002e5490278d12a7d5b911bd9578d1e9dd42c8fdff77815ac8792889
4
+ data.tar.gz: 59da3779f11d31e402d2016de289e79c51018f95be11d92e4d16fbcb87f4287f
5
5
  SHA512:
6
- metadata.gz: 445298531ff36badf896a8cf5cfc0962bfc16e7d78fb2b1030bc086879f070f7809443f83c4b3eac8dc761e096ed0b3164f3e09792cccfea80530aec3b4c3985
7
- data.tar.gz: 12b5884cc3c0152c49662b354446ef941668d59b26e47f911a6e0b24ed8e89131998c2dc0d5aed397e59cb494881973aa7862936cef646c1aca9fcab0a90b4cb
6
+ metadata.gz: 9023ae59995cf678116aa00d3f2560c19e904ed794a30a4ed6f06f576640e1155a5ad8fbecf3d29d65b7476a6c0cafe619c1a24c94ba3c69be8aab85cb5d3eea
7
+ data.tar.gz: 726c33d63db547dd2778a9219712f7d966cb09d82645a2fa0cddeb270167cc4c7b349bf91d194dd7047e7b2b2c0ce635967fc0735fa423a4cf90cb8aaa97a9a5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- formify (0.22.4)
4
+ formify (0.22.5)
5
5
  rails
6
6
  resonad
7
7
  with_advisory_lock
@@ -1,3 +1,3 @@
1
1
  module Formify
2
- VERSION = '0.22.4'.freeze
2
+ VERSION = '0.22.5'.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.count > 0
117
+ FactoryBot.find_definitions if FactoryBot.factories.count.zero?
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.4
4
+ version: 0.22.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Jackson