ad2games-ui_components 2.4.1 → 2.4.2

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
  SHA1:
3
- metadata.gz: 9f1c2ff6a39fb8b5b3c0924d041d367dba2561b1
4
- data.tar.gz: b0cec954fc66503daf3a97ed5761ab36648f48c4
3
+ metadata.gz: 2e37417930dd34ee6359ea6d07a568a53c0da0c1
4
+ data.tar.gz: e3846a1ae85a5529fd05502951e4cf6ee6931a24
5
5
  SHA512:
6
- metadata.gz: 06c214275e0fa2a1353e9232593c3ad78bd64e92a128a07e607e9ab49c65d5f3f59e0a921eb3487446adc3e9e7b972ec207a122c1fd23b55ab7822c03df49041
7
- data.tar.gz: 59b450aa033e5f4be2515cddf0aaa586f2254623e4a291b0302a01db4b674705c68cf07b21a8defab28caa9c38b6c2bd62806eaa35d7afacd7c7daee365e820c
6
+ metadata.gz: eea471502934db2407f4974c3d1e58266e02db98dbfc5a807ff9e7d4a1af4eacca716b75e4eb5540d003ef0b8055ebb38b575818e292c9bfb9b0c6edff85b009
7
+ data.tar.gz: 388d791331cbff6390532dcc3f0fec192550d377cf870f7d6c5e6a2dab50be56edabaa9dc5974dcf942deec1d5336c2513d636a07619226f76fd72887c652537
@@ -52,7 +52,8 @@ class DateRangeCell < FormCellBase
52
52
 
53
53
  def dates
54
54
  %i[start_date end_date min_date max_date].each_with_object({}) do |attribute, hash|
55
- hash[attribute] = public_send(attribute).to_s.presence
55
+ value = public_send(attribute).to_s
56
+ hash[attribute] = value if value.present?
56
57
  end
57
58
  end
58
59
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module UiComponents
4
- VERSION = '2.4.1'
4
+ VERSION = '2.4.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ad2games-ui_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.1
4
+ version: 2.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ad2games
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-13 00:00:00.000000000 Z
11
+ date: 2017-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -804,7 +804,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
804
804
  version: '0'
805
805
  requirements: []
806
806
  rubyforge_project:
807
- rubygems_version: 2.6.11
807
+ rubygems_version: 2.6.13
808
808
  signing_key:
809
809
  specification_version: 4
810
810
  summary: UI components for ad2games projects