win32-api 1.7.1-universal-mingw32 → 1.8.0-universal-mingw32

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
- SHA256:
3
- metadata.gz: 899305029a34692ac9e4b83188289c9b3a9df8c0eb54ffef342542e1166af56f
4
- data.tar.gz: a9169febd00afba822e694e06efb21bb341a82d7b89a943d4e7dad6b7722f5d9
2
+ SHA1:
3
+ metadata.gz: 1844be8d73042b3333620e06402d8d8088c3ecc1
4
+ data.tar.gz: 4540047f0737f859e4bfb85d37998c3d4655d198
5
5
  SHA512:
6
- metadata.gz: 945c06c178dc2924016acfe65dae51fceccf09a87a70a136dc676df184f7c3d39916dc7413fde9682250e0e2d0c325885ff459a3da4e7522553d8eb687177708
7
- data.tar.gz: f19cbbcfcaa13d33df2e8ea153d2ecd91caf217c7aaf49a4b0c3c6a8fe3677d3b3557408d4c1f5b848705f446b5002759029f22846b13e5ba6e3ef4f386daf14
6
+ metadata.gz: 65e5f5a77e9502037a4c4f9591694c1cdbab722bf8aefce69ae397b8e962a993e6347692d4aebebe28b647114c63e47136eba1918f4773e4ed3b8c72a5f89e65
7
+ data.tar.gz: 5ded9bd1b9eba64b8cb5008edfcaf6b9ac69ad02a9d4c0cd0c560387aa3d1b8f4703a810d58f5b8be03028fea0746703831f352b9a699475516c1abda8c08840
data/CHANGES CHANGED
@@ -1,3 +1,8 @@
1
+ == 1.8.0 - 6-Jan-2019
2
+ * Add Ruby 2.7 snapshot support.
3
+ * Now includes binaries for Ruby 2.7 both 32 and 64 bit versions.
4
+ * Use RubyInstaller 2.6.0-1 for Ruby 2.6 binaries.
5
+
1
6
  == 1.7.1 - 4-Jan-2018
2
7
  * Add Ruby 2.6 snapshot support.
3
8
  * Now includes binaries for Ruby 2.6 both 32 and 64 bit versions.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- win32-api (1.7.0)
4
+ win32-api (1.8.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -21,4 +21,4 @@ DEPENDENCIES
21
21
  win32-api!
22
22
 
23
23
  BUNDLED WITH
24
- 1.15.4
24
+ 1.17.2
data/README CHANGED
@@ -117,7 +117,7 @@
117
117
 
118
118
  = Copyright
119
119
  (C) 2003-2015 Daniel J. Berger
120
- (C) 2016-2017 Hiroshi Hatake
120
+ (C) 2016-2018 Hiroshi Hatake
121
121
  All Rights Reserved
122
122
 
123
123
  = License
data/Rakefile CHANGED
@@ -59,7 +59,7 @@ namespace 'gem' do
59
59
  end
60
60
 
61
61
  desc 'Build a binary gem'
62
- task :binary, :ruby2_32, :ruby2_64, :ruby21, :ruby21_64, :ruby22, :ruby22_64, :ruby23_32, :ruby23_64, :ruby24_32, :ruby24_64, :ruby25_32, :ruby25_64 do |task, args|
62
+ task :binary, :ruby2_32, :ruby2_64, :ruby21, :ruby21_64, :ruby22, :ruby22_64, :ruby23_32, :ruby23_64, :ruby24_32, :ruby24_64, :ruby25_32, :ruby25_64, :ruby_26_32, :ruby26_64, :ruby27_32, :ruby27_64 do |task, args|
63
63
  # These are just what's on my system at the moment. Adjust as needed.
64
64
  # ri refers to RubyInstaller, ruby 2.3 and prev were built with RubyInstaller (:ri),
65
65
  # 2.4 and later with RubyInstaller2 (:ri2)
@@ -92,10 +92,12 @@ namespace 'gem' do
92
92
  :ruby23_64 => {:path => "#{pre}/ruby23-x64/bin", :ri => :ri_64, :omit => false},
93
93
  :ruby24_32 => {:path => "#{pre}/ruby24/bin", :ri => :ri2, :omit => false},
94
94
  :ruby24_64 => {:path => "#{pre}/ruby24-x64/bin", :ri => :ri2_64, :omit => false},
95
- :ruby25_32 => {:path => "#{pre}/ruby25/bin", :ri => :ri2, :omit => true},
96
- :ruby25_64 => {:path => "#{pre}/ruby25-x64/bin", :ri => :ri2_64, :omit => true},
95
+ :ruby25_32 => {:path => "#{pre}/ruby25/bin", :ri => :ri2, :omit => false},
96
+ :ruby25_64 => {:path => "#{pre}/ruby25-x64/bin", :ri => :ri2_64, :omit => false},
97
97
  :ruby26_32 => {:path => "#{pre}/ruby26/bin", :ri => :ri2, :omit => true},
98
98
  :ruby26_64 => {:path => "#{pre}/ruby26-x64/bin", :ri => :ri2_64, :omit => true},
99
+ :ruby27_32 => {:path => "#{pre}/ruby27/bin", :ri => :ri2, :omit => true},
100
+ :ruby27_64 => {:path => "#{pre}/ruby27-x64/bin", :ri => :ri2_64, :omit => true},
99
101
  }
100
102
  )
101
103
 
@@ -185,6 +187,14 @@ begin
185
187
  end
186
188
  end
187
189
 
190
+ if RbConfig::CONFIG['MINOR'] == '7'
191
+ if RbConfig::CONFIG['arch'] =~ /x64/i
192
+ require File.join(File.dirname(__FILE__), 'ruby27_64/win32/api')
193
+ else
194
+ require File.join(File.dirname(__FILE__), 'ruby27_32/win32/api')
195
+ end
196
+ end
197
+
188
198
  end
189
199
  rescue LoadError
190
200
  require File.join(File.dirname(__FILE__), '../../ext/api')
@@ -37,7 +37,7 @@
37
37
 
38
38
 
39
39
  #define MAX_BUF 1024
40
- #define WINDOWS_API_VERSION "1.7.1"
40
+ #define WINDOWS_API_VERSION "1.8.0"
41
41
 
42
42
  #define _T_VOID 0
43
43
  #define _T_LONG 1
@@ -58,6 +58,14 @@ begin
58
58
  end
59
59
  end
60
60
 
61
+ if RbConfig::CONFIG['MINOR'] == '7'
62
+ if RbConfig::CONFIG['arch'] =~ /x64/i
63
+ require File.join(File.dirname(__FILE__), 'ruby27_64/win32/api')
64
+ else
65
+ require File.join(File.dirname(__FILE__), 'ruby27_32/win32/api')
66
+ end
67
+ end
68
+
61
69
  end
62
70
  rescue LoadError
63
71
  require File.join(File.dirname(__FILE__), '../../ext/api')
@@ -18,7 +18,7 @@ class TC_Win32_API < Test::Unit::TestCase
18
18
  end
19
19
 
20
20
  def test_version
21
- assert_equal('1.7.1', API::VERSION)
21
+ assert_equal('1.8.0', API::VERSION)
22
22
  end
23
23
 
24
24
  def test_constructor_basic
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'win32-api'
5
- spec.version = '1.7.1'
5
+ spec.version = '1.8.0'
6
6
  spec.authors = ['Daniel J. Berger', 'Park Heesob', 'Hiroshi Hatake']
7
7
  spec.license = 'Artistic-2.0'
8
8
  spec.email = 'djberg96@gmail.com'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: win32-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1
4
+ version: 1.8.0
5
5
  platform: universal-mingw32
6
6
  authors:
7
7
  - Daniel J. Berger
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2018-01-04 00:00:00.000000000 Z
13
+ date: 2019-01-06 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: test-unit
@@ -75,6 +75,8 @@ files:
75
75
  - lib/win32/ruby25_64/win32/api.so
76
76
  - lib/win32/ruby26_32/win32/api.so
77
77
  - lib/win32/ruby26_64/win32/api.so
78
+ - lib/win32/ruby27_32/win32/api.so
79
+ - lib/win32/ruby27_64/win32/api.so
78
80
  - lib/win32/ruby2_32/win32/api.so
79
81
  - lib/win32/ruby2_64/win32/api.so
80
82
  - test/test_win32_api.rb
@@ -101,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
103
  version: '0'
102
104
  requirements: []
103
105
  rubyforge_project:
104
- rubygems_version: 2.7.3
106
+ rubygems_version: 2.6.13
105
107
  signing_key:
106
108
  specification_version: 4
107
109
  summary: A superior replacement for Win32API