excel2csv 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
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 -Xms1024m -Xmx1024m -XX:MaxPermSize=512m"
101
+ java_options = options[:java_options] || "-Dfile.encoding=utf8 -Xms128m -Xmx1024m -XX:MaxPermSize=128m"
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}`
@@ -1,3 +1,3 @@
1
1
  module Excel2CSV
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
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.1
4
+ version: 0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-16 00:00:00.000000000 Z
12
+ date: 2012-04-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -81,7 +81,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  segments:
83
83
  - 0
84
- hash: 850259092202614848
84
+ hash: 432977071024572815
85
85
  required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  none: false
87
87
  requirements:
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  version: '0'
91
91
  segments:
92
92
  - 0
93
- hash: 850259092202614848
93
+ hash: 432977071024572815
94
94
  requirements: []
95
95
  rubyforge_project:
96
96
  rubygems_version: 1.8.22