wrongdoc 1.7.0 → 1.8.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 +7 -0
- data/GIT-VERSION-GEN +1 -1
- data/bin/wrongdoc +0 -0
- data/lib/wrongdoc/final.rb +13 -5
- data/lib/wrongdoc/parse_xml.rb +7 -1
- data/lib/wrongdoc/rdoc.rb +2 -1
- data/wrongdoc.gemspec +3 -4
- metadata +80 -73
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 61e0e0059c2568c5057d746d72b685f419e99384
|
4
|
+
data.tar.gz: 1d6bb0ed20c0c52070405a9ea5a6e89e98ce0a2c
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: aff3ff030caed334ade4ddf56a0a414a96c488ee23af3a0e2568069516852f46ce9d1843dc123f73f29bf2016c86e32aa4dd667eb03bba7148ca56ded3900fea
|
7
|
+
data.tar.gz: 38747e812c877d32df407e9720c235e5704d9604b1545bb5aa79633972e9f24b1b41883cef02d1cd0d49646ca5b45eb7be7cdcc6bf78501c36e52acccff876ea
|
data/GIT-VERSION-GEN
CHANGED
data/bin/wrongdoc
CHANGED
File without changes
|
data/lib/wrongdoc/final.rb
CHANGED
@@ -15,6 +15,7 @@ class Wrongdoc::Final
|
|
15
15
|
def initialize(opts, git_tag = nil)
|
16
16
|
@cgit_uri = URI.parse(opts[:cgit_url])
|
17
17
|
@rdoc_uri = URI.parse(opts[:rdoc_url])
|
18
|
+
@ml_uri = URI.parse(opts[:ml_url])
|
18
19
|
@public_email = opts[:public_email] or warn ":public_email unset"
|
19
20
|
@private_email = opts[:private_email] or warn ":private_email unset"
|
20
21
|
@git_tag = git_tag
|
@@ -40,7 +41,7 @@ class Wrongdoc::Final
|
|
40
41
|
doc.search('span.search-toggle').each(&unlink)
|
41
42
|
doc.search('form').each(&unlink)
|
42
43
|
|
43
|
-
# remove W3C validator link, we
|
44
|
+
# remove W3C validator link, we use tidy instead
|
44
45
|
doc.search('div#validator-badges p').each { |x|
|
45
46
|
/Validate/i =~ x.content and x.unlink
|
46
47
|
}
|
@@ -91,8 +92,8 @@ class Wrongdoc::Final
|
|
91
92
|
We love to hear from you!<br />
|
92
93
|
Email patches (with <a href="#{SE_URL}">git send-email</a>),
|
93
94
|
pull requests, questions, bug reports, suggestions, etc.
|
94
|
-
to us publically at
|
95
|
-
<a href="mailto:#@public_email">#@public_email</a
|
95
|
+
to us publically at:
|
96
|
+
<a href="mailto:#@public_email">#@public_email</a><br />
|
96
97
|
EOF
|
97
98
|
|
98
99
|
case @public_email
|
@@ -112,6 +113,13 @@ class Wrongdoc::Final
|
|
112
113
|
with \"subscribe\" in the Subject
|
113
114
|
and respond to the automated confirmation message.
|
114
115
|
EOF
|
116
|
+
when /public/
|
117
|
+
txt << <<-EOF
|
118
|
+
This is a <a href="http://public-inbox.org/">public-inbox</a> with no sign up.<br />
|
119
|
+
Please Cc: all recipients on replies, as not everybody subscribes
|
120
|
+
with <a href="http://ssoma.public-inbox.org/">ssoma</a>.<br />
|
121
|
+
See <a href="#@ml_uri">#@ml_uri</a> for archives and more information.
|
122
|
+
EOF
|
115
123
|
end
|
116
124
|
|
117
125
|
txt << <<-EOF
|
@@ -122,8 +130,8 @@ class Wrongdoc::Final
|
|
122
130
|
<a href="http://catb.org/jargon/html/T/top-post.html">top post</a>.
|
123
131
|
<br />
|
124
132
|
</b>
|
125
|
-
For sensitive topics, email us privately at
|
126
|
-
<a href="mailto:#@private_email">#@private_email</a
|
133
|
+
For sensitive topics, email us privately at:
|
134
|
+
<a href="mailto:#@private_email">#@private_email</a>
|
127
135
|
EOF
|
128
136
|
para = Nokogiri::XML.fragment(txt)
|
129
137
|
|
data/lib/wrongdoc/parse_xml.rb
CHANGED
data/lib/wrongdoc/rdoc.rb
CHANGED
data/wrongdoc.gemspec
CHANGED
@@ -10,7 +10,6 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.name = %q{wrongdoc}
|
11
11
|
s.version = ENV["VERSION"].dup
|
12
12
|
s.authors = ["#{name} hackers"]
|
13
|
-
s.date = Time.now.utc.strftime('%Y-%m-%d')
|
14
13
|
s.description = readme_description
|
15
14
|
s.email = %q{wrongdoc@librelist.org}
|
16
15
|
s.executables = %w(wrongdoc)
|
@@ -19,8 +18,8 @@ Gem::Specification.new do |s|
|
|
19
18
|
s.homepage = Wrongdoc.config[:rdoc_url]
|
20
19
|
s.summary = summary
|
21
20
|
s.rdoc_options = rdoc_options
|
22
|
-
s.require_paths = %w(lib)
|
23
|
-
s.rubyforge_project = %q{rainbows}
|
24
21
|
s.add_dependency(%q<nokogiri>, ['~> 1.5'])
|
25
|
-
s.add_dependency(%q<
|
22
|
+
s.add_dependency(%q<tidy_ffi>, ['~> 0.1', '>= 0.1.5'])
|
23
|
+
s.add_dependency(%q<rdoc>, ['~> 3.9', '>= 3.9'])
|
24
|
+
s.licenses = %w(GPLv3+)
|
26
25
|
end
|
metadata
CHANGED
@@ -1,52 +1,69 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: wrongdoc
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 7
|
9
|
-
- 0
|
10
|
-
version: 1.7.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.8.0
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- wrongdoc hackers
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2014-05-05 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
21
14
|
name: nokogiri
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.5'
|
20
|
+
type: :runtime
|
22
21
|
prerelease: false
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.5'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: tidy_ffi
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.1'
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 0.1.5
|
33
37
|
type: :runtime
|
34
|
-
version_requirements: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: rdoc
|
37
38
|
prerelease: false
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - "~>"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0.1'
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 0.1.5
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rdoc
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '3.9'
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '3.9'
|
48
57
|
type: :runtime
|
49
|
-
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - "~>"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '3.9'
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '3.9'
|
50
67
|
description: |-
|
51
68
|
wrongdoc mangles an existing RDoc directory and makes any changes we
|
52
69
|
feel like. It mainly removes JavaScript from Darkfish and adds links to
|
@@ -54,11 +71,10 @@ description: |-
|
|
54
71
|
project and *entirely* subject to the whims of its creator, so it is
|
55
72
|
likely the wrong solution for anybody else.
|
56
73
|
email: wrongdoc@librelist.org
|
57
|
-
executables:
|
74
|
+
executables:
|
58
75
|
- wrongdoc
|
59
76
|
extensions: []
|
60
|
-
|
61
|
-
extra_rdoc_files:
|
77
|
+
extra_rdoc_files:
|
62
78
|
- ChangeLog
|
63
79
|
- lib/wrongdoc.rb
|
64
80
|
- lib/wrongdoc/changelog.rb
|
@@ -80,11 +96,11 @@ extra_rdoc_files:
|
|
80
96
|
- LICENSE
|
81
97
|
- wrongdoc_1
|
82
98
|
- dotwrongdoc_5
|
83
|
-
files:
|
84
|
-
- .document
|
85
|
-
- .gitignore
|
86
|
-
- .manifest
|
87
|
-
- .wrongdoc.yml
|
99
|
+
files:
|
100
|
+
- ".document"
|
101
|
+
- ".gitignore"
|
102
|
+
- ".manifest"
|
103
|
+
- ".wrongdoc.yml"
|
88
104
|
- COPYING
|
89
105
|
- ChangeLog
|
90
106
|
- Documentation/.gitignore
|
@@ -122,40 +138,31 @@ files:
|
|
122
138
|
- wrongdoc.sh
|
123
139
|
- wrongdoc_1
|
124
140
|
homepage: http://bogomips.org/wrongdoc/
|
125
|
-
licenses:
|
126
|
-
|
141
|
+
licenses:
|
142
|
+
- GPLv3+
|
143
|
+
metadata: {}
|
127
144
|
post_install_message:
|
128
|
-
rdoc_options:
|
129
|
-
- -t
|
145
|
+
rdoc_options:
|
146
|
+
- "-t"
|
130
147
|
- wrongdoc - RDoc done right (IMNSHO)
|
131
|
-
- -W
|
148
|
+
- "-W"
|
132
149
|
- http://bogomips.org/wrongdoc.git/tree/%s
|
133
|
-
require_paths:
|
150
|
+
require_paths:
|
134
151
|
- lib
|
135
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
136
|
-
|
137
|
-
requirements:
|
152
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
153
|
+
requirements:
|
138
154
|
- - ">="
|
139
|
-
- !ruby/object:Gem::Version
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
version: "0"
|
144
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
|
-
requirements:
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: '0'
|
157
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
158
|
+
requirements:
|
147
159
|
- - ">="
|
148
|
-
- !ruby/object:Gem::Version
|
149
|
-
|
150
|
-
segments:
|
151
|
-
- 0
|
152
|
-
version: "0"
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
version: '0'
|
153
162
|
requirements: []
|
154
|
-
|
155
|
-
|
156
|
-
rubygems_version: 1.8.24
|
163
|
+
rubyforge_project:
|
164
|
+
rubygems_version: 2.2.2
|
157
165
|
signing_key:
|
158
|
-
specification_version:
|
166
|
+
specification_version: 4
|
159
167
|
summary: RDoc done right (IMNSHO)
|
160
168
|
test_files: []
|
161
|
-
|