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

Update CI so it runs correctly for Ruby 2.3 - Ruby head #150

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

petergoldstein
Copy link

This PR required some modernization of the gemspec, changes to the CI file, and a minor code change. Everything runs green on my fork.

Also updates checkout action to v3, allowing it to run (v2 and earlier no longer run properly)

@kritik
Copy link
Member

kritik commented May 25, 2023

why are you dropping public_suffix and jewellery?

@petergoldstein
Copy link
Author

I didn't drop public_suffix. It's still in the gemspec and the generated Gemfile.lock.

I dropped jeweler because it has compatibility issues with recent Rubies, and the functionality is all incorporated into bundler at this point. Even the maintainer of jeweler no longer recommends it at this time.

jaynetics added a commit to jaynetics/validates_url that referenced this pull request Oct 22, 2024
fixes perfectline#122.

I could only run the specs by removing Gemfile.lock and would recommend perfectline#150 to be merged before this PR.

Several examples were red with NoMethodErrors before I made any changes. I had to add the `value && ` to fix that.

The example `does not allow a url with only a scheme` was also red. I had to add the `host.empty?` check to fix that one.
kritik pushed a commit that referenced this pull request Oct 22, 2024
fixes #122.

I could only run the specs by removing Gemfile.lock and would recommend #150 to be merged before this PR.

Several examples were red with NoMethodErrors before I made any changes. I had to add the `value && ` to fix that.

The example `does not allow a url with only a scheme` was also red. I had to add the `host.empty?` check to fix that one.
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