hikidoc 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +11 -0
  2. data/lib/hikidoc.rb +1 -1
  3. metadata +5 -5
data/Rakefile CHANGED
@@ -45,6 +45,7 @@ project = Hoe.new('hikidoc', HikiDoc::VERSION) do |project|
45
45
  project.url = 'http://rubyforge.org/projects/hikidoc/'
46
46
  project.test_globs = ['test/test_*.rb']
47
47
  project.rdoc_pattern = /(?:^(?:lib|bin)|\AREADME\z)/
48
+ project.changes = File.read("NEWS").split(/^!! .*$/)[1].strip
48
49
  end
49
50
 
50
51
  desc 'Tag the repository for release.'
@@ -71,3 +72,13 @@ begin
71
72
  end
72
73
  rescue LoadError
73
74
  end
75
+
76
+
77
+ # Fix Hoe's uncustomizable options
78
+ rdoc_main = "lib/hikidoc.rb"
79
+ project.spec.rdoc_options.each do |option|
80
+ option.replace(rdoc_main) if option == "README.txt"
81
+ end
82
+ ObjectSpace.each_object(Rake::RDocTask) do |task|
83
+ task.main = rdoc_main if task.main == "README.txt"
84
+ end
data/lib/hikidoc.rb CHANGED
@@ -37,7 +37,7 @@ rescue LoadError
37
37
  end
38
38
 
39
39
  class HikiDoc
40
- VERSION = "0.0.2" # FIXME
40
+ VERSION = "0.0.3" # FIXME
41
41
 
42
42
  class Error < StandardError
43
43
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hikidoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuhiko
@@ -9,18 +9,18 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-08-12 00:00:00 +09:00
12
+ date: 2008-08-26 00:00:00 +09:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: hoe
17
- type: :runtime
17
+ type: :development
18
18
  version_requirement:
19
19
  version_requirements: !ruby/object:Gem::Requirement
20
20
  requirements:
21
21
  - - ">="
22
22
  - !ruby/object:Gem::Version
23
- version: 1.2.1
23
+ version: 1.7.0
24
24
  version:
25
25
  description: "'HikiDoc' is a text-to-HTML conversion tool for web writers. HikiDoc allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid HTML (or XHTML)."
26
26
  email:
@@ -50,7 +50,7 @@ homepage: http://rubyforge.org/projects/hikidoc/
50
50
  post_install_message:
51
51
  rdoc_options:
52
52
  - --main
53
- - README.txt
53
+ - lib/hikidoc.rb
54
54
  require_paths:
55
55
  - lib
56
56
  required_ruby_version: !ruby/object:Gem::Requirement