polaris_view_helpers 1.1.5 → 1.1.6

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: 2c2cd01ac13b14b7cb608d10e02b721ef0a455aea35d378df9647d71921da7b8
4
- data.tar.gz: c5cea3e4500c9a6cd0bfbed0869860e14803417842bfd61084594a86dfd23506
3
+ metadata.gz: 61d82658795a2c139e0a018965d52c9a0118a3957934e2dbca082b234514bc29
4
+ data.tar.gz: bb6c3ef83b150b284cd380c69955812d1d9aece3a1554813cf95ae668276f2ea
5
5
  SHA512:
6
- metadata.gz: fcd47f1cbee34109123a3cd994bd53214b97461b76a9041391d4cd741b6568eecb17815f0844d38ee56c144232c6b7080c73d689d6f3ca6d90d4891f599bc061
7
- data.tar.gz: ba9a175f0332f334cb445e358a1abaf51eed717614e0405797f92e2c1ca6019167416eeb9034575b8623dc00fd3a4c86f76ca417ac83156777890b6387920613
6
+ metadata.gz: 77f1b4beab7f09c7484dd112067c768e59fab31d5bcd0cab42cb4e46db9304fea511a358da58a5221b31b2cdadfa1ab938db88dd0370ce23115c16047a82f538
7
+ data.tar.gz: 1d8c5c3aca4c82ee45f6c7bc14a2820b89273920dd5545af5048d54f7a56e35fcef2b42c3ffb9f6e22efcccb7cefbf36eb8583a3438b574ad5d5b3f22b76b6c2
@@ -9,7 +9,7 @@
9
9
  </div>
10
10
  <% end %>
11
11
  <div class="Polaris-TextField">
12
- <%= form.send element_type, att, id: "#{form.object.class.name.tableize.singularize}_#{att}", class: "Polaris-TextField__Input", placeholder: options[:placeholder], value: options[:value] || form.object.send(att) %>
12
+ <%= form.send element_type, att, id: "#{form.object.class.name.tableize.singularize}_#{att}", class: "Polaris-TextField__Input", placeholder: options[:placeholder], value: options[:value] || form.object&.send(att) %>
13
13
  <div class="Polaris-TextField__Backdrop"></div>
14
14
  </div>
15
15
  </div>
@@ -1,3 +1,3 @@
1
1
  module PolarisViewHelpers
2
- VERSION = "1.1.5"
2
+ VERSION = "1.1.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polaris_view_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Green
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-07 00:00:00.000000000 Z
11
+ date: 2021-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails