texplay 0.2.960 → 0.2.965

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/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ 16/7/10
2
+ version 0.2.965
3
+ * fixed MAX_TEXTURE_SIZE at 1024 for linux (to avoid segfault)
4
+
1
5
  4/7/10
2
6
  version 0.2.960
3
7
  * added :transparent pseudo-color
@@ -5,7 +5,7 @@
5
5
  INSTRUCTIONS
6
6
  ============
7
7
 
8
- **TexPlay version 0.2.960**
8
+ **TexPlay version 0.2.965**
9
9
 
10
10
  [Read The Documentation](http://banisterfiend.wordpress.com/2008/08/23/texplay-an-image-manipulation-tool-for-ruby-and-gosu/)
11
11
 
data/Rakefile CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  require 'rake/clean'
3
3
  require 'rake/gempackagetask'
4
- require 'rake/extensiontask'
4
+ #require 'rake/extensiontask'
5
5
 
6
6
  # get the texplay version
7
7
  require 'lib/texplay/version'
@@ -31,12 +31,12 @@ specification = Gem::Specification.new do |s|
31
31
  FileList["ext/**/extconf.rb", "ext/**/*.h", "ext/**/*.c", "examples/*.rb", "examples/media/*"].to_a
32
32
  end
33
33
 
34
- Rake::ExtensionTask.new('texplay', specification) do |ext|
34
+ #Rake::ExtensionTask.new('texplay', specification) do |ext|
35
35
  # ext.config_script = 'extconf.rb'
36
36
  # ext.cross_compile = true
37
37
  #ext.cross_platform = 'i386-mswin32'
38
38
  # ext.platform = 'i386-mswin32'
39
- end
39
+ #end
40
40
 
41
41
 
42
42
  #comment this when want to build normal gems.
@@ -766,7 +766,11 @@ calc_pixel_offset(texture_info * tex, int x, int y)
766
766
  unsigned
767
767
  max_quad_size(void)
768
768
  {
769
-
769
+
770
+ #if defined(__APPLE__) || defined(__linux__)
771
+ return 1024;
772
+ #endif
773
+
770
774
  static unsigned size = 0;
771
775
 
772
776
  if (size == 0) {
@@ -1,3 +1,3 @@
1
1
  module TexPlay
2
- VERSION = "0.2.960"
2
+ VERSION = "0.2.965"
3
3
  end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: texplay
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 1949
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 2
8
- - 960
9
- version: 0.2.960
9
+ - 965
10
+ version: 0.2.965
10
11
  platform: ruby
11
12
  authors:
12
13
  - John Mair (banisterfiend)
@@ -14,16 +15,18 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-07-04 00:00:00 +12:00
18
+ date: 2010-07-16 00:00:00 +12:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: gosu
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
24
26
  requirements:
25
27
  - - ">="
26
28
  - !ruby/object:Gem::Version
29
+ hash: 43
27
30
  segments:
28
31
  - 0
29
32
  - 7
@@ -107,7 +110,6 @@ files:
107
110
  - examples/media/sand1.png
108
111
  - examples/media/sunset.png
109
112
  - examples/media/texplay.png
110
- - examples/media/Thumbs.db
111
113
  has_rdoc: true
112
114
  homepage: http://banisterfiend.wordpress.com/2008/08/23/texplay-an-image-manipulation-tool-for-ruby-and-gosu/
113
115
  licenses: []
@@ -118,23 +120,27 @@ rdoc_options: []
118
120
  require_paths:
119
121
  - lib
120
122
  required_ruby_version: !ruby/object:Gem::Requirement
123
+ none: false
121
124
  requirements:
122
125
  - - ">="
123
126
  - !ruby/object:Gem::Version
127
+ hash: 3
124
128
  segments:
125
129
  - 0
126
130
  version: "0"
127
131
  required_rubygems_version: !ruby/object:Gem::Requirement
132
+ none: false
128
133
  requirements:
129
134
  - - ">="
130
135
  - !ruby/object:Gem::Version
136
+ hash: 3
131
137
  segments:
132
138
  - 0
133
139
  version: "0"
134
140
  requirements: []
135
141
 
136
142
  rubyforge_project:
137
- rubygems_version: 1.3.6
143
+ rubygems_version: 1.3.7
138
144
  signing_key:
139
145
  specification_version: 3
140
146
  summary: TexPlay is a light-weight image manipulation framework for Ruby and Gosu
Binary file