This commit is contained in:
tdreyno 2009-09-17 09:52:12 -07:00
parent 9d43616d89
commit d434dc9bdf
3 changed files with 8 additions and 64 deletions

View file

@ -3,3 +3,4 @@ lib/**/*.rb
bin/*
features/**/*.feature
LICENSE
vendor/**/*

View file

@ -12,7 +12,6 @@ begin
gem.rubyforge_project = "middleman"
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
gem.executables = %w(mm-init mm-build mm-server)
gem.files.include ['vendor/**/*']
gem.add_dependency("templater")
gem.add_dependency("yui-compressor")
gem.add_dependency("sprockets")
@ -22,8 +21,10 @@ begin
gem.add_dependency("haml", ">=2.1.0")
gem.add_dependency("chriseppstein-compass")
end
Jeweler::RubyforgeTasks.new
Jeweler::RubyforgeTasks.new do |rubyforge|
rubyforge.doc_task = "rdoc"
end
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
@ -40,14 +41,14 @@ Spec::Rake::SpecTask.new(:rcov) do |spec|
spec.rcov = true
end
task :spec => :check_dependencies
task :default => :spec
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
if File.exist?('VERSION.yml')
config = YAML.load(File.read('VERSION.yml'))
version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
if File.exist?('VERSION')
version = File.read('VERSION')
else
version = ""
end

View file

@ -50,120 +50,62 @@ Gem::Specification.new do |s|
"spec/generator_spec.rb",
"spec/spec_helper.rb",
"vendor/rack-test/History.txt",
"vendor/rack-test/History.txt",
"vendor/rack-test/MIT-LICENSE.txt",
"vendor/rack-test/MIT-LICENSE.txt",
"vendor/rack-test/README.rdoc",
"vendor/rack-test/README.rdoc",
"vendor/rack-test/Rakefile",
"vendor/rack-test/Rakefile",
"vendor/rack-test/lib/rack/mock_session.rb",
"vendor/rack-test/lib/rack/mock_session.rb",
"vendor/rack-test/lib/rack/test.rb",
"vendor/rack-test/lib/rack/test.rb",
"vendor/rack-test/lib/rack/test/cookie_jar.rb",
"vendor/rack-test/lib/rack/test/cookie_jar.rb",
"vendor/rack-test/lib/rack/test/methods.rb",
"vendor/rack-test/lib/rack/test/methods.rb",
"vendor/rack-test/lib/rack/test/mock_digest_request.rb",
"vendor/rack-test/lib/rack/test/mock_digest_request.rb",
"vendor/rack-test/lib/rack/test/uploaded_file.rb",
"vendor/rack-test/lib/rack/test/uploaded_file.rb",
"vendor/rack-test/lib/rack/test/utils.rb",
"vendor/rack-test/lib/rack/test/utils.rb",
"vendor/rack-test/spec/fixtures/config.ru",
"vendor/rack-test/spec/fixtures/config.ru",
"vendor/rack-test/spec/fixtures/fake_app.rb",
"vendor/rack-test/spec/fixtures/fake_app.rb",
"vendor/rack-test/spec/fixtures/foo.txt",
"vendor/rack-test/spec/fixtures/foo.txt",
"vendor/rack-test/spec/rack/test/cookie_spec.rb",
"vendor/rack-test/spec/rack/test/cookie_spec.rb",
"vendor/rack-test/spec/rack/test/digest_auth_spec.rb",
"vendor/rack-test/spec/rack/test/digest_auth_spec.rb",
"vendor/rack-test/spec/rack/test/multipart_spec.rb",
"vendor/rack-test/spec/rack/test/multipart_spec.rb",
"vendor/rack-test/spec/rack/test/utils_spec.rb",
"vendor/rack-test/spec/rack/test/utils_spec.rb",
"vendor/rack-test/spec/rack/test_spec.rb",
"vendor/rack-test/spec/rack/test_spec.rb",
"vendor/rack-test/spec/rcov.opts",
"vendor/rack-test/spec/rcov.opts",
"vendor/rack-test/spec/spec.opts",
"vendor/rack-test/spec/spec.opts",
"vendor/rack-test/spec/spec_helper.rb",
"vendor/rack-test/spec/spec_helper.rb",
"vendor/sinatra-content-for/LICENSE",
"vendor/sinatra-content-for/LICENSE",
"vendor/sinatra-content-for/README.rdoc",
"vendor/sinatra-content-for/README.rdoc",
"vendor/sinatra-content-for/Rakefile",
"vendor/sinatra-content-for/Rakefile",
"vendor/sinatra-content-for/lib/sinatra/content_for.rb",
"vendor/sinatra-content-for/lib/sinatra/content_for.rb",
"vendor/sinatra-content-for/sinatra-content-for.gemspec",
"vendor/sinatra-content-for/sinatra-content-for.gemspec",
"vendor/sinatra-content-for/test/content_for_test.rb",
"vendor/sinatra-content-for/test/content_for_test.rb",
"vendor/sinatra-markaby/CHANGES",
"vendor/sinatra-markaby/CHANGES",
"vendor/sinatra-markaby/LICENSE",
"vendor/sinatra-markaby/LICENSE",
"vendor/sinatra-markaby/README.rdoc",
"vendor/sinatra-markaby/README.rdoc",
"vendor/sinatra-markaby/Rakefile",
"vendor/sinatra-markaby/Rakefile",
"vendor/sinatra-markaby/TODO",
"vendor/sinatra-markaby/TODO",
"vendor/sinatra-markaby/VERSION.yml",
"vendor/sinatra-markaby/VERSION.yml",
"vendor/sinatra-markaby/lib/sinatra/markaby.rb",
"vendor/sinatra-markaby/lib/sinatra/markaby.rb",
"vendor/sinatra-markaby/sinatra-markaby.gemspec",
"vendor/sinatra-markaby/sinatra-markaby.gemspec",
"vendor/sinatra-markaby/test/sinatra_markaby_test.rb",
"vendor/sinatra-markaby/test/sinatra_markaby_test.rb",
"vendor/sinatra-markaby/test/test_helper.rb",
"vendor/sinatra-markaby/test/test_helper.rb",
"vendor/sinatra-markaby/test/views/hello.mab",
"vendor/sinatra-markaby/test/views/hello.mab",
"vendor/sinatra-markaby/test/views/html.mab",
"vendor/sinatra-markaby/test/views/html.mab",
"vendor/sinatra-maruku/LICENSE",
"vendor/sinatra-maruku/LICENSE",
"vendor/sinatra-maruku/README.markdown",
"vendor/sinatra-maruku/README.markdown",
"vendor/sinatra-maruku/Rakefile",
"vendor/sinatra-maruku/Rakefile",
"vendor/sinatra-maruku/VERSION.yml",
"vendor/sinatra-maruku/VERSION.yml",
"vendor/sinatra-maruku/examples/app.rb",
"vendor/sinatra-maruku/examples/app.rb",
"vendor/sinatra-maruku/examples/config.ru",
"vendor/sinatra-maruku/examples/config.ru",
"vendor/sinatra-maruku/examples/mapp.rb",
"vendor/sinatra-maruku/examples/mapp.rb",
"vendor/sinatra-maruku/examples/public/javascripts/application.js",
"vendor/sinatra-maruku/examples/public/javascripts/application.js",
"vendor/sinatra-maruku/examples/public/stylesheets/application.css",
"vendor/sinatra-maruku/examples/public/stylesheets/application.css",
"vendor/sinatra-maruku/examples/public/stylesheets/print.css",
"vendor/sinatra-maruku/examples/public/stylesheets/print.css",
"vendor/sinatra-maruku/examples/views/index.maruku",
"vendor/sinatra-maruku/examples/views/index.maruku",
"vendor/sinatra-maruku/examples/views/layout.maruku",
"vendor/sinatra-maruku/examples/views/layout.maruku",
"vendor/sinatra-maruku/lib/sinatra/maruku.rb",
"vendor/sinatra-maruku/lib/sinatra/maruku.rb",
"vendor/sinatra-maruku/sinatra-maruku.gemspec",
"vendor/sinatra-maruku/sinatra-maruku.gemspec",
"vendor/sinatra-maruku/test/sinatra_maruku_test.rb",
"vendor/sinatra-maruku/test/sinatra_maruku_test.rb",
"vendor/sinatra-maruku/test/test_helper.rb",
"vendor/sinatra-maruku/test/test_helper.rb",
"vendor/sinatra-maruku/test/views/hello.maruku",
"vendor/sinatra-maruku/test/views/hello.maruku",
"vendor/sinatra-maruku/test/views/layout2.maruku",
"vendor/sinatra-maruku/test/views/layout2.maruku"
]
s.homepage = %q{http://github.com/tdreyno/middleman}