chipmunk 6.1.3.0 → 6.1.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/ext/chipmunk/rb_cpSpace.c +7 -8
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 184118e83810f5f9ff162b0a2ec8c3b20d2e227e
4
- data.tar.gz: 6526469b14b6dbc5332618b0777354934fe298df
3
+ metadata.gz: 9ea271adeb0a82c85bff2b1ae8c852d32f60b9b0
4
+ data.tar.gz: a84571ad9ddfb386841bedd5e8a681411bdbcb94
5
5
  SHA512:
6
- metadata.gz: 3485a244856099559d2626f679c8142514454048e7fb54cb8f097e4ea01ec916b96aee2bd74d90cfc215532fde311c7696e0dad464525e2e2132902c5f9b458d
7
- data.tar.gz: c03c533bdb64b59d112d895fddbf31c93881fe9893a92320bea9090c98e22a807a659401ad95c700dd02506f8715485612ee275dc6cc519b5427a5ec09348b94
6
+ metadata.gz: 5db240fec94b54de919fe37953a6704863fe7e36dc2b1b1ea4117586c03def3d0c359a2cd7054b3743dd1cf419951b4d597dd09acb6de99166308c826b1ebe88
7
+ data.tar.gz: 2031e2684ed15bb857c7d7d6b8cbc433e6baec12e1defb9ba7b09538a1ca097111aa0e30e994eeb93435f4f4427be232dedaf661f34723c7a5a0529190730391
@@ -416,16 +416,14 @@ rb_cpSpaceResizeActiveHash(VALUE self, VALUE dim, VALUE count) {
416
416
  }
417
417
 
418
418
  static VALUE
419
- rb_cpSpaceRehashStatic(VALUE self) {
420
- rb_raise(rb_eArgError, "rehash_static is obsolete");
421
- /* cpSpaceRehashStatic(SPACE(self)); */
419
+ rb_cpSpaceReindexStatic(VALUE self) {
420
+ cpSpaceReindexStatic(SPACE(self));
422
421
  return Qnil;
423
422
  }
424
423
 
425
424
  static VALUE
426
- rb_cpSpaceRehashShape(VALUE self, VALUE shape) {
427
- rb_raise(rb_eArgError, "rehash_shape is obsolete");
428
- /* cpSpaceRehashShape(SPACE(self), SHAPE(shape)); */
425
+ rb_cpSpaceReindexShape(VALUE self, VALUE shape) {
426
+ cpSpaceReindexShape(SPACE(self), SHAPE(shape));
429
427
  return Qnil;
430
428
  }
431
429
 
@@ -644,8 +642,9 @@ Init_cpSpace(void) {
644
642
 
645
643
  rb_define_method(c_cpSpace, "resize_static_hash", rb_cpSpaceResizeStaticHash, 2);
646
644
  rb_define_method(c_cpSpace, "resize_active_hash", rb_cpSpaceResizeActiveHash, 2);
647
- rb_define_method(c_cpSpace, "rehash_static", rb_cpSpaceRehashStatic, 0);
648
- rb_define_method(c_cpSpace, "rehash_shape", rb_cpSpaceRehashShape, 1);
645
+
646
+ rb_define_method(c_cpSpace, "reindex_static", rb_cpSpaceReindexStatic, 0);
647
+ rb_define_method(c_cpSpace, "reindex_shape", rb_cpSpaceReindexShape, 1);
649
648
 
650
649
  rb_define_method(c_cpSpace, "point_query", rb_cpSpacePointQuery, -1);
651
650
  rb_define_method(c_cpSpace, "point_query_first", rb_cpSpacePointQueryFirst, -1);
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chipmunk
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.3.0
4
+ version: 6.1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Lembcke, Beoran, John Mair (banisterfiend), Shawn Anderson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-16 00:00:00.000000000 Z
11
+ date: 2014-02-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'Enhanced ruby bindings for the chipmunk 5.3.4 game physics engine. '
14
14
  email: beoran@rubyforge.org