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: 39efce6a86bec7ba9299ad3bd023b12e763b10d99490bed502357093207c8c9a
4
- data.tar.gz: f059e7caa57dc62567676cbd88f17eb0ee2ee8ec6a822bbcb2a96a032aa79d95
3
+ metadata.gz: 17dc7b147dd813ac2d7df44cbc05d7951b849b776a6641b0f463a91094bd6959
4
+ data.tar.gz: ecefb51f2296f3a11f05d4b27ee1d52a087122ac3dab5ef1bd3f5e6b428daf0e
5
5
  SHA512:
6
- metadata.gz: caa65cd2fdba0f3ac3c677e6192dbc9735d4d9ce3a072bff8381af706ee523640672df2712ae5b82ad7f34e37e1bf410759826453bbfa7c19bea003306e80041
7
- data.tar.gz: 6375610e4118cd68f1a29df9c721a41f0a9392031225a0b3f5f8358108ab675100788a55e81397496b84aa8d3a867a217c3b3debc70e76fde916cf14c4e78811
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)
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Core
3
- VERSION = '1.10.2'
3
+ VERSION = '1.10.2.1'
4
4
  end
5
5
  end
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-27 00:00:00.000000000 Z
11
+ date: 2019-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: reform-rails