toastyapps-excelsior 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Rakefile
CHANGED
@@ -8,7 +8,7 @@ PKG_FILES = %w(Rakefile) +
|
|
8
8
|
|
9
9
|
gem_spec = Gem::Specification.new do |gem_spec|
|
10
10
|
gem_spec.name = 'excelsior'
|
11
|
-
gem_spec.version = '0.0.
|
11
|
+
gem_spec.version = '0.0.6'
|
12
12
|
gem_spec.summary = 'A Ruby gem that uses C bindings to read CSV files superfast. I\'m totally serial!'
|
13
13
|
gem_spec.description = 'A Ruby gem that uses C bindings to read CSV files superfast. I\'m totally serial!'
|
14
14
|
gem_spec.email = 'matt@toastyapps.com'
|
@@ -89,7 +89,7 @@ VALUE e_rows(int argc, VALUE *argv, VALUE self) {
|
|
89
89
|
rb_scan_args(argc, argv, "1", &io);
|
90
90
|
|
91
91
|
is_io = rb_respond_to(io, s_read);
|
92
|
-
buf = ALLOC_N(char, buffer_size);
|
92
|
+
buf = (char *) malloc(buffer_size); //ALLOC_N(char, buffer_size); <= This caused problems
|
93
93
|
|
94
94
|
|
95
95
|
#line 96 "excelsior_reader.c"
|
@@ -40,7 +40,7 @@ VALUE e_rows(int argc, VALUE *argv, VALUE self) {
|
|
40
40
|
rb_scan_args(argc, argv, "1", &io);
|
41
41
|
|
42
42
|
is_io = rb_respond_to(io, s_read);
|
43
|
-
buf = ALLOC_N(char, buffer_size);
|
43
|
+
buf = (char *) malloc(buffer_size); //ALLOC_N(char, buffer_size); <= This caused problems
|
44
44
|
|
45
45
|
%% write init;
|
46
46
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: toastyapps-excelsior
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Mongeau
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-08-
|
12
|
+
date: 2009-08-23 21:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|