toastyapps-excelsior 0.0.1 → 0.0.2
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.2'
|
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'
|
@@ -51,20 +51,20 @@ static const char _excelsior_scan_index_offsets[] = {
|
|
51
51
|
};
|
52
52
|
|
53
53
|
static const char _excelsior_scan_indicies[] = {
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
54
|
+
2, 0, 0, 0, 0, 1, 4, 3,
|
55
|
+
4, 5, 7, 8, 6, 3, 5, 9,
|
56
|
+
6, 1, 2, 10, 10, 10, 10, 1,
|
57
|
+
7, 11, 0
|
58
58
|
};
|
59
59
|
|
60
60
|
static const char _excelsior_scan_trans_targs[] = {
|
61
|
-
3, 4, 1, 3, 2, 3, 3,
|
62
|
-
|
61
|
+
3, 4, 0, 1, 3, 2, 3, 3,
|
62
|
+
5, 3, 3, 3
|
63
63
|
};
|
64
64
|
|
65
65
|
static const char _excelsior_scan_trans_actions[] = {
|
66
|
-
19, 5, 0, 11, 0, 9, 7,
|
67
|
-
13, 17,
|
66
|
+
19, 5, 0, 0, 11, 0, 9, 7,
|
67
|
+
0, 13, 17, 15
|
68
68
|
};
|
69
69
|
|
70
70
|
static const char _excelsior_scan_to_state_actions[] = {
|
@@ -76,7 +76,7 @@ static const char _excelsior_scan_from_state_actions[] = {
|
|
76
76
|
};
|
77
77
|
|
78
78
|
static const char _excelsior_scan_eof_trans[] = {
|
79
|
-
1, 0, 0, 0,
|
79
|
+
1, 0, 0, 0, 11, 12
|
80
80
|
};
|
81
81
|
|
82
82
|
static const int excelsior_scan_start = 3;
|
@@ -23,7 +23,7 @@ VALUE e_parse(VALUE self, VALUE data) {
|
|
23
23
|
letter = any - delimeter - space - '"' - "'";
|
24
24
|
string = '"' schar1* '"' | "'" schar2* "'";
|
25
25
|
word = letter+;
|
26
|
-
value = word (" " word)*;
|
26
|
+
value = word (" "+ word)*;
|
27
27
|
main := |*
|
28
28
|
newline { rb_ary_push(rows, arr); arr = rb_ary_new(); };
|
29
29
|
space;
|