win32-api 1.6.1.beta1-universal-mingw32 → 1.6.1.2-universal-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES +10 -1
- data/Gemfile.lock +2 -2
- data/Rakefile +5 -6
- data/appveyor.yml +24 -13
- data/ext/win32/api.c +1 -1
- data/lib/win32/ruby21_32/win32/api.so +0 -0
- data/lib/win32/ruby21_64/win32/api.so +0 -0
- data/lib/win32/ruby22_32/win32/api.so +0 -0
- data/lib/win32/ruby22_64/win32/api.so +0 -0
- data/lib/win32/ruby23_32/win32/api.so +0 -0
- data/lib/win32/ruby23_64/win32/api.so +0 -0
- data/lib/win32/ruby24_32/win32/api.so +0 -0
- data/lib/win32/ruby24_64/win32/api.so +0 -0
- data/lib/win32/ruby2_32/win32/api.so +0 -0
- data/lib/win32/ruby2_64/win32/api.so +0 -0
- data/test/test_win32_api.rb +1 -1
- data/win32-api.gemspec +2 -2
- metadata +5 -6
- data/appveyor/build.cmd +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6f98adc93ce159542eff34d770f82cafd104b7a
|
4
|
+
data.tar.gz: c3356912152cc4a1a855e5f7fed6990c6cab8b73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dedad26960b16f70ed1d6274ab25c025fb69233d0831615503304d17830c3c93f70230095b9914c9529e8bcdf1188dd97d78af4a7123958cd9cebbf614edbf2e
|
7
|
+
data.tar.gz: 5ed7cfdc147c90bc154fc11ccc4637dbf92c9826eaeb2e0efd07132a379b47282b061da3f637caebc3c03aedaaa42e38a98fa06b7fa32e971c2329d85e144f2d
|
data/CHANGES
CHANGED
@@ -1,4 +1,13 @@
|
|
1
|
-
== 1.6.1.
|
1
|
+
== 1.6.1.2 - 2-Feb-2017
|
2
|
+
* Fix wrong gem packaging.
|
3
|
+
|
4
|
+
== 1.6.1.1 - 31-Jan-2017 (yanked)
|
5
|
+
* Fix wrong returning version number
|
6
|
+
|
7
|
+
== 1.6.1 - 31-Jan-2017 (yanked)
|
8
|
+
* Depends on MSYS2 based RubyInstaller2 to create binaries for Ruby 2.4.0.
|
9
|
+
|
10
|
+
== 1.6.1.beta1 - 14-Jan-2017
|
2
11
|
* Now includes binaries for Ruby 2.4 for both 32 and 64 bit versions.
|
3
12
|
* Try to depends on MSYS2 based RubyInstaller2 on Ruby 2.4.
|
4
13
|
|
data/Gemfile.lock
CHANGED
data/Rakefile
CHANGED
@@ -81,18 +81,17 @@ namespace 'gem' do
|
|
81
81
|
args.each{ |key|
|
82
82
|
default_path = ENV['PATH']
|
83
83
|
|
84
|
-
if key[
|
84
|
+
if key.last[:msys] == :msys1
|
85
85
|
# Adjust devkit paths as needed.
|
86
|
-
if `"#{key[
|
86
|
+
if `"#{key.last[:path]}" -v` =~ /x64/i
|
87
87
|
ENV['PATH'] = "C:/Devkit64/bin;C:/Devkit64/mingw/bin;" + ENV['PATH']
|
88
88
|
else
|
89
89
|
ENV['PATH'] = "C:/Devkit/bin;C:/Devkit/mingw/bin;" + ENV['PATH']
|
90
90
|
end
|
91
|
-
elsif key[
|
91
|
+
elsif key.last[:msys] == :msys2
|
92
92
|
ENV.delete('RI_DEVKIT')
|
93
|
-
devkit = nil
|
94
93
|
# Adjust devkit paths as needed.
|
95
|
-
if `"#{key[
|
94
|
+
if `"#{key.last[:path]}" -v` =~ /x64/i
|
96
95
|
ENV['PATH'] = "C:/msys64/usr/bin;C:/msys64/mingw64/bin;" + ENV['PATH']
|
97
96
|
else
|
98
97
|
ENV['PATH'] = "C:/msys64/usr/bin;C:/msys64/mingw32/bin;" + ENV['PATH']
|
@@ -102,7 +101,7 @@ namespace 'gem' do
|
|
102
101
|
|
103
102
|
Dir.chdir('ext') do
|
104
103
|
sh "make distclean" rescue nil
|
105
|
-
sh "#{key[
|
104
|
+
sh "#{key.last[:path]} extconf.rb"
|
106
105
|
sh "make"
|
107
106
|
cp 'api.so', "../lib/win32/#{key.first}/win32/api.so"
|
108
107
|
end
|
data/appveyor.yml
CHANGED
@@ -6,49 +6,60 @@ install:
|
|
6
6
|
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
|
7
7
|
- "%devkit64%\\devkitvars.bat"
|
8
8
|
- "%devkit32%\\devkitvars.bat"
|
9
|
-
|
10
|
-
-
|
11
|
-
-
|
12
|
-
-
|
13
|
-
# for 32 bit ext library.
|
14
|
-
- c:/msys64/usr/bin/bash -lc "pacman -S --noconfirm --needed base-devel mingw-w64-i686-toolchain"
|
15
|
-
# for 64 bit ext library.
|
16
|
-
- c:/msys64/usr/bin/bash -lc "pacman -S --noconfirm --needed base-devel mingw-w64-x86_64-toolchain"
|
17
|
-
- ps: Start-FileDownload https://github.com/larskanis/rubyinstaller2/releases/download/2.4.0-6/rubyinstaller-2.4.0-6-x86.exe
|
18
|
-
- rubyinstaller-2.4.0-6-x86.exe TYPE=full /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /CLOSEAPPLICATIONS /NORESTARTAPPLICATIONS /DIR="C:\Ruby24"
|
19
|
-
- ps: Start-FileDownload https://github.com/larskanis/rubyinstaller2/releases/download/2.4.0-6/rubyinstaller-2.4.0-6-x64.exe
|
20
|
-
- rubyinstaller-2.4.0-6-x64.exe TYPE=full /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /CLOSEAPPLICATIONS /NORESTARTAPPLICATIONS /DIR="C:\Ruby24-x64"
|
9
|
+
- ps: Start-FileDownload https://github.com/larskanis/rubyinstaller2/releases/download/2.4.0-7/rubyinstaller-2.4.0-7-x86.exe
|
10
|
+
- rubyinstaller-2.4.0-7-x86.exe TYPE=full /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /CLOSEAPPLICATIONS /NORESTARTAPPLICATIONS /DIR="C:\Ruby24"
|
11
|
+
- ps: Start-FileDownload https://github.com/larskanis/rubyinstaller2/releases/download/2.4.0-7/rubyinstaller-2.4.0-7-x64.exe
|
12
|
+
- rubyinstaller-2.4.0-7-x64.exe TYPE=full /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /CLOSEAPPLICATIONS /NORESTARTAPPLICATIONS /DIR="C:\Ruby24-x64"
|
21
13
|
- ruby --version
|
22
14
|
- gem --version
|
15
|
+
- IF %msys2%==1 ridk.cmd enable
|
16
|
+
- IF %msys2%==1 gem install bundler
|
23
17
|
- bundle install
|
24
18
|
build: off
|
25
19
|
test_script:
|
26
20
|
- bundle exec rake gem:binary
|
27
|
-
- bundle exec rake test:all
|
21
|
+
- IF %msys2%==0 bundle exec rake test:all
|
22
|
+
- IF %msys2%==1 ridk.cmd exec bundle exec rake test:all
|
28
23
|
|
29
24
|
environment:
|
30
25
|
matrix:
|
26
|
+
- ruby_version: "24-x64"
|
27
|
+
devkit64: C:\Ruby23-x64\DevKit
|
28
|
+
devkit32: C:\Ruby23\DevKit
|
29
|
+
msys2: 1
|
30
|
+
- ruby_version: "24"
|
31
|
+
devkit64: C:\Ruby23-x64\DevKit
|
32
|
+
devkit32: C:\Ruby23\DevKit
|
33
|
+
msys2: 1
|
31
34
|
- ruby_version: "23-x64"
|
32
35
|
devkit64: C:\Ruby23-x64\DevKit
|
33
36
|
devkit32: C:\Ruby23\DevKit
|
37
|
+
msys2: 0
|
34
38
|
- ruby_version: "23"
|
35
39
|
devkit64: C:\Ruby23-x64\DevKit
|
36
40
|
devkit32: C:\Ruby23\DevKit
|
41
|
+
msys2: 0
|
37
42
|
- ruby_version: "22-x64"
|
38
43
|
devkit64: C:\Ruby23-x64\DevKit
|
39
44
|
devkit32: C:\Ruby23\DevKit
|
45
|
+
msys2: 0
|
40
46
|
- ruby_version: "22"
|
41
47
|
devkit64: C:\Ruby23-x64\DevKit
|
42
48
|
devkit32: C:\Ruby23\DevKit
|
49
|
+
msys2: 0
|
43
50
|
- ruby_version: "21-x64"
|
44
51
|
devkit64: C:\Ruby23-x64\DevKit
|
45
52
|
devkit32: C:\Ruby23\DevKit
|
53
|
+
msys2: 0
|
46
54
|
- ruby_version: "21"
|
47
55
|
devkit64: C:\Ruby23-x64\DevKit
|
48
56
|
devkit32: C:\Ruby23\DevKit
|
57
|
+
msys2: 0
|
49
58
|
- ruby_version: "200-x64"
|
50
59
|
devkit64: C:\Ruby23-x64\DevKit
|
51
60
|
devkit32: C:\Ruby23\DevKit
|
61
|
+
msys2: 0
|
52
62
|
- ruby_version: "200"
|
53
63
|
devkit64: C:\Ruby23-x64\DevKit
|
54
64
|
devkit32: C:\Ruby23\DevKit
|
65
|
+
msys2: 0
|
data/ext/win32/api.c
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/test/test_win32_api.rb
CHANGED
data/win32-api.gemspec
CHANGED
@@ -2,9 +2,9 @@ require 'rubygems'
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = 'win32-api'
|
5
|
-
spec.version = '1.6.1.
|
5
|
+
spec.version = '1.6.1.2'
|
6
6
|
spec.authors = ['Daniel J. Berger', 'Park Heesob', 'Hiroshi Hatake']
|
7
|
-
spec.license = 'Artistic
|
7
|
+
spec.license = 'Artistic-2.0'
|
8
8
|
spec.email = 'djberg96@gmail.com'
|
9
9
|
spec.homepage = 'http://github.com/djberg96/win32-api'
|
10
10
|
spec.summary = 'A superior replacement for Win32API'
|
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.6.1.
|
4
|
+
version: 1.6.1.2
|
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: 2017-
|
13
|
+
date: 2017-02-02 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: test-unit
|
@@ -61,7 +61,6 @@ files:
|
|
61
61
|
- README
|
62
62
|
- Rakefile
|
63
63
|
- appveyor.yml
|
64
|
-
- appveyor/build.cmd
|
65
64
|
- ext/win32/api.c
|
66
65
|
- lib/win32/api.rb
|
67
66
|
- lib/win32/ruby21_32/win32/api.so
|
@@ -80,7 +79,7 @@ files:
|
|
80
79
|
- win32-api.gemspec
|
81
80
|
homepage: http://github.com/djberg96/win32-api
|
82
81
|
licenses:
|
83
|
-
- Artistic
|
82
|
+
- Artistic-2.0
|
84
83
|
metadata: {}
|
85
84
|
post_install_message:
|
86
85
|
rdoc_options: []
|
@@ -93,9 +92,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
93
92
|
version: 1.8.2
|
94
93
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
94
|
requirements:
|
96
|
-
- - "
|
95
|
+
- - ">="
|
97
96
|
- !ruby/object:Gem::Version
|
98
|
-
version:
|
97
|
+
version: '0'
|
99
98
|
requirements: []
|
100
99
|
rubyforge_project:
|
101
100
|
rubygems_version: 2.6.8
|
data/appveyor/build.cmd
DELETED