wobapphelpers 4.1.0 → 4.1.1

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: c4ec580d7a01144e453ef30299dd500f825826b2738d8432df36a0ef73809f08
4
- data.tar.gz: 88bc7d97b4c93e6fc70866d023a61f48797d3073db6a0a5db4384e8c312dbcbe
3
+ metadata.gz: e196f7d0a068fe3fe325831f98e9037e707052394d1de94096a8618f78acc17e
4
+ data.tar.gz: 1a5d2d9cb3d58ee2ca1a22065ae047ed643f510aef9fc3ed74715ba773f2b43f
5
5
  SHA512:
6
- metadata.gz: ca45dcc4d286cc05e50e1e46cb7cd59ea3f912bd4fe5205234a62ec382a76ca9bb157d908bbe290c4789d83a11df730e4ddebc51414e5a773d043797c3c8e963
7
- data.tar.gz: 4e7f2539d5ad7d7b2b4fe7c0c233328bad1415f3f0d57f1d24ede7c44eea3655eb02a221562125e373fcb28a072ed9e8a4f3a23190dc4796c96dabdd5984bf54
6
+ metadata.gz: fdc06442f8d7328515e162a59a08add728641b5485845bffbe3f016debc0b30091be2ddc9cfd687021388ac2f793204db204225edce736fb42b7ca2ae030d3f5
7
+ data.tar.gz: 814edeba04e40365b2059520b875c3b9395f67a273103be074410050070cbc19ed1b9308f1923b52e2bc0b0f20a0c7199a47f648f1294b343d68a93e9b33a758
@@ -7,6 +7,8 @@ module Wobapphelpers
7
7
  if form.object.send(poly).present?
8
8
  msg += poly_type_display(form, poly)
9
9
  msg += poly_id_select(form, poly, form.object.send("#{poly}_type"), :all, options)
10
+ elsif types.size == 0
11
+ # empty
10
12
  elsif types.size == 1
11
13
  msg += poly_type_display(form, poly, Array(types).first)
12
14
  msg += poly_id_select(form, poly, Array(types).first, :all, options)
@@ -1,4 +1,4 @@
1
1
  module Wobapphelpers
2
- VERSION = "4.1.0".freeze
2
+ VERSION = "4.1.1".freeze
3
3
  RELEASEDATE = "2020-04-05".freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wobapphelpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 4.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wolfgang Barth