forked from ryana/sortable_table
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
31 lines (27 loc) · 870 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
require 'rake'
require 'rake/testtask'
require 'date'
test_files_pattern = 'test/rails_root/test/{unit,functional,other}/**/*_test.rb'
Rake::TestTask.new do |t|
t.libs << 'lib'
t.pattern = test_files_pattern
t.verbose = false
end
desc "Run the test suite"
task :default => :test
spec = Gem::Specification.new do |s|
s.name = "sortable_table"
s.summary = "Sort HTML tables in a Rails app."
s.email = "[email protected]"
s.homepage = "http://github.com/dancroak/sortable_table"
s.description = "Sort HTML tables in a Rails app."
s.authors = ["Dan Croak", "Joe Ferris", "Boston.rb"]
s.files = FileList["[A-Z]*", "{lib,rails,test}/**/*"]
end
begin
require 'rubygems'
require 'jeweler'
Jeweler.gemspec = spec
rescue LoadError
puts "Jeweler not available. sudo gem install technicalpickles-jeweler --source=http://gems.github.com"
end