- 19 12月, 2019 2 次提交
-
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
The `ActionDispatch::Session::MemcacheStore` is still vulnerable given it requires the gem dalli to be updated as well. CVE-2019-16782
-
- 14 12月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 10 12月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 27 11月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 23 11月, 2019 2 次提交
-
-
由 Rafael Mendonça França 提交于
-
由 Rafael França 提交于
Eager load translations during initialization
-
- 05 11月, 2019 1 次提交
-
-
由 George Claghorn 提交于
-
- 01 11月, 2019 1 次提交
-
-
由 George Claghorn 提交于
-
- 20 10月, 2019 1 次提交
-
-
由 John Hawthorn 提交于
Fix Railties test suite for Sprockets 4.0
-
- 11 10月, 2019 1 次提交
-
-
由 Ryuta Kamizono 提交于
Address to the warning "DEPRECATED: global use of assertion methods"
-
- 10 10月, 2019 1 次提交
-
-
由 Xavier Noria 提交于
-
- 03 9月, 2019 1 次提交
-
-
由 Ryuta Kamizono 提交于
Fix Active Job Sidekiq integration tests
-
- 17 8月, 2019 2 次提交
-
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
- 10 8月, 2019 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
Rails HTML sanitizer update changes to Gemfile lock on bundle install.
-
- 09 8月, 2019 1 次提交
-
-
由 Kasper Timm Hansen 提交于
Rails now requires 1.2.0 because it relies on the safe_list_sanitizer API exclusively. Also raise `sanitizer_vendor` API from the dead for rails-deprecated_sanitizer. Fixes https://github.com/rails/rails-deprecated_sanitizer/pull/6
-
- 07 8月, 2019 1 次提交
-
-
由 eileencodes 提交于
The PR #36860 changed ActionView's required version of rails-html-sanitizer, but I missed that we needed to run bundle, otherwise we end up with changes every time.
-
- 05 8月, 2019 1 次提交
-
-
由 Kasper Timm Hansen 提交于
-
- 23 7月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 07 7月, 2019 2 次提交
-
-
由 John Hawthorn 提交于
Fix Browser#preload for older Selenium
-
由 Yuji Yaginuma 提交于
Unlock `selenium-webdriver` gem version
-
- 01 7月, 2019 1 次提交
-
-
由 Xavier Noria 提交于
This version makes eager loading and autoloading consistent, as documented in the upgrading guide.
-
- 25 4月, 2019 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 23 4月, 2019 1 次提交
-
-
由 Xavier Noria 提交于
This commit more or less undoes 9b5401fc, restores autoloaded? not to touch the descendants tracker, and autoloaded_constants because it is documented in the guide.
-
- 18 4月, 2019 1 次提交
-
-
由 utilum 提交于
Fixes railties ApplicationTests failures in Ruby 2.7. Rake 12.3.2 includes a [Fix for test fails caused by 2.6 warnings](https://github.com/ruby/rake/pull/297). Upadting prevents failures of: - `RakeTests::RakeMigrationsTest#test_migration_status_when_schema_migrations_table_is_not_present` - `RakeDbsTest#test_db:structure:dump_does_not_dump_schema_information_when_no_migrations_are_used` - `BinSetupTest#test_bin_setup_output` See [failures log](https://gist.githubusercontent.com/utilum/30e081cc38b5d90e18be8cede6385b10/raw/2b89e568977d4f1fe010726a9a561c10e59c8df8/tests.log). ruby 2.7.0dev (2019-04-18 trunk 67602) [x86_64-linux]
-
- 16 4月, 2019 1 次提交
-
-
由 Koichi ITO 提交于
Performance cops will be extracted from RuboCop to RuboCop Performance when next RuboCop 0.68 will be released. https://github.com/rubocop-hq/rubocop/issues/5977 RuboCop 0.67 is its transition period. Since rails/rails repository uses Performance cops, This PR added rubocop-performance gem to Gemfile. And this PR fixes some offenses using the following auto-correct. ```console % bundle exec rubocop -a Offenses: activerecord/test/cases/connection_adapters/connection_handlers_multi_db_test.rb:212:26: C: [Corrected] Layout/SpaceAroundOperators: Operator = > should be surrounded by a single space. "primary" => { adapter: "sqlite3", database: "db/primary.sqlite3" } ^^ activerecord/test/cases/connection_adapters/connection_handlers_multi_db_test.rb:239:26: C: [Corrected] Layout/SpaceAroundOperators: Operator => should be surrounded by a single space. "primary" => { adapter: "sqlite3", database: "db/primary.sqlite3" } ^^ actionview/test/template/resolver_shared_tests.rb:1:1: C: [Corrected] Style/FrozenStringLiteralComment: Missing magic comment # frozen_string_literal: true. module ResolverSharedTests ^ actionview/test/template/resolver_shared_tests.rb:10:33: C: [Corrected] Layout/SpaceAroundEqualsInParameterDefault: Surrounding space missing in default value assignment. def with_file(filename, source="File at #{filename}") ^ actionview/test/template/resolver_shared_tests.rb:106:5: C: [Corrected] Rails/RefuteMethods: Prefer assert_not_same over refute_same. refute_same a, b ^^^^^^^^^^^ 2760 files inspected, 5 offenses detected, 5 offenses corrected ```
-
- 12 4月, 2019 1 次提交
-
-
由 Xavier Noria 提交于
The original message from Zeitwerk is "can't reload, please call loader.enable_reloading before setup (Zeitwerk::Error)", which is not very informative for Rails programmers. Rails should err with a message worded in terms of its interface.
-
- 09 4月, 2019 1 次提交
-
-
由 Xavier Noria 提交于
-
- 07 4月, 2019 1 次提交
-
-
由 Xavier Noria 提交于
-
- 05 4月, 2019 1 次提交
-
- 04 4月, 2019 2 次提交
-
-
由 Fumiaki MATSUSHIMA 提交于
-
由 Ryuta Kamizono 提交于
d8d6bd5e makes fixture loading to bulk statements by using `execute_batch` for sqlite3 adapter. But `execute_batch` is slower and it caused the performance regression for fixture loading. In sqlite3 1.4.0, it have new batch method `execute_batch2`. I've confirmed `execute_batch2` is extremely faster than `execute_batch`. So I think it is worth to upgrade sqlite3 to 1.4.0 to use that method. Before: ``` % ARCONN=sqlite3 bundle exec ruby -w -Itest test/cases/associations/eager_test.rb -n test_eager_loading_too_may_ids Using sqlite3 Run options: -n test_eager_loading_too_may_ids --seed 35790 # Running: . Finished in 202.437406s, 0.0049 runs/s, 0.0049 assertions/s. 1 runs, 1 assertions, 0 failures, 0 errors, 0 skips ARCONN=sqlite3 bundle exec ruby -w -Itest -n test_eager_loading_too_may_ids 142.57s user 60.83s system 98% cpu 3:27.08 total ``` After: ``` % ARCONN=sqlite3 bundle exec ruby -w -Itest test/cases/associations/eager_test.rb -n test_eager_loading_too_may_ids Using sqlite3 Run options: -n test_eager_loading_too_may_ids --seed 16649 # Running: . Finished in 8.471032s, 0.1180 runs/s, 0.1180 assertions/s. 1 runs, 1 assertions, 0 failures, 0 errors, 0 skips ARCONN=sqlite3 bundle exec ruby -w -Itest -n test_eager_loading_too_may_ids 10.71s user 1.36s system 95% cpu 12.672 total ```
-
- 30 3月, 2019 1 次提交
-
-
由 George Claghorn 提交于
-
- 27 3月, 2019 3 次提交
-
-
由 Koichi ITO 提交于
### Summary RuboCop 0.66.0 has been released. https://github.com/rubocop-hq/rubocop/releases/tag/v0.66.0 And rubocop-0-66 channel is available in Code Climate. https://github.com/codeclimate/codeclimate/releases/tag/v0.84.0 RuboCop 0.66.0 fixed the false negative to indentation for modifier. And this PR applied the auto-correction fixed by it. https://github.com/rubocop-hq/rubocop/pull/6792 In addtion, this PR is also updating the following 4 gems that RuboCop depends on. - Update Psych gem ... https://github.com/rubocop-hq/rubocop/pull/6766 - Update Parser gem to 2.6.2.0 that supports Ruby 2.5.5 and 2.6.2 ... https://github.com/whitequark/parser/blob/v2.6.2.0/CHANGELOG.md#changelog - Remove powerpack gem ... https://github.com/rubocop-hq/rubocop/pull/6806 - Update unicode-display_width gem ... https://github.com/rubocop-hq/rubocop/pull/6813
-
由 Xavier Noria 提交于
Was just pushed.
-
由 Xavier Noria 提交于
-
- 25 3月, 2019 1 次提交
-
-
由 Guillermo Iguaran 提交于
-
- 23 3月, 2019 1 次提交
-
-
由 Xavier Noria 提交于
-
- 22 3月, 2019 1 次提交
-
-
由 yuuji.yaginuma 提交于
Since https://github.com/puma/puma/pull/1700, the default host is correctly used. So `localhost` is used instead of `0.0.0.0`. As a result, the log output on restart is changed, and the restart test fails on Puma 3.12.1. https://travis-ci.org/rails/rails/jobs/509239592#L2303-L2305 Specify binding explicitly to avoid being affected by Puma changes.
-