rdoc-markdown 0.12.0 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 575534e13c6e1b37284625867c6d57661f8af184308ce3a926b482025d964248
4
- data.tar.gz: 68165f940dd78b6da93cea34cf0ed52b85c25d9616226326959e1dd66dcbbe8e
3
+ metadata.gz: c69484c517e3582906e6847cbb162a7847ad29446856197a5f65972071c21d24
4
+ data.tar.gz: f646046107985a70925df0794921c5451c514be069827762a296b9763a27bd81
5
5
  SHA512:
6
- metadata.gz: 1e9cd00c3f59f79153e01fb666801615d9a30c486c3c3bdf10c0e73e7118b2badda559e661f2f73cb9741fc6b2e6a8d44946a4ff3210f4ee1e74acf44a82c5b6
7
- data.tar.gz: faef36b7139ea5ffd5f2b959aaf522e47cc254f54bf3a1622ccb56c64936bb4e22b5c17cb8f2d323ad6b5691b32c63d8586cf71c756cabb4136568d5a78663b2
6
+ metadata.gz: 79dce45ea46f3c5baa04488ea729e280196cb1b73cf48d1857c8227d67cf9d8ec2eb2d5d3dd69ced241d06c0b91ba91d817fcf4cbd0d7d6de22f05e709f3e0a0
7
+ data.tar.gz: 44cd9cf4996a79fee5c56b19fa3779aed7e19a165a0576f350399560259b89f82e615c0911f7a1ce00087b860f1494499c7c00230dc486da11724502bc9a58fb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rdoc-markdown (0.12.0)
4
+ rdoc-markdown (0.12.1)
5
5
  csv
6
6
  erb
7
7
  rdoc
@@ -26,7 +26,7 @@ class RDoc::Generator::Markdown
26
26
  "history" => "Changelog"
27
27
  }
28
28
 
29
- # Source page extensions RDoc should auto-include from the root directory.
29
+ # Source page extensions eligible for root page classification.
30
30
  ROOT_PAGE_EXTENSIONS = %w[.rdoc .md .markdown]
31
31
 
32
32
  # Returns the configured search-index type for an eligible root text page path.
@@ -76,29 +76,6 @@ class RDoc::Generator::Markdown
76
76
  @markdown_unknown_tags = map.fetch("markdown_unknown_tags") if map.key?("markdown_unknown_tags")
77
77
  end
78
78
 
79
- # Adds markdown root entry pages to explicit source files.
80
- #
81
- # @return [void]
82
- def check_files
83
- return super unless @generator == RDoc::Generator::Markdown
84
- super
85
- return if @files.empty?
86
-
87
- root = Pathname(@root)
88
- expanded_root = root.expand_path
89
- expanded_files = @files.map { |file| Pathname(file).expand_path.to_s }
90
- @files.concat(
91
- Dir.children(expanded_root).filter_map do |name|
92
- path = expanded_root.join(name)
93
- next unless path.file?
94
- next unless File.readable?(path)
95
- next unless RDoc::Generator::Markdown.root_page_type_for(name)
96
- next if expanded_files.include?(path.to_s)
97
-
98
- root.join(name).to_s
99
- end
100
- )
101
- end
102
79
  end
103
80
 
104
81
  # Registers markdown generator-specific RDoc options.
@@ -5,6 +5,6 @@ module Rdoc
5
5
  # @private
6
6
  module Markdown
7
7
  # @private
8
- VERSION = "0.12.0"
8
+ VERSION = "0.12.1"
9
9
  end
10
10
  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.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stanislav (Stas) Katkov