chart-candy 0.1.3 → 0.1.4

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: a84ac5a784b1ec36da4f17b8dbab1ed0710290d0
4
- data.tar.gz: a25333da834da1b46c69010ac0748a6df21fc20d
3
+ metadata.gz: f459b752ca09cd1ec3239d2c73676ea5ab842276
4
+ data.tar.gz: a7a1dfe5c633fd103c6867ebf5d777aa658468df
5
5
  SHA512:
6
- metadata.gz: e59db819e794a86cfa9e72963fe3ec0e0c46adbe7f1d071adf102eae647f3ec9293094b7c0d2e81fc5e6f3b77d81ee07551898b1620a1f483da95e42374eb28f
7
- data.tar.gz: 2d3e09034a3a706f975cfc813e4e314a3dd2f0d2ed2cef9f55b48dfa7380d03fd05eaa3626d3278f53acd518094521c3e1e2e5e9e310f24a0d72fa8a021ed3a3
6
+ metadata.gz: 23d47be315f43c743fa82e37843171dd011b7ce0e18563ccce5ea65540267b78d1535d479cea6feea492dcf0ffb9a627ddf9ee4fd53e62cc8cea65c7c6dac382
7
+ data.tar.gz: 0df922b4abff7941d6360017f154399c66fdc5d15d29a3a79117a382fa31dca01840dea916c8b82cddb561a8621f1ab6d858d11d828d4e782cdc89c0f4c64a78
@@ -19,8 +19,8 @@ class ChartCandy::Builder::Base
19
19
  name = [title.parameterize]
20
20
  name << @from.strftime('%Y%m%d') if @from
21
21
  name << @to.strftime('%Y%m%d') if @to
22
-
23
- return name.compact.join('-')
22
+ name = name.compact.join('-')
23
+ "#{name}.xls"
24
24
  end
25
25
 
26
26
  def id
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.3
4
+ version: 0.1.4
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-02-02 00:00:00.000000000 Z
11
+ date: 2015-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: spreadsheet
@@ -131,11 +131,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  version: '0'
132
132
  requirements: []
133
133
  rubyforge_project: chart-candy
134
- rubygems_version: 2.4.5
134
+ rubygems_version: 2.2.0
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: