public
Description: A Rails plugin for creating a non-AJAX form containing a single button element. Allowing actions to be both safe, not javascript dependent and easily styled.
Homepage:
Clone URL: git://github.com/vigetlabs/action_button.git
brianjlandau (author)
Fri Mar 13 07:26:12 -0700 2009
commit  a89eca538f056f40ae7f68240b88a1bbfb19b374
tree    e7eaf047ec13c97af2c88e8103275d8f053a3e22
parent  11810c2467fd3455001bf59a7ed2bec338c064c7
action_button / Rakefile
100644 24 lines (19 sloc) 0.585 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
 
 
desc 'Default: run unit tests.'
task :default => :test
 
desc 'Test the action_button plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end
 
desc 'Generate documentation for the action_button plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'ActionButton'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README', 'CHANGES', 'MIT-LICENSE')
  rdoc.rdoc_files.include('lib/**/*.rb')
end