Rakefile in youpy-scissor-0.0.1 vs Rakefile in youpy-scissor-0.0.2

- old
+ new

@@ -15,20 +15,20 @@ EMAIL = "youpy@buycheapviagraonlinenow.com" DESCRIPTION = "utility to chop mp3 files" RUBYFORGE_PROJECT = "scissor" HOMEPATH = "http://#{RUBYFORGE_PROJECT}.rubyforge.org" BIN_FILES = %w( ) -VERS = "0.0.1" +VERS = "0.0.2" REV = File.read(".svn/entries")[/committed-rev="(d+)"/, 1] rescue nil CLEAN.include ['**/.*.sw?', '*.gem', '.config'] RDOC_OPTS = [ '--title', "#{NAME} documentation", "--charset", "utf-8", "--opname", "index.html", "--line-numbers", - "--main", "README", + "--main", "README.rdoc", "--inline-source", ] task :default => [:spec] task :package => [:clean] @@ -42,11 +42,11 @@ spec = Gem::Specification.new do |s| s.name = NAME s.version = VERS s.platform = Gem::Platform::RUBY s.has_rdoc = true - s.extra_rdoc_files = ["README", "ChangeLog"] + s.extra_rdoc_files = ["README.rdoc", "ChangeLog"] s.rdoc_options += RDOC_OPTS + ['--exclude', '^(examples|extras)/'] s.summary = DESCRIPTION s.description = DESCRIPTION s.author = AUTHOR s.email = EMAIL @@ -58,11 +58,11 @@ s.test_files = Dir["test/test_*.rb"] s.add_dependency('ruby-mp3info') #s.required_ruby_version = '>= 1.8.2' - s.files = %w(README ChangeLog Rakefile) + + s.files = %w(README.rdoc ChangeLog Rakefile) + Dir.glob("{bin,doc,test,lib,templates,generator,extras,website,script}/**/*") + Dir.glob("ext/**/*.{h,c,rb}") + Dir.glob("examples/**/*.rb") + Dir.glob("tools/*.rb") @@ -91,10 +91,10 @@ rdoc.template = "resh" #rdoc.template = "#{ENV['template']}.rb" if ENV['template'] if ENV['DOC_FILES'] rdoc.rdoc_files.include(ENV['DOC_FILES'].split(/,\s*/)) else - rdoc.rdoc_files.include('README', 'ChangeLog') + rdoc.rdoc_files.include('README.rdoc', 'ChangeLog') rdoc.rdoc_files.include('lib/**/*.rb') rdoc.rdoc_files.include('ext/**/*.c') end end