Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

Commit

Permalink
update Readme and add note to gem install to iform people to check th…
Browse files Browse the repository at this point in the history
…e wiki, http://wiki.github.com/indirect/rails3-generators/,  for information about recent changes to the project.
  • Loading branch information
negonicrac committed Jun 20, 2010
1 parent 4ad4daf commit 70dbde6
Show file tree
Hide file tree
Showing 3 changed files with 108 additions and 8 deletions.
20 changes: 19 additions & 1 deletion README.rdoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
= rails3-generators

Rails 3 compatible generators for DataMapper, Haml, Factory-girl, Authlogic, Mongomapper, Shoulda, Formtastic and SimpleForm
Generators for DataMapper, Haml, Factory-girl, Authlogic, Mongomapper, Shoulda, Formtastic and SimpleForm

== install

gem install rails3-generators

and add the following to your project's Gemfile

gem 'rails3-generators'

== notes

To avoid overriding the rails built-in Erb template generators this project uses the namespace Erubis for *.erb templates

config.generators do |g|
g.template_engine :erubis
end

== Note on Patches/Pull Requests

Expand Down Expand Up @@ -29,3 +45,5 @@ Machinist: Darcy Laycock
Shoulda: Peter Haza

SimpleForm: Peter Gumeson

and more[http://github.com/indirect/rails3-generators/contributors]
16 changes: 15 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,28 @@ require 'rake'

begin
require 'jeweler'

Jeweler::Tasks.new do |gem|
version = File.exist?('VERSION') ? File.read('VERSION') : ""

gem.name = "rails3-generators"
gem.summary = %Q{Rails 3 compatible generators}
gem.description = %Q{Rails 3 compatible generators for DataMapper, Haml, Factory-girl, Authlogic, Mongomapper, Shoulda, Formtastic and SimpleForm}
gem.email = "[email protected]"
gem.homepage = "http://github.com/indirect/rails3-generators"
gem.authors = ["Jose Valim", "Anuj Dutta", "Paul Berry", "Jeff Tucker", "Louis T.", "Jai-Gouk Kim", "Darcy Laycock", "Peter Haza", "Peter Gumeson"]
gem.add_development_dependency "rspec", ">= 1.2.9"
# gem.add_development_dependency "rspec", ">= 1.2.9"
gem.post_install_message =
%Q{
rails3-generators-#{version}
Be sure to check out the wiki, http://wiki.github.com/indirect/rails3-generators/,
for information about recent changes to this project.
note: if you use erb templates add the follow to your generators block to take full advantage of this gem.
g.template_engine :erubis
}

end
Jeweler::GemcutterTasks.new
rescue LoadError
Expand Down
80 changes: 74 additions & 6 deletions rails3-generators.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,19 @@

Gem::Specification.new do |s|
s.name = %q{rails3-generators}
s.version = "0.8.2"
s.version = "0.9.0"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Jose Valim", "Anuj Dutta", "Paul Berry", "Jeff Tucker", "Louis T.", "Jai-Gouk Kim", "Darcy Laycock", "Peter Haza", "Peter Gumeson"]
s.date = %q{2010-06-16}
s.date = %q{2010-06-19}
s.description = %q{Rails 3 compatible generators for DataMapper, Haml, Factory-girl, Authlogic, Mongomapper, Shoulda, Formtastic and SimpleForm}
s.email = %q{[email protected]}
s.extra_rdoc_files = [
"README.rdoc"
]
s.files = [
".gitignore",
"Gemfile",
"README.rdoc",
"Rakefile",
"VERSION",
Expand All @@ -31,13 +32,33 @@ Gem::Specification.new do |s|
"lib/generators/datamapper/model/templates/model.rb",
"lib/generators/datamapper/observer/observer_generator.rb",
"lib/generators/datamapper/observer/templates/observer.rb",
"lib/generators/erubis.rb",
"lib/generators/erubis/controller/controller_generator.rb",
"lib/generators/erubis/controller/templates/view.html.erb",
"lib/generators/erubis/scaffold/scaffold_generator.rb",
"lib/generators/erubis/scaffold/templates/_form.html.erb",
"lib/generators/erubis/scaffold/templates/edit.html.erb",
"lib/generators/erubis/scaffold/templates/index.html.erb",
"lib/generators/erubis/scaffold/templates/new.html.erb",
"lib/generators/erubis/scaffold/templates/show.html.erb",
"lib/generators/factory_girl.rb",
"lib/generators/factory_girl/model/model_generator.rb",
"lib/generators/factory_girl/model/templates/fixtures.rb",
"lib/generators/formtastic.rb",
"lib/generators/formtastic/scaffold/scaffold_generator.rb",
"lib/generators/formtastic/scaffold/templates/_form.html.erb.erb",
"lib/generators/formtastic/scaffold/templates/_form.html.haml.erb",
"lib/generators/haml.rb",
"lib/generators/haml/controller/controller_generator.rb",
"lib/generators/haml/controller/templates/view.html.haml",
"lib/generators/haml/install/install_generator.rb",
"lib/generators/haml/install/templates/config/initializers/haml.rb.tt",
"lib/generators/haml/scaffold/scaffold_generator.rb",
"lib/generators/haml/scaffold/templates/_form.html.haml.erb",
"lib/generators/haml/scaffold/templates/edit.html.haml.erb",
"lib/generators/haml/scaffold/templates/index.html.haml.erb",
"lib/generators/haml/scaffold/templates/new.html.haml.erb",
"lib/generators/haml/scaffold/templates/show.html.haml.erb",
"lib/generators/machinist.rb",
"lib/generators/machinist/model/model_generator.rb",
"lib/generators/machinist/model/templates/blueprint.rb",
Expand All @@ -51,26 +72,73 @@ Gem::Specification.new do |s|
"lib/generators/shoulda/controller/templates/controller.rb",
"lib/generators/shoulda/model/model_generator.rb",
"lib/generators/shoulda/model/templates/model.rb",
"lib/generators/simple_form.rb",
"lib/generators/simple_form/scaffold/scaffold_generator.rb",
"lib/generators/simple_form/scaffold/templates/_form.html.erb.erb",
"lib/generators/simple_form/scaffold/templates/_form.html.haml.erb",
"lib/rails3-generators.rb",
"rails3-generators.gemspec"
"rails3-generators.gemspec",
"test/fixtures/routes.rb",
"test/lib/generators/authlogic/session_generator_test.rb",
"test/lib/generators/datamapper/migration_generator_test.rb",
"test/lib/generators/datamapper/model_generator_test.rb",
"test/lib/generators/datamapper/observer_generator_test.rb",
"test/lib/generators/erubis/controller_generator_test.rb",
"test/lib/generators/erubis/scaffold_generator_test.rb",
"test/lib/generators/factory_girl/model_generator_test.rb",
"test/lib/generators/formtastic/scaffold_generators_test.rb",
"test/lib/generators/haml/controller_generator_test.rb",
"test/lib/generators/haml/install_generator_test.rb",
"test/lib/generators/haml/scaffold_generator_test.rb",
"test/lib/generators/machinist/model_generator_test.rb",
"test/lib/generators/mongomapper/model_generator_test.rb",
"test/lib/generators/mongomapper/observer_generator_test.rb",
"test/lib/generators/simple_form/scaffold_generators_test.rb",
"test/test_helper.rb"
]
s.homepage = %q{http://github.com/indirect/rails3-generators}
s.post_install_message = %q{
rails3-generators-0.9.0
Be sure to check out the wiki, http://wiki.github.com/indirect/rails3-generators/,
for information about recent changes to this project.
note: if you use erb templates add the follow to your generators block take full advantage of this gem.
g.template_engine :erubis
}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.7}
s.summary = %q{Rails 3 compatible generators}
s.test_files = [
"test/fixtures/routes.rb",
"test/lib/generators/authlogic/session_generator_test.rb",
"test/lib/generators/datamapper/migration_generator_test.rb",
"test/lib/generators/datamapper/model_generator_test.rb",
"test/lib/generators/datamapper/observer_generator_test.rb",
"test/lib/generators/erubis/controller_generator_test.rb",
"test/lib/generators/erubis/scaffold_generator_test.rb",
"test/lib/generators/factory_girl/model_generator_test.rb",
"test/lib/generators/formtastic/scaffold_generators_test.rb",
"test/lib/generators/haml/controller_generator_test.rb",
"test/lib/generators/haml/install_generator_test.rb",
"test/lib/generators/haml/scaffold_generator_test.rb",
"test/lib/generators/machinist/model_generator_test.rb",
"test/lib/generators/mongomapper/model_generator_test.rb",
"test/lib/generators/mongomapper/observer_generator_test.rb",
"test/lib/generators/simple_form/scaffold_generators_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<rspec>, [">= 1.2.9"])
else
s.add_dependency(%q<rspec>, [">= 1.2.9"])
end
else
s.add_dependency(%q<rspec>, [">= 1.2.9"])
end
end

0 comments on commit 70dbde6

Please sign in to comment.