Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid to define an initializer after the load_config_initializers | Rafael Mendonça França | 2015-04-07 | 1 | -1/+1 |
| | | | | | This make the config/initializers run before the railties are loaded what can break some configurations. | ||||
* | Merge pull request #19429 from mxhold/print_bundle_install_output_line_by_line | Matthew Draper | 2015-04-03 | 2 | -6/+13 |
|\ | | | | | | | Print `bundle install` output in `rails new` as soon as it's available | ||||
| * | Print `bundle install` output in `rails new` as soon as it's available | Max Holder | 2015-03-28 | 2 | -6/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, running `rails new` would not print any of the output from `bundle install` until all the gems had finished installing. This made it look like the generator was hanging at the `bundle install` step. This commit switches to using `system` so that the bundle command can output as it needs to. This has the added benefit of including output bundler produces on standard error, which the previous code ignored since backticks only capture standard out. This is not a big deal right now since bundler does not currently print errors to standard error, but that may change in the future (see: bundler/bundler/issues/3353). | ||||
* | | remove extra newline from ApplicationJob template | yuuji.yaginuma | 2015-03-31 | 1 | -1/+0 |
| | | |||||
* | | Merge pull request #19034 from jvanbaarsen/explicit-job-base-class | Matthew Draper | 2015-03-30 | 4 | -4/+13 |
|\ \ | | | | | | | | | | Add explicit base class for ActiveJob jobs | ||||
| * | | Add explicit base class for ActiveJob jobs | Jeroen van Baarsen | 2015-03-23 | 4 | -4/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | * Jobs generated now inherent from ApplicationJob * ApplicationJob inherents from ActiveJob::Base * Added entry to changelog Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | ||||
* | | | Test using sprockets 3 | Rafael Mendonça França | 2015-03-29 | 3 | -11/+11 |
| | | | |||||
* | | | Replace `in Rails 4` with `in Rails %version%` in deprecation message | Kir Shatrov | 2015-03-29 | 1 | -1/+2 |
| | | | |||||
* | | | Improve CHANGELOG for fix for respecting pluralize_table_names [ci skip] | Prathamesh Sonpatki | 2015-03-27 | 1 | -1/+1 |
| | | | |||||
* | | | respect `pluralize_table_names` when generate fixture file. fixes #19519 | yuuji.yaginuma | 2015-03-27 | 4 | -1/+21 |
| | | | |||||
* | | | Fix typo in belongs_to_required_by_default config's CHANGELOG entry [ci skip] | Prathamesh Sonpatki | 2015-03-22 | 1 | -1/+1 |
| | | | |||||
* | | | 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 | 3 | -6/+7 |
| | | | | | | | | | | | | 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 | 11 | -24/+79 |
| | | | | | | | | | | | | | | Preserving RACK_ENV behavior. This reverts commit 7bdc7635b885e473f6a577264fd8efad1c02174f, reversing changes made to 45786be516e13d55a1fca9a4abaddd5781209103. | ||||
* | | Revert "Merge pull request #19411 from dmathieu/rack_env_changelog" | Jeremy Kemper | 2015-03-20 | 1 | -7/+0 |
| | | | | | | | | | | | | | | Preserving RACK_ENV behavior. This reverts commit b19990c82c6a9beff0cd058dc2ff67894a2f9ea7, reversing changes made to ac291b76ea770b5795c767f2f74a8d0b33744809. | ||||
* | | Remove `#build_original_fullpath` method | eileencodes | 2015-03-20 | 2 | -32/+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] | ||||
* | | 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 |
| | | | |