Permalink
Browse files

Renamed to dynamic_form

  • Loading branch information...
1 parent 2ea1af5 commit e46998705749b39490f6f48657b3c4c28e94597b @joelmoss committed Aug 9, 2010
Showing with 66 additions and 3 deletions.
  1. +2 −2 Rakefile
  2. +58 −0 dynamic_form.gemspec
  3. +1 −1 init.rb
  4. +5 −0 lib/dynamic_form.rb
View
4 Rakefile
@@ -4,7 +4,7 @@ require 'rake/testtask'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
- gem.name = "dynamic-form"
+ gem.name = "dynamic_form"
gem.summary = %Q{DynamicForm holds a few helper methods to help you deal with your Rails3 models}
gem.description = %Q{DynamicForm holds a few helper methods to help you deal with your Rails3 models. It includes the stripped out methods from Rails 2; error_message_on and error_messages_for}
gem.email = "joel@developwithstyle.com"
@@ -21,7 +21,7 @@ end
desc 'Default: run unit tests.'
task :default => :test
-desc 'Test the dynamic-form plugin.'
+desc 'Test the dynamic_form plugin.'
Rake::TestTask.new(:test) do |t|
t.libs << 'test'
t.pattern = 'test/**/*_test.rb'
View
58 dynamic_form.gemspec
@@ -0,0 +1,58 @@
+# Generated by jeweler
+# DO NOT EDIT THIS FILE DIRECTLY
+# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = %q{dynamic_form}
+ s.version = "1.0.0"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Joel Moss"]
+ s.date = %q{2010-08-09}
+ s.description = %q{DynamicForm holds a few helper methods to help you deal with your Rails3 models. It includes the stripped out methods from Rails 2; error_message_on and error_messages_for}
+ s.email = %q{joel@developwithstyle.com}
+ s.extra_rdoc_files = [
+ "README"
+ ]
+ s.files = [
+ ".gitignore",
+ "Gemfile",
+ "Gemfile.lock",
+ "MIT-LICENSE",
+ "README",
+ "Rakefile",
+ "VERSION",
+ "dynamic-form.gemspec",
+ "init.rb",
+ "lib/action_view/helpers/dynamic_form.rb",
+ "lib/action_view/locale/en.yml",
+ "test/dynamic_form_i18n_test.rb",
+ "test/dynamic_form_test.rb",
+ "test/test_helper.rb"
+ ]
+ s.homepage = %q{http://codaset.com/joelmoss/dynamic-form}
+ s.rdoc_options = ["--charset=UTF-8"]
+ s.require_paths = ["lib"]
+ s.rubygems_version = %q{1.3.7}
+ s.summary = %q{DynamicForm holds a few helper methods to help you deal with your Rails3 models}
+ s.test_files = [
+ "test/dynamic_form_i18n_test.rb",
+ "test/dynamic_form_test.rb",
+ "test/test_helper.rb"
+ ]
+
+ if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+ s.add_development_dependency(%q<mocha>, [">= 0"])
+ else
+ s.add_dependency(%q<mocha>, [">= 0"])
+ end
+ else
+ s.add_dependency(%q<mocha>, [">= 0"])
+ end
+end
+
View
2 init.rb
@@ -1 +1 @@
-require 'dynamic-form'
+require 'dynamic_form'
View
5 lib/dynamic_form.rb
@@ -0,0 +1,5 @@
+require 'action_view/helpers/dynamic_form'
+
+class ActionView::Base
+ include DynamicForm
+end

0 comments on commit e469987

Please sign in to comment.