Project

General

Profile

Actions

Feature #20775

closed

Gemify win32-registry, win32-sspi and win32-resolv

Feature #20775: Gemify win32-registry, win32-sspi and win32-resolv

Added by larskanis (Lars Kanis) about 2 years ago. Updated about 2 years ago.

Status:
Closed
Target version:
-
[ruby-core:119390]

Description

Many libraries bundled with ruby have been gemified and were separated into it's own repository.
Not so far the 3 win32 libraries: https://github.com/ruby/ruby/tree/master/ext/win32/lib/win32

  • win32/registry
  • win32/resolv
  • win32/sspi

win32-registry

I started with win32/registry in https://github.com/larskanis/win32-registry

My intention is that the repository can be moved to https://github.com/ruby/win32-registry and can be integrated it into ruby.
However I think win32/registry should permanently stay a bundled gem, since the registry access is a core functionality on Windows, so it should always be in the core ruby distribution.

win32-sspi

Regarding win32/sspi I doubt that anyone is using this library.
It was completely broken since ruby-3.0 until some days ago due to this fix: https://github.com/ruby/ruby/commit/fc2f196cb8542a81bf271cdb90e0189c54321103
Nevertheless it makes sense to gemify it and to move it to it's own repository.
I use a massively extended version of this file at work, maybe this can be included then.
IMHO there's no need to keep it in the ruby distribution.

win32-resolv

I don't have a strong opinion reg. win32/resolv and never had a reason to use this platform dependent API instead of the cross platform functions in the socket library.
Maybe it had a use in the past.


Related issues 1 (0 open — 1 closed)

Related to Ruby - Bug #21855: Bundle `win32-registry` or implement it without `fiddle`Closedhsbt (Hiroshi SHIBATA)Actions
Actions

Also available in: PDF Atom