painter 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.
- data/lib/painter/cgd2.rb +1 -1
- metadata +3 -3
data/lib/painter/cgd2.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
class Painter
|
|
2
2
|
module CGD2
|
|
3
3
|
extend FFI::Library
|
|
4
|
-
local_path = ["/opt/local/lib/libgd.2.dylib", '/usr/lib/libgd.so.2'].detect do |lib|
|
|
4
|
+
local_path = ["/opt/local/lib/libgd.2.dylib", "/usr/lib64/libgd.so.2", '/usr/lib/libgd.so.2'].detect do |lib|
|
|
5
5
|
File.exists?(lib)
|
|
6
6
|
end
|
|
7
7
|
ffi_lib local_path
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: painter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 29
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 3
|
|
10
|
+
version: 0.1.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Ben Sandofsky
|