Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | add changelog entry for removing the fallback to rack_env | Damien Mathieu | 2015-03-19 | 1 | -0/+7 | |
| | | | | | | | | | | | | | | | | [ci skip] | |||||
* | | | | Merge pull request #19404 from dmathieu/remove_rack_env | Aaron Patterson | 2015-03-19 | 11 | -79/+24 | |
|\ \ \ \ | | | | | | | | | | | Don't fallback to RACK_ENV when RAILS_ENV is not present | |||||
| * | | | | don't fallback to RACK_ENV when RAILS_ENV is not present | Damien Mathieu | 2015-03-19 | 11 | -79/+24 | |
| | | | | | ||||||
* | | | | | Use absolute path on find_method location for the runner | Arthur Neves | 2015-03-19 | 2 | -5/+6 | |
| | | | | | ||||||
* | | | | | Fix test rake when passing multiple arguments | Arthur Neves | 2015-03-19 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | bundle exec db:migrate rake was not working, with the new runner, before this commit | |||||
* | | | | | method_source needs to be a hard dependency on railties | Arthur Neves | 2015-03-19 | 3 | -11/+1 | |
| | | | | | ||||||
* | | | | | Merge pull request #19216 from senny/bin_test_runner | Yves Senn | 2015-03-19 | 12 | -65/+408 | |
|\ \ \ \ \ | | | | | | | | | | | | | `bin/rails test` runner (rerun snippets, run tests by line, option documentation) | |||||
| * | | | | | run `test_test.rb` using the `bin/rails test`. | Yves Senn | 2015-03-18 | 1 | -17/+1 | |
| | | | | | | ||||||
| * | | | | | Use Rails::TestRunner on rake test | Arthur Neves | 2015-03-18 | 1 | -16/+17 | |
| | | | | | | ||||||
| * | | | | | Fix reporter test and verbose mode | Arthur Neves | 2015-03-18 | 2 | -10/+8 | |
| | | | | | | ||||||
| * | | | | | move `ENV["BACKTRACE"]` support into the TestRunner. | Yves Senn | 2015-03-18 | 3 | -3/+12 | |
| | | | | | | ||||||
| * | | | | | `-p`, `--pattern` to run tests using a pattern. | Yves Senn | 2015-03-18 | 2 | -2/+5 | |
| | | | | | | ||||||
| * | | | | | use `bin/rails t` runner in `test_runner_test.rb`. | Yves Senn | 2015-03-18 | 3 | -30/+23 | |
| | | | | | | ||||||
| * | | | | | Fix relative dir call on test runner | Arthur Neves | 2015-03-18 | 2 | -15/+24 | |
| | | | | | | ||||||
| * | | | | | Add tests for runner#test_files method | Arthur Neves | 2015-03-18 | 2 | -7/+21 | |
| | | | | | | ||||||
| * | | | | | Run multiple files on runner | Arthur Neves | 2015-03-18 | 2 | -6/+21 | |
| | | | | | | ||||||
| * | | | | | `-e` / `--environment` for the test runner. | Yves Senn | 2015-03-18 | 3 | -2/+22 | |
| | | | | | | ||||||
| * | | | | | move argument parsing into the `Runner`. | Yves Senn | 2015-03-18 | 2 | -3/+6 | |
| | | | | | | ||||||
| * | | | | | get rid of NAMED_PATTERNS in favor of running a whole directory | Yves Senn | 2015-03-18 | 2 | -7/+12 | |
| | | | | | | ||||||
| * | | | | | document running a test by line number. | Yves Senn | 2015-03-18 | 1 | -0/+7 | |
| | | | | | | ||||||
| * | | | | | pluralize rerun snippet heading. | Yves Senn | 2015-03-18 | 1 | -1/+1 | |
| | | | | | | ||||||
| * | | | | | add tests for our minitest reporter. | Yves Senn | 2015-03-18 | 1 | -0/+76 | |
| | | | | | | ||||||
| * | | | | | Show the right file when test raises | Arthur Neves | 2015-03-18 | 2 | -4/+4 | |
| | | | | | | ||||||
| * | | | | | Move minitest plugin | Arthur Neves | 2015-03-18 | 3 | -21/+20 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Minitest Rails plugin should be loaded on test_help, so we report errors even when not running from the runner. Also fix the backtrace | |||||
| * | | | | | Move some logic to runner | Arthur Neves | 2015-03-18 | 2 | -13/+11 | |
| | | | | | | ||||||
| * | | | | | Dont display Failed test if suite passed | Arthur Neves | 2015-03-18 | 1 | -0/+1 | |
| | | | | | | ||||||
| * | | | | | Better file:line parsing and filter method by file too | Arthur Neves | 2015-03-18 | 2 | -11/+45 | |
| | | | | | | ||||||
| * | | | | | no need to escape the method in a regex wrap, minitest does that for us | Arthur Neves | 2015-03-18 | 1 | -1/+1 | |
| | | | | | | ||||||
| * | | | | | If a nem given, use that name to filter the test | Arthur Neves | 2015-03-18 | 1 | -5/+1 | |
| | | | | | | ||||||
| * | | | | | Add test run by line, and report error by line | Arthur Neves | 2015-03-18 | 3 | -3/+62 | |
| | | | | | | ||||||
| * | | | | | spike of a `OptionParser` backed test runner. | Yves Senn | 2015-03-18 | 5 | -2/+121 | |
| |/ / / / | ||||||
* / / / / | Add a new-line to the end of route method generated code. | Arthur Neves | 2015-03-18 | 4 | -3/+36 | |
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix regression on route method that was added by bac812a7ef2660a2fe2ab00822e5e66228379822. The regression was that when calling the `route` method, we were not appending a \n anymore. [fixes #19316] | |||||
* / / / | Fix deprecation warning in rails_info_controller tests | Semyon Pupkov | 2015-03-17 | 1 | -8/+8 | |
|/ / / | | | | | | | | | | Use keyword arguments in request methods | |||||
* | | | add mailer suffix to comments for email previews | yuuji.yaginuma | 2015-03-15 | 2 | -7/+7 | |
| | | | ||||||
* | | | Merge pull request #19323 from naoty/rake_initializer | Rafael Mendonça França | 2015-03-13 | 3 | -0/+14 | |
|\ \ \ | | | | | | | | | Add `rake initializer` | |||||
| * | | | Add `rake initializer` | Naoto Kaneko | 2015-03-14 | 3 | -0/+14 | |
| | | | | | | | | | | | | | | | | | | | | This task prints out initializers for an application. It is useful to develop a rubygem which involves the initialization process. | |||||
* | | | | Update sprockets links to point to rails org | Joshua Peek | 2015-03-13 | 3 | -3/+3 | |
|/ / / | ||||||
* | | | Use `def setup` instead of `setup do` | eileencodes | 2015-03-12 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | | `setup do` creates unnecessary allocations of proc objects in callbacks. This prevents that from happening and results in faster code. | |||||
* | | | Revert "Merge pull request #15476 from JacobEvelyn/master" | Jeremy Kemper | 2015-03-11 | 1 | -7/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces undesirable `Rails.logger` formatters (such as the syslog formatter) onto a `Logger.new(STDERR)` for the console. The production logger may be going elsewhere than standard io, so we can't presume to reuse its formatter. With syslog, this causes missing newlines in the console, so irb prompts start at the end of the last log message. We can work to expose the console formatter in another way to address the original issue. This reverts commit 026ce5ddf11c4cda0aae7f33a9266e54117db318, reversing changes made to 6f0a69c5899ebdc892e2aa23e68e2604fa70fb73. | |||||
* | | | Target Ruby 2.2.1 in gemspecs | Peter Suschlik | 2015-03-09 | 1 | -1/+1 | |
|/ / | | | | | | | This is a follow-up to #19257 | |||||
* | | Merge pull request #19221 from matthewd/random-tests | Matthew Draper | 2015-03-06 | 1 | -5/+0 | |
|\ \ | | | | | | | Run all our tests in random order | |||||
| * | | Revert "Leave all our tests as order_dependent! for now" | Matthew Draper | 2015-03-06 | 1 | -5/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 2f52f969885b2834198de0045748436a4651a94e. Conflicts: actionmailer/test/abstract_unit.rb actionview/test/abstract_unit.rb activemodel/test/cases/helper.rb activerecord/test/cases/helper.rb activesupport/test/abstract_unit.rb railties/test/abstract_unit.rb | |||||
* | | | pass a config to the route set | Aaron Patterson | 2015-03-05 | 2 | -1/+14 | |
|/ / | | | | | | | | | This way we can get the relative_url_root from the application without setting another global value | |||||
* | | Revert work arounds for upstream Ruby 2.2.0 kwargs bug | Genadi Samokovarov | 2015-03-05 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The bug caused a segfault and you can find more info about it at: https://bugs.ruby-lang.org/issues/10685. We did a couple of work arounds, but 2.2.1 rolled out and those aren't needed anymore. Here are the reverted commits: - Revert "Work around for upstream Ruby bug #10685", commit 707a433870e9e06af688f85a4aedc64a90791a64. - Revert "Fix segmentation fault in ActionPack tests", commit 22e0a22d5f98e162290d9820891d8191e720ad3b. I'm also bumping the Ruby version check to 2.2.1 to prevent future segfaults. | |||||
* | | Some documentation edits [ci skip] | Robin Dupret | 2015-03-05 | 1 | -3/+3 | |
| | | | | | | | | | | | | * Fix a few typos * Wrap some lines around 80 chars * Rephrase some statements | |||||
* | | ask the routes objects for its Rack env key | Aaron Patterson | 2015-03-02 | 1 | -1/+1 | |
| | | | | | | | | | | | | this centralizes the logic for determining the script name key and drops object allocations when calling `engine_script_name` (which is called on each `url_for`). | |||||
* | | Merge pull request #19173 from robin850/rbx-build | Rafael Mendonça França | 2015-03-02 | 1 | -1/+1 | |
|\ \ | | | | | | | Improve the Rubinius build | |||||
| * | | Avoid Ruby versions check on Rubinius | Robin Dupret | 2015-03-02 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | Rubinius is still targeting compliance with Ruby 2.1.0 but we are pretty close to a green build so let's avoid this check for the moment. | |||||
* | | | Rake restart task no longer loads entire Rails environment when run. | Hyonjee Joo | 2015-03-02 | 1 | -1/+1 | |
|/ / | | | | | | | | | The restart task does not need access to models or other classes and helpers from the application environment. | |||||
* | | Lines of code can be 100,000+ in a Rails app | Akira Matsuda | 2015-03-01 | 1 | -4/+4 | |
| | | | | | | | | Actually, our app has 400,000 LOC :boom: |