wrongdoc 1.4.0 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
data/.wrongdoc.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
- cgit_url: http://git.bogomips.org/cgit/wrongdoc.git
3
- git_url: git://git.bogomips.org/wrongdoc.git
2
+ cgit_url: http://bogomips.org/wrongdoc.git
3
+ git_url: git://bogomips.org/wrongdoc.git
4
4
  rdoc_url: http://bogomips.org/wrongdoc/
5
5
  merge_html:
6
6
  wrongdoc_1: Documentation/wrongdoc.1.html_fragment
data/ChangeLog CHANGED
@@ -1,5 +1,47 @@
1
- ChangeLog from http://git.bogomips.org/cgit/wrongdoc.git
1
+ ChangeLog from http://bogomips.org/wrongdoc.git
2
2
 
3
+ commit ae6b1e31363d7183f620c28482fc67bc6f6c6e0d
4
+ Author: Eric Wong <normalperson@yhbt.net>
5
+ Date: Sun Jan 30 04:25:34 2011 +0000
6
+
7
+ wrongdoc 0.1.5 - no more JavaScript!
8
+
9
+ Eric Wong (4):
10
+ README: fix git URL and add link to homepage
11
+ add subject to release_notes output
12
+ fallback to cgit link in case we can't find source location
13
+ gemspec: bump rdoc and nokogiri dependencies
14
+
15
+ commit 1629f894829f9b51b82f79192b00fc73332ab2cc
16
+ Author: Eric Wong <normalperson@yhbt.net>
17
+ Date: Sun Jan 30 04:24:21 2011 +0000
18
+
19
+ gemspec: bump rdoc and nokogiri dependencies
20
+
21
+ commit f5e170c751a668da6738aad216cc6f83bfa6b2db
22
+ Author: Eric Wong <normalperson@yhbt.net>
23
+ Date: Sun Jan 30 04:18:18 2011 +0000
24
+
25
+ fallback to cgit link in case we can't find source location
26
+
27
+ Otherwise the link is broke
28
+
29
+ commit bb99b47f74e1d191f88713911adab6b93af787ba
30
+ Author: Eric Wong <normalperson@yhbt.net>
31
+ Date: Thu Jan 27 22:06:47 2011 +0000
32
+
33
+ add subject to release_notes output
34
+
35
+ It's kinda important
36
+
37
+ commit d3b65fdbdf1361ed824a8e5086ee980040d2301d
38
+ Author: Eric Wong <normalperson@yhbt.net>
39
+ Date: Thu Jan 27 21:57:42 2011 +0000
40
+
41
+ README: fix git URL and add link to homepage
42
+
43
+ Oops!
44
+
3
45
  commit c499a3a565b6fc9dd06af42d5f48f35e2a5ccd1b
4
46
  Author: Eric Wong <normalperson@yhbt.net>
5
47
  Date: Thu Jan 27 21:53:27 2011 +0000
data/GIT-VERSION-FILE CHANGED
@@ -1 +1 @@
1
- GIT_VERSION = 1.4.0
1
+ GIT_VERSION = 1.5.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.4.0.GIT
4
+ DEF_VER=v1.5.0.GIT
5
5
 
6
6
  LF='
7
7
  '
data/LATEST CHANGED
@@ -1,6 +1,8 @@
1
- === wrongdoc 1.4.0 - cleanups and updates / 2011-01-27 21:53 UTC
1
+ === wrongdoc 0.1.5 - no more JavaScript! / 2011-01-30 04:26 UTC
2
2
 
3
- Eric Wong (2):
4
- use pkg.mk from my other projects
5
- bump rdoc dependency to 3.4
3
+ Eric Wong (4):
4
+ README: fix git URL and add link to homepage
5
+ add subject to release_notes output
6
+ fallback to cgit link in case we can't find source location
7
+ gemspec: bump rdoc and nokogiri dependencies
6
8
 
data/NEWS CHANGED
@@ -1,3 +1,11 @@
1
+ === wrongdoc 0.1.5 - no more JavaScript! / 2011-01-30 04:26 UTC
2
+
3
+ Eric Wong (4):
4
+ README: fix git URL and add link to homepage
5
+ add subject to release_notes output
6
+ fallback to cgit link in case we can't find source location
7
+ gemspec: bump rdoc and nokogiri dependencies
8
+
1
9
  === wrongdoc 1.4.0 - cleanups and updates / 2011-01-27 21:53 UTC
2
10
 
3
11
  Eric Wong (2):
data/README CHANGED
@@ -27,6 +27,10 @@ then run the following command to generate your RDoc:
27
27
 
28
28
  * ASCII-art unicorns and rainbows! (maybe)
29
29
 
30
+ == Source
31
+
32
+ * git clone git://bogomips.org/wrongdoc.git
33
+
30
34
  == Feedback
31
35
 
32
36
  It's Free Software, fork it and hack it to your heart's content, just
@@ -59,15 +59,13 @@ class Wrongdoc::Final
59
59
  }
60
60
  src.unlink if path && lineno
61
61
  }
62
- if path && lineno
63
- mdetail.search('span.method-click-advice').each { |x|
64
- x.content = ''
65
- a = Nokogiri::XML::Node.new('a', doc)
66
- a['href'] = path_uri(path, lineno).to_s
67
- a.content = 'view method source'
68
- x.add_child(a)
69
- }
70
- end
62
+ mdetail.search('span.method-click-advice').each { |x|
63
+ x.content = ''
64
+ a = Nokogiri::XML::Node.new('a', doc)
65
+ a['href'] = (path && lineno ? path_uri(path, lineno) : @cgit_uri).to_s
66
+ a.content = 'view method source'
67
+ x.add_child(a)
68
+ }
71
69
  }
72
70
  end
73
71
 
@@ -33,13 +33,15 @@ module Wrongdoc::Release
33
33
 
34
34
  def self.notes(io, opts)
35
35
  spec = Gem::Specification.load(Dir['*.gemspec'][0])
36
+ _, subject, body = `git cat-file tag v#{spec.version}`.split(/\n\n/, 3)
37
+ io.puts subject
38
+ io.puts
36
39
  io.puts spec.description.strip
37
40
  io.puts
38
41
  io.puts "* #{spec.homepage}"
39
42
  io.puts "* #{spec.email}"
40
43
  io.puts "* #{opts[:git_url] || opts[:cgit_url]}"
41
44
 
42
- _, _, body = `git cat-file tag v#{spec.version}`.split(/\n\n/, 3)
43
45
  io.print "\nChanges:\n\n"
44
46
  io.puts body
45
47
  end
data/wrongdoc.gemspec CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
21
21
  s.rdoc_options = rdoc_options
22
22
  s.require_paths = %w(lib)
23
23
  s.rubyforge_project = %q{rainbows}
24
- s.add_dependency(%q<nokogiri>, ['~> 1.4.4'])
24
+ s.add_dependency(%q<nokogiri>, ['~> 1.4'])
25
25
  s.add_dependency(%q<tidy_ffi>, ['~> 0.1.3'])
26
- s.add_dependency(%q<rdoc>, ['~> 3.4'])
26
+ s.add_dependency(%q<rdoc>, ['~> 3.5'])
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: 7
4
+ hash: 3
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
- - 4
8
+ - 5
9
9
  - 0
10
- version: 1.4.0
10
+ version: 1.5.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: 2011-01-27 00:00:00 +00:00
18
+ date: 2011-01-30 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -26,12 +26,11 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- hash: 15
29
+ hash: 7
30
30
  segments:
31
31
  - 1
32
32
  - 4
33
- - 4
34
- version: 1.4.4
33
+ version: "1.4"
35
34
  type: :runtime
36
35
  version_requirements: *id001
37
36
  - !ruby/object:Gem::Dependency
@@ -58,11 +57,11 @@ dependencies:
58
57
  requirements:
59
58
  - - ~>
60
59
  - !ruby/object:Gem::Version
61
- hash: 15
60
+ hash: 13
62
61
  segments:
63
62
  - 3
64
- - 4
65
- version: "3.4"
63
+ - 5
64
+ version: "3.5"
66
65
  type: :runtime
67
66
  version_requirements: *id003
68
67
  description: |-
@@ -147,7 +146,7 @@ rdoc_options:
147
146
  - -t
148
147
  - wrongdoc - RDoc done right (IMNSHO)
149
148
  - -W
150
- - http://git.bogomips.org/cgit/wrongdoc.git/tree/%s
149
+ - http://bogomips.org/wrongdoc.git/tree/%s
151
150
  require_paths:
152
151
  - lib
153
152
  required_ruby_version: !ruby/object:Gem::Requirement