wrongdoc 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.
data/ChangeLog CHANGED
@@ -1,5 +1,48 @@
1
1
  ChangeLog from http://git.bogomips.org/cgit/wrongdoc.git
2
2
 
3
+ commit 05c88a20a1c124706f0c3de5ff055f5f82b924cf
4
+ Author: Eric Wong <normalperson@yhbt.net>
5
+ Date: Tue Dec 28 18:08:00 2010 -0800
6
+
7
+ wrongdoc 1.1.0
8
+
9
+ Eric Wong (4):
10
+ rdoc: forcibly load rdoc ~> 3.0.1
11
+ final: kill the "No Search Results" text
12
+ GNUmakefile: we do not use rake
13
+ upgrade to RDoc 3.1
14
+
15
+ commit e4c899e35cae0fee4d173ab647c1aa14677d35d2
16
+ Author: Eric Wong <normalperson@yhbt.net>
17
+ Date: Tue Dec 28 18:06:41 2010 -0800
18
+
19
+ upgrade to RDoc 3.1
20
+
21
+ It's the latest and greatest
22
+
23
+ commit fc52230489239e18206cbae22cec2155c7a5a0a3
24
+ Author: Eric Wong <normalperson@yhbt.net>
25
+ Date: Tue Dec 28 18:05:31 2010 -0800
26
+
27
+ GNUmakefile: we do not use rake
28
+
29
+ commit 6e76c17a2579c41eb2a557b9ea3b81552a07ad7f
30
+ Author: Eric Wong <normalperson@yhbt.net>
31
+ Date: Mon Dec 27 15:20:56 2010 -0800
32
+
33
+ final: kill the "No Search Results" text
34
+
35
+ It shows up on some browsers that do not support stylesheets
36
+ and is confusing.
37
+
38
+ commit 5d7910029cc331cd2498f868df1d1e3211994a50
39
+ Author: Eric Wong <normalperson@yhbt.net>
40
+ Date: Mon Dec 27 15:19:52 2010 -0800
41
+
42
+ rdoc: forcibly load rdoc ~> 3.0.1
43
+
44
+ We don't want the rdoc 2.5.x from Ruby 1.9.2
45
+
3
46
  commit e4857711b394634edee25a682d607a16c6880608
4
47
  Author: Eric Wong <normalperson@yhbt.net>
5
48
  Date: Fri Dec 24 02:30:57 2010 +0000
data/GIT-VERSION-FILE CHANGED
@@ -1 +1 @@
1
- GIT_VERSION = 1.0.1
1
+ GIT_VERSION = 1.1.0
data/GIT-VERSION-GEN CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/bin/sh
2
2
 
3
3
  GVF=GIT-VERSION-FILE
4
- DEF_VER=v1.0.1.GIT
4
+ DEF_VER=v1.1.0.GIT
5
5
 
6
6
  LF='
7
7
  '
data/GNUmakefile CHANGED
@@ -2,7 +2,6 @@
2
2
  all::
3
3
  MRI = ruby
4
4
  RUBY = ruby
5
- RAKE = rake
6
5
  RSYNC = rsync
7
6
  WRONGDOC := $(RUBY) -I lib bin/wrongdoc
8
7
 
data/LATEST CHANGED
@@ -1,6 +1,8 @@
1
- === wrongdoc 1.0.1 - minor bugfixes /
1
+ === wrongdoc 1.1.0 /
2
2
 
3
- Document merging is more flexible regarding XHTML fragments
4
- and will now handle projects that do not use document merging.
5
- Release changelog generation for Rubyforge is also fixed.
3
+ Eric Wong (4):
4
+ rdoc: forcibly load rdoc ~> 3.0.1
5
+ final: kill the "No Search Results" text
6
+ GNUmakefile: we do not use rake
7
+ upgrade to RDoc 3.1
6
8
 
data/NEWS CHANGED
@@ -1,3 +1,11 @@
1
+ === wrongdoc 1.1.0 / 2010-12-29 02:08 UTC
2
+
3
+ Eric Wong (4):
4
+ rdoc: forcibly load rdoc ~> 3.0.1
5
+ final: kill the "No Search Results" text
6
+ GNUmakefile: we do not use rake
7
+ upgrade to RDoc 3.1
8
+
1
9
  === wrongdoc 1.0.1 - minor bugfixes / 2010-12-24 02:52 UTC
2
10
 
3
11
  Document merging is more flexible regarding XHTML fragments
@@ -41,6 +41,9 @@ class Wrongdoc::Final
41
41
  doc.search('div#validator-badges p').each { |x|
42
42
  /Validate/i =~ x.content and x.unlink
43
43
  }
44
+
45
+ # this shows up in browsers that don't do stylesheets
46
+ doc.search('div#no-class-search-results').each(&unlink)
44
47
  end
45
48
 
46
49
  # since we killed off JavaScript, viewing source isn't possible with
data/lib/wrongdoc/rdoc.rb CHANGED
@@ -2,8 +2,10 @@
2
2
  if (!defined?(RUBY_ENGINE) || RUBY_ENGINE == "ruby") && \
3
3
  RUBY_VERSION.to_f <= 1.8
4
4
  require 'rubygems'
5
- gem 'rdoc', '~> 3.0.1'
6
5
  end
6
+
7
+ # we never want the rdoc 2.5.x from Ruby 1.9.2
8
+ gem 'rdoc', '~> 3.1'
7
9
  require 'rdoc/rdoc'
8
10
 
9
11
  class Wrongdoc::Rdoc
data/lib/wrongdoc.rb CHANGED
@@ -6,8 +6,8 @@ require 'nokogiri'
6
6
 
7
7
  module Wrongdoc
8
8
 
9
- # the version of wrongdoc, currently 1.0.1
10
- VERSION = '1.0.1'
9
+ # the version of wrongdoc, currently 1.1.0
10
+ VERSION = '1.1.0'
11
11
 
12
12
  autoload :Readme, 'wrongdoc/readme'
13
13
  autoload :History, 'wrongdoc/history'
data/wrongdoc.gemspec CHANGED
@@ -23,5 +23,5 @@ Gem::Specification.new do |s|
23
23
  s.rubyforge_project = %q{rainbows}
24
24
  s.add_dependency(%q<nokogiri>, ['~> 1.4.4'])
25
25
  s.add_dependency(%q<tidy_ffi>, ['~> 0.1.3'])
26
- s.add_dependency(%q<rdoc>, ['~> 3.0.1'])
26
+ s.add_dependency(%q<rdoc>, ['~> 3.1'])
27
27
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wrongdoc
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
- - 0
9
8
  - 1
10
- version: 1.0.1
9
+ - 0
10
+ version: 1.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - wrongdoc hackers
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-24 00:00:00 +00:00
18
+ date: 2010-12-29 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -61,9 +61,8 @@ dependencies:
61
61
  hash: 5
62
62
  segments:
63
63
  - 3
64
- - 0
65
64
  - 1
66
- version: 3.0.1
65
+ version: "3.1"
67
66
  type: :runtime
68
67
  version_requirements: *id003
69
68
  description: |-