phidgets-ffi 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2011, Kelley Reynolds, Phidgets
1
+ Copyright (c) 2011, 2012 Kelley Reynolds, Phidgets
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
@@ -3,17 +3,7 @@ module Phidgets
3
3
 
4
4
  extend ::FFI::Library
5
5
 
6
- if Config::CONFIG['target_os'] =~ /darwin/ #Mac OS X
7
- ffi_lib '/Library/Frameworks/Phidget21.framework/Versions/Current/Phidget21'
8
- else # Linux
9
- ffi_lib '/usr/lib/libphidget21.so'
10
- end
6
+ ffi_lib ['/Library/Frameworks/Phidget21.framework/Versions/Current/Phidget21', '/usr/lib/libphidget21.so', '/usr/lib64/libphidget21.so', '/usr/lib32/libphidget21.so', 'Phidget21', 'libphidget21.so']
11
7
 
12
8
  end
13
- end
14
-
15
-
16
-
17
-
18
-
19
-
9
+ end
@@ -1,5 +1,5 @@
1
1
  module Phidgets
2
2
  module FFI
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
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.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-07 00:00:00.000000000Z
12
+ date: 2012-02-17 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
16
- requirement: &70297684443800 !ruby/object:Gem::Requirement
16
+ requirement: &70096848586100 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.0.0
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70297684443800
24
+ version_requirements: *70096848586100
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: ffi
27
- requirement: &70297684451660 !ruby/object:Gem::Requirement
27
+ requirement: &70096848592520 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: 1.0.9
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70297684451660
35
+ version_requirements: *70096848592520
36
36
  description: FFI Bindings for the Phidget Library
37
37
  email:
38
38
  - support@phidgets.com