Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | respect `pluralize_table_names` when generate fixture file. fixes #19519 | yuuji.yaginuma | 2015-03-27 | 2 | -1/+5 |
| | |||||
* | Actually rename to `rake initializers` | Godfrey Chan | 2015-03-21 | 1 | -1/+1 |
| | |||||
* | Merge pull request #19441 from y-yagi/use_exist | Arthur Nogueira Neves | 2015-03-21 | 1 | -1/+1 |
|\ | | | | | use `Dir.exist?` instead of deprecated `Dir.exists?` | ||||
| * | use `Dir.exist?` instead of deprecated `Dir.exists?` | yuuji.yaginuma | 2015-03-21 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #19445 from prathamesh-sonpatki/rm-ostruct | Arthur Nogueira Neves | 2015-03-21 | 1 | -1/+0 |
|\ \ | | | | | | | Removed requiring ostruct because its unused | ||||
| * | | Removed requiring ostruct because its unused | Prathamesh Sonpatki | 2015-03-21 | 1 | -1/+0 |
| |/ | |||||
* / | Fix typos in test runner's help output | Prathamesh Sonpatki | 2015-03-21 | 1 | -2/+2 |
|/ | |||||
* | Revert "Use `def setup` instead of `setup do`" | eileencodes | 2015-03-20 | 1 | -4/+2 |
| | | | | This reverts commit 044f9ab7a4d6646ddce4560bb83b58cdc0baa751. | ||||
* | `rake initializer` -> `rake initializers` | Godfrey Chan | 2015-03-20 | 2 | -2/+2 |
| | | | | | | Also edited the copy to be more consistent with `rake routes`. See #19323. | ||||
* | Revert "Merge pull request #19404 from dmathieu/remove_rack_env" | Jeremy Kemper | 2015-03-20 | 4 | -4/+4 |
| | | | | | | | Preserving RACK_ENV behavior. This reverts commit 7bdc7635b885e473f6a577264fd8efad1c02174f, reversing changes made to 45786be516e13d55a1fca9a4abaddd5781209103. | ||||
* | Remove `#build_original_fullpath` method | eileencodes | 2015-03-20 | 1 | -5/+0 |
| | | | | | | | | | | | Removing `#build_original_fullpath` because it is no longer used by the Rails' source code or called in the `#call` method becasue the previous commit now uses `fullpath` from Rack. The method was nodoc'ed so it's safe to remove. NOTE: I did this as a separate commit so if this does cause a problem with engines etc reverting is easy. | ||||
* | Use fullpath from Rack request rather than building it | eileencodes | 2015-03-20 | 1 | -11/+5 |
| | | | | | | | | | | | | | | | | | | | | In Rack, `#fullpath` checks if there is a query string and builds the query correctly: ``` def path script_name + path_info end def fullpath query_string.empty? ? path : "#{path}?#{query_string}" end ``` We can utilize this instead of manually building the fullpath because they are the same result. This also reduces allocations in `#call` because we don't need `build_original_fullpath` to create the paths and query strings. We don't need to build `fullpath` twice. | ||||
* | Updated MySQL documentation link to MySQL latest version 5.6 everywhere [ci ↵ | amitkumarsuroliya | 2015-03-19 | 2 | -2/+2 |
| | | | | skip] | ||||
* | Merge pull request #19404 from dmathieu/remove_rack_env | Aaron Patterson | 2015-03-19 | 4 | -4/+4 |
|\ | | | | | 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 | 4 | -4/+4 |
| | | |||||
* | | Use absolute path on find_method location for the runner | Arthur Neves | 2015-03-19 | 1 | -1/+1 |
| | | |||||
* | | 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 | 1 | -4/+0 |
| | | |||||
* | | Merge pull request #19216 from senny/bin_test_runner | Yves Senn | 2015-03-19 | 8 | -24/+205 |
|\ \ | | | | | | | `bin/rails test` runner (rerun snippets, run tests by line, option documentation) | ||||
| * | | 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 | 1 | -1/+1 |
| | | | |||||
| * | | move `ENV["BACKTRACE"]` support into the TestRunner. | Yves Senn | 2015-03-18 | 2 | -3/+2 |
| | | | |||||
| * | | `-p`, `--pattern` to run tests using a pattern. | Yves Senn | 2015-03-18 | 1 | -0/+4 |
| | | | |||||
| * | | use `bin/rails t` runner in `test_runner_test.rb`. | Yves Senn | 2015-03-18 | 1 | -2/+2 |
| | | | |||||
| * | | Fix relative dir call on test runner | Arthur Neves | 2015-03-18 | 1 | -5/+10 |
| | | | |||||
| * | | Add tests for runner#test_files method | Arthur Neves | 2015-03-18 | 1 | -7/+7 |
| | | | |||||
| * | | Run multiple files on runner | Arthur Neves | 2015-03-18 | 1 | -4/+5 |
| | | | |||||
| * | | `-e` / `--environment` for the test runner. | Yves Senn | 2015-03-18 | 2 | -2/+8 |
| | | | |||||
| * | | 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 | 1 | -7/+4 |
| | | | |||||
| * | | 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 |
| | | | |||||
| * | | Show the right file when test raises | Arthur Neves | 2015-03-18 | 1 | -4/+3 |
| | | | |||||
| * | | 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 | 1 | -11/+19 |
| | | | |||||
| * | | 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 | 4 | -2/+100 |
| |/ | |||||
* / | Add a new-line to the end of route method generated code. | Arthur Neves | 2015-03-18 | 2 | -3/+5 |
|/ | | | | | | | | 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] | ||||
* | add mailer suffix to comments for email previews | yuuji.yaginuma | 2015-03-15 | 1 | -2/+2 |
| | |||||
* | Merge pull request #19323 from naoty/rake_initializer | Rafael Mendonça França | 2015-03-13 | 2 | -0/+7 |
|\ | | | | | Add `rake initializer` | ||||
| * | Add `rake initializer` | Naoto Kaneko | 2015-03-14 | 2 | -0/+7 |
| | | | | | | | | | | 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. | ||||
* | pass a config to the route set | Aaron Patterson | 2015-03-05 | 1 | -1/+1 |
| | | | | | 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 |