commit a7d0cc21f02c4583b179ebdfa37e837f85dfb35a Author: Carlos Antonio da Silva Date: Wed Nov 18 15:45:35 2009 -0200 Initial commit. diff --git a/CHANGELOG.rdoc b/CHANGELOG.rdoc new file mode 100644 index 00000000..e69de29b diff --git a/MIT-LICENSE b/MIT-LICENSE new file mode 100644 index 00000000..9376605b --- /dev/null +++ b/MIT-LICENSE @@ -0,0 +1,20 @@ +Copyright (c) 2009 [name of plugin creator] + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.rdoc b/README.rdoc new file mode 100644 index 00000000..80bbbf4d --- /dev/null +++ b/README.rdoc @@ -0,0 +1,20 @@ +SimpleForm +========== + +Forms made easy! + +== TODO + +Please refer to TODO file. + +== Contributors + +* José Valim (http://github.com/josevalim) +* Carlos Antônio da Silva (http://github.com/carlosantoniodasilva) + +== Bugs and Feedback + +If you discover any bugs or want to drop a line, feel free to create an issue on +GitHub or send an e-mail to the mailing list. + +MIT License. Copyright 2009 Plataforma Tecnologia. http://blog.plataformatec.com.br diff --git a/Rakefile b/Rakefile new file mode 100644 index 00000000..9f4025e1 --- /dev/null +++ b/Rakefile @@ -0,0 +1,23 @@ +require 'rake' +require 'rake/testtask' +require 'rake/rdoctask' + +desc 'Default: run unit tests.' +task :default => :test + +desc 'Test the simple_form plugin.' +Rake::TestTask.new(:test) do |t| + t.libs << 'lib' + t.libs << 'test' + t.pattern = 'test/**/*_test.rb' + t.verbose = true +end + +desc 'Generate documentation for the simple_form plugin.' +Rake::RDocTask.new(:rdoc) do |rdoc| + rdoc.rdoc_dir = 'rdoc' + rdoc.title = 'SimpleForm' + rdoc.options << '--line-numbers' << '--inline-source' + rdoc.rdoc_files.include('README') + rdoc.rdoc_files.include('lib/**/*.rb') +end diff --git a/TODO.rdoc b/TODO.rdoc new file mode 100644 index 00000000..e69de29b diff --git a/init.rb b/init.rb new file mode 100644 index 00000000..3c19a743 --- /dev/null +++ b/init.rb @@ -0,0 +1 @@ +# Include hook code here diff --git a/lib/simple_form.rb b/lib/simple_form.rb new file mode 100644 index 00000000..c45fdd33 --- /dev/null +++ b/lib/simple_form.rb @@ -0,0 +1 @@ +# SimpleForm diff --git a/test/simple_form_test.rb b/test/simple_form_test.rb new file mode 100644 index 00000000..9fba0b41 --- /dev/null +++ b/test/simple_form_test.rb @@ -0,0 +1,5 @@ +require 'test_helper' + +class SimpleFormTest < ActiveSupport::TestCase + +end diff --git a/test/test_helper.rb b/test/test_helper.rb new file mode 100644 index 00000000..cf148b8b --- /dev/null +++ b/test/test_helper.rb @@ -0,0 +1,3 @@ +require 'rubygems' +require 'active_support' +require 'active_support/test_case' \ No newline at end of file