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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e303a01b54c15d59f2936827173ca7404a9365c
4
- data.tar.gz: 398879ca3fc276a118f61530f8c82e50574453f4
3
+ metadata.gz: 86eff598e9fcaf0e0d255d91c0d567fe7e04fb6e
4
+ data.tar.gz: 525e87bc8c7591baecc3aae24c8109f9d7a857a7
5
5
  SHA512:
6
- metadata.gz: c31c1afe0e028a11116c29d9b6fe1eb8754d8ea42942abf91c8dbc090b5b6f7b46a8182347b4faf880d31f4c9b31851bc2c2140d5107de9c3448b3ce1b65ab1a
7
- data.tar.gz: '08ed57c31cf021b758f7df1a1e098def0745a5f082fcfdbe15f13d35f3bd7295b04db53c38fb0ff4653a6d3053adcf08d0681af032d0c5923ff49ceb67efda1e'
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 = @context.number_to_currency(column_value(attribute), unit: "")
34
+ str = column_value(attribute).try(:format)
35
35
  else
36
36
  str = column_value(attribute).to_s
37
37
  end
@@ -1,3 +1,3 @@
1
1
  module BootstrapBuilders
2
- VERSION = "0.0.58".freeze
2
+ VERSION = "0.0.59".freeze
3
3
  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.58
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-12 00:00:00.000000000 Z
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.8
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.