simple-spreadsheet 0.3.1 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +13 -3
- data/Gemfile.lock +109 -25
- data/README.md +22 -14
- data/lib/simple-spreadsheet.rb +10 -8
- data/lib/simple-spreadsheet/classes/csv_extended.rb +5 -3
- data/lib/simple-spreadsheet/classes/csvt_extended.rb +5 -46
- data/lib/simple-spreadsheet/classes/csvx_extended.rb +5 -46
- data/lib/simple-spreadsheet/modules/roo_module.rb +9 -8
- data/lib/simple-spreadsheet/readers/openoffice_reader.rb +1 -1
- data/lib/simple-spreadsheet/version.rb +1 -1
- data/simple-spreadsheet.gemspec +6 -5
- data/spec/fixtures/file.xls +0 -0
- data/spec/simple-spreadsheet_csvt_spec.rb +1 -3
- data/spec/simple-spreadsheet_spec.rb +6 -2
- metadata +36 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9992270f4b1a9634eea54020454e8d0f228acf4
|
4
|
+
data.tar.gz: 98499b33068aed25dc0030f8d346d90ad1beb3f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 394429eafa9a83bc8a3367a82dbd2fbe85bb10e395f6d8892401f0621a634049a90b26eaa4f85ca75544358ef78eaf0355919f709babc0f9ea911ebdab868de8
|
7
|
+
data.tar.gz: 894194674acedbf5442ce273561f934159c9e152178db2efc0f53fd271bb61d9c00ad81dc1af97f85dda42ffb122e2aa88517f174b98892d65390dc3cc61ad68
|
data/.travis.yml
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
|
-
- 1.9.3
|
4
|
-
- 2.0.0
|
5
|
-
- 2.1
|
3
|
+
- ruby-1.9.3
|
4
|
+
- ruby-2.0.0
|
5
|
+
- ruby-2.1.5
|
6
|
+
- ruby-2.2.1
|
7
|
+
- jruby
|
8
|
+
- rbx-2.4.1
|
9
|
+
- rbx-2.5.2
|
10
|
+
allow_failures:
|
11
|
+
- jruby
|
12
|
+
- rbx-2.4.1
|
13
|
+
- rbx-2.5.2
|
14
|
+
before_install: gem install bundler -v 1.10.5
|
15
|
+
sudo: false
|
data/Gemfile.lock
CHANGED
@@ -1,41 +1,125 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
simple-spreadsheet (0.
|
5
|
-
roo (
|
6
|
-
|
7
|
-
|
4
|
+
simple-spreadsheet (0.4.1)
|
5
|
+
roo (~> 2.1)
|
6
|
+
roo-google (~> 1.0)
|
7
|
+
roo-xls (~> 1.0)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: http://rubygems.org/
|
11
11
|
specs:
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
activesupport (4.2.3)
|
13
|
+
i18n (~> 0.7)
|
14
|
+
json (~> 1.7, >= 1.7.7)
|
15
|
+
minitest (~> 5.1)
|
16
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
17
|
+
tzinfo (~> 1.1)
|
18
|
+
addressable (2.3.8)
|
19
|
+
autoparse (0.3.3)
|
20
|
+
addressable (>= 2.3.1)
|
21
|
+
extlib (>= 0.9.15)
|
22
|
+
multi_json (>= 1.0.0)
|
23
|
+
diff-lcs (1.2.5)
|
24
|
+
extlib (0.9.16)
|
25
|
+
faraday (0.9.1)
|
26
|
+
multipart-post (>= 1.2, < 3)
|
27
|
+
google-api-client (0.8.6)
|
28
|
+
activesupport (>= 3.2)
|
29
|
+
addressable (~> 2.3)
|
30
|
+
autoparse (~> 0.3)
|
31
|
+
extlib (~> 0.9)
|
32
|
+
faraday (~> 0.9)
|
33
|
+
googleauth (~> 0.3)
|
34
|
+
launchy (~> 2.4)
|
35
|
+
multi_json (~> 1.10)
|
36
|
+
retriable (~> 1.4)
|
37
|
+
signet (~> 0.6)
|
38
|
+
google_drive (1.0.1)
|
39
|
+
google-api-client (>= 0.7.0)
|
40
|
+
nokogiri (>= 1.4.4, != 1.5.2, != 1.5.1)
|
41
|
+
oauth (>= 0.3.6)
|
42
|
+
oauth2 (>= 0.5.0)
|
43
|
+
googleauth (0.4.1)
|
44
|
+
faraday (~> 0.9)
|
45
|
+
jwt (~> 1.4)
|
46
|
+
logging (~> 2.0)
|
47
|
+
memoist (~> 0.12)
|
48
|
+
multi_json (= 1.11)
|
49
|
+
signet (~> 0.6)
|
50
|
+
i18n (0.7.0)
|
51
|
+
json (1.8.3)
|
52
|
+
jwt (1.5.1)
|
53
|
+
launchy (2.4.3)
|
54
|
+
addressable (~> 2.3)
|
55
|
+
little-plugger (1.1.3)
|
56
|
+
logging (2.0.0)
|
57
|
+
little-plugger (~> 1.1)
|
58
|
+
multi_json (~> 1.10)
|
59
|
+
memoist (0.12.0)
|
60
|
+
mini_portile (0.6.2)
|
61
|
+
minitest (5.7.0)
|
62
|
+
multi_json (1.11.0)
|
63
|
+
multi_xml (0.5.5)
|
64
|
+
multipart-post (2.0.0)
|
65
|
+
nokogiri (1.6.6.2)
|
15
66
|
mini_portile (~> 0.6.0)
|
16
|
-
|
17
|
-
|
67
|
+
oauth (0.4.7)
|
68
|
+
oauth2 (1.0.0)
|
69
|
+
faraday (>= 0.8, < 0.10)
|
70
|
+
jwt (~> 1.0)
|
71
|
+
multi_json (~> 1.3)
|
72
|
+
multi_xml (~> 0.5)
|
73
|
+
rack (~> 1.2)
|
74
|
+
rack (1.6.4)
|
75
|
+
rake (10.4.2)
|
76
|
+
retriable (1.4.1)
|
77
|
+
roo (2.1.1)
|
78
|
+
nokogiri (~> 1)
|
79
|
+
rubyzip (~> 1.1, < 2.0.0)
|
80
|
+
roo-google (1.0.0)
|
81
|
+
google_drive (~> 1)
|
82
|
+
roo (>= 2.0.0beta1, < 3)
|
83
|
+
roo-xls (1.0.0)
|
18
84
|
nokogiri
|
19
|
-
|
20
|
-
spreadsheet (> 0.
|
21
|
-
rspec (
|
22
|
-
rspec-core (~>
|
23
|
-
rspec-expectations (~>
|
24
|
-
rspec-mocks (~>
|
25
|
-
rspec-core (
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
85
|
+
roo (>= 2.0.0beta1, < 3)
|
86
|
+
spreadsheet (> 0.9.0)
|
87
|
+
rspec (3.3.0)
|
88
|
+
rspec-core (~> 3.3.0)
|
89
|
+
rspec-expectations (~> 3.3.0)
|
90
|
+
rspec-mocks (~> 3.3.0)
|
91
|
+
rspec-core (3.3.1)
|
92
|
+
rspec-support (~> 3.3.0)
|
93
|
+
rspec-expectations (3.3.0)
|
94
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
95
|
+
rspec-support (~> 3.3.0)
|
96
|
+
rspec-mocks (3.3.1)
|
97
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
98
|
+
rspec-support (~> 3.3.0)
|
99
|
+
rspec-support (3.3.0)
|
100
|
+
ruby-ole (1.2.11.8)
|
101
|
+
rubyzip (1.1.7)
|
102
|
+
signet (0.6.1)
|
103
|
+
addressable (~> 2.3)
|
104
|
+
extlib (~> 0.9)
|
105
|
+
faraday (~> 0.9)
|
106
|
+
jwt (~> 1.5)
|
107
|
+
multi_json (~> 1.10)
|
108
|
+
spreadsheet (1.0.4)
|
33
109
|
ruby-ole (>= 1.0)
|
110
|
+
thread_safe (0.3.5)
|
111
|
+
tzinfo (1.2.2)
|
112
|
+
thread_safe (~> 0.1)
|
34
113
|
|
35
114
|
PLATFORMS
|
115
|
+
java
|
36
116
|
ruby
|
37
117
|
|
38
118
|
DEPENDENCIES
|
39
|
-
|
40
|
-
|
119
|
+
bundler (~> 1.10)
|
120
|
+
rake (~> 10.1)
|
121
|
+
rspec (~> 3.3)
|
41
122
|
simple-spreadsheet!
|
123
|
+
|
124
|
+
BUNDLED WITH
|
125
|
+
1.10.6
|
data/README.md
CHANGED
@@ -1,24 +1,24 @@
|
|
1
|
-
# Simple Spreadsheet
|
1
|
+
# Simple Spreadsheet
|
2
2
|
|
3
|
-
|
3
|
+
[![Code Climate](https://codeclimate.com/github/zenkay/simple-spreadsheet/badges/gpa.svg)](https://codeclimate.com/github/zenkay/simple-spreadsheet) [![Travis CI](https://travis-ci.org/zenkay/simple-spreadsheet.svg?branch=master)](https://travis-ci.org/zenkay/simple-spreadsheet) [![Gem Version](https://badge.fury.io/rb/dandelionapi.svg)](http://badge.fury.io/rb/dandelionapi) [![Coverage Status](https://coveralls.io/repos/github/zenkay/simple-spreadsheet/badge.svg?branch=master)](https://coveralls.io/github/zenkay/simple-spreadsheet?branch=master)
|
4
4
|
|
5
|
-
|
5
|
+
A spreadsheet reader and (in the future) writer that supports common formats: CSV (.csv), Excel (.xls, .xlsx), Open-office (.ods) and Google (online).
|
6
6
|
|
7
|
-
|
8
|
-
- Spreadsheet (http://spreadsheet.ch/)
|
9
|
-
- RubyXL (https://github.com/gilt/rubyXL)
|
7
|
+
## Installation
|
10
8
|
|
11
|
-
|
9
|
+
Add this line to your application's Gemfile:
|
12
10
|
|
13
|
-
|
11
|
+
```
|
12
|
+
gem 'simple-spreadsheet'
|
13
|
+
```
|
14
14
|
|
15
|
-
|
16
|
-
gem "simple-spreadsheet"
|
17
|
-
```
|
18
|
-
|
19
|
-
**N.B. Tested only with Ruby 1.9.2.**
|
15
|
+
And then execute:
|
20
16
|
|
21
|
-
|
17
|
+
```
|
18
|
+
$ bundle install
|
19
|
+
```
|
20
|
+
|
21
|
+
## Functionalities
|
22
22
|
|
23
23
|
### Reading Spreadsheet
|
24
24
|
|
@@ -116,3 +116,11 @@ s = SimpleSpreadsheet::Workbook.read("my_spreadsheets_file.tsv")
|
|
116
116
|
- Writing support for all formats
|
117
117
|
- More reading functionalities
|
118
118
|
- Edit support for all formats
|
119
|
+
|
120
|
+
## Credits
|
121
|
+
|
122
|
+
- Roo (http://roo.rubyforge.org/)
|
123
|
+
- Spreadsheet (http://rubyforge.org/projects/spreadsheet/)
|
124
|
+
- SimpleZSLWriter (http://rubyforge.org/projects/simplxlsxwriter/)
|
125
|
+
- XLSX (http://rubygems.org/gems/xlsx)
|
126
|
+
- WriteExcel (https://github.com/cxn03651/writeexcel/)
|
data/lib/simple-spreadsheet.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require "simple-spreadsheet/version"
|
2
2
|
require 'roo'
|
3
|
+
require 'roo-xls'
|
3
4
|
|
4
5
|
module SimpleSpreadsheet
|
5
6
|
|
@@ -8,22 +9,23 @@ module SimpleSpreadsheet
|
|
8
9
|
class Workbook
|
9
10
|
|
10
11
|
def self.read(file, ext = nil)
|
11
|
-
|
12
|
+
file = file.to_s
|
13
|
+
ext ||= File.extname(file)
|
12
14
|
case ext
|
13
15
|
when '.xls'
|
14
|
-
|
16
|
+
ExcelReader.new(file)
|
15
17
|
when '.xlsx'
|
16
|
-
|
18
|
+
ExcelxReader.new(file)
|
17
19
|
when '.ods'
|
18
|
-
|
20
|
+
OpenofficeReader.new(file)
|
19
21
|
when '.csv'
|
20
|
-
|
22
|
+
CsvReader.new(file)
|
21
23
|
when '.csvx'
|
22
|
-
|
24
|
+
CsvxReader.new(file)
|
23
25
|
when '.csvt', '.tsv'
|
24
|
-
|
26
|
+
CsvtReader.new(file)
|
25
27
|
else
|
26
|
-
|
28
|
+
nil
|
27
29
|
end
|
28
30
|
end
|
29
31
|
|
@@ -1,11 +1,13 @@
|
|
1
1
|
class CsvExtended < Roo::CSV
|
2
|
+
def initialize(path)
|
3
|
+
super(path, csv_options: { col_sep: "," })
|
4
|
+
end
|
2
5
|
|
3
6
|
def foreach(sheet = nil, &block)
|
4
7
|
index = 1
|
5
|
-
CSV.foreach(@filename,
|
8
|
+
CSV.foreach(@filename, csv_options) do |row|
|
6
9
|
yield(row, index)
|
7
10
|
index += 1
|
8
11
|
end
|
9
12
|
end
|
10
|
-
|
11
|
-
end
|
13
|
+
end
|
@@ -1,54 +1,13 @@
|
|
1
1
|
class CsvtExtended < Roo::CSV
|
2
|
+
def initialize(path)
|
3
|
+
super(path, csv_options: { col_sep: "\t" })
|
4
|
+
end
|
2
5
|
|
3
6
|
def foreach(sheet = nil, &block)
|
4
7
|
index = 1
|
5
|
-
CSV.foreach(@filename,
|
8
|
+
CSV.foreach(@filename, csv_options) do |row|
|
6
9
|
yield(row, index)
|
7
10
|
index += 1
|
8
11
|
end
|
9
12
|
end
|
10
|
-
|
11
|
-
def read_cells(sheet=nil)
|
12
|
-
sheet ||= @default_sheet
|
13
|
-
return if @cells_read[sheet]
|
14
|
-
@first_row[sheet] = 1
|
15
|
-
@last_row[sheet] = 0
|
16
|
-
@first_column[sheet] = 1
|
17
|
-
@last_column[sheet] = 1
|
18
|
-
rownum = 1
|
19
|
-
each_row csv_options.merge(col_sep: "\t") do |row|
|
20
|
-
row.each_with_index do |elem,i|
|
21
|
-
@cell[[rownum,i+1]] = cell_postprocessing rownum,i+1, elem
|
22
|
-
@cell_type[[rownum,i+1]] = celltype_class @cell[[rownum,i+1]]
|
23
|
-
if i+1 > @last_column[sheet]
|
24
|
-
@last_column[sheet] += 1
|
25
|
-
end
|
26
|
-
end
|
27
|
-
rownum += 1
|
28
|
-
@last_row[sheet] += 1
|
29
|
-
end
|
30
|
-
@cells_read[sheet] = true
|
31
|
-
#-- adjust @first_row if neccessary
|
32
|
-
while !row(@first_row[sheet]).any? and @first_row[sheet] < @last_row[sheet]
|
33
|
-
@first_row[sheet] += 1
|
34
|
-
end
|
35
|
-
#-- adjust @last_row if neccessary
|
36
|
-
while !row(@last_row[sheet]).any? and @last_row[sheet] and
|
37
|
-
@last_row[sheet] > @first_row[sheet]
|
38
|
-
@last_row[sheet] -= 1
|
39
|
-
end
|
40
|
-
#-- adjust @first_column if neccessary
|
41
|
-
while !column(@first_column[sheet]).any? and
|
42
|
-
@first_column[sheet] and
|
43
|
-
@first_column[sheet] < @last_column[sheet]
|
44
|
-
@first_column[sheet] += 1
|
45
|
-
end
|
46
|
-
#-- adjust @last_column if neccessary
|
47
|
-
while !column(@last_column[sheet]).any? and
|
48
|
-
@last_column[sheet] and
|
49
|
-
@last_column[sheet] > @first_column[sheet]
|
50
|
-
@last_column[sheet] -= 1
|
51
|
-
end
|
52
|
-
end
|
53
|
-
|
54
|
-
end
|
13
|
+
end
|
@@ -1,54 +1,13 @@
|
|
1
1
|
class CsvxExtended < Roo::CSV
|
2
|
+
def initialize(path)
|
3
|
+
super(path, csv_options: { col_sep: ";" })
|
4
|
+
end
|
2
5
|
|
3
6
|
def foreach(sheet = nil, &block)
|
4
7
|
index = 1
|
5
|
-
CSV.foreach(@filename,
|
8
|
+
CSV.foreach(@filename, csv_options) do |row|
|
6
9
|
yield(row, index)
|
7
10
|
index += 1
|
8
11
|
end
|
9
12
|
end
|
10
|
-
|
11
|
-
def read_cells(sheet=nil)
|
12
|
-
sheet ||= @default_sheet
|
13
|
-
return if @cells_read[sheet]
|
14
|
-
@first_row[sheet] = 1
|
15
|
-
@last_row[sheet] = 0
|
16
|
-
@first_column[sheet] = 1
|
17
|
-
@last_column[sheet] = 1
|
18
|
-
rownum = 1
|
19
|
-
each_row csv_options.merge(col_sep: ";") do |row|
|
20
|
-
row.each_with_index do |elem,i|
|
21
|
-
@cell[[rownum,i+1]] = cell_postprocessing rownum,i+1, elem
|
22
|
-
@cell_type[[rownum,i+1]] = celltype_class @cell[[rownum,i+1]]
|
23
|
-
if i+1 > @last_column[sheet]
|
24
|
-
@last_column[sheet] += 1
|
25
|
-
end
|
26
|
-
end
|
27
|
-
rownum += 1
|
28
|
-
@last_row[sheet] += 1
|
29
|
-
end
|
30
|
-
@cells_read[sheet] = true
|
31
|
-
#-- adjust @first_row if neccessary
|
32
|
-
while !row(@first_row[sheet]).any? and @first_row[sheet] < @last_row[sheet]
|
33
|
-
@first_row[sheet] += 1
|
34
|
-
end
|
35
|
-
#-- adjust @last_row if neccessary
|
36
|
-
while !row(@last_row[sheet]).any? and @last_row[sheet] and
|
37
|
-
@last_row[sheet] > @first_row[sheet]
|
38
|
-
@last_row[sheet] -= 1
|
39
|
-
end
|
40
|
-
#-- adjust @first_column if neccessary
|
41
|
-
while !column(@first_column[sheet]).any? and
|
42
|
-
@first_column[sheet] and
|
43
|
-
@first_column[sheet] < @last_column[sheet]
|
44
|
-
@first_column[sheet] += 1
|
45
|
-
end
|
46
|
-
#-- adjust @last_column if neccessary
|
47
|
-
while !column(@last_column[sheet]).any? and
|
48
|
-
@last_column[sheet] and
|
49
|
-
@last_column[sheet] > @first_column[sheet]
|
50
|
-
@last_column[sheet] -= 1
|
51
|
-
end
|
52
|
-
end
|
53
|
-
|
54
|
-
end
|
13
|
+
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module RooModule
|
2
|
-
|
2
|
+
|
3
3
|
def sheets
|
4
4
|
@engine.sheets
|
5
5
|
end
|
@@ -11,24 +11,25 @@ module RooModule
|
|
11
11
|
@engine.default_sheet = sheet
|
12
12
|
end
|
13
13
|
end
|
14
|
-
|
14
|
+
|
15
15
|
def first_row
|
16
16
|
1
|
17
17
|
end
|
18
|
-
|
18
|
+
|
19
19
|
def last_row
|
20
20
|
@engine.last_row
|
21
21
|
end
|
22
|
-
|
22
|
+
|
23
23
|
def first_column
|
24
24
|
@engine.first_column
|
25
25
|
end
|
26
|
-
|
26
|
+
|
27
27
|
def last_column
|
28
28
|
@engine.last_column
|
29
29
|
end
|
30
|
-
|
30
|
+
|
31
31
|
def cell(row, col, sheet=nil)
|
32
|
+
sheet = @engine.default_sheet if sheet.nil?
|
32
33
|
if sheet.is_a? Integer
|
33
34
|
@engine.cell(row, col, @engine.sheets[sheet - 1])
|
34
35
|
else
|
@@ -43,5 +44,5 @@ module RooModule
|
|
43
44
|
@engine.celltype(row, col, sheet)
|
44
45
|
end
|
45
46
|
end
|
46
|
-
|
47
|
-
end
|
47
|
+
|
48
|
+
end
|
data/simple-spreadsheet.gemspec
CHANGED
@@ -16,9 +16,10 @@ Gem::Specification.new do |gem|
|
|
16
16
|
gem.version = SimpleSpreadsheet::VERSION
|
17
17
|
|
18
18
|
# specify any dependencies here; for example:
|
19
|
-
gem.add_development_dependency "
|
20
|
-
gem.add_development_dependency "rake", "~>
|
21
|
-
gem.
|
22
|
-
gem.add_runtime_dependency "
|
23
|
-
gem.add_runtime_dependency "
|
19
|
+
gem.add_development_dependency "bundler", "~> 1.10"
|
20
|
+
gem.add_development_dependency "rake", "~> 10.1"
|
21
|
+
gem.add_development_dependency "rspec","~> 3.3"
|
22
|
+
gem.add_runtime_dependency "roo", "~> 2.1"
|
23
|
+
gem.add_runtime_dependency "roo-xls", "~> 1.0"
|
24
|
+
gem.add_runtime_dependency "roo-google", "~> 1.0"
|
24
25
|
end
|
data/spec/fixtures/file.xls
CHANGED
Binary file
|
@@ -2,7 +2,6 @@
|
|
2
2
|
require 'spec_helper'
|
3
3
|
|
4
4
|
describe SimpleSpreadsheet do
|
5
|
-
|
6
5
|
describe "Open CSV (.csvt) file read-only mode" do
|
7
6
|
before do
|
8
7
|
@workbook = SimpleSpreadsheet::Workbook.read(File.join(File.dirname(__FILE__), "fixtures/file.csvt"))
|
@@ -36,5 +35,4 @@ describe SimpleSpreadsheet do
|
|
36
35
|
end
|
37
36
|
end
|
38
37
|
end
|
39
|
-
|
40
|
-
end
|
38
|
+
end
|
@@ -2,6 +2,10 @@
|
|
2
2
|
require 'spec_helper'
|
3
3
|
|
4
4
|
describe SimpleSpreadsheet do
|
5
|
-
|
6
|
-
|
5
|
+
let(:xls_file) { File.expand_path '../fixtures/file.xlsx', __FILE__ }
|
6
|
+
let(:file_path) { Pathname.new xls_file }
|
7
|
+
|
8
|
+
it 'allows pathnames as filename argument without raising exception' do
|
9
|
+
expect { SimpleSpreadsheet::Workbook.read(file_path) }.to_not raise_error(NoMethodError)
|
10
|
+
end
|
7
11
|
end
|
metadata
CHANGED
@@ -1,85 +1,99 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple-spreadsheet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrea Mostosi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '1.10'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: '1.10'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: '10.1'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: '10.1'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.3'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.3'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: roo
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
|
-
- - "
|
59
|
+
- - "~>"
|
46
60
|
- !ruby/object:Gem::Version
|
47
|
-
version: '1
|
61
|
+
version: '2.1'
|
48
62
|
type: :runtime
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
|
-
- - "
|
66
|
+
- - "~>"
|
53
67
|
- !ruby/object:Gem::Version
|
54
|
-
version: '1
|
68
|
+
version: '2.1'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
70
|
+
name: roo-xls
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
|
-
- -
|
73
|
+
- - "~>"
|
60
74
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0
|
75
|
+
version: '1.0'
|
62
76
|
type: :runtime
|
63
77
|
prerelease: false
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
65
79
|
requirements:
|
66
|
-
- -
|
80
|
+
- - "~>"
|
67
81
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0
|
82
|
+
version: '1.0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
84
|
+
name: roo-google
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
|
-
- -
|
87
|
+
- - "~>"
|
74
88
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.
|
89
|
+
version: '1.0'
|
76
90
|
type: :runtime
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
|
-
- -
|
94
|
+
- - "~>"
|
81
95
|
- !ruby/object:Gem::Version
|
82
|
-
version: 1.
|
96
|
+
version: '1.0'
|
83
97
|
description: 'Simple spreadsheet reader for common formats: Excel (.xls, .xlsx), Open-office
|
84
98
|
(.ods) and some CSV (standard, excel, tab separated). Future versions: writing and
|
85
99
|
more formats.'
|
@@ -161,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
161
175
|
version: '0'
|
162
176
|
requirements: []
|
163
177
|
rubyforge_project:
|
164
|
-
rubygems_version: 2.
|
178
|
+
rubygems_version: 2.4.6
|
165
179
|
signing_key:
|
166
180
|
specification_version: 4
|
167
181
|
summary: Read and write most common spreadsheet format
|