entable 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@ require 'entable/version'
8
8
  Gem::Specification.new do |gem|
9
9
  gem.name = "entable"
10
10
  gem.version = Entable::VERSION
11
- gem.authors = ["conanite"]
11
+ gem.authors = ["Conan Dalton"]
12
12
  gem.email = ["conan@conandalton.net"]
13
13
  gem.description = %q{Generate HTML tables which popular spreadsheet software packages know how to read }
14
14
  gem.summary = %q{LibreOffice and Microsoft Office are both able to open a HTML file and interpret the contents of the <table> element as a worksheet.
@@ -1,3 +1,3 @@
1
1
  module Entable
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -21,10 +21,6 @@ module Entable::XlsExport
21
21
  raise "unable to convert '#{str}' to #{enc}"
22
22
  end
23
23
 
24
- def write_items_as_csv items
25
- render :text => items.map(&:to_csv).join("\n"), :content_type => "text/csv; charset=ISO-8859-1"
26
- end
27
-
28
24
  def array_for_xls item
29
25
  item.is_a?(Array) ? item : item.to_csv_array
30
26
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: entable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
- - conanite
8
+ - Conan Dalton
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-11 00:00:00.000000000 Z
12
+ date: 2013-06-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec