Skip to content

Commit

Permalink
Renamed to dynamic_form
Browse files Browse the repository at this point in the history
  • Loading branch information
joelmoss committed Aug 9, 2010
1 parent 2ea1af5 commit e469987
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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'
Expand Down
58 changes: 58 additions & 0 deletions dynamic_form.gemspec
Original file line number Diff line number Diff line change
@@ -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

2 changes: 1 addition & 1 deletion init.rb
Original file line number Diff line number Diff line change
@@ -1 +1 @@
require 'dynamic-form'
require 'dynamic_form'
5 changes: 5 additions & 0 deletions lib/dynamic_form.rb
Original file line number Diff line number Diff line change
@@ -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.