Commit Graph

87 Commits

Author SHA1 Message Date
José Valim
b4ef958de6 Change false to :verbose => false as in new Thor version. 2009-07-15 20:16:37 +02:00
José Valim
0702e04e0d Refactored some generators to make use of improved invocations on thor. 2009-07-15 11:33:36 +02:00
José Valim
a06c825b46 Updated vendored Thor to 0.11.1 and update Rails::Generators. 2009-07-14 22:20:43 +02:00
José Valim
52673cd2ee Added a generator generator. 2009-07-13 23:01:12 +02:00
José Valim
a5ab030ae4 Ensure non timestamped migrations are generated properly. 2009-07-13 22:26:58 +02:00
José Valim
09c288f0c5 Add the new generators environment and update commands. 2009-07-08 12:55:50 +02:00
José Valim
66d1b968d1 Make specs pass on Ruby 1.9. 2009-07-06 18:31:28 +02:00
José Valim
b277cf28e8 Allow scaffold controller to load action_orm files on demand. 2009-07-04 20:17:32 +02:00
José Valim
35925a8995 Ensure that rails templates methods are invoked with the proper extensions [#2531 status:resolved] 2009-07-04 20:17:32 +02:00
José Valim
8ff214e0db Use the proper shebang when using Ruby 1.9 or jruby or windows. 2009-07-04 20:17:32 +02:00
José Valim
da09d46ed4 Make generators test pass with latest Thor version 2009-07-04 20:17:32 +02:00
José Valim
21db04818e More tests for rails generators and lookup. 2009-07-03 14:57:46 +02:00
José Valim
3ca504c966 Removed remaining old generators files. 2009-07-03 14:57:46 +02:00
José Valim
de68cf7e06 Plugin generators now reflect new generators sutrcture. 2009-07-03 14:57:46 +02:00
José Valim
d1c404ee90 Added lookup to generators. 2009-07-03 14:57:46 +02:00
José Valim
528d555e37 Make invoke output white and use padding. 2009-07-02 15:55:21 +02:00
José Valim
ea0b0c820d rm -rf rails_generator/generators 2009-07-02 10:27:40 +02:00
José Valim
c972b25df5 Tests for scaffold generator. 2009-07-02 10:27:40 +02:00
José Valim
a7c1591315 Added stylesheets controller which is invoked by scaffold. 2009-07-02 10:27:40 +02:00
José Valim
1a4d8aca8a Added tests to scaffold controller. 2009-07-02 10:27:40 +02:00
José Valim
555a956a66 Ensure both migration and routes are removed on revoke. 2009-07-02 10:27:39 +02:00
José Valim
dec1ee7422 Started with scaffold controller and added remove_hook_for. 2009-07-02 10:27:39 +02:00
José Valim
95ef9bd67f Simplifying resource generator. 2009-06-29 19:56:22 +02:00
José Valim
ff4c600448 Added singleton support to resource controller. 2009-06-28 19:57:00 +02:00
José Valim
9413dba432 Added tessts for resources generator. 2009-06-28 19:46:34 +02:00
José Valim
1ca51df000 Added migration and session_migration generator. 2009-06-28 13:16:14 +02:00
José Valim
4f3e44fa03 Move file action only to app generator. 2009-06-28 12:00:13 +02:00
José Valim
496dde95fb Added migrations and make base generators be lazy loaded. 2009-06-28 11:56:44 +02:00
José Valim
c03585aa8d Show invoked generators options on meta generators. 2009-06-27 21:30:00 +02:00
José Valim
fdeee65c96 Add model_subclass generator with deprecation warning. 2009-06-27 21:30:00 +02:00
José Valim
7b6c5ed7db Added parent option to model generator. 2009-06-27 21:30:00 +02:00
José Valim
acaeaf308a Add a fixture replacement hook to TestUnit model generator. 2009-06-27 21:29:59 +02:00
José Valim
8c5622f0d4 Initial scratch of model generators. 2009-06-27 21:29:59 +02:00
José Valim
ff48e23a4e Make Observer generator agnostic. 2009-06-27 21:29:59 +02:00
José Valim
e375819b76 Spec --no and --skip. 2009-06-26 20:42:00 +02:00
José Valim
e2346244a2 Added Controller Generators. 2009-06-26 11:59:14 +02:00
José Valim
2f3681dfc2 Clean up class collisions check and a class method helper. 2009-06-26 11:59:14 +02:00
José Valim
6bd101188e Class collision checks. 2009-06-26 11:59:14 +02:00
José Valim
e084313640 Added HelperGenerator. 2009-06-26 11:59:13 +02:00
José Valim
da1baeab4a Added integration and performance test generators. 2009-06-26 11:59:13 +02:00
José Valim
aee63a12f2 More tests for mailer. 2009-06-25 16:27:44 +02:00
José Valim
534f7b54e3 Mailer tests. 2009-06-25 16:21:33 +02:00
José Valim
0bb95968db More code refactoring. 2009-06-25 15:45:15 +02:00
José Valim
ed33c29a4e Added class collision checks. 2009-06-25 11:56:18 +02:00
José Valim
4573fd2e06 Added observer generator. 2009-06-25 11:24:35 +02:00
José Valim
eaef1ee09c Make tests pass again after merge. 2009-06-25 10:44:46 +02:00
José Valim
5337766fa0 Tests for metal generator. 2009-06-25 10:39:44 +02:00
José Valim
f596495556 Tests for plugin generator. 2009-06-25 10:39:44 +02:00
José Valim
4494a752c3 Change current sstructure. 2009-06-23 19:10:42 +02:00
José Valim
d4ec091580 Removing template runner old specs. 2009-06-23 16:58:43 +02:00