sdoc 2.6.0 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5b09b938b2cfe852100d338c140337f89866966c70e715bb03a7b8eff39ae0c1
4
- data.tar.gz: 8d81845ac295d4050f4c5b6953aaced7cad5cbd02dfd4facc4c699958de470bf
3
+ metadata.gz: 164234e7285dc3b73481ab0d94ca428b0ba4726f55a2c2c2e05ad44c86988d27
4
+ data.tar.gz: 23113e865c3de504e1fdc85d0ca8dd2e9f930c74562e1b5d0ebf674a5f5e1545
5
5
  SHA512:
6
- metadata.gz: bcea48419555f33ff7013cec713d902f0cdce0cd44eb86bbc6ec5f635ee550b950c0c813f1d85434417124e0a0d66b9f2fd98caf8e01c44639d8711c662329c8
7
- data.tar.gz: 6b0c6a8aec4601ffde7304691aa2d8e8320f09f007db1dcf557c54bcd13e43993ec043c574592044497364e1db83025ac0573c883624af401a27cb2beefa007e
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
@@ -1,6 +1,11 @@
1
1
  Master
2
2
  ======
3
3
 
4
+ 2.6.1
5
+ =====
6
+
7
+ * [#194](https://github.com/zzak/sdoc/pull/194) Remove `text-align: justify` on paragraphs [@zzak](https://github.com/zzak)
8
+
4
9
  2.6.0
5
10
  =====
6
11
 
@@ -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>
@@ -33,7 +33,6 @@ h1 a, h2 a, .banner a {
33
33
 
34
34
  p {
35
35
  margin-bottom: 1em;
36
- text-align: justify;
37
36
  }
38
37
 
39
38
  h1 {
@@ -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 @options.main_page&.include?("::")
198
- slashed = @options.main_page.sub(/^::/, "").gsub("::", "/")
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
@@ -1,3 +1,3 @@
1
1
  module SDoc
2
- VERSION = '2.6.0'
2
+ VERSION = '2.6.2'
3
3
  end
data/sdoc.gemspec CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |s|
6
6
  s.name = "sdoc"
7
7
  s.version = SDoc::VERSION
8
8
 
9
- s.authors = ["Vladimir Kolesnikov", "Nathan Broadbent", "Jean Mertz", "Zachary Scott"]
9
+ s.authors = ["Vladimir Kolesnikov", "Nathan Broadbent", "Jean Mertz", "Zachary Scott", "Petrik de Heus"]
10
10
  s.description = %q{rdoc generator html with javascript search index.}
11
11
  s.summary = %q{rdoc html with javascript search index.}
12
12
  s.homepage = %q{https://github.com/zzak/sdoc}
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sdoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.0
4
+ version: 2.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladimir Kolesnikov
8
8
  - Nathan Broadbent
9
9
  - Jean Mertz
10
10
  - Zachary Scott
11
- autorequire:
11
+ - Petrik de Heus
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2023-01-11 00:00:00.000000000 Z
14
+ date: 1980-01-02 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rdoc
@@ -36,6 +36,7 @@ extensions: []
36
36
  extra_rdoc_files:
37
37
  - README.md
38
38
  files:
39
+ - ".devcontainer/devcontainer.json"
39
40
  - ".github/workflows/test.yml"
40
41
  - ".gitignore"
41
42
  - CHANGELOG.md
@@ -107,7 +108,6 @@ homepage: https://github.com/zzak/sdoc
107
108
  licenses:
108
109
  - MIT
109
110
  metadata: {}
110
- post_install_message:
111
111
  rdoc_options:
112
112
  - "--charset=UTF-8"
113
113
  require_paths:
@@ -123,8 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  - !ruby/object:Gem::Version
124
124
  version: 1.3.6
125
125
  requirements: []
126
- rubygems_version: 3.0.3.1
127
- signing_key:
126
+ rubygems_version: 3.6.9
128
127
  specification_version: 4
129
128
  summary: rdoc html with javascript search index.
130
129
  test_files: []