Declarative Policy: drop support for Ruby 2.6, release new major version
In a recent MR, we had to shuffle some dependencies around due to the Ruby 2.6 build failing for the Declarative Policy gem.
As someone pointed out:
Ruby 2.6 and 2.7 are EOL - maintaining versions that aren't supported by the ruby team seems a bit strange to me.
We should probably drop support for Ruby 2.6. This would be a breaking change so would need to happen as part of a major release if we want to stick with semantic versioning.
While we are in breaking change mode, maybe we can also merge gitlab-org/ruby/gems/declarative-policy!52 (closed), which we have already included as a monkeypatch in the gitlab
codebase but might be a breaking change for anyone loading policies lazily. See thread here.