markbates-gemstub 1.5.5.20090820141227 → 1.5.6.20090903121539

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/gemstub.rb +3 -9
  2. metadata +3 -4
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
- files = Dir.glob("**/*.rb")
159
- if rspec?
160
- files = files.collect {|f| f unless f.match("spec/") || f.match("doc/") }.compact
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: markbates-gemstub
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.5.20090820141227
4
+ version: 1.5.6.20090903121539
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-08-20 00:00:00 -07:00
12
+ date: 2009-09-03 00:00:00 -07:00
13
13
  default_executable: gemstub
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -68,7 +68,6 @@ files:
68
68
  - bin/gemstub
69
69
  has_rdoc: false
70
70
  homepage: http://www.mackframework.com
71
- licenses:
72
71
  post_install_message:
73
72
  rdoc_options: []
74
73
 
@@ -89,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
88
  requirements: []
90
89
 
91
90
  rubyforge_project: gemstub
92
- rubygems_version: 1.3.5
91
+ rubygems_version: 1.2.0
93
92
  signing_key:
94
93
  specification_version: 3
95
94
  summary: "Gemstub is a very simple tool for creating the stub code you need to build a gem. Usage: at a command prompt simply type: gemstub your_gem_name_here That's it, after that, you all you have to do is the actual coding of your gem! Enjoy!"