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

Commit

Permalink
remove simple_form generators
Browse files Browse the repository at this point in the history
  • Loading branch information
negonicrac committed Sep 11, 2012
1 parent 312c2b7 commit 0cdc57d
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 112 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.rdoc
Expand Up @@ -5,6 +5,7 @@
== Development == Development
* optimize * optimize
* MongoMapper generators removed. MongoMapper (https://github.com/jnunemaker/mongomapper) has its own generators. * MongoMapper generators removed. MongoMapper (https://github.com/jnunemaker/mongomapper) has its own generators.
* SimpleForm generators removed. SimpleForm (https://github.com/plataformatec/simple_form) has its own generators.


== 0.17.5 == 0.17.5
* optimize * optimize
Expand Down
2 changes: 2 additions & 0 deletions README.rdoc
Expand Up @@ -20,6 +20,8 @@ The jQuery generators have moved to {the jquery-rails gem}[http://github.com/ind


The MongoMapper generators moved to {the mongo_mapper gem}[https://github.com/jnunemaker/mongomapper]. The MongoMapper generators moved to {the mongo_mapper gem}[https://github.com/jnunemaker/mongomapper].


The SimpleForm generators moved to {the simple_form gem}[https://github.com/plataformatec/simple_form].

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


config.generators do |g| config.generators do |g|
Expand Down
30 changes: 0 additions & 30 deletions lib/generators/simple_form.rb

This file was deleted.

25 changes: 0 additions & 25 deletions lib/generators/simple_form/scaffold/scaffold_generator.rb

This file was deleted.

21 changes: 0 additions & 21 deletions lib/generators/simple_form/scaffold/templates/_form.html.erb.erb

This file was deleted.

15 changes: 0 additions & 15 deletions lib/generators/simple_form/scaffold/templates/_form.html.haml.erb

This file was deleted.

2 changes: 1 addition & 1 deletion lib/rails3-generators.rb
Expand Up @@ -47,7 +47,7 @@ module Rails3Generators
] ]
end end


%w(formtastic simple_form).each do |form_builder| %w(formtastic).each do |form_builder|
Rails::Generators.hidden_namespaces << Rails::Generators.hidden_namespaces <<
[ [
"#{form_builder}:scaffold" "#{form_builder}:scaffold"
Expand Down
19 changes: 0 additions & 19 deletions test/lib/generators/simple_form/scaffold_generators_test.rb

This file was deleted.

1 change: 0 additions & 1 deletion test/test_helper.rb
Expand Up @@ -49,7 +49,6 @@ def generator_list
{ {
:rails => ['scaffold', 'controller'], :rails => ['scaffold', 'controller'],
:erubis => ['scaffold'], :erubis => ['scaffold'],
:simple_form => ['scaffold'],
:formtastic => ['scaffold'], :formtastic => ['scaffold'],
:authlogic => ['session'], :authlogic => ['session'],
:koala => ['install'], :koala => ['install'],
Expand Down

0 comments on commit 0cdc57d

Please sign in to comment.