Closed neroleung closed 4 years ago
Since graphql-client gem requires activesupport, and the latest version of activesupport requires zeitwerk (~> 2.2) which requires ruby to be >= 2.4.4, we need to update travis.yml to use at least ruby 2.4.4. This is for getting Travis to pass.
I would just pin activesupport
to < 6
since graphql-client
should be responsible for ensuring compatibility with underlying dependencies. Rails 6 only works on Ruby 2.5 or 2.6, and we definitely don't want to drop support for 2.4 and older versions. It's not something we can decide lightly.
I will also re-iterate that each commit should only include a meaningful chunk of work and I see three changes in one PR. It would be great if you could extract or at least make three different commits.
@yuki24, it's done.
Also thanks for taking care of this.
1 Warning | |
---|---|
:warning: | Unless you’re refactoring existing code, please update CHANGELOG.md. |
Here's an example of a CHANGELOG.md entry:
* [#67](https://github.com/ashkan18/graphlient/pull/67): Lock activesupport version to < 6 - [@neroleung](https://github.com/neroleung).
Generated by :no_entry_sign: Danger
I merged. @yuki24 you also have collaborator privileges here I think, we trust you to hit merge too :)
Since graphql-client gem requires activesupport, and the latest version of activesupport requires zeitwerk (~> 2.2) which requires ruby to be >= 2.4.4, locking activesupport version to < 6 so that Travis will pass.