Turn output_compression plugin into a library

This commit is contained in:
Tom Hughes 2012-01-21 11:53:14 +00:00
parent ca8e1bf188
commit 29c1bab0e6
8 changed files with 1 additions and 36 deletions

View file

@ -0,0 +1 @@
require 'output_compression/output_compression'

View file

@ -1,22 +0,0 @@
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
desc 'Default: run unit tests.'
task :default => :test
desc 'Test the output_compression plugin.'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.pattern = 'test/**/*_test.rb'
t.verbose = true
end
desc 'Generate documentation for the output_compression plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'OutputCompression'
rdoc.options << '--line-numbers --inline-source'
rdoc.rdoc_files.include('README')
rdoc.rdoc_files.include('lib/**/*.rb')
end

View file

@ -1,2 +0,0 @@
# Include hook code here
require 'output_compression'

View file

@ -1,4 +0,0 @@
# desc "Explaining what the task does"
# task :output_compression do
# # Task goes here
# end

View file

@ -1,8 +0,0 @@
require 'test/unit'
class OutputCompressionTest < Test::Unit::TestCase
# Replace this with your real tests.
def test_this_plugin
flunk
end
end