chart-candy 0.1.4 → 0.1.5

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: f459b752ca09cd1ec3239d2c73676ea5ab842276
4
- data.tar.gz: a7a1dfe5c633fd103c6867ebf5d777aa658468df
3
+ metadata.gz: 2d6c11a5e82197fb2d521a19ad974b678e2715ad
4
+ data.tar.gz: d348fd764a06642900bf2bb6d90969f7eb702544
5
5
  SHA512:
6
- metadata.gz: 23d47be315f43c743fa82e37843171dd011b7ce0e18563ccce5ea65540267b78d1535d479cea6feea492dcf0ffb9a627ddf9ee4fd53e62cc8cea65c7c6dac382
7
- data.tar.gz: 0df922b4abff7941d6360017f154399c66fdc5d15d29a3a79117a382fa31dca01840dea916c8b82cddb561a8621f1ab6d858d11d828d4e782cdc89c0f4c64a78
6
+ metadata.gz: 46137b133aff666f96b533676031c44b7c70d50d1b3b1b36181c12c819604826aa7218642e1de08a85980e8da92074b4920bb2c1213623fbf3fadbd20555a9e6
7
+ data.tar.gz: ff58876cafac9eb57054337b322b5f1851e8b1ce662393b65850bef2290b35df55819570f5c3d26b3828fc3c4409aa2125182229fcc8c18ad154a573bcaac83d
@@ -101,7 +101,7 @@ class ChartCandy::Builder::Line < ChartCandy::Builder::Base
101
101
  end
102
102
 
103
103
  def to_money_format(value)
104
- (BigDecimal.new(value) / 100).round(2)
104
+ (BigDecimal.new(value || 0) / 100).round(2)
105
105
  end
106
106
 
107
107
  def tooltip=(active)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chart-candy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastien Rosa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-02 00:00:00.000000000 Z
11
+ date: 2016-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spreadsheet
@@ -131,10 +131,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  version: '0'
132
132
  requirements: []
133
133
  rubyforge_project: chart-candy
134
- rubygems_version: 2.2.0
134
+ rubygems_version: 2.4.8
135
135
  signing_key:
136
136
  specification_version: 4
137
137
  summary: Chart Candy use D3.js library to quickly render AJAX charts in your Rails
138
138
  project. In a minimum amount of code, you should have a functional chart, styled
139
139
  and good to go.
140
140
  test_files: []
141
+ has_rdoc: