csv-utils 0.3.7 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/csv-utils.gemspec +1 -1
- data/lib/csv_utils/csv_report.rb +4 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0847ad28aee7ef73e5bfa9cbd0753e42fed5097ae68bfc2083f6ed2a6d08d66
|
4
|
+
data.tar.gz: '080a53543deadaa49e06616aa9f563818d3a5bbe13b76366f1f795f075be7e41'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8504ec3c569e92e3c7adc141af4077e04085b8befdad8a15c76f05405045dad52821aff1fc26d792eba4d533ea588794d9ab88f96f5c37e2cf7146624090eded
|
7
|
+
data.tar.gz: f4dfa17b0ec81d5923e3ff32978f584a64d567aa8c770dd7b252770f1535ae4eba578dcec105f201ae006929114c90e1615196c6d28ac6fd36bd9a89fb978617
|
data/csv-utils.gemspec
CHANGED
data/lib/csv_utils/csv_report.rb
CHANGED
@@ -15,11 +15,12 @@ module CSVUtils
|
|
15
15
|
csv
|
16
16
|
end
|
17
17
|
|
18
|
-
|
18
|
+
add_headers(headers) if headers
|
19
|
+
|
20
|
+
generate(&block) if block
|
19
21
|
end
|
20
22
|
|
21
|
-
def generate
|
22
|
-
add_headers(headers) if headers
|
23
|
+
def generate
|
23
24
|
yield self
|
24
25
|
close if @must_close
|
25
26
|
end
|