corundum 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/corundum/github-pages.rb +3 -1
  2. metadata +3 -6
@@ -42,6 +42,7 @@ module Corundum
42
42
 
43
43
  setting(:target_dir, "gh-pages")
44
44
  setting(:source_dir)
45
+ setting(:docs_index)
45
46
 
46
47
  nil_fields :repo_dir
47
48
 
@@ -51,6 +52,7 @@ module Corundum
51
52
 
52
53
  def default_configuration(doc_gen)
53
54
  self.source_dir = doc_gen.target_dir
55
+ self.docs_index = doc_gen.entry_point
54
56
  end
55
57
 
56
58
  def resolve_configuration
@@ -134,7 +136,7 @@ module Corundum
134
136
  end.must_succeed!
135
137
  end
136
138
 
137
- task :assemble_docs => [:pre_publish, :clobber_target] do
139
+ task :assemble_docs => [docs_index, :pre_publish, :clobber_target] do
138
140
  Mattock::CommandLine.new(*%w{cp -a}) do |cmd|
139
141
  cmd.options << source_dir + "/*"
140
142
  cmd.options << target_dir
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: corundum
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.12
5
+ version: 0.0.13
6
6
  platform: ruby
7
7
  authors:
8
8
  - Judson Lester
@@ -278,11 +278,8 @@ licenses:
278
278
  - MIT
279
279
  post_install_message: Another tidy package brought to you by Judson
280
280
  rdoc_options:
281
- - --inline-source
282
- - --main
283
- - doc/README
284
281
  - --title
285
- - corundum-0.0.12 RDoc
282
+ - corundum-0.0.13 RDoc
286
283
  require_paths:
287
284
  - lib/
288
285
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -290,7 +287,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
290
287
  requirements:
291
288
  - - ">="
292
289
  - !ruby/object:Gem::Version
293
- hash: -129852127
290
+ hash: 908238461
294
291
  segments:
295
292
  - 0
296
293
  version: "0"