excel2csv 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/excel2csv.rb +1 -1
- data/lib/excel2csv/version.rb +1 -1
- metadata +19 -9
data/lib/excel2csv.rb
CHANGED
@@ -98,7 +98,7 @@ module Excel2CSV
|
|
98
98
|
f.write(JSON.generate(json))
|
99
99
|
end
|
100
100
|
else
|
101
|
-
java_options = options[:java_options] || "-Dfile.encoding=utf8 -
|
101
|
+
java_options = options[:java_options] || "-Dfile.encoding=utf8 -Xms1024m -Xmx1024m -XX:MaxPermSize=512m"
|
102
102
|
rows_limit = limit ? "-r #{limit}" : ""
|
103
103
|
jar_path = File.join(File.dirname(__FILE__), "excel2csv.jar")
|
104
104
|
`java #{java_options} -jar #{jar_path} #{rows_limit} "#{path}" #{working_folder}`
|
data/lib/excel2csv/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: excel2csv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-04-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,15 @@ dependencies:
|
|
21
21
|
version: '2.8'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '2.8'
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
31
|
name: rake
|
27
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
35
|
- - ! '>='
|
@@ -32,7 +37,12 @@ dependencies:
|
|
32
37
|
version: '0'
|
33
38
|
type: :development
|
34
39
|
prerelease: false
|
35
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
36
46
|
description: gem for converting Excel files to csv
|
37
47
|
email:
|
38
48
|
- yury.korolev@gmail.com
|
@@ -71,7 +81,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
71
81
|
version: '0'
|
72
82
|
segments:
|
73
83
|
- 0
|
74
|
-
hash:
|
84
|
+
hash: 850259092202614848
|
75
85
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
76
86
|
none: false
|
77
87
|
requirements:
|
@@ -80,10 +90,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
90
|
version: '0'
|
81
91
|
segments:
|
82
92
|
- 0
|
83
|
-
hash:
|
93
|
+
hash: 850259092202614848
|
84
94
|
requirements: []
|
85
95
|
rubyforge_project:
|
86
|
-
rubygems_version: 1.8.
|
96
|
+
rubygems_version: 1.8.22
|
87
97
|
signing_key:
|
88
98
|
specification_version: 3
|
89
99
|
summary: extract excel worksheets to csv files
|