phidgets-ffi 0.1.2 → 0.1.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.
@@ -45,7 +45,7 @@ module Phidgets
45
45
  attach_function :CPhidget_set_OnError_Handler, [:phid, :CPhidget_set_OnError_Callback, :user_ptr], :int
46
46
 
47
47
 
48
- if Config::CONFIG['target_os'] =~ /darwin/ #Mac OS X
48
+ if RbConfig::CONFIG['target_os'] =~ /darwin/ #Mac OS X
49
49
  callback :CPhidget_set_OnWillSleep_Callback, [:user_ptr], :int
50
50
  attach_function :CPhidget_set_OnWillSleep_Handler, [:CPhidget_set_OnWillSleep_Callback, :user_ptr], :int
51
51
  callback :CPhidget_set_OnWakeup_Callback, [:user_ptr], :int
@@ -1,7 +1,7 @@
1
1
  module Phidgets
2
2
  module FFI
3
3
 
4
- if Config::CONFIG['target_os'] =~ /darwin/ #Mac OS X
4
+ if RbConfig::CONFIG['target_os'] =~ /darwin/ #Mac OS X
5
5
  FFI_POINTER_SIZE = 4
6
6
  else #Linux
7
7
  FFI_POINTER_SIZE = 8
@@ -1,5 +1,5 @@
1
1
  module Phidgets
2
2
  module FFI
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phidgets-ffi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-18 00:00:00.000000000 Z
12
+ date: 2014-08-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler