ccsv 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of ccsv might be problematic. Click here for more details.
- data.tar.gz.sig +1 -3
- data/CHANGELOG +3 -1
- data/Rakefile +1 -1
- data/ccsv.gemspec +3 -3
- data/ext/ccsv.c +4 -3
- data/ext/ccsv.h +0 -1
- metadata +3 -3
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
@@ -1,3 +1 @@
|
|
1
|
-
�
|
2
|
-
���ȧZ�hs
|
3
|
-
�(��l�ѵ9�i{�ڻ��M��+ #����ҷ��iQha��IO��p���i.�#��ECp��~& ns�*�j5P�<�a��&w
|
1
|
+
���V�H��S�����M��z��h�0sCRub�F�2�n?��Qtkl����oM���;*<��I���1����0N�"t���?em^s���ع+x��nXH����i���q|�/Ħ8!�y� s/�4jR�~�^���J�0�Z�*��t����9�R�_2%��Q���R���R=�g A;�`�3�So3�����]�l0/���`����#*��?<Z<�fۣ���$3�,o�R!�T
|
data/CHANGELOG
CHANGED
data/Rakefile
CHANGED
data/ccsv.gemspec
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{ccsv}
|
5
|
-
s.version = "0.1.
|
5
|
+
s.version = "0.1.2"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = [%q{Evan Weaver}]
|
9
9
|
s.cert_chain = [%q{/Users/eweaver/p/configuration/gem_certificates/evan_weaver-original-public_cert.pem}]
|
10
|
-
s.date = %q{2012-02-
|
10
|
+
s.date = %q{2012-02-24}
|
11
11
|
s.description = %q{A pure-C CSV parser.}
|
12
12
|
s.email = %q{}
|
13
13
|
s.extensions = [%q{ext/extconf.rb}]
|
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.homepage = %q{http://github.com/evan/ccsv/}
|
17
17
|
s.rdoc_options = [%q{--line-numbers}, %q{--inline-source}, %q{--title}, %q{Ccsv}, %q{--main}, %q{README.rdoc}]
|
18
18
|
s.require_paths = [%q{lib}, %q{ext}]
|
19
|
-
s.rubyforge_project = %q{
|
19
|
+
s.rubyforge_project = %q{evan}
|
20
20
|
s.rubygems_version = %q{1.8.6}
|
21
21
|
s.signing_key = %q{/Users/eweaver/p/configuration/gem_certificates/evan_weaver-original-private_key.pem}
|
22
22
|
s.summary = %q{A pure-C CSV parser.}
|
data/ext/ccsv.c
CHANGED
@@ -8,13 +8,14 @@ static VALUE foreach(VALUE self, VALUE filename) {
|
|
8
8
|
if (file == NULL)
|
9
9
|
rb_raise(rb_eRuntimeError, "File not found");
|
10
10
|
|
11
|
-
char line
|
11
|
+
char *line = NULL;
|
12
|
+
size_t len = 0;
|
12
13
|
char *token;
|
13
14
|
int idx;
|
14
15
|
|
15
16
|
VALUE ary;
|
16
|
-
|
17
|
-
while (
|
17
|
+
|
18
|
+
while (getline(&line, &len, file) != -1) {
|
18
19
|
ary = rb_ary_new();
|
19
20
|
token = strtok(line, DELIMITERS);
|
20
21
|
idx = 0;
|
data/ext/ccsv.h
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ccsv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -50,7 +50,7 @@ cert_chain:
|
|
50
50
|
-----END CERTIFICATE-----
|
51
51
|
|
52
52
|
'
|
53
|
-
date: 2012-02-
|
53
|
+
date: 2012-02-24 00:00:00.000000000Z
|
54
54
|
dependencies: []
|
55
55
|
description: A pure-C CSV parser.
|
56
56
|
email: ''
|
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
103
|
- !ruby/object:Gem::Version
|
104
104
|
version: '1.2'
|
105
105
|
requirements: []
|
106
|
-
rubyforge_project:
|
106
|
+
rubyforge_project: evan
|
107
107
|
rubygems_version: 1.8.6
|
108
108
|
signing_key:
|
109
109
|
specification_version: 3
|
metadata.gz.sig
CHANGED
Binary file
|