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

Bug/compatibility with rails 7.1 #769

Merged
merged 10 commits into from
Dec 17, 2023

Conversation

msuliq
Copy link
Contributor

@msuliq msuliq commented Dec 13, 2023

Summary

Gem has compatibility issues with Rails 7.1 described here.

What has been implemented:

  • Test helper updated to resolve default_timezone depending on rails version
  • Gemspec file updated,
  • Github workflow test file updated,
  • Version bumped, changelog updated.

Expected outcome

Should be possible to install and use Authlogic with Rails 7.1

@msuliq
Copy link
Contributor Author

msuliq commented Dec 15, 2023

First run failed with the following error:
The ubuntu-18.04 environment is deprecated, consider switching to ubuntu-20.04(ubuntu-latest), or ubuntu-22.04 instead. For more details see https://github.com/actions/virtual-environments/issues/6002
so I updated ubuntu version to ubuntu-latest and updated action for setting up ruby version

@msuliq
Copy link
Contributor Author

msuliq commented Dec 15, 2023

Github actions are passing in my personal repo: https://github.com/msuliq/authlogic/actions/runs/7217526649
@binarylogic could you please approve the workflow run?

Copy link
Contributor

@tiegz tiegz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @msuliq , thanks for the PR. I've just merged #767 into master, which was an earlier PR with these changes.

But if you merge master into your branch in the next day I can use your workflow fixes and merge this PR. (otherwise I'll just commit [the workflow fixes] manually)

CHANGELOG.md Outdated
Comment on lines 24 to 25
* [#768](https://github.com/binarylogic/authlogic/issues/768) - Fixed
compatibility issues with Rails 7.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* [#768](https://github.com/binarylogic/authlogic/issues/768) - Fixed
compatibility issues with Rails 7.1
* [#769](https://github.com/binarylogic/authlogic/issues/769) - Fixed GH workflow

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @tiegz, thank you for merging the #767 I was really looking forward to it. Anyway, I have made the requested changes to my PR. Please let me know if anything else is needed, I will follow up the same or next day

@@ -17,6 +17,6 @@ module Authlogic
#
# @api public
def self.gem_version
::Gem::Version.new("6.4.2")
::Gem::Version.new("6.4.3")
Copy link
Contributor

@tiegz tiegz Dec 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll probably cut the version in a separate commit:

Suggested change
::Gem::Version.new("6.4.3")

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed version bump from my PR

@msuliq msuliq requested a review from tiegz December 17, 2023 13:45
@tiegz tiegz merged commit d71ba41 into binarylogic:master Dec 17, 2023
9 checks passed
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.

2 participants