excelinator 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +1 -1
- data/lib/excelinator.rb +5 -5
- data/lib/excelinator/version.rb +1 -1
- data/lib/excelinator/xls.rb +1 -1
- metadata +54 -91
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: bafff62f5df22e34c98309cfccc8dc024f3211d0
|
4
|
+
data.tar.gz: 51afb010284703dd28f1a9bdfa64087aa0e0e42a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 503beaa7aa22824725d7d38b643d7a88a6c8dfe130d5d2a066d3f813f4c1edd9a5f4f34cb46ba4f9f746e6da115890ae21087a4f4c37713ff047c40f9ddd595d
|
7
|
+
data.tar.gz: 7f2d06e888baf65ddc8bcfa1cf630db14ae092eb1d27649b725df43776fc9a86b63a78fdb15a6b3a84215e1d265de4226b71b7ea9e35c5b302b30e7eb47f92e1
|
data/README.md
CHANGED
@@ -122,7 +122,7 @@ pushed it up there yet.
|
|
122
122
|
This gem uses `spreadsheet` under the covers. There are also others that
|
123
123
|
support a wide variety of Excel features:
|
124
124
|
|
125
|
-
-
|
125
|
+
- https://github.com/zdavatz/spreadsheet
|
126
126
|
- http://surpass.ananelson.com/
|
127
127
|
- https://github.com/randym/axlsx
|
128
128
|
|
data/lib/excelinator.rb
CHANGED
@@ -3,14 +3,14 @@ require 'excelinator/rails'
|
|
3
3
|
require 'excelinator/version'
|
4
4
|
require 'spreadsheet'
|
5
5
|
|
6
|
-
def
|
7
|
-
RUBY_VERSION
|
6
|
+
def old_ruby?
|
7
|
+
RUBY_VERSION.to_f < 1.9
|
8
8
|
end
|
9
9
|
|
10
|
-
if
|
11
|
-
require 'csv'
|
12
|
-
else
|
10
|
+
if old_ruby?
|
13
11
|
require 'fastercsv'
|
12
|
+
else
|
13
|
+
require 'csv'
|
14
14
|
end
|
15
15
|
|
16
16
|
if defined?(Rails)
|
data/lib/excelinator/version.rb
CHANGED
data/lib/excelinator/xls.rb
CHANGED
metadata
CHANGED
@@ -1,92 +1,66 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: excelinator
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 1
|
9
|
-
- 0
|
10
|
-
version: 1.1.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.2.0
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- chrismo
|
14
8
|
- jwhitmire
|
15
9
|
autorequire:
|
16
10
|
bindir: bin
|
17
11
|
cert_chain: []
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2014-03-14 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
22
15
|
name: spreadsheet
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 23
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
- 6
|
32
|
-
- 8
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - '='
|
19
|
+
- !ruby/object:Gem::Version
|
33
20
|
version: 0.6.8
|
34
21
|
type: :runtime
|
35
|
-
requirement: *id001
|
36
22
|
prerelease: false
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
hash: 3
|
45
|
-
segments:
|
46
|
-
- 0
|
47
|
-
version: "0"
|
48
|
-
type: :runtime
|
49
|
-
requirement: *id002
|
50
|
-
prerelease: false
|
51
|
-
- !ruby/object:Gem::Dependency
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - '='
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: 0.6.8
|
28
|
+
- !ruby/object:Gem::Dependency
|
52
29
|
name: rake
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
hash: 3
|
59
|
-
segments:
|
60
|
-
- 0
|
61
|
-
version: "0"
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - '>='
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
62
35
|
type: :development
|
63
|
-
requirement: *id003
|
64
36
|
prerelease: false
|
65
|
-
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - '>='
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
66
43
|
name: rspec
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
hash: 3
|
73
|
-
segments:
|
74
|
-
- 0
|
75
|
-
version: "0"
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - '>='
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '0'
|
76
49
|
type: :development
|
77
|
-
requirement: *id004
|
78
50
|
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
79
56
|
description: convert your csv data and html tables to excel data
|
80
|
-
email:
|
57
|
+
email:
|
81
58
|
- chrismo@clabs.org
|
82
59
|
- jeff@jwhitmire.com
|
83
60
|
executables: []
|
84
|
-
|
85
61
|
extensions: []
|
86
|
-
|
87
62
|
extra_rdoc_files: []
|
88
|
-
|
89
|
-
files:
|
63
|
+
files:
|
90
64
|
- README.md
|
91
65
|
- lib/excelinator.rb
|
92
66
|
- lib/excelinator/rails.rb
|
@@ -94,36 +68,25 @@ files:
|
|
94
68
|
- lib/excelinator/xls.rb
|
95
69
|
homepage: https://github.com/livingsocial/excelinator
|
96
70
|
licenses: []
|
97
|
-
|
71
|
+
metadata: {}
|
98
72
|
post_install_message:
|
99
73
|
rdoc_options: []
|
100
|
-
|
101
|
-
require_paths:
|
74
|
+
require_paths:
|
102
75
|
- lib
|
103
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
none: false
|
114
|
-
requirements:
|
115
|
-
- - ">="
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
hash: 3
|
118
|
-
segments:
|
119
|
-
- 0
|
120
|
-
version: "0"
|
76
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - '>='
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '0'
|
81
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
82
|
+
requirements:
|
83
|
+
- - '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
121
86
|
requirements: []
|
122
|
-
|
123
87
|
rubyforge_project:
|
124
|
-
rubygems_version:
|
88
|
+
rubygems_version: 2.0.2
|
125
89
|
signing_key:
|
126
|
-
specification_version:
|
90
|
+
specification_version: 4
|
127
91
|
summary: Excel Converter
|
128
92
|
test_files: []
|
129
|
-
|