wrongdoc 1.6.2 → 1.7.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.
@@ -1,7 +1,7 @@
1
1
  #!/bin/sh
2
2
 
3
3
  GVF=GIT-VERSION-FILE
4
- DEF_VER=v1.6.2
4
+ DEF_VER=v1.7.0
5
5
 
6
6
  LF='
7
7
  '
@@ -40,7 +40,7 @@ class Wrongdoc::Final
40
40
  doc.search('span.search-toggle').each(&unlink)
41
41
  doc.search('form').each(&unlink)
42
42
 
43
- # remove W3C validator link, we use tidy instead
43
+ # remove W3C validator link, we don't care as long as there's no JS
44
44
  doc.search('div#validator-badges p').each { |x|
45
45
  /Validate/i =~ x.content and x.unlink
46
46
  }
@@ -1,11 +1,5 @@
1
1
  module Wrongdoc::ParseXML
2
2
  def parse_xml(str)
3
- opts = {
4
- :input_encoding => 'utf8',
5
- :output_encoding => 'utf8',
6
- :wrap => 0,
7
- :tidy_mark => false,
8
- }
9
- Nokogiri::XML(TidyFFI::Tidy.new(str, opts).clean)
3
+ Nokogiri::XML(str)
10
4
  end
11
5
  end
@@ -4,8 +4,7 @@ if (!defined?(RUBY_ENGINE) || RUBY_ENGINE == "ruby") && \
4
4
  require 'rubygems'
5
5
  end
6
6
 
7
- # we never want the rdoc 2.5.x from Ruby 1.9.2
8
- gem 'rdoc', '~> 3.9.4'
7
+ gem 'rdoc', '~> 4.0'
9
8
  require 'rdoc/rdoc'
10
9
 
11
10
  class Wrongdoc::Rdoc
@@ -22,6 +22,5 @@ Gem::Specification.new do |s|
22
22
  s.require_paths = %w(lib)
23
23
  s.rubyforge_project = %q{rainbows}
24
24
  s.add_dependency(%q<nokogiri>, ['~> 1.5'])
25
- s.add_dependency(%q<tidy_ffi>, ['~> 0.1.3'])
26
- s.add_dependency(%q<rdoc>, ['~> 3.9.4'])
25
+ s.add_dependency(%q<rdoc>, ['~> 4.0'])
27
26
  end
metadata CHANGED
@@ -1,97 +1,64 @@
1
- --- !ruby/object:Gem::Specification
2
- name: !binary |-
3
- d3Jvbmdkb2M=
4
- version: !ruby/object:Gem::Version
5
- version: 1.6.2
1
+ --- !ruby/object:Gem::Specification
2
+ name: wrongdoc
3
+ version: !ruby/object:Gem::Version
4
+ hash: 11
6
5
  prerelease:
6
+ segments:
7
+ - 1
8
+ - 7
9
+ - 0
10
+ version: 1.7.0
7
11
  platform: ruby
8
- authors:
12
+ authors:
9
13
  - wrongdoc hackers
10
14
  autorequire:
11
15
  bindir: bin
12
16
  cert_chain: []
13
- date: 2012-11-20 00:00:00.000000000 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: !binary |-
17
- bm9rb2dpcmk=
18
- requirement: !ruby/object:Gem::Requirement
19
- none: false
20
- requirements:
21
- - - !binary |-
22
- fj4=
23
- - !ruby/object:Gem::Version
24
- version: !binary |-
25
- MS41
26
- type: :runtime
17
+
18
+ date: 2013-07-25 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: nokogiri
27
22
  prerelease: false
28
- version_requirements: !ruby/object:Gem::Requirement
29
- none: false
30
- requirements:
31
- - - !binary |-
32
- fj4=
33
- - !ruby/object:Gem::Version
34
- version: !binary |-
35
- MS41
36
- - !ruby/object:Gem::Dependency
37
- name: !binary |-
38
- dGlkeV9mZmk=
39
- requirement: !ruby/object:Gem::Requirement
23
+ requirement: &id001 !ruby/object:Gem::Requirement
40
24
  none: false
41
- requirements:
42
- - - !binary |-
43
- fj4=
44
- - !ruby/object:Gem::Version
45
- version: !binary |-
46
- MC4xLjM=
25
+ requirements:
26
+ - - ~>
27
+ - !ruby/object:Gem::Version
28
+ hash: 5
29
+ segments:
30
+ - 1
31
+ - 5
32
+ version: "1.5"
47
33
  type: :runtime
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: rdoc
48
37
  prerelease: false
49
- version_requirements: !ruby/object:Gem::Requirement
38
+ requirement: &id002 !ruby/object:Gem::Requirement
50
39
  none: false
51
- requirements:
52
- - - !binary |-
53
- fj4=
54
- - !ruby/object:Gem::Version
55
- version: !binary |-
56
- MC4xLjM=
57
- - !ruby/object:Gem::Dependency
58
- name: !binary |-
59
- cmRvYw==
60
- requirement: !ruby/object:Gem::Requirement
61
- none: false
62
- requirements:
63
- - - !binary |-
64
- fj4=
65
- - !ruby/object:Gem::Version
66
- version: !binary |-
67
- My45LjQ=
40
+ requirements:
41
+ - - ~>
42
+ - !ruby/object:Gem::Version
43
+ hash: 27
44
+ segments:
45
+ - 4
46
+ - 0
47
+ version: "4.0"
68
48
  type: :runtime
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- none: false
72
- requirements:
73
- - - !binary |-
74
- fj4=
75
- - !ruby/object:Gem::Version
76
- version: !binary |-
77
- My45LjQ=
78
- description: ! 'wrongdoc mangles an existing RDoc directory and makes any changes
79
- we
80
-
49
+ version_requirements: *id002
50
+ description: |-
51
+ wrongdoc mangles an existing RDoc directory and makes any changes we
81
52
  feel like. It mainly removes JavaScript from Darkfish and adds links to
82
-
83
53
  a {cgit}[http://hjemli.net/git/cgit/] instance. It is a bikeshed
84
-
85
54
  project and *entirely* subject to the whims of its creator, so it is
86
-
87
- likely the wrong solution for anybody else.'
88
- email: !binary |-
89
- d3Jvbmdkb2NAbGlicmVsaXN0Lm9yZw==
90
- executables:
91
- - !binary |-
92
- d3Jvbmdkb2M=
55
+ likely the wrong solution for anybody else.
56
+ email: wrongdoc@librelist.org
57
+ executables:
58
+ - wrongdoc
93
59
  extensions: []
94
- extra_rdoc_files:
60
+
61
+ extra_rdoc_files:
95
62
  - ChangeLog
96
63
  - lib/wrongdoc.rb
97
64
  - lib/wrongdoc/changelog.rb
@@ -113,7 +80,7 @@ extra_rdoc_files:
113
80
  - LICENSE
114
81
  - wrongdoc_1
115
82
  - dotwrongdoc_5
116
- files:
83
+ files:
117
84
  - .document
118
85
  - .gitignore
119
86
  - .manifest
@@ -156,33 +123,39 @@ files:
156
123
  - wrongdoc_1
157
124
  homepage: http://bogomips.org/wrongdoc/
158
125
  licenses: []
126
+
159
127
  post_install_message:
160
- rdoc_options:
128
+ rdoc_options:
161
129
  - -t
162
130
  - wrongdoc - RDoc done right (IMNSHO)
163
131
  - -W
164
132
  - http://bogomips.org/wrongdoc.git/tree/%s
165
- require_paths:
166
- - !binary |-
167
- bGli
168
- required_ruby_version: !ruby/object:Gem::Requirement
133
+ require_paths:
134
+ - lib
135
+ required_ruby_version: !ruby/object:Gem::Requirement
169
136
  none: false
170
- requirements:
171
- - - ! '>='
172
- - !ruby/object:Gem::Version
173
- version: '0'
174
- required_rubygems_version: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - ">="
139
+ - !ruby/object:Gem::Version
140
+ hash: 3
141
+ segments:
142
+ - 0
143
+ version: "0"
144
+ required_rubygems_version: !ruby/object:Gem::Requirement
175
145
  none: false
176
- requirements:
177
- - - ! '>='
178
- - !ruby/object:Gem::Version
179
- version: '0'
146
+ requirements:
147
+ - - ">="
148
+ - !ruby/object:Gem::Version
149
+ hash: 3
150
+ segments:
151
+ - 0
152
+ version: "0"
180
153
  requirements: []
181
- rubyforge_project: !binary |-
182
- cmFpbmJvd3M=
154
+
155
+ rubyforge_project: rainbows
183
156
  rubygems_version: 1.8.24
184
157
  signing_key:
185
158
  specification_version: 3
186
159
  summary: RDoc done right (IMNSHO)
187
160
  test_files: []
188
- has_rdoc:
161
+