Fix ActiveSupport::Duration.build to support negative values.
The algorithm to collect the parts of the ActiveSupport::Duration
ignored the sign of the value and accumulated incorrect part values. This
impacted ActiveSupport::Duration#sum (which is dependent on parts) but
not ActiveSupport::Duration#eql? (which is dependent on value).
Caleb Buxton, Braden Staudacher
Time#change and methods that call it (eg. Time#advance) will now
return a Time with the timezone argument provided, if the caller was
initialized with a timezone argument.
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 rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps activemodel from 6.1.4.7 to 6.1.5.
Release notes
Sourced from activemodel's releases.
... (truncated)
Commits
5341053
Preparing for 6.1.5 release1afe117
Update CHANGELOG [ci skip]b10c0ff
Merge branch '6-1-sec' into 6-1-stable923d91e
Merge branch '6-1-sec' into 6-1-stablef994570
Merge branch '6-1-sec' into 6-1-stablec4db399
Merge pull request #44039 from kamipo/bump-year-to-2022196a033
Merge branch '6-1-sec' into 6-1-stable66fd719
Merge branch '6-1-sec' into 6-1-stable582184e
Merge branch '6-1-sec' into 6-1-stable24c8eb5
Fix gemspecDependabot 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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)