cupsffi 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
data/lib/cupsffi/lib.rb CHANGED
@@ -28,8 +28,9 @@ module CupsFFI
28
28
  paths =
29
29
  Array(
30
30
  ENV['CUPS_LIB'] ||
31
- Dir['/{opt,usr}/{,local/}lib{,64}/{,x86_64-linux-gnu/}libcups.{dylib,so*}']
31
+ Dir['/{opt,usr}/{,local/}lib{,64}/{,x86_64-linux-gnu/,i386-linux-gnu/}libcups.{dylib,so*}']
32
32
  )
33
+ raise LoadError, "Didn't find libcups on your system." if paths.empty?
33
34
  begin
34
35
  ffi_lib(*paths)
35
36
  rescue LoadError => le
@@ -1,3 +1,3 @@
1
1
  module Cupsffi
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: cupsffi
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.8
5
+ version: 0.0.9
6
6
  platform: ruby
7
7
  authors:
8
8
  - Nathan Ehresman
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-11-29 00:00:00 Z
13
+ date: 2012-12-03 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: ffi