texplay 0.2.930 → 0.2.935

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/README.markdown CHANGED
@@ -5,7 +5,7 @@
5
5
  INSTRUCTIONS
6
6
  ============
7
7
 
8
- **TexPlay version 0.2.930**
8
+ **TexPlay version 0.2.935**
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/ext/texplay/utils.c CHANGED
@@ -288,7 +288,7 @@ not_a_color(rgba color1)
288
288
  bool
289
289
  is_a_color(rgba color1)
290
290
  {
291
- return color1.red > 0 && color1.green > 0 && color1.blue > 0 && color1.alpha > 0;
291
+ return color1.red >= 0 && color1.green >= 0 && color1.blue >= 0 && color1.alpha >= 0;
292
292
  }
293
293
 
294
294
  bool
@@ -1,3 +1,3 @@
1
1
  module TexPlay
2
- VERSION = "0.2.930"
2
+ VERSION = "0.2.935"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 930
9
- version: 0.2.930
8
+ - 935
9
+ version: 0.2.935
10
10
  platform: ruby
11
11
  authors:
12
12
  - John Mair (banisterfiend)