sdoc 2.6.1 → 2.6.2
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 +4 -4
- data/.devcontainer/devcontainer.json +25 -0
- data/CHANGELOG.md +5 -0
- data/lib/rdoc/generator/template/rails/file.rhtml +0 -1
- data/lib/sdoc/generator.rb +3 -2
- data/lib/sdoc/version.rb +1 -1
- metadata +4 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 164234e7285dc3b73481ab0d94ca428b0ba4726f55a2c2c2e05ad44c86988d27
|
4
|
+
data.tar.gz: 23113e865c3de504e1fdc85d0ca8dd2e9f930c74562e1b5d0ebf674a5f5e1545
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e7136894408320c24b379523f515e189aa8580ae9a81a587e599162bb46db20edb9c8da53636635e7d22dde712faff8ace27b5c9d5579a56fc68424bdfbbb40
|
7
|
+
data.tar.gz: 20a4d1e7762c6bb995f75af5624eee8efec0b8512e5f6a50fae41b3c8fd2042cbee87633cbfb0047b9fece083b7f1e2e3eecba708a8a279385def1c16774036d
|
@@ -0,0 +1,25 @@
|
|
1
|
+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
2
|
+
// README at: https://github.com/devcontainers/templates/tree/main/src/ruby
|
3
|
+
{
|
4
|
+
"name": "sdoc",
|
5
|
+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
6
|
+
"image": "ghcr.io/rails/devcontainer/images/ruby:3.4.5",
|
7
|
+
"features": {
|
8
|
+
"ghcr.io/devcontainers/features/github-cli:1": {}
|
9
|
+
}
|
10
|
+
|
11
|
+
// Features to add to the dev container. More info: https://containers.dev/features.
|
12
|
+
// "features": {},
|
13
|
+
|
14
|
+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
15
|
+
// "forwardPorts": [],
|
16
|
+
|
17
|
+
// Use 'postCreateCommand' to run commands after the container is created.
|
18
|
+
// "postCreateCommand": "ruby --version",
|
19
|
+
|
20
|
+
// Configure tool-specific properties.
|
21
|
+
// "customizations": {},
|
22
|
+
|
23
|
+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
24
|
+
// "remoteUser": "root"
|
25
|
+
}
|
data/CHANGELOG.md
CHANGED
@@ -30,7 +30,6 @@
|
|
30
30
|
<a href="<%= github %>" target="_blank" class="github_url">on GitHub</a>
|
31
31
|
<% end %>
|
32
32
|
</li>
|
33
|
-
<li>Last modified: <%= file.file_stat.mtime %></li>
|
34
33
|
</ul>
|
35
34
|
<% if ENV['HORO_BADGE_VERSION'] %>
|
36
35
|
<div id="version-badge"><%= ENV['HORO_BADGE_VERSION'] %></div>
|
data/lib/sdoc/generator.rb
CHANGED
@@ -193,9 +193,10 @@ class RDoc::Generator::SDoc
|
|
193
193
|
|
194
194
|
### Determines index path based on @options.main_page (or lack thereof)
|
195
195
|
def index_path
|
196
|
+
main_page = @options.main_page
|
196
197
|
# Transform class name to file path
|
197
|
-
if
|
198
|
-
slashed =
|
198
|
+
if main_page && main_page.include?("::")
|
199
|
+
slashed = main_page.sub(/^::/, "").gsub("::", "/")
|
199
200
|
"%s/%s.html" % [ class_dir, slashed ]
|
200
201
|
else
|
201
202
|
index.path
|
data/lib/sdoc/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sdoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vladimir Kolesnikov
|
@@ -9,10 +9,9 @@ authors:
|
|
9
9
|
- Jean Mertz
|
10
10
|
- Zachary Scott
|
11
11
|
- Petrik de Heus
|
12
|
-
autorequire:
|
13
12
|
bindir: bin
|
14
13
|
cert_chain: []
|
15
|
-
date:
|
14
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
16
15
|
dependencies:
|
17
16
|
- !ruby/object:Gem::Dependency
|
18
17
|
name: rdoc
|
@@ -37,6 +36,7 @@ extensions: []
|
|
37
36
|
extra_rdoc_files:
|
38
37
|
- README.md
|
39
38
|
files:
|
39
|
+
- ".devcontainer/devcontainer.json"
|
40
40
|
- ".github/workflows/test.yml"
|
41
41
|
- ".gitignore"
|
42
42
|
- CHANGELOG.md
|
@@ -108,7 +108,6 @@ homepage: https://github.com/zzak/sdoc
|
|
108
108
|
licenses:
|
109
109
|
- MIT
|
110
110
|
metadata: {}
|
111
|
-
post_install_message:
|
112
111
|
rdoc_options:
|
113
112
|
- "--charset=UTF-8"
|
114
113
|
require_paths:
|
@@ -124,8 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
123
|
- !ruby/object:Gem::Version
|
125
124
|
version: 1.3.6
|
126
125
|
requirements: []
|
127
|
-
rubygems_version: 3.
|
128
|
-
signing_key:
|
126
|
+
rubygems_version: 3.6.9
|
129
127
|
specification_version: 4
|
130
128
|
summary: rdoc html with javascript search index.
|
131
129
|
test_files: []
|