lost 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,4 +2,8 @@ require 'mkmf'
2
2
 
3
3
  $LDFLAGS += " -framework cocoa -framework CoreLocation "
4
4
 
5
+ if RUBY_VERSION > "1.8"
6
+ $defs.push "-DRUBY_19"
7
+ end
8
+
5
9
  create_makefile("lost")
@@ -1,5 +1,10 @@
1
1
  #include "ruby.h"
2
+
3
+ #ifdef RUBY_19
4
+ #include "ruby/intern.h"
5
+ #else
2
6
  #include "intern.h"
7
+ #endif
3
8
 
4
9
  int int_coreloc_enable();
5
10
  void int_coreloc_get(double* lat, double* log);
@@ -1,7 +1,7 @@
1
- require 'lost/lost.so'
1
+ require 'lost.so'
2
2
 
3
3
  module Lost
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
5
5
 
6
6
  coreloc_enable
7
7
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lost
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Evan Phoenix