nebulous 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nebulous/row.rb +1 -2
- data/lib/nebulous/version.rb +1 -1
- data/spec/nebulous/row_spec.rb +7 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d178029d741448e75747602a1d1ae846c8d4dd6
|
4
|
+
data.tar.gz: ca2a9c8af4960dd3ab3cc3394fabe8e08993eede
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e689c9d3b236000d651f12a6ce37fb8680aac68ed599c4ff53e1d4eaa534d9b7e396b4caa98e34f187276837c9885111f4af3d755a10086eabb3264eb0f17b54
|
7
|
+
data.tar.gz: ba1941cd6c376dad8d67d4564f59c59db78573e18b0da13a0dd34f4179d6549e1281c06238ab62a3f3b8201ecadd8f27d24451461f0b60353bf30fb6dc563683
|
data/lib/nebulous/row.rb
CHANGED
data/lib/nebulous/version.rb
CHANGED
data/spec/nebulous/row_spec.rb
CHANGED
@@ -35,6 +35,13 @@ describe Nebulous::Row do
|
|
35
35
|
end
|
36
36
|
end
|
37
37
|
|
38
|
+
context 'with empty values' do
|
39
|
+
it 'returns expected parsed result' do
|
40
|
+
row = subject.parse ",Austin, Artisan ", options
|
41
|
+
expect(row).to eq ['', 'Austin', 'Artisan']
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
38
45
|
context 'with malformed csv' do
|
39
46
|
it 'returns expected parsed result' do
|
40
47
|
row = subject.parse 'raw denim, Austin "TX, US", artisan', options
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nebulous
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zach Graves
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocaine
|