bootstrap_builders 0.0.58 → 0.0.59
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bootstrap_builders/attribute_rows.rb +1 -1
- data/lib/bootstrap_builders/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86eff598e9fcaf0e0d255d91c0d567fe7e04fb6e
|
4
|
+
data.tar.gz: 525e87bc8c7591baecc3aae24c8109f9d7a857a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fb4958acd108f740dc045745b231641bbf0427010ea06ae9011412c7459eb155cd3715bf4a90d960303063683c610052f81faec7728468a97405ca4d55b007a
|
7
|
+
data.tar.gz: a062b52e8e6b6da121bf40d0c3ef2801d9ee1d823a5a286d7d6d594346c6b0da09a67781f01745b30de14696e8c3164746d4b6fdc0ed13333403d8e356cf1520
|
@@ -31,7 +31,7 @@ class BootstrapBuilders::AttributeRows
|
|
31
31
|
elsif column_type(attribute) == :datetime || column_type(attribute) == :date
|
32
32
|
str = @context.l(column_value(attribute), format: :long) if column_value(attribute)
|
33
33
|
elsif column_type(attribute) == :money
|
34
|
-
str =
|
34
|
+
str = column_value(attribute).try(:format)
|
35
35
|
else
|
36
36
|
str = column_value(attribute).to_s
|
37
37
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap_builders
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.59
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kaspernj
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -111,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
111
111
|
version: '0'
|
112
112
|
requirements: []
|
113
113
|
rubyforge_project:
|
114
|
-
rubygems_version: 2.6.
|
114
|
+
rubygems_version: 2.6.13
|
115
115
|
signing_key:
|
116
116
|
specification_version: 4
|
117
117
|
summary: A library to generate Bootstrap HTML for Rails.
|