thecore_download_documents 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/thecore_download_documents.rb +2 -3
- data/lib/thecore_download_documents/version.rb +1 -1
- 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: 3648f57954858b1320ca0dfe3365927d7a0b9b0e6e46973ba7d5c59aaa6500ab
|
4
|
+
data.tar.gz: eef86c5c6c1083e3c650473d744766c54184f0985fc126f146e343130f6a8437
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1485d21fcf7f958da1fc9c3bf2df988a0d9bb666c2f5a3a4ceb8ae69907ba35d3a6a8a27ce6d29996069b7d37d04a6ffb111c955c4f370c01fdd026fc1598e7
|
7
|
+
data.tar.gz: a9524c3f5275d7380e584eadaeb8316c7ab7ed2c84c83b9980782e2864d5db32b65c8ad3faa4249b29dacde9659521681c936ca12e9335d39db12976f68db142
|
@@ -42,9 +42,8 @@ module ThecoreDownloadDocuments
|
|
42
42
|
|
43
43
|
def self.csv_table rows, table_headers, filename
|
44
44
|
csv = CSV.generate do |row|
|
45
|
-
|
46
|
-
|
47
|
-
row << r.values
|
45
|
+
rows.unshift(table_headers).each do |data|
|
46
|
+
row << data
|
48
47
|
end
|
49
48
|
end
|
50
49
|
|