olddoc 1.0.1 → 1.1.0

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
  SHA1:
3
- metadata.gz: 05d12d395ddfff41f8fa7892824d923c2cc94b62
4
- data.tar.gz: 58af3b13615008b4132cf97116183a1086e1124e
3
+ metadata.gz: 474ea3e7dc160b3b0860142be3684d0f25209e31
4
+ data.tar.gz: ddf5d375a88c6f49fbd1dd3209b5698e44884a05
5
5
  SHA512:
6
- metadata.gz: 3bdc95cf06d8844b77bb52eca99daf09822a85f8df8685becbe0e6b2b385bd44e2e7a15e227580367e5ed9af4ceffe5651d47f52d2a98c750ea25d41fe306aea
7
- data.tar.gz: 0a69292a08b212a2814903091007f8d6968a457f248db9b196ed1f987a658564f083f6e99cc198b7712ae36f5673b1d7c7d95f62afdccf9502d3266a7f5c9132
6
+ metadata.gz: b910d9aab1f8cc7f32ee48b654dc70ed3ab34f721617ea945900055fa5ced558a1df62abaed41eb353fb8c8719f76eb294b516b26ac285c93a2d563938c2815c
7
+ data.tar.gz: 645ae5b988651029ab820bdba9ee8ecea19f78d1c96e8ea5134cf0e0aaa682f08cb31906ab00559c8dc953e274a6d2b3508a143c2b5a25e610227e2b6d4b6be6
data/.olddoc.yml CHANGED
@@ -2,8 +2,9 @@
2
2
  cgit_url: http://bogomips.org/olddoc.git
3
3
  git_url: git://80x24.org/olddoc.git
4
4
  rdoc_url: http://80x24.org/olddoc/
5
+ ml_url: http://80x24.org/olddoc-public/
6
+ nntp_url: nntp://news.public-inbox.org/inbox.comp.lang.ruby.olddoc
5
7
  merge_html:
6
8
  olddoc_1: Documentation/olddoc.1.html
7
9
  olddoc_5: Documentation/olddoc.5.html
8
10
  public_email: olddoc-public@80x24.org
9
- private_email: olddoc@80x24.org
@@ -15,12 +15,16 @@ configuration to deal with.
15
15
 
16
16
  # KEYS
17
17
 
18
- `rdoc_url`, `cgit_url` should be obvious
18
+ `rdoc_url`, `cgit_url`, and `nntp_url` should be obvious
19
19
 
20
20
  `merge_html` is a key-value mapping of (empty) RDoc source files to an
21
21
  HTML file that will be merged into RDoc after-the-fact. It is useful
22
22
  for merging non-RDoc generated HTML into the project.
23
23
 
24
+ `ml_url` is the mailing list archive location.
25
+ `public_email` is the email address of a publically archived mailing list
26
+ at `ml_url`
27
+
24
28
  # SEE ALSO
25
29
 
26
30
  olddoc(1)
data/lib/olddoc.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # Copyright (C) 2015, all contributors <olddoc-public@80x24.org>
2
2
  # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
3
3
  module Olddoc
4
- VERSION = '1.0.1'
4
+ VERSION = '1.1.0'
5
5
 
6
6
  autoload :Gemspec, 'olddoc/gemspec'
7
7
  autoload :History, 'olddoc/history'
data/lib/olddoc/readme.rb CHANGED
@@ -16,9 +16,9 @@ module Olddoc::Readme
16
16
  # parses the README file in the top-level directory for project metadata
17
17
  def readme_metadata
18
18
  l = File.readlines(readme_path)[0].strip!
19
- l.gsub!(/^=\s+/, '') or abort "#{l.inspect} doesn't start with '='"
19
+ l.gsub!(/^=\s+/, '')
20
20
  title = l.dup
21
- if l.gsub!(/^(\w+\!)\s+/, '') # Rainbows!
21
+ if l.gsub!(/^(\w+\!)\s+/, '') # special case for Rainbows!
22
22
  return $1, l, title
23
23
  else
24
24
  return (l.split(/\s*[:-]\s*/, 2)).push(title)
@@ -2,11 +2,12 @@
2
2
  public_email = @old_cfg['public_email']
3
3
  private_email = @old_cfg['private_email']
4
4
  ml_url = @old_cfg['ml_url']
5
+ nntp_url = @old_cfg['nntp_url']
5
6
  git_doc = 'https://kernel.org/pub/software/scm/git/docs/'
6
7
  se_url = "#{git_doc}git-send-email.html"
7
8
  rp_url = "#{git_doc}git-request-pull.html"
8
9
 
9
- if public_email && private_email && ml_url %><hr /><p>
10
+ if public_email && ml_url %><hr /><p>
10
11
  We love to hear from you!<br />
11
12
  Email patches (using <a
12
13
  href="<%= se_url %>">git send-email</a>),
@@ -19,7 +20,10 @@ href="<%= ml_url %>"><%= ml_url %></a><br />
19
20
  Please send plain-text email only and do not waste bandwidth on HTML mail,
20
21
  HTML mail will not be read.<br />
21
22
  Quote as little as reasonable and do not <a
22
- href="http://catb.org/jargon/html/T/top-post.html">top post</a>.<br />
23
+ href="http://catb.org/jargon/html/T/top-post.html">top post</a>.<br /><% end
24
+ if nntp_url %>NNTP archives are available at: <a
25
+ href="<%= nntp_url %>"><%= nntp_url %></a><% end
26
+ if private_email %>
23
27
  For sensitive topics, email us privately at:
24
28
  <a
25
29
  href="mailto:<%= private_email %>"><%= private_email %></a><% end %>
data/olddoc.gemspec CHANGED
@@ -12,10 +12,10 @@ Gem::Specification.new do |s|
12
12
  s.authors = ["#{s.name} hackers"]
13
13
  s.summary = summary
14
14
  s.description = readme_description
15
- s.email = Olddoc.config['private_email']
15
+ s.email = 'e@80x24.org'
16
16
  s.files = manifest
17
17
  s.add_dependency('rdoc', '~> 4.2')
18
18
  s.add_dependency('builder', '~> 3.2')
19
19
  s.homepage = Olddoc.config['rdoc_url']
20
- s.licenses = 'GPLv3+'
20
+ s.licenses = 'GPL-3.0+'
21
21
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: olddoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - olddoc hackers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-10 00:00:00.000000000 Z
11
+ date: 2015-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdoc
@@ -41,7 +41,7 @@ dependencies:
41
41
  description: |-
42
42
  olddoc contains old-fashioned document generators for those who do not
43
43
  wish to impose bloated, new-fangled web cruft on their readers.
44
- email: olddoc@80x24.org
44
+ email: e@80x24.org
45
45
  executables:
46
46
  - olddoc
47
47
  extensions: []
@@ -94,7 +94,7 @@ files:
94
94
  - olddoc.gemspec
95
95
  homepage: http://80x24.org/olddoc/
96
96
  licenses:
97
- - GPLv3+
97
+ - GPL-3.0+
98
98
  metadata: {}
99
99
  post_install_message:
100
100
  rdoc_options: []
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  version: '0'
113
113
  requirements: []
114
114
  rubyforge_project:
115
- rubygems_version: 2.4.5
115
+ rubygems_version: 2.5.0
116
116
  signing_key:
117
117
  specification_version: 4
118
118
  summary: old-fashioned Ruby documentation generator