corundum 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/Specifications +1 -1
- data/doc/coverage/index.html +1437 -1571
- data/lib/corundum.rb +53 -63
- data/lib/corundum/configurable.rb +54 -0
- data/lib/corundum/email.rb +17 -30
- data/lib/corundum/gem_building.rb +7 -12
- data/lib/corundum/gemcutter.rb +25 -28
- data/lib/corundum/gemspec_sanity.rb +3 -8
- data/lib/corundum/rspec.rb +23 -23
- data/lib/corundum/rubyforge.rb +8 -42
- data/lib/corundum/simplecov.rb +29 -37
- data/lib/corundum/tasklib.rb +17 -17
- data/lib/corundum/version_control.rb +5 -10
- data/lib/corundum/version_control/monotone.rb +11 -9
- data/lib/corundum/yardoc.rb +11 -11
- metadata +5 -4
data/lib/corundum/yardoc.rb
CHANGED
@@ -7,27 +7,27 @@ module Corundum
|
|
7
7
|
:documentation
|
8
8
|
end
|
9
9
|
|
10
|
-
def default_configuration(
|
11
|
-
|
12
|
-
|
13
|
-
|
10
|
+
def default_configuration(toolkit)
|
11
|
+
setting(:gemspec, toolkit.gemspec)
|
12
|
+
setting(:doc_dir, "rubydoc")
|
13
|
+
setting(:files, nested(:code => [], :docs => []))
|
14
14
|
end
|
15
15
|
|
16
16
|
def define
|
17
|
-
directory
|
17
|
+
directory doc_dir
|
18
18
|
|
19
19
|
in_namespace do
|
20
20
|
YARD::Rake::YardocTask.new(:docs) do |rd|
|
21
|
-
rd.options +=
|
22
|
-
rd.options += ["--output-dir",
|
23
|
-
rd.files +=
|
24
|
-
rd.files +=
|
25
|
-
rd.files +=
|
21
|
+
rd.options += gemspec.rdoc_options
|
22
|
+
rd.options += ["--output-dir", doc_dir]
|
23
|
+
rd.files += files.code
|
24
|
+
rd.files += files.docs
|
25
|
+
rd.files += gemspec.extra_rdoc_files
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
29
29
|
desc "Generate documentation based on code using YARD"
|
30
|
-
task
|
30
|
+
task root_task => in_namespace("docs")
|
31
31
|
end
|
32
32
|
end
|
33
33
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: corundum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Judson Lester
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-12-
|
13
|
+
date: 2011-12-09 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: corundum
|
@@ -183,6 +183,7 @@ extra_rdoc_files:
|
|
183
183
|
- doc/coverage/assets/0.5.3/loading.gif
|
184
184
|
- doc/coverage/assets/0.5.3/jquery-1.6.2.min.js
|
185
185
|
files:
|
186
|
+
- lib/corundum/configurable.rb
|
186
187
|
- lib/corundum/rspec.rb
|
187
188
|
- lib/corundum/email.rb
|
188
189
|
- lib/corundum/gemspec_sanity.rb
|
@@ -263,7 +264,7 @@ rdoc_options:
|
|
263
264
|
- --main
|
264
265
|
- doc/README
|
265
266
|
- --title
|
266
|
-
- corundum-0.0.
|
267
|
+
- corundum-0.0.2 RDoc
|
267
268
|
require_paths:
|
268
269
|
- lib/
|
269
270
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -271,7 +272,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
271
272
|
requirements:
|
272
273
|
- - ">="
|
273
274
|
- !ruby/object:Gem::Version
|
274
|
-
hash:
|
275
|
+
hash: -725107619
|
275
276
|
segments:
|
276
277
|
- 0
|
277
278
|
version: "0"
|