Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require main active_support lib before any of its extension definitions #2206

Merged
merged 1 commit into from
Dec 21, 2021

Conversation

Annih
Copy link
Contributor

@Annih Annih commented Dec 20, 2021

It seems to be the recommended way with active_support >= 7.0.
See https://guides.rubyonrails.org/active_support_core_extensions.html#cherry-picking-a-definition

Fix #2205.

@grape-bot

This comment has been minimized.

@dm1try
Copy link
Member

dm1try commented Dec 20, 2021

thanks, it certainly makes sense

It seems to be the recommended way with active_support >= 7.0.

if I understood correctly it was recommended with active_support = 5.0 also or even earlier.

could you please update the changelog?

@Annih
Copy link
Contributor Author

Annih commented Dec 20, 2021

Done @dm1try

CHANGELOG.md Outdated Show resolved Hide resolved
It seems to be the recommended way with active_support.
See https://guides.rubyonrails.org/active_support_core_extensions.html#cherry-picking-a-definition

Fix ruby-grape#2205.

Signed-off-by: Baptiste Courtois <b.courtois@criteo.com>
@dm1try dm1try merged commit 9c21ed5 into ruby-grape:master Dec 21, 2021
@waghanza
Copy link

@dblock @dm1try I think a new release is required for this one. this could break (at least on the-benchmarker/web-frameworks#4896) grape usage

@dm1try
Copy link
Member

dm1try commented Dec 23, 2021

@waghanza makes sense, I'll do it on this weekend if nobody else picks it up first

@dm1try
Copy link
Member

dm1try commented Dec 27, 2021

@waghanza makes sense, I'll do it on this weekend if nobody else picks it up first

I had started on last weekend but then realized that "ruby-head" test targets are red and it's not clear how important it is. So the release was postponed for a while.

@dm1try
Copy link
Member

dm1try commented Dec 28, 2021

released 1.6.1

@dblock could you please send a message to the google group, it looks like I've lost the access to my account.

@dblock
Copy link
Member

dblock commented Dec 28, 2021

released 1.6.1

@dblock could you please send a message to the google group, it looks like I've lost the access to my account.

Looks like you got it back or sent it from another one? I hit approve on the release email. Thanks for making a release!

@dm1try
Copy link
Member

dm1try commented Dec 28, 2021

Looks like you got it back or sent it from another one?

yeah, I've restored some account)

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.

Load error with active_support 7
5 participants