From a1828a1ff455807f16eea265f7077d6475fee46a Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 30 Oct 2020 14:34:25 +0900 Subject: [PATCH] Promote win32ole to default gems. But win32ole gem is still experimental for 3.0.0-preview2. I'm working to extract this library on https://github.com/ruby/win32ole. --- doc/maintainers.rdoc | 4 ++-- doc/standard_library.rdoc | 2 +- ext/win32ole/win32ole.gemspec | 21 +++++++++++++++++++++ 3 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 ext/win32ole/win32ole.gemspec diff --git a/doc/maintainers.rdoc b/doc/maintainers.rdoc index ed510cce90..25985a137d 100644 --- a/doc/maintainers.rdoc +++ b/doc/maintainers.rdoc @@ -71,8 +71,6 @@ Zachary Scott (zzak) * API change needs matz's approval [ext/win32] NAKAMURA Usaku (usa) -[ext/win32ole] - Masaki Suketa (suke) == Default gems Maintainers @@ -359,6 +357,8 @@ Zachary Scott (zzak) [ext/syslog] Akinori MUSHA (knu) https://github.com/ruby/syslog +[ext/win32ole] + Masaki Suketa (suke) [ext/zlib] NARUSE, Yui (naruse) https://github.com/ruby/zlib diff --git a/doc/standard_library.rdoc b/doc/standard_library.rdoc index ea786d50b2..8c5d17a794 100644 --- a/doc/standard_library.rdoc +++ b/doc/standard_library.rdoc @@ -22,7 +22,6 @@ objspace:: Extends ObjectSpace module to add methods for internal statistics PTY:: Creates and manages pseudo terminals Ripper:: Provides an interface for parsing Ruby programs into S-expressions Socket:: Access underlying OS socket implementations -WIN32OLE:: Provides an interface for OLE Automation in Ruby = Default gems @@ -103,6 +102,7 @@ Readline:: Provides an interface for GNU Readline and Edit Line (libedit) StringIO:: Pseudo I/O on String objects StringScanner:: Provides lexical scanning operations on a String Syslog:: Ruby interface for the POSIX system logging facility +WIN32OLE:: Provides an interface for OLE Automation in Ruby Zlib:: Ruby interface for the zlib compression/decompression library = Bundled gems diff --git a/ext/win32ole/win32ole.gemspec b/ext/win32ole/win32ole.gemspec new file mode 100644 index 0000000000..021625e44e --- /dev/null +++ b/ext/win32ole/win32ole.gemspec @@ -0,0 +1,21 @@ +Gem::Specification.new do |spec| + spec.name = "win32ole" + spec.version = "1.8.8" + spec.authors = ["Masaki Suketa"] + spec.email = ["suke@ruby-lang.org"] + + spec.summary = %q{Provides an interface for OLE Automation in Ruby} + spec.description = spec.summary + spec.homepage = "https://github.com/ruby/win32ole" + spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0") + + spec.metadata["homepage_uri"] = spec.homepage + spec.metadata["source_code_uri"] = spec.homepage + + spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do + `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } + end + spec.bindir = "exe" + spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } + spec.require_paths = ["lib"] +end