drbrain / net-http-persistent

Thread-safe persistent connections with Net::HTTP
http://seattlerb.rubyforge.org/net-http-persistent
339 stars 117 forks source link

Feature request: A tiny release with Ruby 3 support #123

Closed olleolleolle closed 2 years ago

olleolleolle commented 4 years ago

TL;DR: It'd be so nice to have the latest commit as a released gem.

Details

I attempted to run ruby-head to try out Ruby 3.

I pointed at this repo.

There wasn't a .gemspec file, so Bundler wasn't equipped to use the Git repo as a "development version" of the gem.

Example of being out of luck:

$ bundle
Fetching https://github.com/drbrain/net-http-persistent.git
Fetching gem metadata from https://rubygems.org/.........
Could not find gem 'net-http-persistent (>= 3.0)' in https://github.com/drbrain/net-http-persistent.git (at master@2379e37).
The source does not contain any versions of 'net-http-persistent'

Thanks for maintaining this great gem!

connorshea commented 3 years ago

🙏 I would greatly appreciate this with 3.0 coming on Friday

Or at least a .gemspec file so I can use the gem via git

Or both :)

gkellogg commented 3 years ago

I have about 15 gems with direct or indirect dependencies that can’t load on ruby-head because of this. Please release at least a minimal update.

connorshea commented 3 years ago

I've got it working now on my fork, although I probably wouldn't recommend it unless you want to just use it for testing: https://github.com/connorshea/net-http-persistent

I added hoe-gemspec, generated a gemspec, and set the version to 4.1.0.

For others, since I got stuck on this for a little while: if you want to use it with sparql-client or sparql you'll need the develop branch of sparql-client, not master.

kapso commented 3 years ago

Any plans for doing a Ruby 3.0.0 support/release?

Thanks.

Keqi commented 3 years ago

Hi!

Bumping this topic. Is there any chance to get Ruby 3 support?

deivid-rodriguez commented 2 years ago

This one can be closed now.

olleolleolle commented 2 years ago

Thanks, yes, 4.0.1 has this support, closing!