shapes 0.2 → 0.3

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.
@@ -64,6 +64,7 @@
64
64
  #include <stdlib.h>
65
65
  #include <string.h>
66
66
  #include <stdio.h>
67
+ #include <ruby.h>
67
68
 
68
69
  SHP_CVSID("$Id: safileio.c,v 1.4 2008-01-16 20:05:14 bram Exp $");
69
70
 
@@ -165,7 +166,7 @@ int SADRemove( const char *filename )
165
166
  void SADError( const char *message )
166
167
 
167
168
  {
168
- fprintf( stderr, "%s\n", message );
169
+ rb_raise(rb_eIOError,message);
169
170
  }
170
171
 
171
172
  /************************************************************************/
@@ -1,3 +1,3 @@
1
1
  module Shapes
2
- VERSION = "0.2"
2
+ VERSION = "0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shapes
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: '0.3'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: