glu 8.1.0 → 8.2.0

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.
data/lib/glu.rb CHANGED
@@ -1,6 +1,9 @@
1
- require 'glu/glu'
2
-
3
- include Glu
1
+ begin
2
+ RUBY_VERSION =~ /(\d+.\d+)/
3
+ require "glu/#{$1}/glu"
4
+ rescue LoadError
5
+ require 'glu/glu'
6
+ end
4
7
 
5
8
  # (Glu.)gluSphere -> GLU.Sphere
6
9
  # (Glu::)GLU_INSIDE -> GLU::INSIDE
@@ -21,5 +24,5 @@ module GLU
21
24
  end
22
25
 
23
26
  module Glu
24
- VERSION = "8.1.0"
25
- end
27
+ VERSION = "8.2.0"
28
+ end
@@ -0,0 +1,131 @@
1
+ # This file is used to setup a dummy X server for testing on http://travis-ci.org
2
+ # See config file ".travis.yml"
3
+
4
+ ##Xdummy:##
5
+ Section "ServerFlags"
6
+ Option "DontVTSwitch" "true"
7
+ Option "AllowMouseOpenFail" "true"
8
+ Option "PciForceNone" "true"
9
+ Option "AutoEnableDevices" "false"
10
+ Option "AutoAddDevices" "false"
11
+ EndSection
12
+
13
+
14
+ ##Xdummy:##
15
+ Section "InputDevice"
16
+ Identifier "NoMouse"
17
+ Option "CorePointer" "true"
18
+ Driver "void"
19
+ EndSection
20
+
21
+ Section "InputDevice"
22
+ Identifier "NoKeyboard"
23
+ Option "CoreKeyboard" "true"
24
+ Driver "void"
25
+ EndSection
26
+
27
+ ##Xdummy:##
28
+ Section "Device"
29
+ Identifier "Videocard0"
30
+ Driver "dummy"
31
+ #VideoRam 4096000
32
+ VideoRam 256000
33
+ EndSection
34
+
35
+ ##Xdummy:##
36
+ Section "Monitor"
37
+ Identifier "Monitor0"
38
+ HorizSync 10.0 - 300.0
39
+ VertRefresh 10.0 - 200.0
40
+ DisplaySize 4335 1084
41
+ #The following modeline is invalid (calculator overflowed):
42
+ #Modeline "32000x32000@0" -38917.43 32000 32032 -115848 -115816 32000 32775 32826 33601
43
+ Modeline "16384x8192@10" 2101.93 16384 16416 24400 24432 8192 8390 8403 8602
44
+ Modeline "8192x4096@10" 424.46 8192 8224 9832 9864 4096 4195 4202 4301
45
+ Modeline "5120x3200@10" 199.75 5120 5152 5904 5936 3200 3277 3283 3361
46
+ Modeline "3840x2880@10" 133.43 3840 3872 4376 4408 2880 2950 2955 3025
47
+ Modeline "3840x2560@10" 116.93 3840 3872 4312 4344 2560 2622 2627 2689
48
+ Modeline "3840x2048@10" 91.45 3840 3872 4216 4248 2048 2097 2101 2151
49
+ Modeline "2048x2048@10" 49.47 2048 2080 2264 2296 2048 2097 2101 2151
50
+ Modeline "2560x1600@10" 47.12 2560 2592 2768 2800 1600 1639 1642 1681
51
+ Modeline "1920x1200@10" 26.28 1920 1952 2048 2080 1200 1229 1231 1261
52
+ Modeline "1920x1080@10" 23.53 1920 1952 2040 2072 1080 1106 1108 1135
53
+ Modeline "1680x1050@10" 20.08 1680 1712 1784 1816 1050 1075 1077 1103
54
+ Modeline "1600x900@20" 33.92 1600 1632 1760 1792 900 921 924 946
55
+ Modeline "1440x900@20" 30.66 1440 1472 1584 1616 900 921 924 946
56
+ Modeline "1360x768@20" 24.49 1360 1392 1480 1512 768 786 789 807
57
+ #common resolutions for android devices (both orientations):
58
+ Modeline "800x1280@20" 25.89 800 832 928 960 1280 1310 1315 1345
59
+ Modeline "1280x800@20" 24.15 1280 1312 1400 1432 800 819 822 841
60
+ Modeline "720x1280@25" 30.22 720 752 864 896 1280 1309 1315 1345
61
+ Modeline "1280x720@25" 27.41 1280 1312 1416 1448 720 737 740 757
62
+ Modeline "768x1024@25" 24.93 768 800 888 920 1024 1047 1052 1076
63
+ Modeline "1024x768@25" 23.77 1024 1056 1144 1176 768 785 789 807
64
+ Modeline "600x1024@25" 19.90 600 632 704 736 1024 1047 1052 1076
65
+ Modeline "1024x600@25" 18.26 1024 1056 1120 1152 600 614 617 631
66
+ Modeline "536x960@25" 16.74 536 568 624 656 960 982 986 1009
67
+ Modeline "960x536@25" 15.23 960 992 1048 1080 536 548 551 563
68
+ Modeline "600x800@25" 15.17 600 632 688 720 800 818 822 841
69
+ Modeline "800x600@25" 14.50 800 832 880 912 600 614 617 631
70
+ Modeline "480x854@25" 13.34 480 512 560 592 854 873 877 897
71
+ Modeline "848x480@25" 12.09 848 880 920 952 480 491 493 505
72
+ Modeline "480x800@25" 12.43 480 512 552 584 800 818 822 841
73
+ Modeline "800x480@25" 11.46 800 832 872 904 480 491 493 505
74
+ Modeline "320x480@50" 10.73 320 352 392 424 480 490 494 505
75
+ Modeline "480x320@50" 9.79 480 512 544 576 320 327 330 337
76
+ Modeline "240x400@50" 6.96 240 272 296 328 400 408 412 421
77
+ Modeline "400x240@50" 6.17 400 432 448 480 240 245 247 253
78
+ Modeline "240x320@50" 5.47 240 272 288 320 320 327 330 337
79
+ Modeline "320x240@50" 5.10 320 352 368 400 240 245 247 253
80
+ #resolutions for android devices (both orientations)
81
+ #minus the status bar
82
+ #38px status bar (and width rounded up)
83
+ Modeline "800x1242@20" 25.03 800 832 920 952 1242 1271 1275 1305
84
+ Modeline "1280x762@20" 22.93 1280 1312 1392 1424 762 780 783 801
85
+ Modeline "720x1242@25" 29.20 720 752 856 888 1242 1271 1276 1305
86
+ Modeline "1280x682@25" 25.85 1280 1312 1408 1440 682 698 701 717
87
+ Modeline "768x986@25" 23.90 768 800 888 920 986 1009 1013 1036
88
+ Modeline "1024x730@25" 22.50 1024 1056 1136 1168 730 747 750 767
89
+ Modeline "600x986@25" 19.07 600 632 704 736 986 1009 1013 1036
90
+ Modeline "1024x562@25" 17.03 1024 1056 1120 1152 562 575 578 591
91
+ Modeline "536x922@25" 16.01 536 568 624 656 922 943 947 969
92
+ Modeline "960x498@25" 14.09 960 992 1040 1072 498 509 511 523
93
+ Modeline "600x762@25" 14.39 600 632 680 712 762 779 783 801
94
+ Modeline "800x562@25" 13.52 800 832 880 912 562 575 578 591
95
+ Modeline "480x810@25" 12.59 480 512 552 584 810 828 832 851
96
+ Modeline "848x442@25" 11.09 848 880 920 952 442 452 454 465
97
+ Modeline "480x762@25" 11.79 480 512 552 584 762 779 783 801
98
+ Modeline "800x442@25" 10.51 800 832 864 896 442 452 454 465
99
+ #32px status bar (no need for rounding):
100
+ Modeline "320x448@50" 9.93 320 352 384 416 448 457 461 471
101
+ Modeline "480x288@50" 8.75 480 512 544 576 288 294 297 303
102
+ #24px status bar:
103
+ Modeline "240x376@50" 6.49 240 272 296 328 376 384 387 395
104
+ Modeline "400x216@50" 5.50 400 432 448 480 216 220 222 227
105
+ Modeline "240x296@50" 5.02 240 272 288 320 296 302 305 311
106
+ Modeline "320x216@50" 4.55 320 352 368 400 216 220 222 227
107
+ EndSection
108
+
109
+ ##Xdummy:##
110
+ Section "Screen"
111
+ Identifier "Screen0"
112
+ Device "Videocard0"
113
+ Monitor "Monitor0"
114
+ DefaultDepth 24
115
+ SubSection "Display"
116
+ Viewport 0 0
117
+ Depth 24
118
+ Modes "32000x32000" "16384x8192" "8192x4096" "5120x3200" "3840x2880" "3840x2560" "3840x2048" "2048x2048" "2560x1600" "1920x1440" "1920x1200" "1920x1080" "1600x1200" "1680x1050" "1600x900" "1400x1050" "1440x900" "1280x1024" "1366x768" "1280x800" "1024x768" "1024x600" "800x600" "320x200"
119
+ #Virtual 32000 32000
120
+ #Virtual 16384 8192
121
+ #Virtual 8192 4096
122
+ Virtual 1920 1440
123
+ EndSubSection
124
+ EndSection
125
+
126
+ Section "ServerLayout"
127
+ Identifier "dummy_layout"
128
+ Screen "screen0"
129
+ InputDevice "NoMouse"
130
+ InputDevice "NoKeyboard"
131
+ EndSection
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glu
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.1.0
4
+ version: 8.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Hodel
@@ -13,8 +13,29 @@ authors:
13
13
  - James Adam
14
14
  autorequire:
15
15
  bindir: bin
16
- cert_chain: []
17
- date: 2013-03-03 00:00:00.000000000 Z
16
+ cert_chain:
17
+ - |
18
+ -----BEGIN CERTIFICATE-----
19
+ MIIDLjCCAhagAwIBAgIBAjANBgkqhkiG9w0BAQUFADA9MQ4wDAYDVQQDDAVrYW5p
20
+ czEXMBUGCgmSJomT8ixkARkWB2NvbWNhcmQxEjAQBgoJkiaJk/IsZAEZFgJkZTAe
21
+ Fw0xNDAyMjYwOTMzMDBaFw0xNTAyMjYwOTMzMDBaMD0xDjAMBgNVBAMMBWthbmlz
22
+ MRcwFQYKCZImiZPyLGQBGRYHY29tY2FyZDESMBAGCgmSJomT8ixkARkWAmRlMIIB
23
+ IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApop+rNmg35bzRugZ21VMGqI6
24
+ HGzPLO4VHYncWn/xmgPU/ZMcZdfj6MzIaZJ/czXyt4eHpBk1r8QOV3gBXnRXEjVW
25
+ 9xi+EdVOkTV2/AVFKThcbTAQGiF/bT1n2M+B1GTybRzMg6hyhOJeGPqIhLfJEpxn
26
+ lJi4+ENAVT4MpqHEAGB8yFoPC0GqiOHQsdHxQV3P3c2OZqG+yJey74QtwA2tLcLn
27
+ Q53c63+VLGsOjODl1yPn/2ejyq8qWu6ahfTxiIlSar2UbwtaQGBDFdb2CXgEufXT
28
+ L7oaPxlmj+Q2oLOfOnInd2Oxop59HoJCQPsg8f921J43NCQGA8VHK6paxIRDLQID
29
+ AQABozkwNzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQUvgTdT7fe
30
+ x17ugO3IOsjEJwW7KP4wDQYJKoZIhvcNAQEFBQADggEBAFmIAhRT0awqLQN9e4Uv
31
+ ZEk+jUWv4zkb+TWiKFJXlwjPyjGbZY9gVfOwAwMibYOK/t/+57ZzW3d0L12OUwvo
32
+ on84NVvYtIr1/iskJFWFkMoIquAFCdi9p68stSPMQK2XcrJJuRot29fJtropsZBa
33
+ 2cpaNd/sRYdK4oep2usdKifA1lI0hIkPb3r5nLfwG2lAqBH7WZsUICHcTgR0VEbG
34
+ z9Ug5qQp9Uz73xC9YdGvGiuOX53LYobHAR4MWi2xxDlHI+ER8mRz0eY2FUuNu/Wj
35
+ GrqF74zpLl7/KFdHC8VmzwZS18hvDjxeLVuVI2gIGnBInqnlqv05g/l4/1pISh5j
36
+ dS4=
37
+ -----END CERTIFICATE-----
38
+ date: 2014-03-14 00:00:00.000000000 Z
18
39
  dependencies:
19
40
  - !ruby/object:Gem::Dependency
20
41
  name: rdoc
@@ -22,14 +43,14 @@ dependencies:
22
43
  requirements:
23
44
  - - ~>
24
45
  - !ruby/object:Gem::Version
25
- version: '3.10'
46
+ version: '4.0'
26
47
  type: :development
27
48
  prerelease: false
28
49
  version_requirements: !ruby/object:Gem::Requirement
29
50
  requirements:
30
51
  - - ~>
31
52
  - !ruby/object:Gem::Version
32
- version: '3.10'
53
+ version: '4.0'
33
54
  - !ruby/object:Gem::Dependency
34
55
  name: rake-compiler
35
56
  requirement: !ruby/object:Gem::Requirement
@@ -56,14 +77,14 @@ dependencies:
56
77
  requirements:
57
78
  - - ~>
58
79
  - !ruby/object:Gem::Version
59
- version: '3.5'
80
+ version: '3.7'
60
81
  type: :development
61
82
  prerelease: false
62
83
  version_requirements: !ruby/object:Gem::Requirement
63
84
  requirements:
64
85
  - - ~>
65
86
  - !ruby/object:Gem::Version
66
- version: '3.5'
87
+ version: '3.7'
67
88
  description: Glu bindings for the opengl gem, split into a separate gem because of
68
89
  Glu deprecation.
69
90
  email:
@@ -85,6 +106,7 @@ files:
85
106
  - .autotest
86
107
  - .gemtest
87
108
  - .gitignore
109
+ - .travis.yml
88
110
  - History.rdoc
89
111
  - MIT-LICENSE
90
112
  - Manifest.txt
@@ -93,14 +115,17 @@ files:
93
115
  - ext/glu/common.h
94
116
  - ext/glu/conv.h
95
117
  - ext/glu/extconf.rb
118
+ - ext/glu/gl-enums.h
96
119
  - ext/glu/glu-enums.c
97
120
  - ext/glu/glu-enums.h
98
121
  - ext/glu/glu.c
99
122
  - lib/glu.rb
100
123
  - lib/glu/dummy.rb
124
+ - test/dummy.xorg.conf
101
125
  - test/test_glu.rb
102
126
  homepage:
103
- licenses: []
127
+ licenses:
128
+ - MIT
104
129
  metadata: {}
105
130
  post_install_message:
106
131
  rdoc_options:
@@ -120,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
145
  version: '0'
121
146
  requirements: []
122
147
  rubyforge_project: glu
123
- rubygems_version: 2.0.0
148
+ rubygems_version: 2.2.2
124
149
  signing_key:
125
150
  specification_version: 4
126
151
  summary: Glu bindings for the opengl gem, split into a separate gem because of Glu
metadata.gz.sig ADDED
Binary file