tramway-core 1.16.1.5 → 1.16.1.6

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: f6e95b821e3743c540a04d8972861cec96926adb1fb210c9a51a39c5caa711cd
4
- data.tar.gz: 456b6f0345b026debd72949521ab48b0bbc8b855d38045ca2bd70c7f6868b7de
3
+ metadata.gz: a339fa00b0157935827d14e8e992b7509d2e46149cb5573a9b092a0025283c04
4
+ data.tar.gz: 27a7f7d35aad3c74fcf12ee2b6332d7b958bab6ffeb809f49ea734d4389c2bae
5
5
  SHA512:
6
- metadata.gz: 8e9d365a1af79128772bec57746ad6fc1bfc61e840179ac98eed919b620b6656ff7d1448a6f6cf12a6ec69c73e8a72f2a9c4666a0ccbd70c34e08e878812d794
7
- data.tar.gz: 796ce3b5eab185625a02945ff9e90ab78cb2e74bae61de21bb4aa68180c199dae52fd63cd1ef46864edf42cb788d07aa5f4956b1573e3942b9375f73ce512d35
6
+ metadata.gz: d7ab089c503af5de848ed9802627ff1bb124a09bb23f06496de582d61764663cb0c320a29bd758e357dbebf21de5595ae5a2bf2090b32daa9363cd2b3341bf5c
7
+ data.tar.gz: 4a199e6e3347425c0ea1fef02eaf2a97ea54d115ab0972046cb2e981d0c22bdcc19ab699811997722cdc6b47353bb00883b3bf482deeb5692ee7af508d8cd5a6
@@ -54,7 +54,7 @@ class Tramway::Core::ExtendableForm
54
54
  validator_object = "#{pair[0].camelize}Validator".constantize.new(attributes: :not_blank)
55
55
  if pair[1] == 'true' && !validator_object.send(:valid?, value)
56
56
  model.errors.add property[0],
57
- I18n.t("activerecord.errors.models.#{model.class.name.underscore}.attributes.#{property[0]}.#{pair[0]}", value: value)
57
+ I18n.t("activerecord.errors.models.#{model.class.name.underscore}.attributes.default.#{pair[0]}", value: value)
58
58
  end
59
59
  end
60
60
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Core
5
- VERSION = '1.16.1.5'
5
+ VERSION = '1.16.1.6'
6
6
  end
7
7
  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.16.1.5
4
+ version: 1.16.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-16 00:00:00.000000000 Z
11
+ date: 2020-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: audited