Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix tests. | Rafael Mendonça França | 2012-08-02 | 1 | -2/+2 |
| | | | | | Since b6ab4417720e03f1551abda2f1e4bd0a392dd04e the single quotes are being escaped in the templates. | ||||
* | Remove ActionDispatch::Head middleware in favor of Rack::Head | Santiago Pastorino | 2012-07-23 | 2 | -2/+8 |
| | | | | Closes #7110 there's more work to do on rack-cache issue 69 | ||||
* | adding Rails::Queueing::Container | Aaron Patterson | 2012-07-19 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | This allows us to do: In your configuration: Rails.queue[:image_queue] = SomeQueue.new Rails.queue[:mail_queue] = SomeQueue.new In your app code: Rails.queue[:mail_queue].push MailJob.new Both jobs pushed to the same default queue Rails.queue.push DefaultJob.new Rails.queue[:default].push DefaultJob.new | ||||
* | Remove RoutesInspector from railties, since it was moved to AP | Carlos Antonio da Silva | 2012-07-08 | 1 | -168/+0 |
| | | | | | Changes introduced in 7404cda9f61e41d52ce244d60abbf598684a96c4. Fix railties build. | ||||
* | Ensure jobs do not refer to the queue | Paul Battley | 2012-07-03 | 1 | -0/+15 |
| | | | | | | | | Jobs pushed to the queue should not contain a reference to it. As the queue itself cannot be marshalled, and as a consequence of checking the marshallability of all jobs in the test environment, we can now guarantee this to be the case in the test environment when using the default TestQueue implementation. | ||||
* | Ensure test jobs are marshallable | Paul Battley | 2012-07-03 | 1 | -8/+28 |
| | | | | | | | | | | By marshalling and unmarshalling jobs when adding them to the test queue, we can ensure that jobs created during test runs are valid candidates for marshalling, and, thus, that they can be used with queueing backends other than the default simple in-process implementation. This will also be used in a subsequent commit to ensure that jobs pushed to the queue do not contain a reference to the queue itself. | ||||
* | Track queue threading with named classes | Paul Battley | 2012-07-03 | 1 | -14/+24 |
| | | | | | | | Using an anonymous class prevented marshalling: we're not doing that yet, but the next commit will introduce this. This also provided an opportunity to improve the expressivity of the tests and to make the assertion failure messages clearer. | ||||
* | Made file name and class name consistant | Rahul P. Chaudhari | 2012-07-02 | 1 | -1/+1 |
| | |||||
* | Revert "Allow loading external route files from the router" | José Valim | 2012-06-29 | 2 | -85/+0 |
| | | | | | | | | | | | | | | This reverts commit 6acebb38bc0637bc05c19d87f8767f16ce79189b. Usage of this feature did not reveal any improvement in existing apps. Conflicts: actionpack/lib/action_dispatch/routing/mapper.rb guides/source/routing.textile railties/lib/rails/engine.rb railties/lib/rails/paths.rb railties/test/paths_test.rb | ||||
* | Rename RouteInspect to RoutesInspector for consistency | José Valim | 2012-06-29 | 1 | -2/+2 |
| | |||||
* | Fix wrong testcase. This is a testcase for db:test:prepare. | kennyj | 2012-06-28 | 1 | -1/+1 |
| | |||||
* | Change the behavior of db:test:prepare task when schema_format is sql for ↵ | kennyj | 2012-06-26 | 1 | -0/+9 |
| | | | | consistency. | ||||
* | Change the behavior of db:test:clone task when schema_format is sql for ↵ | kennyj | 2012-06-26 | 1 | -0/+9 |
| | | | | consistency. | ||||
* | ruby 1.9 hash syntax for generated code | Richard Huang | 2012-06-23 | 1 | -4/+4 |
| | | | | | | | | app/controllers/application_controller.rb app/views/layouts/application.html.erb config/application.rb config/routes.rb test/performance/browsing_test.rb | ||||
* | Run the logger tests in isolation | Rafael Mendonça França | 2012-06-19 | 1 | -0/+2 |
| | |||||
* | run the notes tests in isolation | Aaron Patterson | 2012-06-19 | 1 | -0/+4 |
| | |||||
* | Don't read csv file during executing db:fixtures:load. | kennyj | 2012-06-17 | 1 | -0/+12 |
| | |||||
* | TestCase does not need to be loaded when loading the framework | Aaron Patterson | 2012-06-15 | 1 | -1/+10 |
| | |||||
* | Fix observers with AR::Model | Jon Leighton | 2012-06-15 | 1 | -0/+21 |
| | |||||
* | Fix config.active_record.whitelist_attributes with AR::Model | Jon Leighton | 2012-06-15 | 1 | -3/+4 |
| | |||||
* | Merge pull request #6690 from suginoy/fix-templates-copy | Rafael Mendonça França | 2012-06-11 | 1 | -0/+11 |
|\ | | | | | Fix: 'rake rails:templates:copy' doesn't work | ||||
| * | Added a testcase for #6690. | kennyj | 2012-06-12 | 1 | -0/+11 |
| | | |||||
* | | Use . instead of :: for class methods, add CHANGELOG entries | José Valim | 2012-06-10 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #6665 from schneems/schneems/raise-migration-error | José Valim | 2012-06-10 | 1 | -0/+15 |
|\ \ | |/ |/| | Notify A User they Have Pending Migrations | ||||
| * | test errors for pending migrations | schneems | 2012-06-09 | 1 | -0/+15 |
| | | | | | | App should raise error on page_load | ||||
* | | Fix tests, active_authorizer shouldn't include blank values | Piotr Sarnacki | 2012-06-09 | 1 | -1/+1 |
| | | | | | | | | Fix for a test failing after: 00ff0a6776 | ||||
* | | bundle exec rake assets:precompile shouldn't fail quietly. | John Yani | 2012-06-05 | 1 | -17/+24 |
|/ | | | | | | | | | If JavaScript runtime is not installed, execjs fails with error quietly, while tests continue to run. This should not happen since it causes tests to fail for unknown reason (#6621). This commit assures that if JavaScript runtime is not installed, an assertion is raised. | ||||
* | More assert_match warnings fixed. | Arun Agrawal | 2012-05-30 | 1 | -3/+3 |
| | |||||
* | Warnings removed for "assert_match /". | Arun Agrawal | 2012-05-30 | 1 | -20/+20 |
| | |||||
* | Add support runner hook. | kennyj | 2012-05-29 | 1 | -0/+10 |
| | |||||
* | Add a testcase for #5847. | kennyj | 2012-05-29 | 1 | -0/+23 |
| | |||||
* | remove unnecessary test from route_inspect_test | schneems | 2012-05-24 | 1 | -9/+0 |
| | |||||
* | Rails::InfoController tests passing | schneems | 2012-05-24 | 2 | -0/+21 |
| | | | | This includes new tests for /rails/info/routes | ||||
* | Merge pull request #3359 from mrreynolds/datamapper_naming_fix | Rafael Mendonça França | 2012-05-19 | 1 | -9/+9 |
|\ | | | | | Fixed DataMapper namings in symbols and constants. | ||||
| * | Fixed DataMapper namings in symbols and constants. | Robert Glaser | 2011-10-18 | 1 | -9/+9 |
| | | |||||
* | | Improve `rake routes` output for redirects - closes #6369. | Andrew White | 2012-05-19 | 1 | -4/+7 |
| | | |||||
* | | Fix inspecting route redirections, closes #6369 | Łukasz Strzałkowski | 2012-05-18 | 1 | -0/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes route inspection in `rake routes` Before: foo /foo(.:format) :controller#:action" After: foo /foo(.:format) Redirect (301) | ||||
* | | More DRY route inspect tests | Łukasz Strzałkowski | 2012-05-18 | 1 | -26/+18 |
| | | |||||
* | | Allow configuring a different queue consumer | Carlos Antonio da Silva | 2012-05-04 | 1 | -3/+36 |
| | | | | | | | | | | | | Also make sure to not use default queue consumer with custom queue implementation. It is up to the new queue implementation to start / shutdown the consumer. | ||||
* | | Removing unused local vars in Queue tests | Rodrigo Pavano | 2012-05-01 | 1 | -2/+0 |
| | | |||||
* | | Remove empty lines. | Jason Noble | 2012-04-30 | 1 | -4/+0 |
| | | |||||
* | | Fixed styling issues brought up by @jeremy | Jason Noble | 2012-04-30 | 1 | -2/+1 |
| | | |||||
* | | Add ability to specify custom annotation directories | Jason Noble & Ralph Shnelvar | 2012-04-30 | 1 | -0/+42 |
| | | | | | | | | | | | | | | | | | | SOURCE_ANNOTATION_DIRECTORIES='dir1,dir2' bundle exec rake notes Searches app, config, lib, script, test (default) Also searches dir1, dir2 References: #4536, #4540 | ||||
* | | Add test coverage for rake notes | Jason Noble & Ralph Shnelvar | 2012-04-30 | 1 | -1/+36 |
| | | | | | | | | | | Add separate tests to verify directories covered Add tests to verify file_types | ||||
* | | Failing test for #6034 | Piotr Sarnacki | 2012-04-30 | 1 | -0/+20 |
| | | |||||
* | | Define only writer method for queue, as reader is declared | Carlos Antonio da Silva | 2012-04-28 | 1 | -2/+0 |
| | | | | | | | | Remove deprecation warning of method redefined. | ||||
* | | Use Rails::Queueing::Queue instead of Queue so people can build their own ↵ | José Valim | 2012-04-28 | 1 | -2/+2 |
| | | | | | | | | consumers around stdlib's Queue | ||||
* | | Fix failing test, TestQueue#contents is not #jobs | Carlos Antonio da Silva | 2012-04-27 | 1 | -1/+1 |
| | | |||||
* | | add a factory method for queue construction so that apps can have multiple ↵ | Aaron Patterson | 2012-04-27 | 1 | -0/+8 |
| | | | | | | | | queues | ||||
* | | Revert "Merge pull request #5995 from kennyj/fix_5847-3" | José Valim | 2012-04-27 | 1 | -22/+0 |
| | | | | | | | | | | | | | | | | Active Record should be lazy loaded and this pull request forced Active Record to always be loaded after initialization. This reverts commit 8cd14c0bc9f9429f03d1181912355d2f48b98157, reversing changes made to 2f0c8c52e66f1a2a3d1c00efc207f227124e96c2. |