rdoc-markdown 0.3.2 → 0.3.4

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: 1c30dadc3ff5221117241457c644a8ff437d8aef6d5fedaff3d220b82df99d92
4
- data.tar.gz: e55c385a6f1b086d868347cfddf8ab74f2ead83844aa77a89e43ce56aee80f2c
3
+ metadata.gz: f34bf7fc9e0588740713d04925521cfc098ce43b057c16e55ed9bcfb5b16030f
4
+ data.tar.gz: 2180ab33878a7aa893dd9daded24048319a0670d7c7530789493d41f0fccdd6b
5
5
  SHA512:
6
- metadata.gz: b08d595bc693c5cbd488a1b88e0777db63c4cefa1a9719b79a5f0d9c685a0a8909758fabd38f044299535abe100593baa3ffd89806c4a9369d2abba44269e36f
7
- data.tar.gz: c64f7657fce60464487cae889e7a680b971aea92b39f5dd757cd64194228a8f3ed3ade87119d978654776464d77d565b639314696ee4606f63a6c4d963c0444e
6
+ metadata.gz: 7de709a0032575a1720aa6c99be7ed712471dc02c9c99c5bdcfc2bc8035691d7b633a5431b3575767c648d36b74cf6380e0162085578a59d7367629de902232b
7
+ data.tar.gz: 4c8ff9eef4209d99aa9034ccf0e7ebaca5cc097316127ff24d4875d327595c28731e1dd44f39bb1f4e5367eead1c1348653d8f2cf5bae80d6d94afd093cf6ded
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rdoc-markdown (0.3)
4
+ rdoc-markdown (0.3.3)
5
5
  erb (~> 2.0)
6
6
  extralite-bundle (~> 1.0)
7
7
  rdoc (~> 6.0)
@@ -15,7 +15,7 @@ GEM
15
15
  cgi (0.3.3)
16
16
  erb (2.2.3)
17
17
  cgi
18
- extralite-bundle (1.16)
18
+ extralite-bundle (1.17)
19
19
  json (2.6.2)
20
20
  minitest (5.16.3)
21
21
  nokogiri (1.13.9-arm64-darwin)
@@ -30,7 +30,7 @@ GEM
30
30
  racc (1.6.0)
31
31
  rainbow (3.1.1)
32
32
  rake (13.0.6)
33
- rdiscount (2.2.0.2)
33
+ rdiscount (2.2.7)
34
34
  rdoc (6.4.0)
35
35
  psych (>= 4.0.0)
36
36
  regexp_parser (2.6.0)
@@ -154,9 +154,9 @@ class RDoc::Generator::Markdown
154
154
  out_file = Pathname.new("#{output_dir}/#{turn_to_path klass.full_name}")
155
155
  out_file.dirname.mkpath
156
156
 
157
- result = template.result(binding)
157
+ result = template.result(binding).squeeze.gsub("\n ", "\n").squeeze("\n")
158
158
 
159
- File.write(out_file, result.squeeze("\n"))
159
+ File.write(out_file, result)
160
160
  end
161
161
  end
162
162
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rdoc
4
4
  module Markdown
5
- VERSION = "0.3.2"
5
+ VERSION = "0.3.4"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdoc-markdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stanislav (Stas) Katkov