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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed734a25143470eb58eb8d4689d0e496318e87d1f1ded838027b3240f4b6ac8b
4
- data.tar.gz: 4b2f7d00c1a402282038188d166cbf60ca9ae9f8e9a55e227b49814afafbc7ae
3
+ metadata.gz: 3648f57954858b1320ca0dfe3365927d7a0b9b0e6e46973ba7d5c59aaa6500ab
4
+ data.tar.gz: eef86c5c6c1083e3c650473d744766c54184f0985fc126f146e343130f6a8437
5
5
  SHA512:
6
- metadata.gz: fe5fc98d2223e47773ef2be8b732794b21855c08b3b98781bca9180573a69f75fe7d2e2208b8afebc870209527b2dcb2dfd184ef4528c7716b11c238cd54e4aa
7
- data.tar.gz: '08b507e08f8c6fee494b1093dfaa0d450e5c9f1246cc8da69eb0a5d17232fa3a0c320d4b5b46a9ff22e95241f796d7b356d36c5b832ab7e06e3db4fb86b4e507'
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
- row << table_headers
46
- rows.each do |r|
47
- row << r.values
45
+ rows.unshift(table_headers).each do |data|
46
+ row << data
48
47
  end
49
48
  end
50
49
 
@@ -1,3 +1,3 @@
1
1
  module ThecoreDownloadDocuments
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_download_documents
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni