tramway-core 1.10.2 → 1.10.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17dc7b147dd813ac2d7df44cbc05d7951b849b776a6641b0f463a91094bd6959
|
4
|
+
data.tar.gz: ecefb51f2296f3a11f05d4b27ee1d52a087122ac3dab5ef1bd3f5e6b428daf0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa0c3a433134c99a548dc9dd83c074458524001b965e8e67d34c490c8bee91a86792402c1a3a6ba76a6d6fb43a910df8b8584e2cb16b6e049ebfe0dae0cc5b7f
|
7
|
+
data.tar.gz: 31d97956e94405d0b78422cc927f4ac950b4e3ee40044a97ef89136cd8ec501e6300638a741a2822d199c3790b72d6af35a8a98a330c59a68c472819d7aeeac6
|
@@ -1,10 +1,10 @@
|
|
1
1
|
module Tramway::Core::Concerns::AttributesDecoratorHelper
|
2
2
|
def date_view(value)
|
3
|
-
I18n.l value.to_date
|
3
|
+
I18n.l value.to_date if value
|
4
4
|
end
|
5
5
|
|
6
6
|
def datetime_view(value)
|
7
|
-
I18n.l value
|
7
|
+
I18n.l value if value
|
8
8
|
end
|
9
9
|
|
10
10
|
def state_machine_view(object, attribute_name)
|
data/lib/tramway/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tramway-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.10.2
|
4
|
+
version: 1.10.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Kalashnikov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: reform-rails
|