nebulous 0.0.7 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nebulous/input/parsing.rb +4 -0
- data/lib/nebulous/parser.rb +5 -0
- data/lib/nebulous/version.rb +1 -1
- data/spec/nebulous/parser_spec.rb +10 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7bd0a6f4d3f113c1f2d6538c030f2c88b750530a
|
4
|
+
data.tar.gz: a740e101add3bc77b8b0640b6bbffb034ca9df4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07905a4a8ab161501018832be757ee6ec8d8b5d737ac4be332ed99bce006aecd8817a6683fc6caa44bf43240295c4d64d4786e596bb388db535e339b741a0753
|
7
|
+
data.tar.gz: b051ab11fb60c9b0130263134c07babb2127cc241a928dfe90c4b9c17fb999d9e33b2afe86e44094d0ec5c5ffa1e6af18e3289aaace4e19fd4063631f2a4ed9f
|
data/lib/nebulous/parser.rb
CHANGED
data/lib/nebulous/version.rb
CHANGED
@@ -25,6 +25,16 @@ describe Nebulous::Parser do
|
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
28
|
+
context '#headers' do
|
29
|
+
context 'around fetching headers' do
|
30
|
+
it 'returns expected headers' do
|
31
|
+
expect(parser.headers).to eq(
|
32
|
+
["First name", "Last name", "From", "Access", "Qty"]
|
33
|
+
)
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
28
38
|
context '#process' do
|
29
39
|
context 'around limits' do
|
30
40
|
let(:parser) { subject.new(path, limit: limit) }
|