David Heinemeier Hansson
dd665ff967
Fixed that script/generate would not look for plugin generators in plugin_paths ( closes #11000 ) [glv]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9017 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2008-03-13 02:47:26 +00:00
Jeremy Kemper
d7515d4b09
Ruby 1.9 compat: use .to_a instead of .map which now returns an enumerator
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8437 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-12-19 04:21:12 +00:00
David Heinemeier Hansson
c361caf8b4
Doc fix ( closes #9203 ) [lazyatom]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7551 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-09-22 17:43:31 +00:00
Jeremy Kemper
868e6b08df
Generators: look for generators in all gems, not just those suffixed with _generator, in the gem's generators or rails_generators directory. Allow use of the rails_generators directory instead of the standard generators directory in plugins also. Closes #8730 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7139 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-06-27 09:25:25 +00:00
Jeremy Kemper
aa7859c976
Plugins may be symlinked in vendor/plugins. Closes #4245 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6101 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-02-01 20:12:36 +00:00
Marcel Molina
6186490962
Replace Ruby's deprecated append_features in favor of included. [Marcel Molina Jr.]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4310 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-29 18:10:14 +00:00
Jeremy Kemper
cebb8ff04b
Name vendor/generators source differently from lib/generators source.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3265 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-09 23:41:46 +00:00
Jeremy Kemper
08309ba51a
Generator looks in vendor/generators also.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3262 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-09 23:06:04 +00:00
David Heinemeier Hansson
25410d53cf
Added that plugins can carry generators and that generator stub files can be created along with new plugins using script/generate plugin <name> --with-generator [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2797 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 23:52:34 +00:00
Tobias Lütke
cbbb036866
moved generators to lib/generators
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2658 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-16 21:47:42 +00:00
Jeremy Kemper
f29ce1f356
r3023@asus: jeremy | 2005-07-12 23:43:39 -0700
...
Remove superfluous inherited override in Dependencies.
r3024@asus: jeremy | 2005-07-12 23:54:28 -0700
Make test the default railties rake target.
r3025@asus: jeremy | 2005-07-12 23:55:27 -0700
Encapsulate dispatch call in dispatcher test.
r3026@asus: jeremy | 2005-07-12 23:56:14 -0700
Expand dispatcher mock to match full method signature for process.
r3027@asus: jeremy | 2005-07-12 23:57:24 -0700
Look for app-specific generators in RAILS_ROOT/generators instead of RAILS_ROOT/script/generators.
r3028@asus: jeremy | 2005-07-13 00:00:47 -0700
Update changelog.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1819 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-13 02:12:00 +00:00
David Heinemeier Hansson
9a97cb25eb
Added lazy typing for generate, such that ./script/generate cn == ./script/generate controller and the likes #1051 [k@v2studio.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1137 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-10 17:36:57 +00:00
David Heinemeier Hansson
b1999be5a7
A hopefully more successful attempt at the Routing branch merge
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@617 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 01:45:35 +00:00
David Heinemeier Hansson
88a3343ed5
Backed out of routing merge.. investigating missing patches
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 01:24:55 +00:00
David Heinemeier Hansson
c844755e5a
Merged back the Routing branch
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 00:51:02 +00:00
David Heinemeier Hansson
daee6fd92a
Added new generator framework that informs about its doings on generation and enables updating and destruction of generated artifacts. See the new script/destroy and script/update for more details #487 [bitsweat]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@518 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-07 13:14:05 +00:00