pointmd_comments 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pointmd_comments/aggregators/main.rb +2 -1
- data/lib/pointmd_comments/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: a24b7ec9ac474cb157789d03ddb9c41270eb58d96578c6c6dca1ad6d68ed7f24
|
4
|
+
data.tar.gz: ea9984f5c43eca94286344ec7ebc83fcac9dba399e7ab13b06a9cc80f88e7083
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28e1ff1042ee11284ae1c2bd87dcc41fbb77b2bc033debb92df912499253977dc83ee17e132febfdfae6aeb71e9e2f664c37864c3e50e8e9243e32668fa20565
|
7
|
+
data.tar.gz: 03f40f717c3919eddfe850e5aa4381b1a90b9053a6f2ae847eec605cb3713ae93410083b38f2d9e28e6e8d85dfcf8ffbb4026c90fa6ce1fb9a2e27c336c7f170
|
@@ -46,7 +46,8 @@ module PointmdComments
|
|
46
46
|
end
|
47
47
|
|
48
48
|
def write_to_csv
|
49
|
-
|
49
|
+
# File#expand_path is needed to process paths like '~/test.txt' => '/Users/me/test.txt'
|
50
|
+
file_path = File.expand_path(output)
|
50
51
|
|
51
52
|
CSV.open(file_path, 'w') do |csv|
|
52
53
|
all_comments.each { |c| csv << c }
|