formify 0.17.9 → 0.17.11

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 831be5e08866e8105d839a7831af8a4f797ffcbc4fe9b5930de17d4f6ed90181
4
- data.tar.gz: cf34c67afb7b28368a45acf739054058b60fb85b8fb36aae8f640490b11d909c
3
+ metadata.gz: 92290bd077f34427d7c3fae643e120c50f755e03a4b963c207fb9ae577b55943
4
+ data.tar.gz: bc297f0e277b6a95d97505e14006bb1a04a8e3a5575d520b5460e7a74ca5b525
5
5
  SHA512:
6
- metadata.gz: 47b531b2f89307a8017b8cdcb9ec926ac261ad6b8f0cec529121dbabadaa7cb0dd040556cf2dfdd0ed9412b200741d1b67f426d936b1a1dc165c0c73b9eb20a6
7
- data.tar.gz: 6d34f73fcfdc3f1801179545e8b645ff05aefb0d5214b3663bd4a753989c08ca6b90de32ee9837a58f38f4299aa754e1941d935a94f9b3f9378176585560f746
6
+ metadata.gz: 4591c40b0b78d043982d6eaa1bf9a00b5ca594cb0c960d4d784965a6b65973a9aa395383637aecfa671735da9a3ee128cb417a6284d529ef2a9a818d73e539f6
7
+ data.tar.gz: 769ab8597e36f6a1eaaaee557ef466298bdbd6944a1ce70f75a7c51a4344c559d06a4baca31b7961ec6e914ea6842572b41733e8f561cfbd8a28993c00ac4609
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- formify (0.17.9)
4
+ formify (0.17.11)
5
5
  rails
6
6
  resonad
7
7
  with_advisory_lock
@@ -1,3 +1,3 @@
1
1
  module Formify
2
- VERSION = '0.17.9'.freeze
2
+ VERSION = '0.17.11'.freeze
3
3
  end
@@ -50,10 +50,7 @@ class FormGenerator < Rails::Generators::NamedBase
50
50
  end
51
51
 
52
52
  def attributes_with_delegates
53
- @attributes_with_delegates ||= attributes_and_delegates
54
- .select { |k, v| v.present? }
55
- .keys
56
- .sort
53
+ @attributes_with_delegates ||= attributes_and_delegates.keys.sort
57
54
  end
58
55
 
59
56
  def attributes_and_delegates
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.9
4
+ version: 0.17.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Jackson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-18 00:00:00.000000000 Z
11
+ date: 2019-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler