README.md in simple-spreadsheet-0.1.1 vs README.md in simple-spreadsheet-0.2.0
- old
+ new
@@ -1,6 +1,6 @@
-# Simple Spreadsheet
+# Simple Spreadsheet [![Build Status](https://secure.travis-ci.org/zenkay/simple-spreadsheet.png?branch=master)](http://travis-ci.org/zenkay/simple-spreadsheet)
Recently I wrote a module to import raw data from Excel-like files to database and export it in various formats. To accomplish this i have to use different gems with different usage patterns so I decide to wrap them in a single simple gem. This is a spreadsheet reader and writer that (will) supports common formats: CSV (.csv), Excel (.xls, .xlsx), Open-office (.ods) and Google (online).
Used gems:
@@ -32,25 +32,36 @@
Supported formats:
<table>
<tr>
+ <th></th>
<th>Excel (.xls)</th>
<th>Excelx (.xlsx)</th>
<th>Openoffice (.ods)</th>
<th>CSV (.csv)</th>
<th>CSV Excel</th>
<th>CSV Tab Separated</th>
</tr>
<tr>
+ <td>Reading whole file</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
</tr>
+ <tr>
+ <td>Reading line by line</td>
+ <td>Yes</td>
+ <td>-</td>
+ <td>-</td>
+ <td>Yes</td>
+ <td>Yes</td>
+ <td>Yes</td>
+ </tr>
</table>
## Recipes
@@ -90,10 +101,13 @@
### Accessing CSV Tab separated
```ruby
require "simple-spreadsheet"
+# specify format
s = SimpleSpreadsheet::Workbook.read("my_spreadsheets_file.csv", ".csvt")
+# use .tsv
+s = SimpleSpreadsheet::Workbook.read("my_spreadsheets_file.tsv")
```
## Future plans
- Reading support for all formats