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
85ff67ce4c
Merge branch 'master' of git://github.com/rails/rails
2009-06-27 21:27:21 +02:00
Yehuda Katz + Carl Lerche
188a892c5a
Starting to replace scattered path configuration settings with the path object
2009-06-26 17:32:05 -07:00
Yehuda Katz + Carl Lerche
4153c6b720
Finished a first stab at the Rails application path object.
2009-06-26 15:37:52 -07:00
Yehuda Katz + Carl Lerche
b0774281ef
Update paths to support an explicit root and multiple paths per category
2009-06-26 15:37:52 -07:00
Yehuda Katz + Carl Lerche
728e3b4047
Simple initial Paths impl
2009-06-26 15:37:52 -07: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
b72d966707
Merge branch 'master' of git://github.com/rails/rails
2009-06-25 10:38:17 +02:00
Yehuda Katz + Carl Lerche
9d398f4827
Got all the railties tests to pass, rails must boot!
2009-06-23 14:49:04 -07:00
Yehuda Katz + Carl Lerche
30baaac546
Fix the default frameworks
2009-06-23 14:49:04 -07:00
Yehuda Katz + Carl Lerche
9cfd1d4491
Get more tests to pass
2009-06-23 14:49:04 -07:00
Yehuda Katz + Carl Lerche
f2aea4d3ea
Get initializer_test.rb to pass with the new initializer.
2009-06-23 14:49:03 -07:00
Yehuda Katz + Carl Lerche
a3309e4d70
Started making progress on implementing a new initializer.
...
Class.any_instance.expects(:require).raises(LoadError)
... w0t
2009-06-23 14:49:03 -07:00
Yehuda Katz + Carl Lerche
99b8248f6e
Initial initializer impl
2009-06-23 14:49:03 -07:00
Yehuda Katz + Carl Lerche
805369c8c8
Starting to write the new initializer
2009-06-23 14:49:03 -07: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
José Valim
1845675822
Added metal generator.
2009-06-23 16:53:47 +02:00
José Valim
f03890e151
Use Rails generators files organization.
2009-06-23 16:53:47 +02:00
José Valim
6dd196914c
Remove class level conditions and ensure that RAILS_GEM_VERSION is commented when freeze.
2009-06-20 22:04:34 +02:00
José Valim
2c3ebc00b7
More tests to app generator.
2009-06-20 16:58:15 +02:00
José Valim
181feecfb9
First stub at app generators test.
2009-06-20 15:43:25 +02:00
José Valim
5b8fe9c4c7
Moving tests to new generators schema.
2009-06-19 16:11:55 +02:00
José Valim
9dd1e2f2b0
Starting test structure.
2009-06-19 16:11:55 +02:00
José Valim
98adc9a42e
Secret key generator. You are gone.
2009-06-19 16:11:55 +02:00
José Valim
94a83007b6
Kick boot_test back to life.
2009-06-19 16:11:54 +02:00
Yehuda Katz + Carl Lerche
85f2f34d5e
Remove a stray process2 require
2009-06-16 16:29:33 -07:00
Yehuda Katz + Carl Lerche
7b1f483fda
Get all of rake tests to pass
2009-06-15 16:14:45 -07:00
Matt Jones
d7e0cb05cc
Fix incorrect specification path in GemDependency#from_directory_name
...
Signed-off-by: Michael Koziarski <michael@koziarski.com>
2009-06-10 09:57:58 +12:00
Matt Jones
41a94048e5
Fix several issues with the 2.3.2 gem loader.
...
Incorporates the following:
- migrates back small change to gems:build:force from bfc1609a501fc3ed442685819de5bcdb5fbada1c to finish closing #2266 .
- unrolls to_proc calls in gems.rake, to match the change in master.
- fixes #2722 by passing the options hash to dependencies during build. (includes a test)
- fixes #2721 by loading the specification directly in from_directory_name. Adds an option to opt-out of specification loading when needed (in gems:refresh_specs, for instance). Includes tests.
- fixes #2679 by refreshing specs for all frozen gems rather than just gems loaded from the environment.
- fixes #2678 by passing the options hash to dependencies during unpack.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
2009-06-09 19:57:38 +12:00
Jeremy Kemper
dcba6e1148
Fix initializer i18n path test
2009-06-01 13:44:43 -07:00
calavera
0d9e904da3
ensure initialize_database_middleware doesn't use ActionController if action_controller framework is not enabled [ #2680 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-05-27 14:56:14 -05:00
Fabien Jakimowicz
2cb60abfec
Add an model_subclass generator.
...
This generator creates a new model as a subclass of an existing model and the unit test for that model. Lets users avoid having to manually delete the fixtures and migration or remember to pass those arguments.
[#2702 state:committed]
Signed-off-by: Michael Koziarski <michael@koziarski.com>
2009-05-27 13:14:04 +02:00
Yehuda Katz
4fa871654d
Get Railties passing again
2009-05-16 12:28:25 -07:00
Jeremy Kemper
e8550ee032
Cherry-pick core extensions
2009-05-13 12:00:15 -07:00
David Dollar
7149ddd2a1
Additional tests for the gem subsystem
...
* test_gem_ignores_development_dependencies
* test_gem_guards_against_duplicate_unpacks
* test_gem_does_not_unpack_framework_gems
[#2236 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2009-04-29 08:07:57 -07:00