agilibox 1.5.12 → 1.5.13

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: 4d2abc6958807db0ac8a3d45a0ff65a691e3745ecda534db177d53c51e887356
4
- data.tar.gz: 742e9db948e9cf7d4157c051c8d40ec2b50a9ba46ac01568a25b983704b7137a
3
+ metadata.gz: 6f2f44dd973a477f962ee2e76805ca19f698a011d9000cedcd83aae30673dbaa
4
+ data.tar.gz: 90ba13ccc6e08721384bb9abd608fe716166f695b7f09841abc5afa60eb1c2ab
5
5
  SHA512:
6
- metadata.gz: c187973ba33962cd08c4fc09df39c57327846047c7af6759835310774fb0376e2bd9486fee25e48431654e7218e8da6849ebc916e880df62e856911e82145184
7
- data.tar.gz: c23e386ddfbd87b023b3f053837f466b5b7ebc27eadb02ea28407a3202d165f8502356eff29e2df590c9a7ffb945ebfcb48803d817f6c90d6c5d49ef20602eee
6
+ metadata.gz: 5f81afa67332d05cf6ff56d78ac408d3fbeb8bbd01bcdbee99b8d2cc7547b8318192b4ea00ecb954f39e58e8ff90f484add167d7e1f09b4120862d0008192d25
7
+ data.tar.gz: e6db62b2dfcd78066dec9982171b2c0a66fb02898a77e08edafd2d86b4d26e66d3bedd929457f4a7c048a0dcf416b3e282c70c0d4897ec5132abf537401aee1d
data/CHANGELOG.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  ## Next version
4
4
 
5
+ ## 1.5.13
6
+ - Fix `info` helper with nested blank value
7
+
5
8
  ## 1.5.12
6
9
  - Cuprite config improvements
7
10
 
@@ -107,13 +107,13 @@ module Agilibox::TextHelper
107
107
  klass = object.is_a?(Module) ? object : object.class
108
108
  object_type = klass.to_s.split("::").last.underscore
109
109
 
110
- value = t("yes") if value == true
111
- value = t("no") if value == false
112
- value = object.t("#{attribute}.#{value}") if nested
113
- value = send(helper, value) if helper
114
- value = number(value) if value.is_a?(Numeric)
115
- value = l(value) if value.is_a?(Time)
116
- value = l(value) if value.is_a?(Date)
110
+ value = t("yes") if value == true
111
+ value = t("no") if value == false
112
+ value = object.tv(attribute) if nested
113
+ value = send(helper, value) if helper
114
+ value = number(value) if value.is_a?(Numeric)
115
+ value = l(value) if value.is_a?(Time)
116
+ value = l(value) if value.is_a?(Date)
117
117
  value = value.to_s
118
118
 
119
119
  html_label = content_tag(:strong, class: "info-label") { label }
@@ -1,3 +1,3 @@
1
1
  module Agilibox
2
- VERSION = "1.5.12"
2
+ VERSION = "1.5.13"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: agilibox
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.12
4
+ version: 1.5.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - agilidée
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-20 00:00:00.000000000 Z
11
+ date: 2019-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails-i18n