fxruby 1.6.38-x86-mingw32 → 1.6.39-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +5 -1
- data/History.md +5 -0
- data/appveyor.yml +19 -1
- data/lib/fox16/aliases.rb +1 -1
- data/lib/fox16/version.rb +1 -1
- data/rdoc-sources/FXGLVisual.rb +8 -0
- data/swig-interfaces/FXGLVisual.i +1 -1
- data/swig-interfaces/FXMemoryBuffer.i +1 -1
- data/test/TC_FXGLViewer.rb +8 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43c48748541dd8d196c6e4cfa3aa8ae80f740ab7
|
4
|
+
data.tar.gz: 946e3fd274d01c0925cf7929c65bac770eb29c86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e660f3a543172e3b958904057b6a1ac0f07f1371d8cc424f4ab119e7c2fc0c84cf3992be69d41481efeb2aea9d0b532b5f18a644a29da2bc9df9dd10a1a4fed
|
7
|
+
data.tar.gz: a21f2b4e68d16469d5d39858f3ccf6025f54efde3c1ed02ec7cbb36f71072ca63dd5591d3a7248caf5122f110e462966ec7d1e1103039ca5f7f80ac8e30d7c69
|
data/Gemfile
CHANGED
@@ -3,9 +3,13 @@ source 'https://rubygems.org'
|
|
3
3
|
# Specify your gem's runtime dependencies in fxruby.gemspec
|
4
4
|
gemspec
|
5
5
|
|
6
|
+
# For some reason this is required in addition to the gemspec
|
7
|
+
# when 'bundle config force_ruby_platform true' is active:
|
8
|
+
gem 'mini_portile2'
|
9
|
+
|
6
10
|
group :development do
|
7
11
|
gem 'rake-compiler', '~> 1.0'
|
8
|
-
gem 'rake-compiler-dock', '~> 0.6.
|
12
|
+
gem 'rake-compiler-dock', '~> 0.6.2'
|
9
13
|
gem 'yard', '~> 0.8'
|
10
14
|
gem "bundler", "~> 1.12"
|
11
15
|
gem "rake", "~> 12.0"
|
data/History.md
CHANGED
data/appveyor.yml
CHANGED
@@ -2,6 +2,11 @@ init:
|
|
2
2
|
- SET PATH=c:/Ruby%ruby_version%/bin;c:/msys64/%MSYSTEM%/bin;%PATH%
|
3
3
|
- SET RAKEOPT=-rdevkit
|
4
4
|
install:
|
5
|
+
- ps: |
|
6
|
+
if ($env:RUBYDOWNLOAD -ne $null) {
|
7
|
+
$(new-object net.webclient).DownloadFile("https://github.com/oneclick/rubyinstaller2/releases/download/rubyinstaller-head/rubyinstaller-head-$env:RUBYDOWNLOAD.exe", "$pwd/ruby-setup.exe")
|
8
|
+
cmd /c ruby-setup.exe /verysilent /dir=C:/Ruby$env:ruby_version
|
9
|
+
}
|
5
10
|
- ruby --version
|
6
11
|
- gem --version
|
7
12
|
- ridk version
|
@@ -9,6 +14,8 @@ install:
|
|
9
14
|
- c:/msys64/usr/bin/bash -lc "pacman -Su --noconfirm"
|
10
15
|
- c:/msys64/usr/bin/bash -lc "pacman -S --noconfirm --needed ${MINGW_PACKAGE_PREFIX}-fox ${MINGW_PACKAGE_PREFIX}-swig"
|
11
16
|
- swig -version
|
17
|
+
- gem install bundler --conservative
|
18
|
+
- bundle config force_ruby_platform true
|
12
19
|
- bundle install
|
13
20
|
build_script:
|
14
21
|
- bundle exec rake compile
|
@@ -16,9 +23,20 @@ test_script:
|
|
16
23
|
- bundle exec rake test
|
17
24
|
environment:
|
18
25
|
matrix:
|
19
|
-
- ruby_version: "
|
26
|
+
- ruby_version: "head"
|
27
|
+
RUBYDOWNLOAD: x86
|
20
28
|
MINGW_PACKAGE_PREFIX: "mingw-w64-i686"
|
21
29
|
MSYSTEM: "MINGW32"
|
22
30
|
- ruby_version: "24-x64"
|
23
31
|
MINGW_PACKAGE_PREFIX: "mingw-w64-x86_64"
|
24
32
|
MSYSTEM: "MINGW64"
|
33
|
+
- ruby_version: "24"
|
34
|
+
MINGW_PACKAGE_PREFIX: "mingw-w64-i686"
|
35
|
+
MSYSTEM: "MINGW32"
|
36
|
+
- ruby_version: "head"
|
37
|
+
RUBYDOWNLOAD: x64
|
38
|
+
MINGW_PACKAGE_PREFIX: "mingw-w64-x86_64"
|
39
|
+
MSYSTEM: "MINGW64"
|
40
|
+
matrix:
|
41
|
+
allow_failures:
|
42
|
+
- ruby_version: "head"
|
data/lib/fox16/aliases.rb
CHANGED
data/lib/fox16/version.rb
CHANGED
data/rdoc-sources/FXGLVisual.rb
CHANGED
@@ -77,6 +77,14 @@ module Fox
|
|
77
77
|
# even support no OpenGL at all! This function returns the lesser
|
78
78
|
# of the client support level and the display server support level.
|
79
79
|
#
|
80
|
+
# Return an array with the following 3 elements: [supported, major, minor]
|
81
|
+
#
|
82
|
+
def FXGLVisual.supported(app); end
|
83
|
+
|
84
|
+
# Test if OpenGL is possible.
|
85
|
+
#
|
86
|
+
# Same as {FXGLVisual.supported?}, but returns the first element (true/false) only.
|
87
|
+
#
|
80
88
|
def FXGLVisual.supported?(app); end
|
81
89
|
|
82
90
|
# Return +true+ if double-buffered
|
@@ -41,7 +41,7 @@ public:
|
|
41
41
|
* of the client support level and the display server support level.
|
42
42
|
*/
|
43
43
|
%extend {
|
44
|
-
static
|
44
|
+
static VALUE supported(FXApp* application){
|
45
45
|
int major,minor;
|
46
46
|
FXbool answer=FXGLVisual::supported(application,major,minor);
|
47
47
|
return rb_ary_new3(3,answer?Qtrue:Qfalse,INT2NUM(major),INT2NUM(minor));
|
data/test/TC_FXGLViewer.rb
CHANGED
@@ -12,7 +12,14 @@ class TC_FXGLViewer < Fox::TestCase
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def test_supported
|
15
|
-
|
15
|
+
arr = FXGLVisual.supported(app)
|
16
|
+
assert_equal 3, arr.length, "return array should have elements [support, major, minor]"
|
17
|
+
assert_true arr[0], "OpenGL should be supported"
|
18
|
+
assert_operator 1, :<=, arr[1], "OpenGL should be version 1.0 or greater"
|
19
|
+
end
|
20
|
+
|
21
|
+
def test_supported?
|
22
|
+
assert_true FXGLVisual.supported?(app), "OpenGL should be supported"
|
16
23
|
end
|
17
24
|
|
18
25
|
def test_nil_app_raises_argument_error
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fxruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.39
|
5
5
|
platform: x86-mingw32
|
6
6
|
authors:
|
7
7
|
- Lyle Johnson
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-12-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mini_portile2
|
@@ -431,6 +431,7 @@ files:
|
|
431
431
|
- lib/2.2/fox16_c.so
|
432
432
|
- lib/2.3/fox16_c.so
|
433
433
|
- lib/2.4/fox16_c.so
|
434
|
+
- lib/2.5/fox16_c.so
|
434
435
|
- lib/fox16.rb
|
435
436
|
- lib/fox16/accel_table.rb
|
436
437
|
- lib/fox16/aliases.rb
|
@@ -1006,7 +1007,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1006
1007
|
version: '2.0'
|
1007
1008
|
- - "<"
|
1008
1009
|
- !ruby/object:Gem::Version
|
1009
|
-
version: '2.
|
1010
|
+
version: '2.6'
|
1010
1011
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1011
1012
|
requirements:
|
1012
1013
|
- - ">="
|
@@ -1014,7 +1015,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1014
1015
|
version: '0'
|
1015
1016
|
requirements: []
|
1016
1017
|
rubyforge_project:
|
1017
|
-
rubygems_version: 2.6.
|
1018
|
+
rubygems_version: 2.6.14
|
1018
1019
|
signing_key:
|
1019
1020
|
specification_version: 4
|
1020
1021
|
summary: FXRuby is the Ruby binding to the FOX GUI toolkit.
|