tramway-core 1.12.0.1 → 1.12.0.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
- SHA256:
3
- metadata.gz: a6d2e6652e488e39aa90a36063ca076f1f3998b347598426f738c0e40fc2f3eb
4
- data.tar.gz: 74a56e41f069f66f619099041f6fd9f7553090fda9562036785d34239206a7ba
2
+ SHA1:
3
+ metadata.gz: 739e25ed38aa108c1d473781baa49145c93bd71e
4
+ data.tar.gz: 38b8b5c98cc44f8e29cf2960815de6e36301fa55
5
5
  SHA512:
6
- metadata.gz: ba64dde2874fda5048abddd70d2ae6c2f083ba2a3cb5892ea18204a7bcbcf31ef622fa7adaa5fbf182056b6df5a4db988c40a23e9519e0615ad12030c5063efe
7
- data.tar.gz: 601befd1b0c35e3da4e49d2430c546a57984df5ba55a89a1b1a473a9e53c76464187be577c9ab6892e8e2ce3ec36f78e9ad0a485ac95f532dd182997c9aa11ed
6
+ metadata.gz: 01d0b5a5adb563c6656de7957e7666d92d996b5a57a40b09f7440034504389a64bc9fc9b667312bc079bc081cb10cfeb0380499138bf3ce114f623bda907d9f5
7
+ data.tar.gz: 2ad68b857722d567f09de830244f19e1e8428890864f7ac170058c8ffffafbf4ac016e52a7d43b673123d738d6b37473c7f65fb04f3875958059a99f385a4191
@@ -119,7 +119,7 @@ class Tramway::Core::ApplicationDecorator
119
119
  elsif value.class.in? [ ActiveSupport::TimeWithZone, DateTime, Time ]
120
120
  hash.merge! attribute[0] => datetime_view(attribute[1])
121
121
  elsif value.class.superclass == ApplicationUploader
122
- hash.merge! attribute[0] => image_view(attribute[1])
122
+ hash.merge! attribute[0] => image_view(object.send(attribute[0]))
123
123
  elsif value.is_a? Enumerize::Value
124
124
  hash.merge! attribute[0] => enumerize_view(value)
125
125
  else
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Core
3
- VERSION = '1.12.0.1'
3
+ VERSION = '1.12.0.2'
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.12.0.1
4
+ version: 1.12.0.2
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-08-05 00:00:00.000000000 Z
11
+ date: 2019-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: reform-rails
@@ -397,7 +397,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
397
397
  version: '0'
398
398
  requirements: []
399
399
  rubyforge_project:
400
- rubygems_version: 2.7.6
400
+ rubygems_version: 2.6.13
401
401
  signing_key:
402
402
  specification_version: 4
403
403
  summary: Core for all Tramway Rails Engines