smilodon 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/smilodon.rb +3 -3
- data/smilodon.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.5
|
data/lib/smilodon.rb
CHANGED
@@ -67,9 +67,9 @@ module Smilodon
|
|
67
67
|
send(before) if before
|
68
68
|
|
69
69
|
rows = parser.parse(read(f))
|
70
|
-
rows.
|
71
|
-
row = rows.shift
|
72
|
-
process(row)
|
70
|
+
rows.each_with_index do |row, index|
|
71
|
+
row = rows.shift if index == 0 && header
|
72
|
+
process(row)
|
73
73
|
end
|
74
74
|
end
|
75
75
|
|
data/smilodon.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smilodon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 5
|
10
|
+
version: 0.2.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Umang Chouhan
|