This repository has been archived by the owner on Oct 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update Readme and add note to gem install to iform people to check th…
…e wiki, http://wiki.github.com/indirect/rails3-generators/, for information about recent changes to the project.
- Loading branch information
1 parent
4ad4daf
commit 70dbde6
Showing
3 changed files
with
108 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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", | ||
|
@@ -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", | ||
|
@@ -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 | ||
|