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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 198cd3c27d299997ca927ded8927ca90390751e51f7c21015b27b871915bfc0e
4
- data.tar.gz: 27bb94862cbc8d391c9274fa2e921a10e62adb0d72892a4fb1a0070ec1190e17
3
+ metadata.gz: a24b7ec9ac474cb157789d03ddb9c41270eb58d96578c6c6dca1ad6d68ed7f24
4
+ data.tar.gz: ea9984f5c43eca94286344ec7ebc83fcac9dba399e7ab13b06a9cc80f88e7083
5
5
  SHA512:
6
- metadata.gz: 2cab6853272b96d288ff0ec49b8b3924a884285fde307ecd56549f7d217dda576aa3f5813a85f908ed75c581db4cf2f3ed8d3b1b6d41702554ec81f9af633c1f
7
- data.tar.gz: 56235e2eb248b0a2987b296686af0448be815ab0fc805db12cd8e4559ae73f6f8d799ec106494dd7957e324596790b405965391f56c728a981e903a472f02c0b
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
- file_path = output
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 }
@@ -1,3 +1,3 @@
1
1
  module PointmdComments
2
- VERSION = '0.1.4'.freeze
2
+ VERSION = '0.1.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pointmd_comments
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolai Stoianov