win32ole 1.8.9 → 1.8.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d156a7f6ac1d7d3f6c05bc340adbb2e65c7552cf374ee5a228280fc65d41d765
4
- data.tar.gz: 6dadf13f100523a96deb6f12741af3cbfa6ee2a459d0ca6b32858ad7b65b2310
3
+ metadata.gz: eeded5c3c12c689465044f51fcb85120250656bdccd82aed9f361bd49dac58d8
4
+ data.tar.gz: 3544f2afa9b6843d31e44dacc08d9d867751c207389df0d50acb0d1e797b1c01
5
5
  SHA512:
6
- metadata.gz: fc5b216f7b92772b768cb60c6a346a4a7d7228d580499e60651d566ef585fdcb847e0f50a74490894c4b80da96d80279c22b0c5c8fd4fa3b96dadabe1bcb63b4
7
- data.tar.gz: fa9c0f21ce0b5b6f7835a1197dfd7d73be4c68ce6748b5cc2c151d81a2a7fc769441d57f68838fe59057d50c723a944c8e9bb93d85c7beb3c2e35c3673cc8b0d
6
+ metadata.gz: ce52dc4fd54fd403a2bc56b50caab5740b669b44268de725168abf8f0793923056f0eac6542535d085dbc3175edc97c0aeb9d817d37b6cfabd1a61efa98689f1
7
+ data.tar.gz: eeff5a7db020796fee5b4e3e699e1b1f777f02af072424b1c7ddeb6aa4bfcb566494efac194a10a10a1ea026070862586fd764ae7c51ae5f6eb9f8bbbf6bbd65
@@ -3,17 +3,23 @@ name: windows
3
3
  on: [push, pull_request]
4
4
 
5
5
  jobs:
6
- build:
7
- name: ${{ matrix.os }} ${{ matrix.ruby }}
8
- runs-on: ${{ matrix.os }}
6
+ ruby-versions:
7
+ uses: ruby/actions/.github/workflows/ruby_versions.yml@master
8
+ with:
9
+ engine: cruby
10
+ min_version: 2.6
11
+ versions: '["mswin", "mingw"]'
12
+
13
+ test:
14
+ needs: ruby-versions
15
+ name: build (${{ matrix.ruby }})
9
16
  strategy:
10
17
  fail-fast: false
11
18
  matrix:
12
- os:
13
- - windows-latest
14
- ruby: [ '3.1', '3.0', '2.7', '2.6', 'mswin', 'mingw' ]
19
+ ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
20
+ runs-on: windows-latest
15
21
  steps:
16
- - uses: actions/checkout@v3
22
+ - uses: actions/checkout@v4
17
23
  - name: Set up Ruby
18
24
  uses: ruby/setup-ruby@v1
19
25
  with:
data/Gemfile CHANGED
@@ -5,3 +5,4 @@ gemspec
5
5
 
6
6
  gem 'rake-compiler'
7
7
  gem 'test-unit'
8
+ gem "test-unit-ruby-core"
@@ -27,7 +27,7 @@
27
27
  const IID IID_IMultiLanguage2 = {0xDCCFC164, 0x2B38, 0x11d2, {0xB7, 0xEC, 0x00, 0xC0, 0x4F, 0x8F, 0x5D, 0x9A}};
28
28
  #endif
29
29
 
30
- #define WIN32OLE_VERSION "1.8.8"
30
+ #define WIN32OLE_VERSION "1.8.10"
31
31
 
32
32
  typedef HRESULT (STDAPICALLTYPE FNCOCREATEINSTANCEEX)
33
33
  (REFCLSID, IUnknown*, DWORD, COSERVERINFO*, DWORD, MULTI_QI*);
data/win32ole.gemspec CHANGED
@@ -1,6 +1,16 @@
1
+ source_version = ["", "ext/win32ole/"].find do |dir|
2
+ begin
3
+ break File.open(File.join(__dir__, "#{dir}win32ole.c")) {|f|
4
+ f.gets("\n#define WIN32OLE_VERSION ")
5
+ f.gets[/\s*"(.+)"/, 1]
6
+ }
7
+ rescue Errno::ENOENT
8
+ end
9
+ end
10
+
1
11
  Gem::Specification.new do |spec|
2
12
  spec.name = "win32ole"
3
- spec.version = "1.8.9"
13
+ spec.version = source_version
4
14
  spec.authors = ["Masaki Suketa"]
5
15
  spec.email = ["suke@ruby-lang.org"]
6
16
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: win32ole
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.9
4
+ version: 1.8.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masaki Suketa
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-12-05 00:00:00.000000000 Z
11
+ date: 2023-11-07 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Provides an interface for OLE Automation in Ruby
14
14
  email:
@@ -65,7 +65,6 @@ files:
65
65
  - lib/win32ole/property.rb
66
66
  - rakelib/changelogs.rake
67
67
  - rakelib/epoch.rake
68
- - rakelib/sync_tool.rake
69
68
  - rakelib/version.rake
70
69
  - win32ole.gemspec
71
70
  homepage: https://github.com/ruby/win32ole
@@ -90,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
89
  - !ruby/object:Gem::Version
91
90
  version: '0'
92
91
  requirements: []
93
- rubygems_version: 3.4.0.dev
92
+ rubygems_version: 3.5.0.dev
94
93
  signing_key:
95
94
  specification_version: 4
96
95
  summary: Provides an interface for OLE Automation in Ruby
@@ -1,6 +0,0 @@
1
- task :sync_tool do
2
- require 'fileutils'
3
- FileUtils.cp "../ruby/tool/lib/core_assertions.rb", "./test/lib"
4
- FileUtils.cp "../ruby/tool/lib/envutil.rb", "./test/lib"
5
- FileUtils.cp "../ruby/tool/lib/find_executable.rb", "./test/lib"
6
- end