Skip to content

Conversation

@tatthurs
Copy link

@tatthurs tatthurs commented Apr 29, 2024

Updates master branch with upstream commits

stas and others added 26 commits June 15, 2021 12:01
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
- When resources are empty, but it's an array, we should be removing
  empty links and meta fields if they are nil. This matches the
  behaviour in fast_jsonapi: https://github.com/jsonapi-serializer/jsonapi-serializer/blob/master/lib/fast_jsonapi/object_serializer.rb#L71-L72
- Currently, links will be nil if there is 1+ resource, but present when
  there are none
Thought it would be helpful to add an example similar to how it's done in other sections
Ransack 4 requires explicitly allowlisting ransackable attributes and
associations for each model. This causes the specs to fail with the most
recent Ransack version. This fixes those spec failures.
* Rubocop fix: Use filter_map instead of map { ... }.compact

Currently, builds are failing because of Rubocop complaining about these
three lines.

* Drop support for Ruby 2.6

Array#filter_map is only introduced in Ruby 2.7. This ensures we're
still supporting the 2.x series, but drops support for the now pretty
old Ruby 2.6.
* Bump actions/checkout from 3 to 4

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Cleanup rubies/rails.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stas SUȘCOV <stas@nerd.ro>
Test Ruby 3.3 and Rails 6.1 instead
@tatthurs tatthurs merged commit d6982d5 into art19:master Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants