Rakefile in manveru-innate-2009.04.08 vs Rakefile in manveru-innate-2009.04.18
- old
+ new
@@ -2,14 +2,13 @@
require 'rake/clean'
require 'rake/gempackagetask'
require 'time'
require 'date'
-specs = Dir['spec/{innate,example}/**/*.rb']
-specs -= Dir['spec/innate/cache/common.rb']
-PROJECT_SPECS = specs
+PROJECT_SPECS = FileList['spec/{innate,example}/**/*.rb'].exclude('common.rb')
PROJECT_MODULE = 'Innate'
+PROJECT_README = 'README.md'
GEMSPEC = Gem::Specification.new{|s|
s.name = 'innate'
s.author = "Michael 'manveru' Fellinger"
s.summary = "Powerful web-framework wrapper for Rack."
@@ -20,12 +19,13 @@
s.version = (ENV['PROJECT_VERSION'] || Date.today.strftime("%Y.%m.%d"))
s.files = `git ls-files`.split("\n").sort
s.has_rdoc = true
s.require_path = 'lib'
-# s.add_runtime_dependency('rack', '>= 0.9.1') # lies!
-# s.add_development_dependency('bacon', '>= 1.0')
-# s.add_development_dependency('json', '~> 1.1.3')
+ # s.add_runtime_dependency('rack', '>= 0.9.1') # lies!
+ # s.add_development_dependency('bacon', '>= 1.0')
+ # s.add_development_dependency('json', '~> 1.1.3')
+ # s.add_development_dependency('rack-test', '>= 0.1.0')
}
Dir['tasks/*.rake'].each{|f| import(f) }
task :default => [:bacon]