gemstub 1.5.5 → 1.5.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gemstub.rb +3 -9
- metadata +2 -2
data/lib/gemstub.rb
CHANGED
@@ -155,15 +155,9 @@ module Gemstub
|
|
155
155
|
def rdoc(&block)
|
156
156
|
Rake::RDocTask.new do |rd|
|
157
157
|
rd.main = "README"
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
elsif test_unit?
|
162
|
-
files = files.collect {|f| f unless f.match("test/") || f.match("doc/") }.compact
|
163
|
-
end
|
164
|
-
files << 'README'
|
165
|
-
files << 'LICENSE'
|
166
|
-
rd.rdoc_files = files
|
158
|
+
rd.rdoc_files = Dir.glob(File.join('lib', '**', '*.rb'))
|
159
|
+
rd.rdoc_files << 'README'
|
160
|
+
rd.rdoc_files << 'LICENSE'
|
167
161
|
rd.rdoc_dir = "doc"
|
168
162
|
rd.options << "--line-numbers"
|
169
163
|
rd.options << "--inline-source"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gemstub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Bates
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-09-
|
12
|
+
date: 2009-09-03 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|