José Valim
|
419ca7a747
|
Ensure that developers options are overwritten by user options.
|
2009-07-28 08:48:21 +02:00 |
|
José Valim
|
67c2f53938
|
Allow templates for non namespaced generators too.
|
2009-07-25 21:14:43 +02:00 |
|
José Valim
|
edd07b5a7a
|
Updated vendored thor to 0.11.3.
|
2009-07-23 14:30:49 +02:00 |
|
José Valim
|
178044dbd2
|
Do not try to use thor gem.
|
2009-07-23 07:33:54 +02:00 |
|
José Valim
|
33048b6e27
|
Solving merge conflicts.
|
2009-07-21 12:51:53 +02:00 |
|
José Valim
|
edda0bfe76
|
Allow nested and multiple fallbacks for generators.
|
2009-07-21 12:16:25 +02:00 |
|
José Valim
|
10fd021789
|
Change attributes default type to array to allow order to be preserved.
|
2009-07-21 12:00:02 +02:00 |
|
José Valim
|
c90419d4f4
|
Update db:sessions:create to use the proper generator.
|
2009-07-21 11:28:54 +02:00 |
|
Yehuda Katz + Carl Lerche
|
e7a2496fda
|
Vendor the bundler project
|
2009-07-20 18:03:38 -07:00 |
|
José Valim
|
d6a590a710
|
Modified rake tasks to use new app generator structure and updated Thor version.
|
2009-07-16 11:17:19 +02:00 |
|
José Valim
|
b03034a686
|
Update vendored Thor to have latest actions updates.
|
2009-07-16 10:16:23 +02:00 |
|
José Valim
|
e3d5364e41
|
Implemented generaators fallbacks.
|
2009-07-16 00:17:28 +02:00 |
|
José Valim
|
9c4ba74b7c
|
Change generators configuration to have a hash style.
|
2009-07-15 23:38:41 +02:00 |
|
José Valim
|
bcf754d8c4
|
Add a form hook to erb scaffold. Customize and go!
|
2009-07-15 22:43:25 +02:00 |
|
José Valim
|
8d47078a49
|
Added source_paths to rails generators. If a template is added to RAILS_ROOT/lib/templates/base/generator it will be used. For example, to customize edit.html.erb template on scaffold, just add a customized copy at RAILS_ROOT/lib/templates/erb/scaffold.
|
2009-07-15 22:37:22 +02:00 |
|
José Valim
|
b4ef958de6
|
Change false to :verbose => false as in new Thor version.
|
2009-07-15 20:16:37 +02:00 |
|
José Valim
|
baa4781ac7
|
Allow nil and false to be given as configuration values and avoid creating unecessary hashes.
|
2009-07-15 16:53:54 +02:00 |
|
José Valim
|
7022b58842
|
Allow namespaced configuration on generators.
|
2009-07-15 16:20:48 +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
|
e96af1eaa2
|
Add version to thor frozen gem.
|
2009-07-14 15:44:14 +02:00 |
|
José Valim
|
925c9104e0
|
Copy Thor files instead of using as a submodule.
|
2009-07-13 23:21:47 +02:00 |
|
José Valim
|
5021dc69a4
|
Vendorized Thor.
|
2009-07-13 23:13:48 +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
|
25647f7021
|
Add some attribute readers to migration module.
|
2009-07-13 20:42:25 +02:00 |
|
José Valim
|
b9f4ea7198
|
Add hooks for integration and performance tests.
|
2009-07-13 18:29:40 +02:00 |
|
José Valim
|
f68e7a3987
|
Remove generator environment until we have a gem manifest.
|
2009-07-13 18:18:08 +02:00 |
|
José Valim
|
21019304f0
|
Make explicit that references and belongs_to types have nil as default value.
|
2009-07-13 16:18:56 +02:00 |
|
José Valim
|
ae7a7852d5
|
Always allow params to be skipped on action orm in generators.
|
2009-07-13 15:08:45 +02:00 |
|
José Valim
|
d5225c1fd5
|
Do not require options on class_option.
|
2009-07-13 14:30:32 +02:00 |
|
José Valim
|
cd28dcb5a4
|
Cache source root in a rails specific variable.
|
2009-07-13 13:39:48 +02:00 |
|
José Valim
|
3075ae0611
|
Solving merge conflicts.
|
2009-07-12 16:29:15 +02:00 |
|
Joshua Peek
|
01d92021e6
|
Switch scaffolding templates to HTML 5 doctype
|
2009-07-10 11:34:39 -05:00 |
|
José Valim
|
cca16a015d
|
Do not clean up frameworks on generators environment, otherwise initializers, gems and plugins might not be loaded properly.
|
2009-07-09 10:04:59 +02:00 |
|
José Valim
|
09c288f0c5
|
Add the new generators environment and update commands.
|
2009-07-08 12:55:50 +02:00 |
|
José Valim
|
c9ea21717e
|
Generators are configured on initialization if RAILS_ENV=generators.
|
2009-07-08 12:53:45 +02:00 |
|
José Valim
|
2699e9c2dd
|
Added config.generators with tests.
|
2009-07-08 12:53:45 +02:00 |
|
José Valim
|
c07746cbdf
|
Merge branch 'master' of git://github.com/rails/rails
|
2009-07-08 12:53:13 +02:00 |
|
Yehuda Katz + Carl Lerche
|
61604feec0
|
Get Initializer tests running without requiring parts of Rails being loaded first
|
2009-07-06 12:25:34 -07:00 |
|
Yehuda Katz + Carl Lerche
|
9a42e06dd8
|
Reapply Rails::Application::Path tweaks
Reapplies: a4bdc00fec623f72592e663e6d7830eea0bc6ea4
3c1dab72259d01c6335bf359d7f9b3af69d45bb4
|
2009-07-06 10:22:42 -07:00 |
|
José Valim
|
dd7ee082be
|
Use active_support/mini since we just need inflections.
|
2009-07-06 18:38:27 +02:00 |
|
José Valim
|
66d1b968d1
|
Make specs pass on Ruby 1.9.
|
2009-07-06 18:31:28 +02:00 |
|
José Valim
|
eeb6a0786a
|
Load generators from user home and show a error message if they can't be loaded.
|
2009-07-04 20:17:32 +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
|
cd388e075c
|
Search for generators on vendorized plugins and gems.
|
2009-07-04 20:17:31 +02:00 |
|
José Valim
|
37ba0047a9
|
Removed invoke_if and allow hook_for to accept boolean options.
|
2009-07-04 20:17:31 +02:00 |
|
José Valim
|
44633dc7a5
|
Add some tests for no_color! behavior.
|
2009-07-03 15:12:18 +02:00 |
|