Bump activesupport from 4.0.2 to 6.0.0
Bumps activesupport from 4.0.2 to 6.0.0.
Release notes
Sourced from activesupport's releases.
6.0.0.beta1
Active Support
... (truncated)
Remove deprecated
Module#reachable?method.Rafael Mendonça França
Remove deprecated
#acronym_regexmethod fromInflections.Rafael Mendonça França
Fix
String#safe_constantizethrowing aLoadErrorfor incorrectly cased constant references.Keenan Brock
Preserve key order passed to
ActiveSupport::CacheStore#fetch_multi.
fetch_multi(*names)now returns its results in the same order as the*namesrequested, rather than returning cache hits followed by cache misses.Gannon McGibbon
If the same block is
includedmultiple times for a Concern, an exception is no longer raised.Mark J. Titorenko, Vlad Bokov
Fix bug where
#to_optionsforActiveSupport::HashWithIndifferentAccesswould not act as alias for#symbolize_keys.Nick Weiland
Improve the logic that detects non-autoloaded constants.
Jan Habermann, Xavier Noria
Deprecate
ActiveSupport::Multibyte::Unicode#pack_graphemes(array)andActiveSuppport::Multibyte::Unicode#unpack_graphemes(string)in favor ofarray.flatten.pack("U*")andstring.scan(/\X/).map(&:codepoints), respectively.Francesco Rodríguez
Deprecate
ActiveSupport::Multibyte::Chars.consumes?in favor ofString#is_utf8?.Francesco Rodríguez
Fix duration being rounded to a full second.
time = DateTime.parse("2018-1-1") time += 0.51.secondsWill now correctly add 0.51 second and not 1 full second.
Changelog
Sourced from activesupport's changelog.
Rails 6.0.0 (August 16, 2019)
... (truncated)
Let
require_dependencyinzeitwerkmode look the autoload paths up for better backwards compatibility.Xavier Noria
Let
require_dependencyinzeitwerkmode support arguments that respond toto_pathfor better backwards compatibility.Xavier Noria
Make ActiveSupport::Logger Fiber-safe. Fixes #36752.
Use
Fiber.current.__id__inActiveSupport::Logger#local_level=in order to make log level local to Ruby Fibers in addition to Threads.Example:
logger = ActiveSupport::Logger.new(STDOUT) logger.level = 1 p "Main is debug? #{logger.debug?}" Fiber.new { logger.local_level = 0 p "Thread is debug? #{logger.debug?}" }.resume p "Main is debug? #{logger.debug?}"Before:
Main is debug? false Thread is debug? true Main is debug? trueAfter:
Main is debug? false Thread is debug? true Main is debug? falseAlexander Varnin
Do not delegate missing
marshal_dumpand_dumpmethods via thedelegate_missing_toextension. This avoids unintentionally adding instance variables when callingMarshal.dump(object), should the delegation target ofobjectbe a method which would otherwise add them. Fixes #36522.Aaron Lipman
Commits
-
66cabedPreparing for 6.0.0 release -
83a7c02Merge pull request #36825 from cpruitt/transliterate-frozen-us-ascii-strings -
c701e0bImproves compatibility of require_dependency in zeitwerk mode [Closes #36774] -
79e9e68Merge pull request #36702 from cpruitt/raise-on-transliterate-ascii-8bit -
a01665alet autoloaded? support modules with overridden names [closes #36757] -
ace28a5Merge pull request #36753 from cmrd-senya/36752-make-rails-logger-fiber-safe -
5574097Merge pull request #36370 from ptoomey3/master -
4f78062Preparing for 6.0.0.rc2 release -
056414eOmit marshal_dump & _dump from delegate_missing_to -
3d2bdc1Merge pull request #36700 from cpruitt/revert-36690-make-parameterize-require... - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot ignore this [patch|minor|major] versionwill close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.