public
Rubygem
Description: It's metastable
Homepage: http://opensource.thinkrelevance.com
Clone URL: git://github.com/relevance/obsidian.git
Cleanup docs:
-Move LICENSE into separate file
-Move README.txt to README.rdoc for better formatting
-Corrected Manifest entries
Jason Rudolph (author)
Fri Apr 11 10:50:29 -0700 2008
commit  a6cba6eb2b34ab71de79f5beb8d73fdb23a11ce5
tree    201d707a7bf94f0c3d1186beaa361f02c6ee3e36
parent  b39a6d8c627d2f59b8de875d365648691cd39a20
...
1
2
3
 
4
...
1
2
3
4
5
0
@@ -1,3 +1,4 @@
0
 tmp
0
 rcov_tmp
0
 pkg
0
+doc/*
0
\ No newline at end of file
...
1
 
2
3
 
4
5
6
 
 
 
7
8
9
 
 
 
 
...
1
2
3
 
4
5
6
7
8
9
10
11
12
 
13
14
15
16
0
@@ -1,9 +1,16 @@
0
 History.txt
0
+LICENSE
0
 Manifest.txt
0
-README.txt
0
+README.rdoc
0
 Rakefile
0
 lib/obsidian.rb
0
 lib/obsidian/rails/model_update_tracker.rb
0
+lib/obsidian/spec.rb
0
+lib/obsidian/spec/map_spec_helper.rb
0
+lib/obsidian/spec/set_spec_helper.rb
0
 test/obsidian_test.rb
0
 test/test_helper.rb
0
-test/obsidian/rails/model_update_tracker_test.rb
0
+test/units/obsidian/rails/model_update_tracker_test.rb
0
+test/units/obsidian/spec/map_spec_helper_test.rb
0
+test/units/obsidian/spec/set_spec_helper_test.rb
0
+test/units/obsidian/spec_test.rb
...
8
9
10
11
 
12
13
14
...
16
17
18
19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
21
22
...
8
9
10
 
11
12
13
14
...
16
17
18
 
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
0
@@ -8,7 +8,7 @@ require 'lib/obsidian'
0
 desc 'Default: run unit tests.'
0
 task :default => :test
0
 
0
-Hoe.new('obsidian', Obsidian::VERSION) do |p|
0
+hoe = Hoe.new('obsidian', Obsidian::VERSION) do |p|
0
   p.rubyforge_name = "thinkrelevance"
0
   p.description = "It's metastable"
0
   p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
0
@@ -16,7 +16,23 @@ Hoe.new('obsidian', Obsidian::VERSION) do |p|
0
   p.summary = "It's metastable"
0
   p.author = "Relevance"
0
   p.email = "opensource@thinkrelevance.com"
0
- p.url = "http://opensource.thinkrelevance.com"
0
+ p.url = "http://opensource.thinkrelevance.com"
0
+ p.rdoc_pattern = /^(lib|bin|ext)|txt|rdoc$/
0
+end
0
+
0
+# Override RDoc to use allison template, and also use our .rdoc README as the main page instead of the default README.txt
0
+Rake::RDocTask.new(:docs) do |rd|
0
+ gem "allison"
0
+ gem "markaby"
0
+ rd.main = "README.rdoc"
0
+ # rd.options << '-d' if RUBY_PLATFORM !~ /win32/ and `which dot` =~ /\/dot/ and not ENV['NODOT']
0
+ rd.rdoc_dir = 'doc'
0
+ files = hoe.spec.files.grep(hoe.rdoc_pattern)
0
+ files -= ['Manifest.txt']
0
+ rd.rdoc_files.push(*files)
0
+
0
+ title = "#{hoe.name}-#{hoe.version} Documentation"
0
+ title = "#{hoe.rubyforge_name}'s " + title if hoe.rubyforge_name != hoe.name
0
 end
0
 
0
 desc 'Test obsidian.'

Comments

    No one has commented yet.