nebulous 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +34 -0
- data/.rspec +1 -0
- data/.rubocop.yml +265 -0
- data/.travis.yml +5 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +54 -0
- data/LICENSE +22 -0
- data/README.md +29 -0
- data/lib/nebulous.rb +15 -0
- data/lib/nebulous/chunk.rb +14 -0
- data/lib/nebulous/delimiter_detector.rb +68 -0
- data/lib/nebulous/parser.rb +129 -0
- data/lib/nebulous/row.rb +47 -0
- data/lib/nebulous/version.rb +3 -0
- data/nebulous.gemspec +27 -0
- data/spec/nebulous/chunk_spec.rb +6 -0
- data/spec/nebulous/delimiter_detector_spec.rb +161 -0
- data/spec/nebulous/parser_spec.rb +287 -0
- data/spec/nebulous/row_spec.rb +6 -0
- data/spec/spec_helper.rb +7 -0
- data/spec/support/assets/clrf-batches.csv +1001 -0
- data/spec/support/assets/cr-comma-delimited.csv +1 -0
- data/spec/support/assets/cr-lf-comma-delimited.csv +1 -0
- data/spec/support/assets/crlf-comma-delimited.csv +21 -0
- data/spec/support/assets/crlf-dolla-delimited.csv +21 -0
- data/spec/support/assets/crlf-pipe-delimited.csv +21 -0
- data/spec/support/assets/crlf-semicolon-delimited.csv +21 -0
- data/spec/support/assets/crlf-tab-delimited.tsv +21 -0
- data/spec/support/assets/no-headers.csv +20 -0
- metadata +171 -0
@@ -0,0 +1 @@
|
|
1
|
+
First name,Last name,From,Access,Qty
|
@@ -0,0 +1 @@
|
|
1
|
+
First Name, Last Name
|
@@ -0,0 +1,21 @@
|
|
1
|
+
First name,Last name,From,Access,Qty
|
2
|
+
どーもありがとう,ミスター·ロボット,VIP,VIP,2
|
3
|
+
Meghan,Koch,VIP,VIP,5
|
4
|
+
Genoveva,Dare,Zach Graves,vip,5
|
5
|
+
Eulalia,Stiedemann,VIP,GA,2
|
6
|
+
Kaylie,Lakin,Vans,VIP,1
|
7
|
+
Grace,Nienow,Vans,VIP,5
|
8
|
+
Alberto,Upton,Vans,VIP,5
|
9
|
+
Saige,Larson,Fan Club,VIP,4
|
10
|
+
Virginie,Lindgren,Zach Graves,VIP,5 passes
|
11
|
+
Ahmad,Bins,Vans,VIP,4
|
12
|
+
Sydni,Turcotte,Vans,VIP,5
|
13
|
+
Aylin,McLaughlin,Fan Club,GA,1
|
14
|
+
Jimmy,Hoppe,Zach Graves,GA,5
|
15
|
+
Isabell,Hills,Vans,VIP,4
|
16
|
+
Chad,Anderson,Zach Graves,GA,4
|
17
|
+
Arnold,Yundt,VIP,VIP,5
|
18
|
+
Cary,Halvorson,Vans,GA,1
|
19
|
+
Jedidiah,Feest,Zach Graves,GA,0
|
20
|
+
Carol,Reilly,Zach Graves,VIP,2
|
21
|
+
Heidi,Wunsch,Zach Graves,VIP,2 passes
|
@@ -0,0 +1,21 @@
|
|
1
|
+
First name$Last name$From$Access$Qty
|
2
|
+
どーもありがとう$ミスター·ロボット$VIP$VIP$2
|
3
|
+
Meghan$Koch$VIP$VIP$5
|
4
|
+
Genoveva$Dare$Zach Graves$vip$5
|
5
|
+
Eulalia$Stiedemann$VIP$GA$2
|
6
|
+
Kaylie$Lakin$Vans$VIP$1
|
7
|
+
Grace$Nienow$Vans$VIP$5
|
8
|
+
Alberto$Upton$Vans$VIP$5
|
9
|
+
Saige$Larson$Fan Club$VIP$4
|
10
|
+
Virginie$Lindgren$Zach Graves$VIP$5 passes
|
11
|
+
Ahmad$Bins$Vans$VIP$4
|
12
|
+
Sydni$Turcotte$Vans$VIP$5
|
13
|
+
Aylin$McLaughlin$Fan Club$GA$1
|
14
|
+
Jimmy$Hoppe$Zach Graves$GA$5
|
15
|
+
Isabell$Hills$Vans$VIP$4
|
16
|
+
Chad$Anderson$Zach Graves$GA$4
|
17
|
+
Arnold$Yundt$VIP$VIP$5
|
18
|
+
Cary$Halvorson$Vans$GA$1
|
19
|
+
Jedidiah$Feest$Zach Graves$GA$0
|
20
|
+
Carol$Reilly$Zach Graves$VIP$2
|
21
|
+
Heidi$Wunsch$Zach Graves$VIP$2 passes
|
@@ -0,0 +1,21 @@
|
|
1
|
+
First name|Last name|From|Access|Qty
|
2
|
+
どーもありがとう|ミスター·ロボット|VIP|VIP|2
|
3
|
+
Meghan|Koch|VIP|VIP|5
|
4
|
+
Genoveva|Dare|Zach Graves|vip|5
|
5
|
+
Eulalia|Stiedemann|VIP|GA|2
|
6
|
+
Kaylie|Lakin|Vans|VIP|1
|
7
|
+
Grace|Nienow|Vans|VIP|5
|
8
|
+
Alberto|Upton|Vans|VIP|5
|
9
|
+
Saige|Larson|Fan Club|VIP|4
|
10
|
+
Virginie|Lindgren|Zach Graves|VIP|5 passes
|
11
|
+
Ahmad|Bins|Vans|VIP|4
|
12
|
+
Sydni|Turcotte|Vans|VIP|5
|
13
|
+
Aylin|McLaughlin|Fan Club|GA|1
|
14
|
+
Jimmy|Hoppe|Zach Graves|GA|5
|
15
|
+
Isabell|Hills|Vans|VIP|4
|
16
|
+
Chad|Anderson|Zach Graves|GA|4
|
17
|
+
Arnold|Yundt|VIP|VIP|5
|
18
|
+
Cary|Halvorson|Vans|GA|1
|
19
|
+
Jedidiah|Feest|Zach Graves|GA|0
|
20
|
+
Carol|Reilly|Zach Graves|VIP|2
|
21
|
+
Heidi|Wunsch|Zach Graves|VIP|2 passes
|
@@ -0,0 +1,21 @@
|
|
1
|
+
First name;Last name;From;Access;Qty
|
2
|
+
どーもありがとう;ミスター·ロボット;VIP;VIP;2
|
3
|
+
Meghan;Koch;VIP;VIP;5
|
4
|
+
Genoveva;Dare;Zach Graves;vip;5
|
5
|
+
Eulalia;Stiedemann;VIP;GA;2
|
6
|
+
Kaylie;Lakin;Vans;VIP;1
|
7
|
+
Grace;Nienow;Vans;VIP;5
|
8
|
+
Alberto;Upton;Vans;VIP;5
|
9
|
+
Saige;Larson;Fan Club;VIP;4
|
10
|
+
Virginie;Lindgren;Zach Graves;VIP;5 passes
|
11
|
+
Ahmad;Bins;Vans;VIP;4
|
12
|
+
Sydni;Turcotte;Vans;VIP;5
|
13
|
+
Aylin;McLaughlin;Fan Club;GA;1
|
14
|
+
Jimmy;Hoppe;Zach Graves;GA;5
|
15
|
+
Isabell;Hills;Vans;VIP;4
|
16
|
+
Chad;Anderson;Zach Graves;GA;4
|
17
|
+
Arnold;Yundt;VIP;VIP;5
|
18
|
+
Cary;Halvorson;Vans;GA;1
|
19
|
+
Jedidiah;Feest;Zach Graves;GA;0
|
20
|
+
Carol;Reilly;Zach Graves;VIP;2
|
21
|
+
Heidi;Wunsch;Zach Graves;VIP;2 passes
|
@@ -0,0 +1,21 @@
|
|
1
|
+
First name Last name Guest of Access Quantity
|
2
|
+
どーもありがとう ミスター·ロボット VIP VIP 2
|
3
|
+
Meghan Koch VIP VIP 5
|
4
|
+
Genoveva Dare Zach Graves VIP 5
|
5
|
+
Eulalia Stiedemann VIP GA 2
|
6
|
+
Kaylie Lakin Vans VIP 1
|
7
|
+
Grace Nienow Vans VIP 5
|
8
|
+
Alberto Upton Vans VIP 5
|
9
|
+
Saige Larson Fan Club VIP 4
|
10
|
+
Virginie Lindgren Zach Graves VIP 5
|
11
|
+
Ahmad Bins Vans VIP 4
|
12
|
+
Sydni Turcotte Vans VIP 5
|
13
|
+
Aylin McLaughlin Fan Club GA 1
|
14
|
+
Jimmy Hoppe Zach Graves GA 5
|
15
|
+
Isabell Hills Vans VIP 4
|
16
|
+
Chad Anderson Zach Graves GA 4
|
17
|
+
Arnold Yundt VIP VIP 5
|
18
|
+
Cary Halvorson Vans GA 1
|
19
|
+
Jedidiah Feest Zach Graves GA 4
|
20
|
+
Carol Reilly Zach Graves VIP 3
|
21
|
+
Heidi Wunsch Zach Graves VIP 2
|
@@ -0,0 +1,20 @@
|
|
1
|
+
どーもありがとう,ミスター·ロボット,VIP,VIP,2
|
2
|
+
Meghan,Koch,VIP,VIP,5
|
3
|
+
Genoveva,Dare,Zach Graves,vip,5
|
4
|
+
Eulalia,Stiedemann,VIP,GA,2
|
5
|
+
Kaylie,Lakin,Vans,VIP,1
|
6
|
+
Grace,Nienow,Vans,VIP,5
|
7
|
+
Alberto,Upton,Vans,VIP,5
|
8
|
+
Saige,Larson,Fan Club,VIP,4
|
9
|
+
Virginie,Lindgren,Zach Graves,VIP,5 passes
|
10
|
+
Ahmad,Bins,Vans,VIP,4
|
11
|
+
Sydni,Turcotte,Vans,VIP,5
|
12
|
+
Aylin,McLaughlin,Fan Club,GA,1
|
13
|
+
Jimmy,Hoppe,Zach Graves,GA,5
|
14
|
+
Isabell,Hills,Vans,VIP,4
|
15
|
+
Chad,Anderson,Zach Graves,GA,4
|
16
|
+
Arnold,Yundt,VIP,VIP,5
|
17
|
+
Cary,Halvorson,Vans,GA,1
|
18
|
+
Jedidiah,Feest,Zach Graves,GA,0
|
19
|
+
Carol,Reilly,Zach Graves,VIP,2
|
20
|
+
Heidi,Wunsch,Zach Graves,VIP,2 passes
|
metadata
ADDED
@@ -0,0 +1,171 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: nebulous
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Zach Graves
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-03-19 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: cocaine
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.5'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.5'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: activesupport
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.6'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.6'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: byebug
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
description: Read CSV files with substantially less murderous rage!
|
98
|
+
email:
|
99
|
+
- zagraves@gmail.com
|
100
|
+
executables: []
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- ".gitignore"
|
105
|
+
- ".rspec"
|
106
|
+
- ".rubocop.yml"
|
107
|
+
- ".travis.yml"
|
108
|
+
- Gemfile
|
109
|
+
- Gemfile.lock
|
110
|
+
- LICENSE
|
111
|
+
- README.md
|
112
|
+
- lib/nebulous.rb
|
113
|
+
- lib/nebulous/chunk.rb
|
114
|
+
- lib/nebulous/delimiter_detector.rb
|
115
|
+
- lib/nebulous/parser.rb
|
116
|
+
- lib/nebulous/row.rb
|
117
|
+
- lib/nebulous/version.rb
|
118
|
+
- nebulous.gemspec
|
119
|
+
- spec/nebulous/chunk_spec.rb
|
120
|
+
- spec/nebulous/delimiter_detector_spec.rb
|
121
|
+
- spec/nebulous/parser_spec.rb
|
122
|
+
- spec/nebulous/row_spec.rb
|
123
|
+
- spec/spec_helper.rb
|
124
|
+
- spec/support/assets/clrf-batches.csv
|
125
|
+
- spec/support/assets/cr-comma-delimited.csv
|
126
|
+
- spec/support/assets/cr-lf-comma-delimited.csv
|
127
|
+
- spec/support/assets/crlf-comma-delimited.csv
|
128
|
+
- spec/support/assets/crlf-dolla-delimited.csv
|
129
|
+
- spec/support/assets/crlf-pipe-delimited.csv
|
130
|
+
- spec/support/assets/crlf-semicolon-delimited.csv
|
131
|
+
- spec/support/assets/crlf-tab-delimited.tsv
|
132
|
+
- spec/support/assets/no-headers.csv
|
133
|
+
homepage: https://github.com/zachgraves/nebulous
|
134
|
+
licenses:
|
135
|
+
- MIT
|
136
|
+
metadata: {}
|
137
|
+
post_install_message:
|
138
|
+
rdoc_options: []
|
139
|
+
require_paths:
|
140
|
+
- lib
|
141
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
147
|
+
requirements:
|
148
|
+
- - ">="
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: '0'
|
151
|
+
requirements: []
|
152
|
+
rubyforge_project:
|
153
|
+
rubygems_version: 2.2.2
|
154
|
+
signing_key:
|
155
|
+
specification_version: 4
|
156
|
+
summary: Read CSV files with substantially less murderous rage!
|
157
|
+
test_files:
|
158
|
+
- spec/nebulous/chunk_spec.rb
|
159
|
+
- spec/nebulous/delimiter_detector_spec.rb
|
160
|
+
- spec/nebulous/parser_spec.rb
|
161
|
+
- spec/nebulous/row_spec.rb
|
162
|
+
- spec/spec_helper.rb
|
163
|
+
- spec/support/assets/clrf-batches.csv
|
164
|
+
- spec/support/assets/cr-comma-delimited.csv
|
165
|
+
- spec/support/assets/cr-lf-comma-delimited.csv
|
166
|
+
- spec/support/assets/crlf-comma-delimited.csv
|
167
|
+
- spec/support/assets/crlf-dolla-delimited.csv
|
168
|
+
- spec/support/assets/crlf-pipe-delimited.csv
|
169
|
+
- spec/support/assets/crlf-semicolon-delimited.csv
|
170
|
+
- spec/support/assets/crlf-tab-delimited.tsv
|
171
|
+
- spec/support/assets/no-headers.csv
|