Win32API.rb long life plan
Win32API.rb sits on ext/dl/win32/lib in the source tree.
But DL is deprecated on Ruby 2.0.1, so I'd like to move it from ext/dl/win32/lib to ext/win32/lib because the library is fundamental for Win32 platform.
Also it's required to fit Fiddler.
Attachment is the patched version of Win32API.rb for both DL and Fiddle based on mirich (http://d.hatena.ne.jp/mirichi/20130629/p1).
#5 [ruby-core:55820] Updated by Luis Lavena about 3 years ago
- Target version set to 2.1.0
- Assignee set to Usaku NAKAMURA
- Status changed from Open to Assigned
- Category set to lib
In rb-readline project we used DL be able to access Windows API due the warning/removal of Win32API.rb after 2.0
Park Heesob wrote some wrapper on top of DL, and a few days ago we received a pull request that uses Fiddle:
I would love get this sorted out in Ruby itself so we don't have to fake it.
Assigning to Usa for final decision.
#7 [ruby-core:56211] Updated by Luis Lavena almost 3 years ago
usa (Usaku NAKAMURA) wrote:
Win32API.rb should be removed at 2.1.0.
This doesn't go against what nobu and arton said?
I can modify both RubyGems and SecureRandom to use Fiddle (for newer versions) but not sure about the enterprise environments that have no access to gems.