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 +4 -4
- data/app/cells/date_range/date_range_cell.rb +2 -1
- data/lib/ui_components/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e37417930dd34ee6359ea6d07a568a53c0da0c1
|
4
|
+
data.tar.gz: e3846a1ae85a5529fd05502951e4cf6ee6931a24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
55
|
+
value = public_send(attribute).to_s
|
56
|
+
hash[attribute] = value if value.present?
|
56
57
|
end
|
57
58
|
end
|
58
59
|
|
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.
|
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-
|
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.
|
807
|
+
rubygems_version: 2.6.13
|
808
808
|
signing_key:
|
809
809
|
specification_version: 4
|
810
810
|
summary: UI components for ad2games projects
|