glut 8.2.0 → 8.2.1

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
2
  SHA1:
3
- metadata.gz: 9788722e2d44f88e83148aeff2d385204d7864f6
4
- data.tar.gz: 0aeece59c8101debaa2a359f1c403a9ab2a2c9ec
3
+ metadata.gz: 932d2b61ee7d46989b50b20362f54fde098b4d6b
4
+ data.tar.gz: 760cd16d960aab6f0aa1c7ff98861fe8b8b85161
5
5
  SHA512:
6
- metadata.gz: c19d3e8ead5d61ea53e3ca580ec030bbef1a9a022cf05d594786740e501f18712aa7990924617830b1e6e6698e6006468869237a10a82bb0baf41887b6f0988a
7
- data.tar.gz: d78436ce4f5064742dd7a40113737ef8eb550f78537b041b195e82c01b5ef34b803aa887e372a787a301a29733bc496ef27bd826cff780eafabefb7e2dea64f8
6
+ metadata.gz: 2a834d945d25f40bc104714cb8e6499760f2a6582f5208564d1d74dd6d2c104822c22a1e50099114353c090fd1cf1aa51df7337b47b9648e2ebf7b77f0649397
7
+ data.tar.gz: 02938de8170101261c6a779ca88246440f2371cd1bfd9cfdffcc5dc4bf13ce8d48c800cf8e58e1e749d3249076c7b0b6963ec6d962750c14b4f43f733460e060
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,8 @@
1
+ === 8.2.1 / 2014-10-06
2
+
3
+ * Add ruby-2.1 to binary windows gems.
4
+ * Fix segmentation fault in glutKeyboardUpFunc callback
5
+
1
6
  === 8.2.0 / 2014-03-14
2
7
 
3
8
  * Add x64-mingw platform for cross build and add ruby-2.0.0 to binary gems.
data/Rakefile CHANGED
@@ -31,7 +31,7 @@ hoe = Hoe.spec 'glut' do
31
31
  self.history_file = 'History.rdoc'
32
32
  self.extra_rdoc_files = FileList['*.rdoc']
33
33
 
34
- extra_dev_deps << ['rake-compiler', '~> 0.7', '>= 0.7.9']
34
+ extra_dev_deps << ['rake-compiler', '~> 0.9', '>= 0.9.1']
35
35
 
36
36
  self.spec_extras = {
37
37
  :extensions => %w[ext/glut/extconf.rb],
@@ -43,10 +43,22 @@ Rake::ExtensionTask.new 'glut', hoe.spec do |ext|
43
43
  ext.lib_dir = 'lib/glut'
44
44
 
45
45
  ext.cross_compile = true
46
- ext.cross_platform = ['i386-mingw32', 'x64-mingw32']
46
+ ext.cross_platform = ['x86-mingw32', 'x64-mingw32']
47
47
  ext.cross_config_options += [
48
48
  "--enable-win32-cross",
49
49
  ]
50
50
  end
51
51
 
52
+
53
+ # To reduce the gem file size strip mingw32 dlls before packaging
54
+ ENV['RUBY_CC_VERSION'].to_s.split(':').each do |ruby_version|
55
+ task "copy:glut:x86-mingw32:#{ruby_version}" do |t|
56
+ sh "i686-w64-mingw32-strip -S tmp/x86-mingw32/stage/lib/glut/#{ruby_version[/^\d+\.\d+/]}/glut.so"
57
+ end
58
+
59
+ task "copy:glut:x64-mingw32:#{ruby_version}" do |t|
60
+ sh "x86_64-w64-mingw32-strip -S tmp/x64-mingw32/stage/lib/glut/#{ruby_version[/^\d+\.\d+/]}/glut.so"
61
+ end
62
+ end
63
+
52
64
  task :test => :compile
@@ -213,12 +213,12 @@ static void *
213
213
  glut_KeyboardUpFuncCallback(struct callback_args *args) {
214
214
  VALUE func = rb_ary_entry(KeyboardUpFunc, glutGetWindow());
215
215
  #if HAVE_SINGLE_BYTE_STRINGS
216
- VALUE key = rb_str_new((char *)args->arg0.key, 1);
216
+ VALUE key = rb_str_new((char *)&args->arg0.key, 1);
217
217
  #else
218
218
  VALUE key = UINT2NUM((unsigned char)args->arg0.key);
219
219
  #endif
220
- VALUE x = INT2FIX((int)args->arg1.x);
221
- VALUE y = INT2FIX((int)args->arg2.y);
220
+ VALUE x = INT2FIX(args->arg1.x);
221
+ VALUE y = INT2FIX(args->arg2.y);
222
222
 
223
223
  if (!NIL_P(func))
224
224
  rb_funcall(func, call_id, 3, key, x, y);
@@ -25,5 +25,5 @@ module GLUT
25
25
  end
26
26
 
27
27
  module Glut
28
- VERSION = "8.2.0"
28
+ VERSION = "8.2.1"
29
29
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glut
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.2.0
4
+ version: 8.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Hodel
@@ -35,56 +35,56 @@ cert_chain:
35
35
  GrqF74zpLl7/KFdHC8VmzwZS18hvDjxeLVuVI2gIGnBInqnlqv05g/l4/1pISh5j
36
36
  dS4=
37
37
  -----END CERTIFICATE-----
38
- date: 2014-03-14 00:00:00.000000000 Z
38
+ date: 2014-10-06 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: rdoc
42
42
  requirement: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - ~>
44
+ - - "~>"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '4.0'
47
47
  type: :development
48
48
  prerelease: false
49
49
  version_requirements: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - ~>
51
+ - - "~>"
52
52
  - !ruby/object:Gem::Version
53
53
  version: '4.0'
54
54
  - !ruby/object:Gem::Dependency
55
55
  name: rake-compiler
56
56
  requirement: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - ~>
58
+ - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: '0.7'
61
- - - '>='
60
+ version: '0.9'
61
+ - - ">="
62
62
  - !ruby/object:Gem::Version
63
- version: 0.7.9
63
+ version: 0.9.1
64
64
  type: :development
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
- - - ~>
68
+ - - "~>"
69
69
  - !ruby/object:Gem::Version
70
- version: '0.7'
71
- - - '>='
70
+ version: '0.9'
71
+ - - ">="
72
72
  - !ruby/object:Gem::Version
73
- version: 0.7.9
73
+ version: 0.9.1
74
74
  - !ruby/object:Gem::Dependency
75
75
  name: hoe
76
76
  requirement: !ruby/object:Gem::Requirement
77
77
  requirements:
78
- - - ~>
78
+ - - "~>"
79
79
  - !ruby/object:Gem::Version
80
- version: '3.7'
80
+ version: '3.13'
81
81
  type: :development
82
82
  prerelease: false
83
83
  version_requirements: !ruby/object:Gem::Requirement
84
84
  requirements:
85
- - - ~>
85
+ - - "~>"
86
86
  - !ruby/object:Gem::Version
87
- version: '3.7'
87
+ version: '3.13'
88
88
  description: Glut bindings for OpenGL. To be used with the {opengl}[https://github.com/larskanis/opengl]
89
89
  gem.
90
90
  email:
@@ -103,10 +103,10 @@ extra_rdoc_files:
103
103
  - Manifest.txt
104
104
  - README.rdoc
105
105
  files:
106
- - .autotest
107
- - .gemtest
108
- - .gitignore
109
- - .travis.yml
106
+ - ".autotest"
107
+ - ".gemtest"
108
+ - ".gitignore"
109
+ - ".travis.yml"
110
110
  - History.rdoc
111
111
  - MIT-LICENSE
112
112
  - Manifest.txt
@@ -125,23 +125,23 @@ licenses:
125
125
  metadata: {}
126
126
  post_install_message:
127
127
  rdoc_options:
128
- - --main
128
+ - "--main"
129
129
  - README.rdoc
130
130
  require_paths:
131
131
  - lib
132
132
  required_ruby_version: !ruby/object:Gem::Requirement
133
133
  requirements:
134
- - - '>='
134
+ - - ">="
135
135
  - !ruby/object:Gem::Version
136
136
  version: 1.9.2
137
137
  required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  requirements:
139
- - - '>='
139
+ - - ">="
140
140
  - !ruby/object:Gem::Version
141
141
  version: '0'
142
142
  requirements: []
143
- rubyforge_project: glut
144
- rubygems_version: 2.2.2
143
+ rubyforge_project:
144
+ rubygems_version: 2.4.2
145
145
  signing_key:
146
146
  specification_version: 4
147
147
  summary: Glut bindings for OpenGL
metadata.gz.sig CHANGED
@@ -1,3 +1 @@
1
- �)qv^P�+�;g��o&���Muh������%pB,
2
- x#,X:@�%�[���
3
- <�d3'~�!�>�w`�l��E�x��W��C�U' s$���w��r04���r�9�)}��5Z-��ig�"�D
1
+ �m0�'�e�n*�=�t����Xg��:�v�Q������5�� ��8)N����[��Sm����M8-C��Jڊ�����w���y{�T�$����5��H|�K���$�</[߸;�Qga�*!|�SpZ��l--�5p��s:��&'�/�H��<�I2��P_;����汁�-�.�al��N�LN�o����' ���*�!0�ڽvʁ�}��J c}��^�a���� 4R�iXI E�^:�ê>{09rÀBj