toastyapps-excelsior 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
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.1'
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
- 0, 0, 0, 0, 0, 1, 3, 2,
55
- 3, 4, 6, 7, 5, 2, 4, 8,
56
- 5, 1, 10, 9, 9, 9, 9, 1,
57
- 6, 11, 0
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, 5,
62
- 3, 3, 0, 3
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, 0,
67
- 13, 17, 0, 15
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, 10, 12
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;
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.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Mongeau