win32-api 1.6.1.beta1-universal-mingw32 → 1.6.1.2-universal-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dada24a38e865d08383d103716fe378173833df9
4
- data.tar.gz: 712f6233d7a525736c68a7c3d776725235d23121
3
+ metadata.gz: b6f98adc93ce159542eff34d770f82cafd104b7a
4
+ data.tar.gz: c3356912152cc4a1a855e5f7fed6990c6cab8b73
5
5
  SHA512:
6
- metadata.gz: 66dfbfa65e69bc57484b9f542656363b20c0316697417b3a5d01edbda747934abd31c96befa8b613e687a538216dbfafe2bca2a322d869bdc67dedd86c0495f4
7
- data.tar.gz: e425cc8c8a7b61912983c31299ae38436c22a3cadbf114fced7ac92f74a1c38d7268a7b59e49038a712626379e4ce293c350bb760ba561addc29e6959016f641
6
+ metadata.gz: dedad26960b16f70ed1d6274ab25c025fb69233d0831615503304d17830c3c93f70230095b9914c9529e8bcdf1188dd97d78af4a7123958cd9cebbf614edbf2e
7
+ data.tar.gz: 5ed7cfdc147c90bc154fc11ccc4637dbf92c9826eaeb2e0efd07132a379b47282b061da3f637caebc3c03aedaaa42e38a98fa06b7fa32e971c2329d85e144f2d
data/CHANGES CHANGED
@@ -1,4 +1,13 @@
1
- == 1.6.1.beta1 - 14-Jan-201
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
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- win32-api (1.6.1.beta1)
4
+ win32-api (1.6.1.2)
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.13.6
24
+ 1.14.2
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[1][:msys] == :msys1
84
+ if key.last[:msys] == :msys1
85
85
  # Adjust devkit paths as needed.
86
- if `"#{key[1][:path]}" -v` =~ /x64/i
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[1][:msys] == :msys2
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[1][:path]}" -v` =~ /x64/i
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[1][:path]} extconf.rb"
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
@@ -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
- # Update pacman database.
10
- - c:/msys64/usr/bin/bash -lc "pacman -Sy --noconfirm"
11
- - c:/msys64/usr/bin/bash -lc "pacman -S --noconfirm pacman"
12
- - c:/msys64/usr/bin/bash -lc "pacman -R --noconfirm repman-git"
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
@@ -37,7 +37,7 @@
37
37
 
38
38
 
39
39
  #define MAX_BUF 1024
40
- #define WINDOWS_API_VERSION "1.6.0"
40
+ #define WINDOWS_API_VERSION "1.6.1.2"
41
41
 
42
42
  #define _T_VOID 0
43
43
  #define _T_LONG 1
@@ -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.6.0', API::VERSION)
21
+ assert_equal('1.6.1.2', API::VERSION)
22
22
  end
23
23
 
24
24
  def test_constructor_basic
@@ -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.beta1'
5
+ spec.version = '1.6.1.2'
6
6
  spec.authors = ['Daniel J. Berger', 'Park Heesob', 'Hiroshi Hatake']
7
- spec.license = 'Artistic 2.0'
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.beta1
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-01-24 00:00:00.000000000 Z
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 2.0
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: 1.3.1
97
+ version: '0'
99
98
  requirements: []
100
99
  rubyforge_project:
101
100
  rubygems_version: 2.6.8
@@ -1,3 +0,0 @@
1
- call C:\Ruby24-x64\bin\rubydevkit.cmd
2
- call bundle exec rake gem:binary
3
- call bundle exec rake test:all